@lysaab/lysa-pep 1.0.1-0 → 1.0.3-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/lib/Exports.d.ts +7 -7
  2. package/lib/Exports.js +7 -7
  3. package/lib/components/CountrySelect.d.ts +15 -15
  4. package/lib/components/CountrySelect.js +30 -30
  5. package/lib/components/PepAnswers.d.ts +8 -8
  6. package/lib/components/PepAnswers.js +131 -131
  7. package/lib/components/PepAnswers.scss +7 -7
  8. package/lib/model/Countries.d.ts +4 -4
  9. package/lib/model/Countries.js +1002 -1002
  10. package/lib/model/PepModel.d.ts +7 -7
  11. package/lib/model/PepModel.js +40 -40
  12. package/lib/model/PepTexts.d.ts +380 -322
  13. package/lib/model/PepTexts.js +552 -467
  14. package/lib/pages/IsPep/IsPepMessages.d.ts +32 -32
  15. package/lib/pages/IsPep/IsPepMessages.js +66 -74
  16. package/lib/pages/IsPep/IsPepPage.d.ts +14 -14
  17. package/lib/pages/IsPep/IsPepPage.js +59 -39
  18. package/lib/pages/PepContext.d.ts +80 -80
  19. package/lib/pages/PepContext.js +88 -88
  20. package/lib/pages/PepIsPepPage.d.ts +15 -6
  21. package/lib/pages/PepIsPepPage.js +59 -57
  22. package/lib/pages/PepRelationPage.d.ts +6 -6
  23. package/lib/pages/PepRelationPage.js +79 -83
  24. package/lib/pages/PepRolePage.d.ts +10 -9
  25. package/lib/pages/PepRolePage.js +127 -127
  26. package/lib/pages/PepStatusPage.d.ts +6 -6
  27. package/lib/pages/PepStatusPage.js +58 -57
  28. package/lib/pages/RelationPage/RelationMessages.d.ts +105 -105
  29. package/lib/pages/RelationPage/RelationMessages.js +283 -282
  30. package/lib/pages/RelationPage/RelationPage.d.ts +6 -6
  31. package/lib/pages/RelationPage/RelationPage.js +153 -142
  32. package/lib/pages/RolePage/RoleMessages.d.ts +185 -185
  33. package/lib/pages/RolePage/RoleMessages.js +385 -381
  34. package/lib/pages/RolePage/RolePage.d.ts +11 -11
  35. package/lib/pages/RolePage/RolePage.js +220 -214
  36. package/lib/pages/StatusPage/StatusMessages.d.ts +72 -72
  37. package/lib/pages/StatusPage/StatusMessages.js +266 -74
  38. package/lib/pages/StatusPage/StatusPage.d.ts +6 -6
  39. package/lib/pages/StatusPage/StatusPage.js +95 -75
  40. package/lib/utils/Possession.d.ts +1 -0
  41. package/lib/utils/Possession.js +18 -0
  42. package/package.json +57 -57
  43. package/src/Exports.ts +12 -12
  44. package/src/components/CountrySelect.tsx +47 -47
  45. package/src/components/PepAnswers.scss +7 -7
  46. package/src/components/PepAnswers.tsx +252 -252
  47. package/src/demo/Done.tsx +16 -16
  48. package/src/demo/Pep.tsx +112 -112
  49. package/src/model/PepModel.ts +52 -52
  50. package/src/pages/IsPep/IsPepMessages.ts +67 -75
  51. package/src/pages/IsPep/IsPepPage.tsx +115 -94
  52. package/src/pages/PepContext.tsx +144 -144
  53. package/src/pages/RelationPage/RelationMessages.ts +288 -287
  54. package/src/pages/RelationPage/RelationPage.tsx +299 -269
  55. package/src/pages/RolePage/RoleMessages.ts +393 -389
  56. package/src/pages/RolePage/RolePage.tsx +356 -342
  57. package/src/pages/StatusPage/StatusMessages.ts +272 -80
  58. package/src/pages/StatusPage/StatusPage.tsx +207 -172
  59. package/src/utils/Possession.ts +21 -0
  60. package/.vscode/settings.json +0 -4
