@lysaab/lysa-pep 3.0.2 → 3.0.4
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.
- package/Exports.d.ts +7 -7
- package/Exports.js +7 -7
- package/components/CountrySelect.d.ts +11 -11
- package/components/CountrySelect.js +41 -41
- package/components/PepAnswers.d.ts +8 -8
- package/components/PepAnswers.js +137 -137
- package/messages/src/pages/IsPep/IsPepMessages.json +1 -1
- package/messages/src/pages/RelationPage/RelationMessages.json +1 -1
- package/messages/src/pages/StatusPage/StatusMessages.json +1 -1
- package/model/PepModel.d.ts +7 -7
- package/model/PepModel.js +40 -40
- package/package.json +1 -1
- package/pages/IsPep/IsPepMessages.d.ts +32 -32
- package/pages/IsPep/IsPepMessages.js +38 -34
- package/pages/IsPep/IsPepPage.d.ts +15 -15
- package/pages/IsPep/IsPepPage.js +61 -61
- package/pages/PepContext.d.ts +81 -80
- package/pages/PepContext.js +89 -88
- package/pages/RelationPage/RelationMessages.d.ts +105 -105
- package/pages/RelationPage/RelationMessages.js +112 -107
- package/pages/RelationPage/RelationPage.d.ts +6 -6
- package/pages/RelationPage/RelationPage.js +156 -156
- package/pages/RolePage/RoleMessages.d.ts +185 -185
- package/pages/RolePage/RoleMessages.js +187 -187
- package/pages/RolePage/RolePage.d.ts +11 -11
- package/pages/RolePage/RolePage.js +223 -223
- package/pages/StatusPage/StatusMessages.d.ts +72 -72
- package/pages/StatusPage/StatusMessages.js +82 -74
- package/pages/StatusPage/StatusPage.d.ts +8 -8
- package/pages/StatusPage/StatusPage.js +105 -105
- package/utils/Possession.d.ts +1 -1
- package/utils/Possession.js +27 -27
- package/model/Countries.d.ts +0 -4
- package/model/Countries.js +0 -1002
- package/model/PepTexts.d.ts +0 -380
- package/model/PepTexts.js +0 -552
- package/pages/PepIsPepPage.d.ts +0 -15
- package/pages/PepIsPepPage.js +0 -59
- package/pages/PepRelationPage.d.ts +0 -6
- package/pages/PepRelationPage.js +0 -79
- package/pages/PepRolePage.d.ts +0 -10
- package/pages/PepRolePage.js +0 -127
- package/pages/PepStatusPage.d.ts +0 -6
- package/pages/PepStatusPage.js +0 -58
package/pages/PepContext.js
CHANGED
|
@@ -1,88 +1,89 @@
|
|
|
1
|
-
import React, { useReducer } from "react";
|
|
2
|
-
export var EntityType;
|
|
3
|
-
(function (EntityType) {
|
|
4
|
-
EntityType["PERSON"] = "PERSON";
|
|
5
|
-
EntityType["CORPORATION"] = "CORPORATION";
|
|
6
|
-
})(EntityType || (EntityType = {}));
|
|
7
|
-
export var PepType;
|
|
8
|
-
(function (PepType) {
|
|
9
|
-
PepType["NOT_PEP"] = "NOT_PEP";
|
|
10
|
-
PepType["ME"] = "ME";
|
|
11
|
-
PepType["RELATIVE"] = "RELATIVE";
|
|
12
|
-
PepType["COLLEAGUE"] = "COLLEAGUE";
|
|
13
|
-
})(PepType || (PepType = {}));
|
|
14
|
-
export var PepStatus;
|
|
15
|
-
(function (PepStatus) {
|
|
16
|
-
PepStatus["ONGOING"] = "ONGOING";
|
|
17
|
-
PepStatus["ENDED"] = "ENDED";
|
|
18
|
-
})(PepStatus || (PepStatus = {}));
|
|
19
|
-
export var Role;
|
|
20
|
-
(function (Role) {
|
|
21
|
-
Role["HEAD_OF_GOVERNMENT"] = "HEAD_OF_GOVERNMENT";
|
|
22
|
-
Role["MINISTER"] = "MINISTER";
|
|
23
|
-
Role["PARLIMENT_MEMBER"] = "PARLIMENT_MEMBER";
|
|
24
|
-
Role["CENTRAL_BANK_MEMBER"] = "CENTRAL_BANK_MEMBER";
|
|
25
|
-
Role["BOARD_MEMBER_POLITICAL_PARTY"] = "BOARD_MEMBER_POLITICAL_PARTY";
|
|
26
|
-
Role["JUDGE_SUPREME_COURT"] = "JUDGE_SUPREME_COURT";
|
|
27
|
-
Role["JUDGE_OTHER_HIGH_COURT"] = "JUDGE_OTHER_HIGH_COURT";
|
|
28
|
-
Role["REVISION_INSTITUTE"] = "REVISION_INSTITUTE";
|
|
29
|
-
Role["AMBASSADOR"] = "AMBASSADOR";
|
|
30
|
-
Role["MILITARY_OFFICER"] = "MILITARY_OFFICER";
|
|
31
|
-
Role["GOVERNMENT_COMPANY"] = "GOVERNMENT_COMPANY";
|
|
32
|
-
Role["EU_HIGH_RANKING_POSITION"] = "EU_HIGH_RANKING_POSITION";
|
|
33
|
-
Role["HIGH_RANKING_POSITION_INTERNALTIONAL_CORP"] = "HIGH_RANKING_POSITION_INTERNALTIONAL_CORP";
|
|
34
|
-
})(Role || (Role = {}));
|
|
35
|
-
export var Relation;
|
|
36
|
-
(function (Relation) {
|
|
37
|
-
Relation["MARRIED_PARTNER"] = "MARRIED_PARTNER";
|
|
38
|
-
Relation["COLIVING_PARTNER"] = "COLIVING_PARTNER";
|
|
39
|
-
Relation["CHILD"] = "CHILD";
|
|
40
|
-
Relation["PARENT"] = "PARENT";
|
|
41
|
-
Relation["CHILD_MARRIED_PARTNER"] = "CHILD_MARRIED_PARTNER";
|
|
42
|
-
Relation["CHILD_COLIVING_PARTNER"] = "CHILD_COLIVING_PARTNER";
|
|
43
|
-
})(Relation || (Relation = {}));
|
|
44
|
-
export var BusinessRelation;
|
|
45
|
-
(function (BusinessRelation) {
|
|
46
|
-
BusinessRelation["CO_OWNERSHIP"] = "CO_OWNERSHIP";
|
|
47
|
-
BusinessRelation["CLOSE_CONNECTION"] = "CLOSE_CONNECTION";
|
|
48
|
-
BusinessRelation["COMPANY_FOR_PEP"] = "COMPANY_FOR_PEP";
|
|
49
|
-
})(BusinessRelation || (BusinessRelation = {}));
|
|
50
|
-
export var MilitaryRank;
|
|
51
|
-
(function (MilitaryRank) {
|
|
52
|
-
MilitaryRank["GENERAL"] = "GENERAL";
|
|
53
|
-
MilitaryRank["LIEUTENANT_GENERAL"] = "LIEUTENANT_GENERAL";
|
|
54
|
-
MilitaryRank["MAJOR_GENERAL"] = "MAJOR_GENERAL";
|
|
55
|
-
MilitaryRank["ADMIRAL"] = "ADMIRAL";
|
|
56
|
-
MilitaryRank["VICE_ADMIRAL"] = "VICE_ADMIRAL";
|
|
57
|
-
MilitaryRank["REAR_ADMIRAL"] = "REAR_ADMIRAL";
|
|
58
|
-
})(MilitaryRank || (MilitaryRank = {}));
|
|
59
|
-
export const EMPTY_PEP_STATE = {
|
|
60
|
-
legalEntityType: undefined,
|
|
61
|
-
type: undefined,
|
|
62
|
-
role: undefined,
|
|
63
|
-
country: undefined,
|
|
64
|
-
ended: undefined,
|
|
65
|
-
ambassadorCountry: undefined,
|
|
66
|
-
militaryRank: undefined,
|
|
67
|
-
governmentCompany: undefined,
|
|
68
|
-
governmentCompanyRole: undefined,
|
|
69
|
-
internationalOrganisation: undefined,
|
|
70
|
-
internationalOrganisationRole: undefined,
|
|
71
|
-
relationToPEP: undefined,
|
|
72
|
-
nameOfPEP: undefined,
|
|
73
|
-
birthdayOfPEP: undefined,
|
|
74
|
-
tin: undefined,
|
|
75
|
-
businessRelation: undefined,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
export const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
};
|
|
1
|
+
import React, { useReducer } from "react";
|
|
2
|
+
export var EntityType;
|
|
3
|
+
(function (EntityType) {
|
|
4
|
+
EntityType["PERSON"] = "PERSON";
|
|
5
|
+
EntityType["CORPORATION"] = "CORPORATION";
|
|
6
|
+
})(EntityType || (EntityType = {}));
|
|
7
|
+
export var PepType;
|
|
8
|
+
(function (PepType) {
|
|
9
|
+
PepType["NOT_PEP"] = "NOT_PEP";
|
|
10
|
+
PepType["ME"] = "ME";
|
|
11
|
+
PepType["RELATIVE"] = "RELATIVE";
|
|
12
|
+
PepType["COLLEAGUE"] = "COLLEAGUE";
|
|
13
|
+
})(PepType || (PepType = {}));
|
|
14
|
+
export var PepStatus;
|
|
15
|
+
(function (PepStatus) {
|
|
16
|
+
PepStatus["ONGOING"] = "ONGOING";
|
|
17
|
+
PepStatus["ENDED"] = "ENDED";
|
|
18
|
+
})(PepStatus || (PepStatus = {}));
|
|
19
|
+
export var Role;
|
|
20
|
+
(function (Role) {
|
|
21
|
+
Role["HEAD_OF_GOVERNMENT"] = "HEAD_OF_GOVERNMENT";
|
|
22
|
+
Role["MINISTER"] = "MINISTER";
|
|
23
|
+
Role["PARLIMENT_MEMBER"] = "PARLIMENT_MEMBER";
|
|
24
|
+
Role["CENTRAL_BANK_MEMBER"] = "CENTRAL_BANK_MEMBER";
|
|
25
|
+
Role["BOARD_MEMBER_POLITICAL_PARTY"] = "BOARD_MEMBER_POLITICAL_PARTY";
|
|
26
|
+
Role["JUDGE_SUPREME_COURT"] = "JUDGE_SUPREME_COURT";
|
|
27
|
+
Role["JUDGE_OTHER_HIGH_COURT"] = "JUDGE_OTHER_HIGH_COURT";
|
|
28
|
+
Role["REVISION_INSTITUTE"] = "REVISION_INSTITUTE";
|
|
29
|
+
Role["AMBASSADOR"] = "AMBASSADOR";
|
|
30
|
+
Role["MILITARY_OFFICER"] = "MILITARY_OFFICER";
|
|
31
|
+
Role["GOVERNMENT_COMPANY"] = "GOVERNMENT_COMPANY";
|
|
32
|
+
Role["EU_HIGH_RANKING_POSITION"] = "EU_HIGH_RANKING_POSITION";
|
|
33
|
+
Role["HIGH_RANKING_POSITION_INTERNALTIONAL_CORP"] = "HIGH_RANKING_POSITION_INTERNALTIONAL_CORP";
|
|
34
|
+
})(Role || (Role = {}));
|
|
35
|
+
export var Relation;
|
|
36
|
+
(function (Relation) {
|
|
37
|
+
Relation["MARRIED_PARTNER"] = "MARRIED_PARTNER";
|
|
38
|
+
Relation["COLIVING_PARTNER"] = "COLIVING_PARTNER";
|
|
39
|
+
Relation["CHILD"] = "CHILD";
|
|
40
|
+
Relation["PARENT"] = "PARENT";
|
|
41
|
+
Relation["CHILD_MARRIED_PARTNER"] = "CHILD_MARRIED_PARTNER";
|
|
42
|
+
Relation["CHILD_COLIVING_PARTNER"] = "CHILD_COLIVING_PARTNER";
|
|
43
|
+
})(Relation || (Relation = {}));
|
|
44
|
+
export var BusinessRelation;
|
|
45
|
+
(function (BusinessRelation) {
|
|
46
|
+
BusinessRelation["CO_OWNERSHIP"] = "CO_OWNERSHIP";
|
|
47
|
+
BusinessRelation["CLOSE_CONNECTION"] = "CLOSE_CONNECTION";
|
|
48
|
+
BusinessRelation["COMPANY_FOR_PEP"] = "COMPANY_FOR_PEP";
|
|
49
|
+
})(BusinessRelation || (BusinessRelation = {}));
|
|
50
|
+
export var MilitaryRank;
|
|
51
|
+
(function (MilitaryRank) {
|
|
52
|
+
MilitaryRank["GENERAL"] = "GENERAL";
|
|
53
|
+
MilitaryRank["LIEUTENANT_GENERAL"] = "LIEUTENANT_GENERAL";
|
|
54
|
+
MilitaryRank["MAJOR_GENERAL"] = "MAJOR_GENERAL";
|
|
55
|
+
MilitaryRank["ADMIRAL"] = "ADMIRAL";
|
|
56
|
+
MilitaryRank["VICE_ADMIRAL"] = "VICE_ADMIRAL";
|
|
57
|
+
MilitaryRank["REAR_ADMIRAL"] = "REAR_ADMIRAL";
|
|
58
|
+
})(MilitaryRank || (MilitaryRank = {}));
|
|
59
|
+
export const EMPTY_PEP_STATE = {
|
|
60
|
+
legalEntityType: undefined,
|
|
61
|
+
type: undefined,
|
|
62
|
+
role: undefined,
|
|
63
|
+
country: undefined,
|
|
64
|
+
ended: undefined,
|
|
65
|
+
ambassadorCountry: undefined,
|
|
66
|
+
militaryRank: undefined,
|
|
67
|
+
governmentCompany: undefined,
|
|
68
|
+
governmentCompanyRole: undefined,
|
|
69
|
+
internationalOrganisation: undefined,
|
|
70
|
+
internationalOrganisationRole: undefined,
|
|
71
|
+
relationToPEP: undefined,
|
|
72
|
+
nameOfPEP: undefined,
|
|
73
|
+
birthdayOfPEP: undefined,
|
|
74
|
+
tin: undefined,
|
|
75
|
+
businessRelation: undefined,
|
|
76
|
+
locked: undefined,
|
|
77
|
+
isOngoing: undefined,
|
|
78
|
+
isLocalCountry: undefined,
|
|
79
|
+
ownerName: undefined,
|
|
80
|
+
};
|
|
81
|
+
export const PepContext = React.createContext({});
|
|
82
|
+
export const withPep = (Component) => (props) => (React.createElement(PepContext.Consumer, null, (contextProps) => React.createElement(Component, Object.assign({}, props, contextProps))));
|
|
83
|
+
function stateReducer(state, newState) {
|
|
84
|
+
return Object.assign(Object.assign({}, state), newState);
|
|
85
|
+
}
|
|
86
|
+
export const PepContextProvider = ({ children }) => {
|
|
87
|
+
const [pep, setPep] = useReducer(stateReducer, {});
|
|
88
|
+
return (React.createElement(PepContext.Provider, { value: { state: pep, setState: setPep } }, children));
|
|
89
|
+
};
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
export declare const relationMessages: {
|
|
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
|
-
MARRIED_PARTNER: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
COLIVING_PARTNER: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
CHILD: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
PARENT: {
|
|
28
|
-
id: string;
|
|
29
|
-
description: string;
|
|
30
|
-
defaultMessage: string;
|
|
31
|
-
};
|
|
32
|
-
CHILD_MARRIED_PARTNER: {
|
|
33
|
-
id: string;
|
|
34
|
-
description: string;
|
|
35
|
-
defaultMessage: string;
|
|
36
|
-
};
|
|
37
|
-
CHILD_COLIVING_PARTNER: {
|
|
38
|
-
id: string;
|
|
39
|
-
description: string;
|
|
40
|
-
defaultMessage: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export declare const businessRelationMessages: {
|
|
44
|
-
header: {
|
|
45
|
-
id: string;
|
|
46
|
-
description: string;
|
|
47
|
-
defaultMessage: string;
|
|
48
|
-
};
|
|
49
|
-
required: {
|
|
50
|
-
id: string;
|
|
51
|
-
description: string;
|
|
52
|
-
defaultMessage: string;
|
|
53
|
-
};
|
|
54
|
-
CO_OWNERSHIP: {
|
|
55
|
-
id: string;
|
|
56
|
-
description: string;
|
|
57
|
-
defaultMessage: string;
|
|
58
|
-
};
|
|
59
|
-
CLOSE_CONNECTION: {
|
|
60
|
-
id: string;
|
|
61
|
-
description: string;
|
|
62
|
-
defaultMessage: string;
|
|
63
|
-
};
|
|
64
|
-
COMPANY_FOR_PEP: {
|
|
65
|
-
id: string;
|
|
66
|
-
description: string;
|
|
67
|
-
defaultMessage: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export declare const relativeNameMessages: {
|
|
71
|
-
header: {
|
|
72
|
-
id: string;
|
|
73
|
-
description: string;
|
|
74
|
-
defaultMessage: string;
|
|
75
|
-
};
|
|
76
|
-
required: {
|
|
77
|
-
id: string;
|
|
78
|
-
description: string;
|
|
79
|
-
defaultMessage: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
export declare const birthdayMessages: {
|
|
83
|
-
header: {
|
|
84
|
-
id: string;
|
|
85
|
-
description: string;
|
|
86
|
-
defaultMessage: string;
|
|
87
|
-
};
|
|
88
|
-
required: {
|
|
89
|
-
id: string;
|
|
90
|
-
description: string;
|
|
91
|
-
defaultMessage: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
export declare const colleagueNameMessages: {
|
|
95
|
-
header: {
|
|
96
|
-
id: string;
|
|
97
|
-
description: string;
|
|
98
|
-
defaultMessage: string;
|
|
99
|
-
};
|
|
100
|
-
required: {
|
|
101
|
-
id: string;
|
|
102
|
-
description: string;
|
|
103
|
-
defaultMessage: string;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
1
|
+
export declare const relationMessages: {
|
|
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
|
+
MARRIED_PARTNER: {
|
|
13
|
+
id: string;
|
|
14
|
+
description: string;
|
|
15
|
+
defaultMessage: string;
|
|
16
|
+
};
|
|
17
|
+
COLIVING_PARTNER: {
|
|
18
|
+
id: string;
|
|
19
|
+
description: string;
|
|
20
|
+
defaultMessage: string;
|
|
21
|
+
};
|
|
22
|
+
CHILD: {
|
|
23
|
+
id: string;
|
|
24
|
+
description: string;
|
|
25
|
+
defaultMessage: string;
|
|
26
|
+
};
|
|
27
|
+
PARENT: {
|
|
28
|
+
id: string;
|
|
29
|
+
description: string;
|
|
30
|
+
defaultMessage: string;
|
|
31
|
+
};
|
|
32
|
+
CHILD_MARRIED_PARTNER: {
|
|
33
|
+
id: string;
|
|
34
|
+
description: string;
|
|
35
|
+
defaultMessage: string;
|
|
36
|
+
};
|
|
37
|
+
CHILD_COLIVING_PARTNER: {
|
|
38
|
+
id: string;
|
|
39
|
+
description: string;
|
|
40
|
+
defaultMessage: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const businessRelationMessages: {
|
|
44
|
+
header: {
|
|
45
|
+
id: string;
|
|
46
|
+
description: string;
|
|
47
|
+
defaultMessage: string;
|
|
48
|
+
};
|
|
49
|
+
required: {
|
|
50
|
+
id: string;
|
|
51
|
+
description: string;
|
|
52
|
+
defaultMessage: string;
|
|
53
|
+
};
|
|
54
|
+
CO_OWNERSHIP: {
|
|
55
|
+
id: string;
|
|
56
|
+
description: string;
|
|
57
|
+
defaultMessage: string;
|
|
58
|
+
};
|
|
59
|
+
CLOSE_CONNECTION: {
|
|
60
|
+
id: string;
|
|
61
|
+
description: string;
|
|
62
|
+
defaultMessage: string;
|
|
63
|
+
};
|
|
64
|
+
COMPANY_FOR_PEP: {
|
|
65
|
+
id: string;
|
|
66
|
+
description: string;
|
|
67
|
+
defaultMessage: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const relativeNameMessages: {
|
|
71
|
+
header: {
|
|
72
|
+
id: string;
|
|
73
|
+
description: string;
|
|
74
|
+
defaultMessage: string;
|
|
75
|
+
};
|
|
76
|
+
required: {
|
|
77
|
+
id: string;
|
|
78
|
+
description: string;
|
|
79
|
+
defaultMessage: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const birthdayMessages: {
|
|
83
|
+
header: {
|
|
84
|
+
id: string;
|
|
85
|
+
description: string;
|
|
86
|
+
defaultMessage: string;
|
|
87
|
+
};
|
|
88
|
+
required: {
|
|
89
|
+
id: string;
|
|
90
|
+
description: string;
|
|
91
|
+
defaultMessage: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export declare const colleagueNameMessages: {
|
|
95
|
+
header: {
|
|
96
|
+
id: string;
|
|
97
|
+
description: string;
|
|
98
|
+
defaultMessage: string;
|
|
99
|
+
};
|
|
100
|
+
required: {
|
|
101
|
+
id: string;
|
|
102
|
+
description: string;
|
|
103
|
+
defaultMessage: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineMessages } from "react-intl";
|
|
2
|
-
import { BusinessRelation, Relation } from "../PepContext";
|
|
3
|
-
export const relationMessages = defineMessages({
|
|
4
|
-
header: {
|
|
5
|
-
id: "pep.relation.relationship.header",
|
|
6
|
-
description: "Relationship header",
|
|
1
|
+
import { defineMessages } from "react-intl";
|
|
2
|
+
import { BusinessRelation, Relation } from "../PepContext";
|
|
3
|
+
export const relationMessages = defineMessages({
|
|
4
|
+
header: {
|
|
5
|
+
id: "pep.relation.relationship.header",
|
|
6
|
+
description: "Relationship header",
|
|
7
7
|
defaultMessage: `{
|
|
8
8
|
entityType, select,
|
|
9
9
|
PERSON {
|
|
@@ -12,48 +12,49 @@ export const relationMessages = defineMessages({
|
|
|
12
12
|
CORPORATION {
|
|
13
13
|
What relationship does {name} have to the person in a politically exposed position?
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
15
|
+
other {}
|
|
16
|
+
}`,
|
|
17
|
+
},
|
|
18
|
+
required: {
|
|
19
|
+
id: "pep.relation.relation.required",
|
|
20
|
+
description: "Required error message",
|
|
21
|
+
defaultMessage: "You need to choose an alternative",
|
|
22
|
+
},
|
|
23
|
+
[Relation.MARRIED_PARTNER]: {
|
|
24
|
+
id: "pep.relation.relation.MARRIED_PARTNER",
|
|
25
|
+
description: "The person is married to someone who is pep",
|
|
26
|
+
defaultMessage: "Spouse of a PEP",
|
|
27
|
+
},
|
|
28
|
+
[Relation.COLIVING_PARTNER]: {
|
|
29
|
+
id: "pep.relation.relation.COLIVING_PARTNER",
|
|
30
|
+
description: "The person is a coliving partner to someone who is pep",
|
|
31
|
+
defaultMessage: "Partner to a PEP",
|
|
32
|
+
},
|
|
33
|
+
[Relation.CHILD]: {
|
|
34
|
+
id: "pep.relation.relation.CHILD",
|
|
35
|
+
description: "The person is the child of someone who is pep",
|
|
36
|
+
defaultMessage: "Child of a PEP",
|
|
37
|
+
},
|
|
38
|
+
[Relation.PARENT]: {
|
|
39
|
+
id: "pep.relation.relation.PARENT",
|
|
40
|
+
description: "The person is the parent of someone who is pep",
|
|
41
|
+
defaultMessage: "Parent of a PEP",
|
|
42
|
+
},
|
|
43
|
+
[Relation.CHILD_MARRIED_PARTNER]: {
|
|
44
|
+
id: "pep.relation.relation.CHILD_MARRIED_PARTNER",
|
|
45
|
+
description: "The person is married to the child of someone who is pep",
|
|
46
|
+
defaultMessage: "Spouse of the child of a PEP",
|
|
47
|
+
},
|
|
48
|
+
[Relation.CHILD_COLIVING_PARTNER]: {
|
|
49
|
+
id: "pep.relation.relation.CHILD_COLIVING_PARTNER",
|
|
50
|
+
description: "The person is married to someone who is pep",
|
|
51
|
+
defaultMessage: "Partner to the child of a PEP",
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
export const businessRelationMessages = defineMessages({
|
|
55
|
+
header: {
|
|
56
|
+
id: "pep.relation.businessrelation.header",
|
|
57
|
+
description: "Business relation header",
|
|
57
58
|
defaultMessage: `{
|
|
58
59
|
entityType, select,
|
|
59
60
|
PERSON {
|
|
@@ -62,16 +63,17 @@ export const businessRelationMessages = defineMessages({
|
|
|
62
63
|
CORPORATION {
|
|
63
64
|
What relationship does {name} have to the person in a politically exposed position?
|
|
64
65
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
other {}
|
|
67
|
+
}`,
|
|
68
|
+
},
|
|
69
|
+
required: {
|
|
70
|
+
id: "pep.relation.businessrelation.required",
|
|
71
|
+
description: "Required error message",
|
|
72
|
+
defaultMessage: "You need to choose an alternative",
|
|
73
|
+
},
|
|
74
|
+
[BusinessRelation.CO_OWNERSHIP]: {
|
|
75
|
+
id: "pep.relation.businessrelation.alt.CO_OWNERSHIP",
|
|
76
|
+
description: "Co-ownership alternative",
|
|
75
77
|
defaultMessage: `{
|
|
76
78
|
entityType, select,
|
|
77
79
|
PERSON {
|
|
@@ -80,11 +82,12 @@ export const businessRelationMessages = defineMessages({
|
|
|
80
82
|
CORPORATION {
|
|
81
83
|
{name} is the beneficial owner to a legal person, or a legal structure together with a PEP
|
|
82
84
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
other {}
|
|
86
|
+
}`,
|
|
87
|
+
},
|
|
88
|
+
[BusinessRelation.CLOSE_CONNECTION]: {
|
|
89
|
+
id: "pep.relation.businessrelation.alt.CLOSE_CONNECTION",
|
|
90
|
+
description: "Close business relation",
|
|
88
91
|
defaultMessage: `{
|
|
89
92
|
entityType, select,
|
|
90
93
|
PERSON {
|
|
@@ -93,11 +96,12 @@ export const businessRelationMessages = defineMessages({
|
|
|
93
96
|
CORPORATION {
|
|
94
97
|
{name} is a person that in one way or the other has or has had a close relation with a PEP
|
|
95
98
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
other {}
|
|
100
|
+
}`,
|
|
101
|
+
},
|
|
102
|
+
[BusinessRelation.COMPANY_FOR_PEP]: {
|
|
103
|
+
id: "pep.relation.businessrelation.alt.COMPANY_FOR_PEP",
|
|
104
|
+
description: "Beneficial owner",
|
|
101
105
|
defaultMessage: `{
|
|
102
106
|
entityType, select,
|
|
103
107
|
PERSON {
|
|
@@ -106,13 +110,14 @@ export const businessRelationMessages = defineMessages({
|
|
|
106
110
|
CORPORATION {
|
|
107
111
|
{name} is the lone beneficial owner to a legal person, or a legal structure together with a PEP
|
|
108
112
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
other {}
|
|
114
|
+
}`,
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
export const relativeNameMessages = defineMessages({
|
|
118
|
+
header: {
|
|
119
|
+
id: "pep.relation.relative.name.header",
|
|
120
|
+
description: "Relative name",
|
|
116
121
|
defaultMessage: `{
|
|
117
122
|
entityType, select,
|
|
118
123
|
PERSON {
|
|
@@ -164,18 +169,18 @@ export const relativeNameMessages = defineMessages({
|
|
|
164
169
|
}
|
|
165
170
|
}
|
|
166
171
|
other {}
|
|
167
|
-
}`,
|
|
168
|
-
},
|
|
169
|
-
required: {
|
|
170
|
-
id: "pep.relation.relative.name.required",
|
|
171
|
-
description: "Required error message",
|
|
172
|
-
defaultMessage: "You need to choose an alternative",
|
|
173
|
-
},
|
|
174
|
-
});
|
|
175
|
-
export const birthdayMessages = defineMessages({
|
|
176
|
-
header: {
|
|
177
|
-
id: "pep.relation.birthday.header",
|
|
178
|
-
description: "Relative birthday",
|
|
172
|
+
}`,
|
|
173
|
+
},
|
|
174
|
+
required: {
|
|
175
|
+
id: "pep.relation.relative.name.required",
|
|
176
|
+
description: "Required error message",
|
|
177
|
+
defaultMessage: "You need to choose an alternative",
|
|
178
|
+
},
|
|
179
|
+
});
|
|
180
|
+
export const birthdayMessages = defineMessages({
|
|
181
|
+
header: {
|
|
182
|
+
id: "pep.relation.birthday.header",
|
|
183
|
+
description: "Relative birthday",
|
|
179
184
|
defaultMessage: `{
|
|
180
185
|
entityType, select,
|
|
181
186
|
PERSON {
|
|
@@ -227,18 +232,18 @@ export const birthdayMessages = defineMessages({
|
|
|
227
232
|
}
|
|
228
233
|
}
|
|
229
234
|
other {}
|
|
230
|
-
}`,
|
|
231
|
-
},
|
|
232
|
-
required: {
|
|
233
|
-
id: "pep.relation.birthday.required",
|
|
234
|
-
description: "Required error message",
|
|
235
|
-
defaultMessage: "State the date",
|
|
236
|
-
},
|
|
237
|
-
});
|
|
238
|
-
export const colleagueNameMessages = defineMessages({
|
|
239
|
-
header: {
|
|
240
|
-
id: "pep.relation.colleague.name.header",
|
|
241
|
-
description: "Colleague name",
|
|
235
|
+
}`,
|
|
236
|
+
},
|
|
237
|
+
required: {
|
|
238
|
+
id: "pep.relation.birthday.required",
|
|
239
|
+
description: "Required error message",
|
|
240
|
+
defaultMessage: "State the date",
|
|
241
|
+
},
|
|
242
|
+
});
|
|
243
|
+
export const colleagueNameMessages = defineMessages({
|
|
244
|
+
header: {
|
|
245
|
+
id: "pep.relation.colleague.name.header",
|
|
246
|
+
description: "Colleague name",
|
|
242
247
|
defaultMessage: `{
|
|
243
248
|
entityType, select,
|
|
244
249
|
PERSON {
|
|
@@ -272,11 +277,11 @@ export const colleagueNameMessages = defineMessages({
|
|
|
272
277
|
}
|
|
273
278
|
}
|
|
274
279
|
other {}
|
|
275
|
-
}`,
|
|
276
|
-
},
|
|
277
|
-
required: {
|
|
278
|
-
id: "pep.relation.colleague.name.required",
|
|
279
|
-
description: "Required error message",
|
|
280
|
-
defaultMessage: "You need to choose an alternative",
|
|
281
|
-
},
|
|
282
|
-
});
|
|
280
|
+
}`,
|
|
281
|
+
},
|
|
282
|
+
required: {
|
|
283
|
+
id: "pep.relation.colleague.name.required",
|
|
284
|
+
description: "Required error message",
|
|
285
|
+
defaultMessage: "You need to choose an alternative",
|
|
286
|
+
},
|
|
287
|
+
});
|