@undp/carbon-library 1.0.81 → 1.0.82

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/dist/cjs/index.js +1720 -2136
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
  4. package/dist/cjs/types/Components/Common/Investment/investmentBody.d.ts +7 -0
  5. package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
  6. package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
  7. package/dist/cjs/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
  8. package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +2 -3
  9. package/dist/cjs/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
  10. package/dist/cjs/types/Components/Common/Models/transferActionModel.d.ts +18 -0
  11. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +17 -0
  12. package/dist/cjs/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
  13. package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
  14. package/dist/cjs/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
  15. package/dist/cjs/types/Components/index.d.ts +12 -1
  16. package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +25 -51
  17. package/dist/cjs/types/Definitions/Enums/programmeStage.enum.d.ts +13 -1
  18. package/dist/cjs/types/Definitions/index.d.ts +0 -1
  19. package/dist/esm/index.js +1712 -2139
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/esm/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
  22. package/dist/esm/types/Components/Common/Investment/investmentBody.d.ts +7 -0
  23. package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
  24. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
  25. package/dist/esm/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
  26. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +2 -3
  27. package/dist/esm/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
  28. package/dist/esm/types/Components/Common/Models/transferActionModel.d.ts +18 -0
  29. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +17 -0
  30. package/dist/esm/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
  31. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
  32. package/dist/esm/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
  33. package/dist/esm/types/Components/index.d.ts +12 -1
  34. package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +25 -51
  35. package/dist/esm/types/Definitions/Enums/programmeStage.enum.d.ts +13 -1
  36. package/dist/esm/types/Definitions/index.d.ts +0 -1
  37. package/dist/index.d.ts +313 -198
  38. package/package.json +1 -1
  39. package/dist/cjs/types/Definitions/Enums/programmeStageMRV.enum.d.ts +0 -6
  40. package/dist/cjs/types/Definitions/Enums/programmeStageUnified.enum.d.ts +0 -6
  41. package/dist/esm/types/Definitions/Enums/programmeStageMRV.enum.d.ts +0 -6
  42. package/dist/esm/types/Definitions/Enums/programmeStageUnified.enum.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -12,8 +12,6 @@ declare const CompanyProfileComponent: (props: any) => React.JSX.Element;
12
12
 
13
13
  declare const ProgrammeManagementComponent: (props: any) => React.JSX.Element;
14
14
 
15
- declare const ProgrammeViewComponent: (props: any) => React.JSX.Element;
16
-
17
15
  declare const ProgrammeCreationComponent: (props: any) => React.JSX.Element;
18
16
 
19
17
  declare const AddNewUserComponent: (props: any) => React.JSX.Element;
@@ -122,6 +120,257 @@ interface CoBenefitProps {
122
120
  }
123
121
  declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
124
122
 