@@ -1,32 +1,32 @@
1
- export declare const messages: {
2
- header: {
3
- id: string;
4
- description: string;
5
- defaultMessage: string;
6
- };
7
- required: {
8
- id: string;
9
- description: string;
10
- defaultMessage: string;
11
- };
12
- NOT_PEP: {
13
- id: string;
14
- description: string;
15
- defaultMessage: string;
16
- };
17
- ME: {
18
- id: string;
19
- description: string;
20
- defaultMessage: string;
21
- };
22
- RELATIVE: {
23
- id: string;
24
- description: string;
25
- defaultMessage: string;
26
- };
27
- COLLEAGUE: {
28
- id: string;
29
- description: string;
30
- defaultMessage: string;
31
- };
32
- };
1
+ export declare const messages: {
2
+ header: {
3
+ id: string;
4
+ description: string;
5
+ defaultMessage: string;
6
+ };
7
+ required: {
8
+ id: string;
9
+ description: string;
10
+ defaultMessage: string;
11
+ };
12
+ NOT_PEP: {
13
+ id: string;
14
+ description: string;
15
+ defaultMessage: string;
16
+ };
17
+ ME: {
18
+ id: string;
19
+ description: string;
20
+ defaultMessage: string;
21
+ };
22
+ RELATIVE: {
23
+ id: string;
24
+ description: string;
25
+ defaultMessage: string;
26
+ };
27
+ COLLEAGUE: {
28
+ id: string;
29
+ description: string;
30
+ defaultMessage: string;
31
+ };
32
+ };
@@ -1,74 +1,66 @@
1
- import { defineMessages } from "react-intl";
2
- import { PepType } from "../PepContext";
3
- export const messages = defineMessages({
4
- header: {
5
- id: 'pep.ispep.header',
6
- description: 'Not pep',
7
- defaultMessage: `{
8
- entityType, select,
9
- PERSON {
10
- Är du eller en närstående till dig en person i politisk utsatt ställning? (PEP)
11
- }
12
- CORPORATION {
13
- Är {name} eller en närstående till {name} en person i politisk utsatt ställning? (PEP)
14
- }
15
- }`
16
- },
17
- required: {
18
- id: 'pep.ispep.header',
19
- description: 'Not pep',
20
- defaultMessage: `{
21
- entityType, select,
22
- PERSON {
23
- Är du eller en närstående till dig en person i politisk utsatt ställning? (PEP)
24
- }
25
- CORPORATION {
26
- Är {name} eller en närstående till {name} en person i politisk utsatt ställning? (PEP)
27
- }
28
- }`
29
- },
30
- [PepType.NOT_PEP]: {
31
- id: 'pep.ispep.NOT_PEP',
32
- description: 'Not pep',
33
- defaultMessage: 'Nej'
34
- },
35
- [PepType.ME]: {
36
- id: 'pep.ispep.ME',
37
- description: 'The person is pep',
38
- defaultMessage: `{
39
- entityType, select,
40
- PERSON {
41
- Jag har en funktion som gör mig till PEP
42
- }
43
- CORPORATION {
44
- På grund av sin funktion är {name} PEP
45
- }
46
- }`
47
- },
48
- [PepType.RELATIVE]: {
49
- id: 'pep.ispep.RELATIVE',
50
- description: 'Jag har en relation med en person som är PEP',
51
- defaultMessage: `{
52
- entityType, select,
53
- PERSON {
54
- Jag har en relation med en person som är PEP
55
- }
56
- CORPORATION {
57
- {name} är medarbetare till, eller har en affärsrelation med, en person som är PEP
58
- }
59
- }`
60
- },
61
- [PepType.COLLEAGUE]: {
62
- id: 'pep.ispep.COLLEAGUE',
63
- description: 'The person has a colleague that is pep',
64
- defaultMessage: `{
65
- entityType, select,
66
- PERSON {
67
- Jag är medarbetare till, eller har en affärsrelation med, en person som är PEP
68
- }
69
- CORPORATION {
70
- På grund av sin funktion är {name} PEP
71
- }
72
- }`
73
- },
74
- });
1
+ import { defineMessages } from "react-intl";
2
+ import { PepType } from "../PepContext";
3
+ export const messages = defineMessages({
4
+ header: {
5
+ id: "pep.ispep.header",
6
+ description: "Not pep",
7
+ defaultMessage: `{
8
+ entityType, select,
9
+ PERSON {
10
+ Är du eller en närstående till dig en person i politisk utsatt ställning? (PEP)
11
+ }
12
+ CORPORATION {
13
+ Är {name} eller en närstående till {name} en person i politisk utsatt ställning? (PEP)
14
+ }
15
+ }`,
16
+ },
17
+ required: {
18
+ id: "pep.ispep.required",
19
+ description: "Not pep",
20
+ defaultMessage: "Du måste välja ett alternativ",
21
+ },
22
+ [PepType.NOT_PEP]: {
23
+ id: "pep.ispep.NOT_PEP",
24
+ description: "Not pep",
25
+ defaultMessage: "Nej",
26
+ },
27
+ [PepType.ME]: {
28
+ id: "pep.ispep.ME",
29
+ description: "The person is pep",
30
+ defaultMessage: `{
31
+ entityType, select,
32
+ PERSON {
33
+ Jag har en funktion som gör mig till PEP
34
+ }
35
+ CORPORATION {
36
+ På grund av sin funktion är {name} PEP
37
+ }
38
+ }`,
39
+ },
40
+ [PepType.RELATIVE]: {
41
+ id: "pep.ispep.RELATIVE",
42
+ description: "Jag har en relation med en person som är PEP",
43
+ defaultMessage: `{
44
+ entityType, select,
45
+ PERSON {
46
+ Jag har en relation med en person som är PEP
47
+ }
48
+ CORPORATION {
49
+ {name} är medarbetare till, eller har en affärsrelation med, en person som är PEP
50
+ }
51
+ }`,
52
+ },
53
+ [PepType.COLLEAGUE]: {
54
+ id: "pep.ispep.COLLEAGUE",
55
+ description: "The person has a colleague that is pep",
56
+ defaultMessage: `{
57
+ entityType, select,
58
+ PERSON {
59
+ Jag är medarbetare till, eller har en affärsrelation med, en person som är PEP
60
+ }
61
+ CORPORATION {
62
+ På grund av sin funktion är {name} PEP
63
+ }
64
+ }`,
65
+ },
66
+ });
@@ -1,14 +1,14 @@
1
- import { FunctionComponent } from "react";
2
- import { PepType, EntityType } from "../PepContext";
3
- export interface ExternalIsPepState {
4
- ownerName: string;
5
- entityType: EntityType;
6
- type?: PepType;
7
- onChange: (type: PepType) => void;
8
- }
9
- interface Props {
10
- next?: () => void;
11
- }
12
- export declare const IsPepRadioGroup: FunctionComponent<ExternalIsPepState>;
13
- export declare const IsPepPage: FunctionComponent<Props>;
14
- export {};
1
+ import { FunctionComponent } from "react";
2
+ import { PepType, EntityType } from "../PepContext";
3
+ export interface ExternalIsPepState {
4
+ ownerName: string;
5
+ entityType: EntityType;
6
+ type?: PepType;
7
+ onChange: (type: PepType) => void;
8
+ }
9
+ interface Props {
10
+ next?: () => void;
11
+ }
12
+ export declare const IsPepRadioGroup: FunctionComponent<ExternalIsPepState>;
13
+ export declare const IsPepPage: FunctionComponent<Props>;
14
+ export {};
@@ -1,39 +1,59 @@
1
- import React, { useRef, useCallback, useContext } from "react";
2
- import { Form, RadioGroup, RequiredValidator, PrimaryButton } from "@lysaab/ui-2";
3
- import { PepType, PepContext, EntityType } from "../PepContext";
4
- import { useIntl, FormattedMessage } from "react-intl";
5
- import { messages } from "./IsPepMessages";
6
- export const IsPepRadioGroup = ({ ownerName, entityType, type, onChange }) => {
7
- const intl = useIntl();
8
- const IsPepAlternatives = [
9
- {
10
- text: intl.formatMessage(messages[PepType.NOT_PEP], { entityType, name: ownerName }),
11
- value: PepType.NOT_PEP
12
- },
13
- { text: intl.formatMessage(messages[PepType.ME], { entityType, name: ownerName }), value: PepType.ME },
14
- {
15
- text: intl.formatMessage(messages[PepType.RELATIVE], { entityType, name: ownerName }),
16
- value: PepType.RELATIVE
17
- },
18
- {
19
- text: intl.formatMessage(messages[PepType.COLLEAGUE], { entityType, name: ownerName }),
20
- value: PepType.COLLEAGUE
21
- }
22
- ];
23
- return (React.createElement(RadioGroup, { alternatives: IsPepAlternatives, onChange: alt => onChange(alt.value), value: IsPepAlternatives.find(alt => alt.value === type), header: intl.formatMessage(messages.header, { entityType, name: ownerName }), validators: [RequiredValidator(intl.formatMessage(messages.required))] }));
24
- };
25
- export const IsPepPage = ({ next }) => {
26
- const pepContext = useContext(PepContext);
27
- const formRef = useRef();
28
- const nextPage = useCallback(() => {
29
- if (formRef.current && formRef.current.isValid && next) {
30
- next();
31
- }
32
- }, [formRef, next]);
33
- return (React.createElement(Form, { onSubmit: nextPage, lysaFormRef: formRef },
34
- React.createElement(IsPepRadioGroup, { entityType: pepContext.state.legalEntityType || EntityType.PERSON, ownerName: pepContext.state.ownerName || "", type: pepContext.state.type, onChange: type => {
35
- pepContext.setState({ type });
36
- } }),
37
- React.createElement(PrimaryButton, { type: "submit" },
38
- React.createElement(FormattedMessage, { id: "pep.ispep.next", description: "Next button", defaultMessage: 'G\u00E5 vidare' }))));
39
- };
1
+ import React, { useRef, useCallback, useContext, } from "react";
2
+ import { Form, RadioGroup, RequiredValidator, PrimaryButton, } from "@lysaab/ui-2";
3
+ import { PepType, PepContext, EntityType } from "../PepContext";
4
+ import { useIntl, FormattedMessage } from "react-intl";
5
+ import { messages } from "./IsPepMessages";
6
+ export const IsPepRadioGroup = ({ ownerName, entityType, type, onChange, }) => {
7
+ const intl = useIntl();
8
+ const IsPepAlternatives = [
9
+ {
10
+ text: intl.formatMessage(messages[PepType.NOT_PEP], {
11
+ entityType,
12
+ name: ownerName,
13
+ }),
14
+ value: PepType.NOT_PEP,
15
+ },
16
+ {
17
+ text: intl.formatMessage(messages[PepType.ME], {
18
+ entityType,
19
+ name: ownerName,
20
+ }),
21
+ value: PepType.ME,
22
+ },
23
+ {
24
+ text: intl.formatMessage(messages[PepType.RELATIVE], {
25
+ entityType,
26
+ name: ownerName,
27
+ }),
28
+ value: PepType.RELATIVE,
29
+ },
30
+ {
31
+ text: intl.formatMessage(messages[PepType.COLLEAGUE], {
32
+ entityType,
33
+ name: ownerName,
34
+ }),
35
+ value: PepType.COLLEAGUE,
36
+ },
37
+ ];
38
+ return (React.createElement(RadioGroup, { alternatives: IsPepAlternatives, onChange: (alt) => onChange(alt.value), value: IsPepAlternatives.find((alt) => alt.value === type), header: intl.formatMessage(messages.header, {
39
+ entityType,
40
+ name: ownerName,
41
+ }), validators: [
42
+ new RequiredValidator(intl.formatMessage(messages.required)),
43
+ ], "data-test-id": "pep-ispep" }));
44
+ };
45
+ export const IsPepPage = ({ next }) => {
46
+ const pepContext = useContext(PepContext);
47
+ const formRef = useRef();
48
+ const nextPage = useCallback(() => {
49
+ if (formRef.current && formRef.current.isValid && next) {
50
+ next();
51
+ }
52
+ }, [formRef, next]);
53
+ return (React.createElement(Form, { onSubmit: nextPage, lysaFormRef: formRef },
54
+ React.createElement(IsPepRadioGroup, { entityType: pepContext.state.legalEntityType || EntityType.PERSON, ownerName: pepContext.state.ownerName || "", type: pepContext.state.type, onChange: (type) => {
55
+ pepContext.setState({ type });
56
+ } }),
57
+ React.createElement(PrimaryButton, { type: "submit" },
58
+ React.createElement(FormattedMessage, { id: "pep.ispep.next", description: "Next button", defaultMessage: "G\u00E5 vidare" }))));
59
+ };
@@ -1,80 +1,80 @@
1
- import React from "react";
2
- export declare enum EntityType {
3
- PERSON = "PERSON",
4
- CORPORATION = "CORPORATION"
5
- }
6
- export declare enum PepType {
7
- NOT_PEP = "NOT_PEP",
8
- ME = "ME",
9
- RELATIVE = "RELATIVE",
10
- COLLEAGUE = "COLLEAGUE"
11
- }
12
- export declare enum PepStatus {
13
- ONGOING = "ONGOING",
14
- ENDED = "ENDED"
15
- }
16
- export declare enum Role {
17
- HEAD_OF_GOVERNMENT = "HEAD_OF_GOVERNMENT",
18
- MINISTER = "MINISTER",
19
- PARLIMENT_MEMBER = "PARLIMENT_MEMBER",
20
- CENTRAL_BANK_MEMBER = "CENTRAL_BANK_MEMBER",
21
- BOARD_MEMBER_POLITICAL_PARTY = "BOARD_MEMBER_POLITICAL_PARTY",
22
- JUDGE_SUPREME_COURT = "JUDGE_SUPREME_COURT",
23
- JUDGE_OTHER_HIGH_COURT = "JUDGE_OTHER_HIGH_COURT",
24
- REVISION_INSTITUTE = "REVISION_INSTITUTE",
25
- AMBASSADOR = "AMBASSADOR",
26
- MILITARY_OFFICER = "MILITARY_OFFICER",
27
- GOVERNMENT_COMPANY = "GOVERNMENT_COMPANY",
28
- EU_HIGH_RANKING_POSITION = "EU_HIGH_RANKING_POSITION",
29
- HIGH_RANKING_POSITION_INTERNALTIONAL_CORP = "HIGH_RANKING_POSITION_INTERNALTIONAL_CORP"
30
- }
31
- export declare enum Relation {
32
- MARRIED_PARTNER = "MARRIED_PARTNER",
33
- COLIVING_PARTNER = "COLIVING_PARTNER",
34
- CHILD = "CHILD",
35
- PARENT = "PARENT",
36
- CHILD_MARRIED_PARTNER = "CHILD_MARRIED_PARTNER",
37
- CHILD_COLIVING_PARTNER = "CHILD_COLIVING_PARTNER"
38
- }
39
- export declare enum BusinessRelation {
40
- CO_OWNERSHIP = "CO_OWNERSHIP",
41
- CLOSE_CONNECTION = "CLOSE_CONNECTION",
42
- COMPANY_FOR_PEP = "COMPANY_FOR_PEP"
43
- }
44
- export declare enum MilitaryRank {
45
- GENERAL = "GENERAL",
46
- LIEUTENANT_GENERAL = "LIEUTENANT_GENERAL",
47
- MAJOR_GENERAL = "MAJOR_GENERAL",
48
- ADMIRAL = "ADMIRAL",
49
- VICE_ADMIRAL = "VICE_ADMIRAL",
50
- REAR_ADMIRAL = "REAR_ADMIRAL"
51
- }
52
- export interface PepState {
53
- legalEntityType?: EntityType;
54
- type?: PepType;
55
- role?: Role;
56
- country?: string;
57
- ended?: Date;
58
- ambassadorCountry?: string;
59
- militaryRank?: MilitaryRank;
60
- governmentCompany?: string;
61
- governmentCompanyRole?: string;
62
- internationalOrganisation?: string;
63
- internationalOrganisationRole?: string;
64
- relationToPEP?: Relation;
65
- nameOfPEP?: string;
66
- birthdayOfPEP?: Date;
67
- tin?: string;
68
- businessRelation?: BusinessRelation;
69
- isOngoing?: PepStatus;
70
- isSweden?: string;
71
- ownerName?: string;
72
- }
73
- export declare const EMPTY_PEP_STATE: PepState;
74
- export interface PepContextProps {
75
- state: PepState;
76
- setState: (newState: Partial<PepState>) => void;
77
- }
78
- export declare const PepContext: React.Context<PepContextProps>;
79
- export declare const withPep: <P extends object>(Component: React.ComponentType<P>) => React.FC<Pick<P, Exclude<keyof P, "state" | "setState">>>;
80
- export declare const PepContextProvider: React.FC;
1
+ import React from "react";
2
+ export declare enum EntityType {
3
+ PERSON = "PERSON",
4
+ CORPORATION = "CORPORATION"
5
+ }
6
+ export declare enum PepType {
7
+ NOT_PEP = "NOT_PEP",
8
+ ME = "ME",
9
+ RELATIVE = "RELATIVE",
10
+ COLLEAGUE = "COLLEAGUE"
11
+ }
12
+ export declare enum PepStatus {
13
+ ONGOING = "ONGOING",
14
+ ENDED = "ENDED"
15
+ }
16
+ export declare enum Role {
17
+ HEAD_OF_GOVERNMENT = "HEAD_OF_GOVERNMENT",
18
+ MINISTER = "MINISTER",
19
+ PARLIMENT_MEMBER = "PARLIMENT_MEMBER",
20
+ CENTRAL_BANK_MEMBER = "CENTRAL_BANK_MEMBER",
21
+ BOARD_MEMBER_POLITICAL_PARTY = "BOARD_MEMBER_POLITICAL_PARTY",
22
+ JUDGE_SUPREME_COURT = "JUDGE_SUPREME_COURT",
23
+ JUDGE_OTHER_HIGH_COURT = "JUDGE_OTHER_HIGH_COURT",
24
+ REVISION_INSTITUTE = "REVISION_INSTITUTE",
25
+ AMBASSADOR = "AMBASSADOR",
26
+ MILITARY_OFFICER = "MILITARY_OFFICER",
27
+ GOVERNMENT_COMPANY = "GOVERNMENT_COMPANY",
28
+ EU_HIGH_RANKING_POSITION = "EU_HIGH_RANKING_POSITION",
29
+ HIGH_RANKING_POSITION_INTERNALTIONAL_CORP = "HIGH_RANKING_POSITION_INTERNALTIONAL_CORP"
30
+ }
31
+ export declare enum Relation {
32
+ MARRIED_PARTNER = "MARRIED_PARTNER",
33
+ COLIVING_PARTNER = "COLIVING_PARTNER",
34
+ CHILD = "CHILD",
35
+ PARENT = "PARENT",
36
+ CHILD_MARRIED_PARTNER = "CHILD_MARRIED_PARTNER",
37
+ CHILD_COLIVING_PARTNER = "CHILD_COLIVING_PARTNER"
38
+ }
39
+ export declare enum BusinessRelation {
40
+ CO_OWNERSHIP = "CO_OWNERSHIP",
41
+ CLOSE_CONNECTION = "CLOSE_CONNECTION",
42
+ COMPANY_FOR_PEP = "COMPANY_FOR_PEP"
43
+ }
44
+ export declare enum MilitaryRank {
45
+ GENERAL = "GENERAL",
46
+ LIEUTENANT_GENERAL = "LIEUTENANT_GENERAL",
47
+ MAJOR_GENERAL = "MAJOR_GENERAL",
48
+ ADMIRAL = "ADMIRAL",
49
+ VICE_ADMIRAL = "VICE_ADMIRAL",
50
+ REAR_ADMIRAL = "REAR_ADMIRAL"
51
+ }
52
+ export interface PepState {
53
+ legalEntityType?: EntityType;
54
+ type?: PepType;
55
+ role?: Role;
56
+ country?: string;
57
+ ended?: Date;
58
+ ambassadorCountry?: string;
59
+ militaryRank?: MilitaryRank;
60
+ governmentCompany?: string;
61
+ governmentCompanyRole?: string;
62
+ internationalOrganisation?: string;
63
+ internationalOrganisationRole?: string;
64
+ relationToPEP?: Relation;
65
+ nameOfPEP?: string;
66
+ birthdayOfPEP?: Date;
67
+ tin?: string;
68
+ businessRelation?: BusinessRelation;
69
+ isOngoing?: PepStatus;
70
+ isSweden?: string;
71
+ ownerName?: string;
72
+ }
73
+ export declare const EMPTY_PEP_STATE: PepState;
74
+ export interface PepContextProps {
75
+ state: PepState;
76
+ setState: (newState: Partial<PepState>) => void;
77
+ }
78
+ export declare const PepContext: React.Context<PepContextProps>;
79
+ export declare const withPep: <P extends object>(Component: React.ComponentType<P>) => React.FC<Pick<P, Exclude<keyof P, "state" | "setState">>>;
80
+ export declare const PepContextProvider: React.FC;