@undp/carbon-library 1.0.175-CARBON-347.5 → 1.0.175-CARBON-347.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +572 -109
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
- package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
- package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
- package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
- package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +10 -0
- package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
- package/dist/cjs/types/Context/index.d.ts +3 -0
- package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +1 -0
- package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
- package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +566 -111
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +0 -1
- package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +0 -1
- package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +0 -1
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +0 -2
- package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +0 -2
- package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +8 -0
- package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +10 -0
- package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +6 -0
- package/dist/esm/types/Context/index.d.ts +3 -0
- package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +1 -0
- package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
- package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +2 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +22 -8
- package/dist/locales/i18n/addCompany/en.json +38 -0
- package/dist/locales/i18n/addCompany/es.json +36 -0
- package/dist/locales/i18n/addCompany/fr.json +36 -0
- package/dist/locales/i18n/addProgramme/en.json +45 -0
- package/dist/locales/i18n/addUser/en.json +24 -0
- package/dist/locales/i18n/addUser/es.json +24 -0
- package/dist/locales/i18n/addUser/fr.json +24 -0
- package/dist/locales/i18n/coBenifits/en.json +39 -0
- package/dist/locales/i18n/common/en.json +22 -0
- package/dist/locales/i18n/common/es.json +21 -0
- package/dist/locales/i18n/common/fr.json +21 -0
- package/dist/locales/i18n/company/en.json +24 -0
- package/dist/locales/i18n/company/es.json +23 -0
- package/dist/locales/i18n/company/fr.json +23 -0
- package/dist/locales/i18n/companyProfile/en.json +45 -0
- package/dist/locales/i18n/companyProfile/es.json +42 -0
- package/dist/locales/i18n/companyProfile/fr.json +42 -0
- package/dist/locales/i18n/creditTransfer/en.json +34 -0
- package/dist/locales/i18n/creditTransfer/es.json +34 -0
- package/dist/locales/i18n/creditTransfer/fr.json +34 -0
- package/dist/locales/i18n/dashboard/en.json +94 -0
- package/dist/locales/i18n/dashboard/es.json +71 -0
- package/dist/locales/i18n/dashboard/fr.json +71 -0
- package/dist/locales/i18n/economic/en.json +35 -0
- package/dist/locales/i18n/environment/en.json +41 -0
- package/dist/locales/i18n/forgotPassword/en.json +9 -0
- package/dist/locales/i18n/forgotPassword/es.json +9 -0
- package/dist/locales/i18n/forgotPassword/fr.json +9 -0
- package/dist/locales/i18n/genderParity/en.json +14 -0
- package/dist/locales/i18n/homepage/en.json +33 -0
- package/dist/locales/i18n/homepage/es.json +30 -0
- package/dist/locales/i18n/homepage/fr.json +30 -0
- package/dist/locales/i18n/login/en.json +11 -0
- package/dist/locales/i18n/login/es.json +10 -0
- package/dist/locales/i18n/login/fr.json +10 -0
- package/dist/locales/i18n/mrvdashboard/en.json +29 -0
- package/dist/locales/i18n/mrvdashboard/es.json +0 -0
- package/dist/locales/i18n/mrvdashboard/fr.json +0 -0
- package/dist/locales/i18n/nav/en.json +15 -0
- package/dist/locales/i18n/nav/es.json +9 -0
- package/dist/locales/i18n/nav/fr.json +9 -0
- package/dist/locales/i18n/ndc/en.json +12 -0
- package/dist/locales/i18n/ndcAction/en.json +100 -0
- package/dist/locales/i18n/passwordReset/en.json +10 -0
- package/dist/locales/i18n/passwordReset/es.json +10 -0
- package/dist/locales/i18n/passwordReset/fr.json +10 -0
- package/dist/locales/i18n/programme/en.json +87 -0
- package/dist/locales/i18n/programme/es.json +17 -0
- package/dist/locales/i18n/programme/fr.json +17 -0
- package/dist/locales/i18n/resetPassword/en.json +8 -0
- package/dist/locales/i18n/resetPassword/es.json +8 -0
- package/dist/locales/i18n/resetPassword/fr.json +8 -0
- package/dist/locales/i18n/safeguards/en.json +73 -0
- package/dist/locales/i18n/social/en.json +41 -0
- package/dist/locales/i18n/user/en.json +16 -0
- package/dist/locales/i18n/user/es.json +16 -0
- package/dist/locales/i18n/user/fr.json +16 -0
- package/dist/locales/i18n/userProfile/en.json +34 -0
- package/dist/locales/i18n/userProfile/es.json +34 -0
- package/dist/locales/i18n/userProfile/fr.json +34 -0
- package/dist/locales/i18n/view/en.json +147 -0
- package/dist/locales/i18n/view/es.json +128 -0
- package/dist/locales/i18n/view/fr.json +128 -0
- package/package.json +31 -2
@@ -12,7 +12,6 @@ export interface ProgrammeTransferFormProps {
|
|
12
12
|
userCompanyId: number | undefined;
|
13
13
|
companyRole: string;
|
14
14
|
translator: any;
|
15
|
-
useConnection: any;
|
16
15
|
ministryLevelPermission?: boolean;
|
17
16
|
}
|
18
17
|
export declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React, { FC } from 'react';
|
2
|
+
import { ConnectionContextProviderProps, ConnectionProps } from '../../Definitions';
|
3
|
+
declare const ConnectionContext: React.Context<{
|
4
|
+
connection?: ConnectionProps | undefined;
|
5
|
+
}>;
|
6
|
+
export declare const ConnectionContextProvider: FC<ConnectionContextProviderProps>;
|
7
|
+
export default ConnectionContext;
|
8
|
+
export declare const useConnection: () => ConnectionProps;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const SettingsContext: React.Context<{
|
3
|
+
isTransferFrozen: boolean;
|
4
|
+
setTransferFrozen: (value: boolean) => void;
|
5
|
+
}>;
|
6
|
+
export declare const SettingsContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
7
|
+
export declare const useSettingsContext: () => {
|
8
|
+
isTransferFrozen: boolean;
|
9
|
+
setTransferFrozen: (value: boolean) => void;
|
10
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { UserContextProps } from '../../Definitions';
|
3
|
+
export declare const UserContext: React.Context<UserContextProps>;
|
4
|
+
export declare const UserInformationContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
5
|
+
export default UserContext;
|
6
|
+
export declare const useUserContext: () => UserContextProps;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
3
|
+
import "antd/dist/antd.css";
|
4
|
+
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
+
declare const meta: {
|
6
|
+
title: string;
|
7
|
+
component: (props: any) => import("react").JSX.Element;
|
8
|
+
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
+
};
|
10
|
+
export default meta;
|
11
|
+
type Story = StoryObj<typeof meta>;
|
12
|
+
export declare const Primary: Story;
|