123
+ declare const ImgWithFallback: ({ src, alt, fallbackSrc, mediaType, className, ...delegated }: {
124
+ src: string;
125
+ alt: string;
126
+ fallbackSrc: string;
127
+ mediaType: string;
128
+ className: string;
129
+ }) => React.JSX.Element;
130
+
131
+ interface InvestmentBodyProps {
132
+ data: any;
133
+ translator: any;
134
+ }
135
+ declare const InvestmentBody: FC<InvestmentBodyProps>;
136
+
137
+ declare enum CreditTransferStage {
138
+ Pending = "Pending",
139
+ Approved = "Accepted",
140
+ Rejected = "Rejected",
141
+ Cancelled = "Cancelled",
142
+ Recognised = "Recognised",
143
+ NotRecognised = "NotRecognised"
144
+ }
145
+
146
+ declare enum RetireType {
147
+ CROSS_BORDER = "0",
148
+ LEGAL_ACTION = "1",
149
+ OTHER = "2"
150
+ }
151
+
152
+ declare class BaseEntity {
153
+ }
154
+
155
+ declare class ProgrammeTransfer implements BaseEntity {
156
+ [x: string]: any;
157
+ requestId?: number;
158
+ programmeId?: string;
159
+ initiator?: number;
160
+ initiatorCompanyId?: number;
161
+ toCompanyId?: number;
162
+ toAccount?: string;
163
+ fromCompanyId?: number;
164
+ creditAmount?: number;
165
+ comment?: string;
166
+ txRef?: string;
167
+ txTime?: number;
168
+ status?: CreditTransferStage;
169
+ isRetirement?: boolean;
170
+ companyId?: number[];
171
+ creditOwnerPercentage?: number[];
172
+ createdTime?: number;
173
+ retirementType?: RetireType;
174
+ toCompanyMeta?: any;
175
+ }
176
+
177
+ declare enum ProgrammeStageR {
178
+ AwaitingAuthorization = "Pending",
179
+ Authorised = "Authorised",
180
+ Rejected = "Rejected"
181
+ }
182
+ declare enum ProgrammeStageMRV {
183
+ AwaitingAuthorization = "Pending",
184
+ Authorised = "Authorised",
185
+ Approved = "Approved",
186
+ Rejected = "Rejected"
187
+ }
188
+ declare enum ProgrammeStageUnified {
189
+ AwaitingAuthorization = "Pending",
190
+ Authorised = "Authorised",
191
+ Approved = "Approved",
192
+ Rejected = "Rejected"
193
+ }
194
+
195
+ declare enum TypeOfMitigation {
196
+ AGRICULTURE = "Agriculture",
197
+ SOLAR = "Solar"
198
+ }
199
+
200
+ declare const getStageEnumVal: (value: string) => string;
201
+ declare const getCreditStageVal: (value: string) => string;
202
+ declare const getStageTransferEnumVal: (value: string, transfer: ProgrammeTransfer) => string;
203
+ declare const getStageTagType: (stage: ProgrammeStageR | ProgrammeStageUnified) => "error" | "processing" | "default";
204
+ declare const getStageTagTypeMRV: (stage: ProgrammeStageMRV) => "purple" | "error" | "processing" | "default";
205
+ declare const getTransferStageTagType: (stage: CreditTransferStage, transfer: ProgrammeTransfer) => "orange" | "purple" | "error" | "processing" | "default" | "success";
206
+ declare class UnitField {
207
+ unit: string;
208
+ value: any;
209
+ constructor(unit: string, value: any);
210
+ }
211
+ interface ProgrammeProperties {
212
+ maxInternationalTransferAmount: string;
213
+ creditingPeriodInYears: number;
214
+ sourceOfFunding: any;
215
+ grantEquivalentAmount: number;
216
+ carbonPriceUSDPerTon: number;
217
+ buyerCountryEligibility: string;
218
+ geographicalLocation: string[];
219
+ greenHouseGasses: any[];
220
+ creditYear: number;
221
+ programmeMaterials: [];
222
+ projectMaterial: [];
223
+ }
224
+ interface ProgrammePropertiesR extends ProgrammeProperties {
225
+ programmeCostUSD: number;
226
+ }
227
+ interface ProgrammePropertiesT extends ProgrammeProperties {
228
+ estimatedProgrammeCostUSD: number;
229
+ }
230
+ interface ProgrammePropertiesU extends ProgrammeProperties {
231
+ estimatedProgrammeCostUSD: number;
232
+ programmeCostUSD: number;
233
+ }
234
+ interface Programme {
235
+ programmeId: string;
236
+ serialNo: string;
237
+ title: string;
238
+ sectoralScope: string;
239
+ sector: string;
240
+ countryCodeA2: string;
241
+ currentStage: ProgrammeStageR | ProgrammeStageMRV | ProgrammeStageUnified;
242
+ startTime: number;
243
+ endTime: number;
244
+ creditChange: number;
245
+ creditIssued: number;
246
+ creditEst: number;
247
+ creditBalance: number;
248
+ creditTransferred: number[];
249
+ creditRetired: number[];
250
+ creditFrozen: number[];
251
+ constantVersion: string;
252
+ proponentTaxVatId: string[];
253
+ companyId: number[];
254
+ proponentPercentage: number[];
255
+ creditOwnerPercentage: number[];
256
+ certifierId: any[];
257
+ certifier: any[];
258
+ company: any[];
259
+ creditUnit: string;
260
+ programmeProperties: ProgrammeProperties;
261
+ agricultureProperties: any;
262
+ solarProperties: any;
263
+ txTime: number;
264
+ createdTime: number;
265
+ txRef: string;
266
+ typeOfMitigation: TypeOfMitigation;
267
+ geographicalLocationCordintes: any;
268
+ mitigationActions: any;
269
+ }
270
+ interface ProgrammeR extends Programme {
271
+ currentStage: ProgrammeStageR;
272
+ programmeProperties: ProgrammePropertiesR;
273
+ }
274
+ interface ProgrammeT extends Programme {
275
+ currentStage: ProgrammeStageMRV;
276
+ programmeProperties: ProgrammePropertiesT;
277
+ emissionReductionExpected: number;
278
+ emissionReductionAchieved: number;
279
+ }
280
+ interface ProgrammeU extends Programme {
281
+ currentStage: ProgrammeStageUnified;
282
+ programmeProperties: ProgrammePropertiesU;
283
+ emissionReductionExpected: number;
284
+ emissionReductionAchieved: number;
285
+ }
286
+ declare const getGeneralFields: (programme: Programme) => {
287
+ title: string;
288
+ serialNo: string;
289
+ currentStatus: ProgrammeStageR | ProgrammeStageUnified | ProgrammeStageMRV;
290
+ applicationType: string;
291
+ sector: string;
292
+ sectoralScope: string;
293
+ startDate: DateTime;
294
+ endDate: DateTime;
295
+ buyerCountry: string;
296
+ };
297
+ declare const addCommSep: (value: any) => string;
298
+ declare const addCommSepRound: (value: any) => string;
299
+ declare const addRoundNumber: (value: any) => number;
300
+ declare const addSpaces: (text: string) => string;
301
+ declare const getFinancialFields: (programme: ProgrammeR | ProgrammeU) => {
302
+ programmeCost: string;
303
+ financingType: string;
304
+ grantEquivalent: UnitField;
305
+ carbonPrice: string;
306
+ };
307
+ declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
308
+ declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
309
+ declare const sumArray: (arrList: any[]) => any;
310
+ declare const getBase64: (file: RcFile) => Promise<string>;
311
+
312
+ interface ProgrammeIssueFormProps {
313
+ programme: Programme;
314
+ onCancel: any;
315
+ actionBtnText: string;
316
+ onFinish: any;
317
+ subText: string;
318
+ enableIssue: boolean;
319
+ translator: any;
320
+ }
321
+ declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
322
+
323
+ interface ProgrammeRetireFormProps {
324
+ programme: Programme;
325
+ onCancel: any;
326
+ actionBtnText: string;
327
+ onFinish: any;
328
+ subText?: string;
329
+ hideType: boolean;
330
+ myCompanyId?: number;
331
+ translator: any;
332
+ useConnection: any;
333
+ }
334
+ declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
335
+
336
+ interface ProgrammeRevokeFormProps {
337
+ programme: Programme;
338
+ onCancel: any;
339
+ actionBtnText: string;
340
+ onFinish: any;
341
+ subText: string;
342
+ showCertifiers: boolean;
343
+ translator: any;
344
+ }
345
+ declare const ProgrammeRevokeForm: FC<ProgrammeRevokeFormProps>;
346
+
347
+ interface ProgrammeTransferFormProps {
348
+ programme: Programme;
349
+ onCancel: any;
350
+ actionBtnText: string;
351
+ onFinish: any;
352
+ subText: string;
353
+ disableToCompany?: boolean;
354
+ toCompanyDefault?: any;
355
+ receiverLabelText: string;
356
+ userCompanyId: number | undefined;
357
+ companyRole: string;
358
+ translator: any;
359
+ useConnection: any;
360
+ }
361
+ declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
362
+
363
+ interface RejectDocumentationProps {
364
+ actionInfo: any;
365
+ onActionConfirmed: any;
366
+ onActionCanceled: any;
367
+ openModal: any;
368
+ errorMsg: any;
369
+ loading: any;
370
+ translator: any;
371
+ }
372
+ declare const RejectDocumentationConfirmationModel: FC<RejectDocumentationProps>;
373
+
125
374
  declare enum CompanyManagementColumns {
126
375
  logo = "logo",
127
376
  name = "name",
@@ -261,11 +510,6 @@ declare enum Role {
261
510
  ViewOnly = "ViewOnly"
262
511
  }
263
512
 
264
- declare enum TypeOfMitigation {
265
- AGRICULTURE = "Agriculture",
266
- SOLAR = "Solar"
267
- }
268
-
269
513
  declare enum SectoralScope {
270
514
  "Energy Industries (Renewable – / Non-Renewable Sources)" = "1",
271
515
  "Energy Distribution" = "2",
@@ -297,34 +541,6 @@ declare enum TxType {
297
541
  UNFREEZE = "9"
298
542
  }
299
543
 
300
- declare enum CreditTransferStage {
301
- Pending = "Pending",
302
- Approved = "Accepted",
303
- Rejected = "Rejected",
304
- Cancelled = "Cancelled",
305
- Recognised = "Recognised",
306
- NotRecognised = "NotRecognised"
307
- }
308
-
309
- declare enum RetireType {
310
- CROSS_BORDER = "0",
311
- LEGAL_ACTION = "1",
312
- OTHER = "2"
313
- }
314
-
315
- declare enum ProgrammeStageMRV {
316
- AwaitingAuthorization = "Pending",
317
- Authorised = "Authorised",
318
- Approved = "Approved",
319
- Rejected = "Rejected"
320
- }
321
-
322
- declare enum ProgrammeStage {
323
- AwaitingAuthorization = "Pending",
324
- Authorised = "Authorised",
325
- Rejected = "Rejected"
326
- }
327
-
328
544
  declare enum CompanyRole {
329
545
  ACADEMICS = "Academics",
330
546
  SERVICE_PROVIDER = "ServiceProvider",
@@ -487,168 +703,6 @@ declare enum ConfigurationSettingsType {
487
703
  isTransferFrozen = 0
488
704
  }
489
705
 
490
- declare class BaseEntity {
491
- }
492
-
493
- declare class ProgrammeTransfer implements BaseEntity {
494
- [x: string]: any;
495
- requestId?: number;
496
- programmeId?: string;
497
- initiator?: number;
498
- initiatorCompanyId?: number;
499
- toCompanyId?: number;
500
- toAccount?: string;
501
- fromCompanyId?: number;
502
- creditAmount?: number;
503
- comment?: string;
504
- txRef?: string;
505
- txTime?: number;
506
- status?: CreditTransferStage;
507
- isRetirement?: boolean;
508
- companyId?: number[];
509
- creditOwnerPercentage?: number[];
510
- createdTime?: number;
511
- retirementType?: RetireType;
512
- toCompanyMeta?: any;
513
- }
514
-
515
- declare const getStageEnumVal: (value: string) => string;
516
- declare const getCreditStageVal: (value: string) => string;
517
- declare const getStageTransferEnumVal: (value: string, transfer: ProgrammeTransfer) => string;
518
- declare const getStageTagType: (stage: ProgrammeStage) => "error" | "processing" | "default";
519
- declare const getStageTagTypeMRV: (stage: ProgrammeStageMRV) => "purple" | "error" | "processing" | "default";
520
- declare const getTransferStageTagType: (stage: CreditTransferStage, transfer: ProgrammeTransfer) => "orange" | "purple" | "error" | "processing" | "default" | "success";
521
- declare class UnitField {
522
- unit: string;
523
- value: any;
524
- constructor(unit: string, value: any);
525
- }
526
- interface ProgrammeProperties {
527
- maxInternationalTransferAmount: string;
528
- creditingPeriodInYears: number;
529
- programmeCostUSD: number;
530
- sourceOfFunding: any;
531
- grantEquivalentAmount: number;
532
- carbonPriceUSDPerTon: number;
533
- buyerCountryEligibility: string;
534
- geographicalLocation: string[];
535
- greenHouseGasses: any[];
536
- creditYear: number;
537
- programmeMaterials: [];
538
- projectMaterial: [];
539
- }
540
- interface ProgrammePropertiesT {
541
- maxInternationalTransferAmount: string;
542
- creditingPeriodInYears: number;
543
- estimatedProgrammeCostUSD: number;
544
- sourceOfFunding: any;
545
- grantEquivalentAmount: number;
546
- carbonPriceUSDPerTon: number;
547
- buyerCountryEligibility: string;
548
- geographicalLocation: string[];
549
- greenHouseGasses: any[];
550
- creditYear: number;
551
- programmeMaterials: [];
552
- projectMaterial: [];
553
- }
554
- interface Programme {
555
- programmeId: string;
556
- serialNo: string;
557
- title: string;
558
- sectoralScope: string;
559
- sector: string;
560
- countryCodeA2: string;
561
- currentStage: ProgrammeStage;
562
- startTime: number;
563
- endTime: number;
564
- creditChange: number;
565
- creditIssued: number;
566
- creditEst: number;
567
- creditBalance: number;
568
- creditTransferred: number[];
569
- creditRetired: number[];
570
- creditFrozen: number[];
571
- constantVersion: string;
572
- proponentTaxVatId: string[];
573
- companyId: number[];
574
- proponentPercentage: number[];
575
- creditOwnerPercentage: number[];
576
- certifierId: any[];
577
- certifier: any[];
578
- company: any[];
579
- creditUnit: string;
580
- programmeProperties: ProgrammeProperties;
581
- agricultureProperties: any;
582
- solarProperties: any;
583
- txTime: number;
584
- createdTime: number;
585
- txRef: string;
586
- typeOfMitigation: TypeOfMitigation;
587
- geographicalLocationCordintes: any;
588
- }
589
- interface ProgrammeT {
590
- programmeId: string;
591
- serialNo: string;
592
- title: string;
593
- sectoralScope: string;
594
- sector: string;
595
- countryCodeA2: string;
596
- currentStage: ProgrammeStageMRV;
597
- startTime: number;
598
- endTime: number;
599
- creditChange: number;
600
- creditIssued: number;
601
- creditEst: number;
602
- creditBalance: number;
603
- creditTransferred: number[];
604
- creditRetired: number[];
605
- creditFrozen: number[];
606
- constantVersion: string;
607
- proponentTaxVatId: string[];
608
- companyId: number[];
609
- proponentPercentage: number[];
610
- creditOwnerPercentage: number[];
611
- certifierId: any[];
612
- certifier: any[];
613
- company: any[];
614
- creditUnit: string;
615
- programmeProperties: ProgrammePropertiesT;
616
- agricultureProperties: any;
617
- solarProperties: any;
618
- txTime: number;
619
- createdTime: number;
620
- txRef: string;
621
- typeOfMitigation: TypeOfMitigation;
622
- geographicalLocationCordintes: any;
623
- emissionReductionExpected: number;
624
- emissionReductionAchieved: number;
625
- }
626
- declare const getGeneralFields: (programme: Programme) => {
627
- title: string;
628
- serialNo: string;
629
- currentStatus: ProgrammeStage;
630
- applicationType: string;
631
- sector: string;
632
- sectoralScope: string;
633
- startDate: DateTime;
634
- endDate: DateTime;
635
- buyerCountry: string;
636
- };
637
- declare const addCommSep: (value: any) => string;
638
- declare const addCommSepRound: (value: any) => string;
639
- declare const addRoundNumber: (value: any) => number;
640
- declare const addSpaces: (text: string) => string;
641
- declare const getFinancialFields: (programme: Programme) => {
642
- programmeCost: string;
643
- financingType: string;
644
- grantEquivalent: UnitField;
645
- carbonPrice: string;
646
- };
647
- declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
648
- declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
649
- declare const sumArray: (arrList: any[]) => any;
650
- declare const getBase64: (file: RcFile) => Promise<string>;
651
-
652
706
  interface ProgrammeDeveloperCreation {
653
707
  companyName?: string;
654
708
  companyLocation?: string;
@@ -791,4 +845,65 @@ declare class ProgrammeEntity implements BaseEntity {
791
845
  companyId?: number[];
792
846
  }
793
847
 
794
- export { AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AgricultureProperties, BaseEntity, CarbonSystemType, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, HeaderProps, InfoView, InfoViewProps, Instrument, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MitigationTypes, NdcAction, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcFinancing, ProfileIcon, ProfileIconProps, Programme, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeEntity, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesT, ProgrammeStage, ProgrammeStageMRV, ProgrammeT, ProgrammeTransfer, ProgrammeViewComponent, RadioButtonStatus, RadioButtonStatus2, Response, RetireType, Role, RoleIcon, RoleIconProps, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, Titles, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, 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 };
848
+ interface TransferActionModelProps {
849
+ icon: any;
850
+ title: string;
851
+ transfer: ProgrammeTransfer;
852
+ onCancel: any;
853
+ actionBtnText: string;
854
+ onFinish: any;
855
+ subText: string;
856
+ disableToCompany?: boolean;
857
+ toCompanyDefault?: any;
858
+ openModal: boolean;
859
+ type: string;
860
+ remarkRequired: boolean;
861
+ translator: any;
862
+ }
863
+ declare const TransferActionModel: FC<TransferActionModelProps>;
864
+
865
+ interface NdcActionBodyProps {
866
+ data?: any;
867
+ progressIcon?: any;
868
+ programmeId?: any;
869
+ canUploadMonitorReport?: boolean;
870
+ programmeOwnerId?: any;
871
+ getProgrammeDocs?: any;
872
+ ministryLevelPermission?: boolean;
873
+ useConnection: any;
874
+ translator: any;
875
+ useUserContext: any;
876
+ linkDocVisible: any;
877
+ uploadDocUserPermission: any;
878
+ }
879
+ declare const NdcActionBody: FC<NdcActionBodyProps>;
880
+
881
+ interface OrganisationStatusProps {
882
+ organisationStatus: number;
883
+ t: any;
884
+ }
885
+ declare const OrganisationStatus: (props: OrganisationStatusProps) => React.JSX.Element;
886
+
887
+ interface ProgrammeDocumentsProps {
888
+ data: any;
889
+ title: any;
890
+ icon: any;
891
+ programmeId: any;
892
+ programmeOwnerId: any[];
893
+ getDocumentDetails: any;
894
+ getProgrammeById: any;
895
+ ministryLevelPermission?: boolean;
896
+ linkDocVisible: any;
897
+ uploadDocUserPermission: any;
898
+ useConnection: any;
899
+ useUserContext: any;
900
+ translator: any;
901
+ }
902
+ declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
903
+
904
+ interface UserRoleIconProps {
905
+ role: string;
906
+ }
907
+ declare const UserRoleIcon: FC<UserRoleIconProps>;
908
+
909
+ export { AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AgricultureProperties, BaseEntity, CarbonSystemType, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, 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, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
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": {
@@ -1,6 +0,0 @@
1
- export declare enum ProgrammeStageMRV {
2
- AwaitingAuthorization = "Pending",
3
- Authorised = "Authorised",
4
- Approved = "Approved",
5
- Rejected = "Rejected"
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum ProgrammeStageUnified {
2
- AwaitingAuthorization = "Pending",
3
- Authorised = "Authorised",
4
- Approved = "Approved",
5
- Rejected = "Rejected"
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum ProgrammeStageMRV {
2
- AwaitingAuthorization = "Pending",
3
- Authorised = "Authorised",
4
- Approved = "Approved",
5
- Rejected = "Rejected"
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum ProgrammeStageUnified {
2
- AwaitingAuthorization = "Pending",
3
- Authorised = "Authorised",
4
- Approved = "Approved",
5
- Rejected = "Rejected"
6
- }