@undp/carbon-library 1.0.287-carbon-lib-test.0 → 1.0.287

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/dist/cjs/index.js +1449 -1044
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
  4. package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
  5. package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
  6. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  7. package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
  8. package/dist/cjs/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
  9. package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
  10. package/dist/cjs/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
  11. package/dist/cjs/types/Definitions/Enums/instrument.enum.d.ts +3 -0
  12. package/dist/cjs/types/Definitions/Enums/payback.enum.d.ts +8 -0
  13. package/dist/cjs/types/index.d.ts +0 -1
  14. package/dist/esm/index.js +1453 -1040
  15. package/dist/esm/index.js.map +1 -1
  16. package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
  17. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
  18. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
  19. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  20. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
  21. package/dist/esm/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
  22. package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
  23. package/dist/esm/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
  24. package/dist/esm/types/Definitions/Enums/instrument.enum.d.ts +3 -0
  25. package/dist/esm/types/Definitions/Enums/payback.enum.d.ts +8 -0
  26. package/dist/esm/types/index.d.ts +0 -1
  27. package/dist/index.d.ts +11 -23
  28. package/dist/locales/i18n/companyDetails/en.json +19 -0
  29. package/dist/locales/i18n/companyDetails/es.json +16 -0
  30. package/dist/locales/i18n/companyDetails/fr.json +16 -0
  31. package/dist/locales/i18n/companyProfile/en.json +1 -18
  32. package/dist/locales/i18n/companyProfile/es.json +0 -14
  33. package/dist/locales/i18n/companyProfile/fr.json +0 -13
  34. package/dist/locales/i18n/ghgInventory/en.json +3 -1
  35. package/dist/locales/i18n/login/en.json +1 -0
  36. package/dist/locales/i18n/ndc/en.json +2 -0
  37. package/dist/locales/i18n/programme/en.json +9 -1
  38. package/package.json +2 -29
  39. package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  40. package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  41. package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  42. package/dist/cjs/types/Context/index.d.ts +0 -3
  43. package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  44. package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  45. package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  46. package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  47. package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
  48. package/dist/cjs/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
  49. package/dist/cjs/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
  50. package/dist/cjs/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
  51. package/dist/cjs/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
  52. package/dist/cjs/types/Storybook/MRVDashboard.stories.d.ts +0 -12
  53. package/dist/cjs/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
  54. package/dist/cjs/types/Storybook/RegistryDashboard.stories.d.ts +0 -12
  55. package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  56. package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  57. package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  58. package/dist/esm/types/Context/index.d.ts +0 -3
  59. package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  60. package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  61. package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  62. package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  63. package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
  64. package/dist/esm/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
  65. package/dist/esm/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
  66. package/dist/esm/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
  67. package/dist/esm/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
  68. package/dist/esm/types/Storybook/MRVDashboard.stories.d.ts +0 -12
  69. package/dist/esm/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
  70. package/dist/esm/types/Storybook/RegistryDashboard.stories.d.ts +0 -12
@@ -10,5 +10,6 @@ export interface CoBenefitProps {
10
10
  loading?: any;
11
11
  sdgGoalImages?: any;
12
12
  translator?: any;
13
+ useConnection?: any;
13
14
  }
14
15
  export declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
@@ -9,5 +9,6 @@ export interface ProgrammeRetireFormProps {
9
9
  hideType: boolean;
10
10
  myCompanyId?: number;
11
11
  translator: any;
12
+ useConnection: any;
12
13
  }
13
14
  export declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
@@ -12,6 +12,7 @@ export interface ProgrammeTransferFormProps {
12
12
  userCompanyId: number | undefined;
13
13
  companyRole: string;
14
14
  translator: any;
15
+ useConnection: any;
15
16
  ministryLevelPermission?: boolean;
16
17
  }
17
18
  export declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
@@ -8,7 +8,9 @@ export interface NdcActionBodyProps {
8
8
  programmeOwnerId?: any;
9
9
  getProgrammeDocs?: any;
10
10
  ministryLevelPermission?: boolean;
11
+ useConnection: any;
11
12
  translator: any;
13
+ useUserContext: any;
12
14
  onFinish?: any;
13
15
  programme?: any;
14
16
  }
@@ -9,6 +9,8 @@ export interface ProgrammeDocumentsProps {
9
9
  getDocumentDetails: any;
10
10
  getProgrammeById: any;
11
11
  ministryLevelPermission?: boolean;
12
+ useConnection: any;
13
+ useUserContext: any;
12
14
  translator: any;
13
15
  methodologyDocumentUpdated: any;
14
16
  programmeStatus?: any;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import "./companyDetailsComponent.scss";
3
+ export declare const CompanyDetailsComponent: (props: any) => React.JSX.Element;
@@ -3,8 +3,6 @@ import { ReactNode } from 'react';
3
3
  export type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
4
4
  export type ConnectionContextProviderProps = {
5
5
  serverURL: string;
6
- t: any;
7
- statServerUrl?: string;
8
6
  children: ReactNode;
9
7
  };
10
8
  export interface Response<T> {
@@ -25,5 +23,4 @@ export type ConnectionProps = {
25
23
  updateToken: (token?: string) => void;
26
24
  token?: string;
27
25
  removeToken: (tkn?: string) => void;
28
- statServerUrl?: string;
29
26
  };
@@ -11,6 +11,7 @@ export type NdcDetail = {
11
11
  actionType: NdcDetailsActionType;
12
12
  nationalPlanObjective: string;
13
13
  kpi: number | string;
14
+ kpiUnit: string;
14
15
  ministryName: string;
15
16
  periodId?: number;
16
17
  status: NdcDetailsActionStatus;
@@ -5,5 +5,8 @@ export declare enum Instrument {
5
5
  EQUITY = "Equity",
6
6
  GUARANTEE = "Guarantee",
7
7
  INKIND = "In-Kind",
8
+ CONLOAN = "ConcessionalLoan",
9
+ NONCONLOAN = "Non-ConcessionalLoan",
10
+ INSURANCE = "Insurance",
8
11
  OTHER = "Other"
9
12
  }
@@ -0,0 +1,8 @@
1
+ export declare enum GuaranteePayback {
2
+ UPFORNT = "Upfront",
3
+ ANNUAL = "Annual"
4
+ }
5
+ export declare enum InsurancePayback {
6
+ LUMPSUM = "LumpSum",
7
+ ANNUAL = "Annual"
8
+ }
@@ -1,4 +1,3 @@
1
1
  export * from './Components';
2
2
  export * from './Definitions';
3
3
  export * from './Styles';
4
- export * from './Context';