@lysaab/lysa-pep 2.1.1 → 2.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.
- package/components/CountrySelect.js +1 -1
- package/components/PepAnswers.js +35 -35
- package/messages/src/components/CountrySelect.json +1 -1
- package/messages/src/components/PepAnswers.json +1 -1
- package/messages/src/pages/IsPep/IsPepMessages.json +1 -1
- package/messages/src/pages/RelationPage/RelationMessages.json +1 -1
- package/messages/src/pages/RelationPage/RelationPage.json +1 -1
- package/messages/src/pages/RolePage/RoleMessages.json +1 -1
- package/messages/src/pages/RolePage/RolePage.json +1 -1
- package/messages/src/pages/StatusPage/StatusMessages.json +1 -1
- package/package.json +1 -1
- package/pages/IsPep/IsPepMessages.js +4 -4
- package/pages/RelationPage/RelationMessages.js +59 -60
- package/pages/RelationPage/RelationPage.js +1 -1
- package/pages/RolePage/RoleMessages.js +72 -72
- package/pages/RolePage/RolePage.js +1 -1
- package/pages/StatusPage/StatusMessages.js +47 -49
|
@@ -10,28 +10,28 @@ export const isOngoingMessages = defineMessages({
|
|
|
10
10
|
{
|
|
11
11
|
pepType, select,
|
|
12
12
|
ME {
|
|
13
|
-
Is your position ongoing or
|
|
13
|
+
Is your position ongoing or ended?
|
|
14
14
|
}
|
|
15
15
|
RELATIVE {
|
|
16
16
|
{
|
|
17
17
|
relation, select,
|
|
18
18
|
MARRIED_PARTNER {
|
|
19
|
-
|
|
19
|
+
Is your spouse's position ongoing or ended?
|
|
20
20
|
}
|
|
21
21
|
COLIVING_PARTNER {
|
|
22
|
-
|
|
22
|
+
Is your partner's position ongoing or ended?
|
|
23
23
|
}
|
|
24
24
|
CHILD {
|
|
25
|
-
|
|
25
|
+
Is your parent's position ongoing or ended?
|
|
26
26
|
}
|
|
27
27
|
PARENT {
|
|
28
|
-
|
|
28
|
+
Is your child's position ongoing or ended?
|
|
29
29
|
}
|
|
30
30
|
CHILD_MARRIED_PARTNER {
|
|
31
|
-
|
|
31
|
+
Is your spouse's parent's position ongoing or ended?
|
|
32
32
|
}
|
|
33
33
|
CHILD_COLIVING_PARTNER {
|
|
34
|
-
|
|
34
|
+
Is your partner's parent's position ongoing or ended?
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -39,13 +39,13 @@ export const isOngoingMessages = defineMessages({
|
|
|
39
39
|
{
|
|
40
40
|
relation, select,
|
|
41
41
|
CO_OWNERSHIP {
|
|
42
|
-
|
|
42
|
+
Is the position for the person in a politically exposed position, who is a beneficial owner in a company together with you, ongoing or ended?
|
|
43
43
|
}
|
|
44
44
|
CLOSE_CONNECTION {
|
|
45
|
-
|
|
45
|
+
Is the position for the person in a politically exposed position, who you have or have had a close relationship to, ongoing or ended?
|
|
46
46
|
}
|
|
47
47
|
COMPANY_FOR_PEP {
|
|
48
|
-
|
|
48
|
+
Is the position for the person in a politically exposed position, who you have a close relationship to, ongoing or ended?
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -56,29 +56,28 @@ export const isOngoingMessages = defineMessages({
|
|
|
56
56
|
{
|
|
57
57
|
pepType, select,
|
|
58
58
|
ME {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
Is the position of {name} ongoing or ended
|
|
61
60
|
}
|
|
62
61
|
RELATIVE {
|
|
63
62
|
{
|
|
64
63
|
relation, select,
|
|
65
64
|
MARRIED_PARTNER {
|
|
66
|
-
|
|
65
|
+
Is the position of the spouse of {name} ongoing or ended?
|
|
67
66
|
}
|
|
68
67
|
COLIVING_PARTNER {
|
|
69
|
-
|
|
68
|
+
Is the position of the partner of {name} ongoing or ended?
|
|
70
69
|
}
|
|
71
70
|
CHILD {
|
|
72
|
-
|
|
71
|
+
Is the position of the parent of {name} ongoing or ended?
|
|
73
72
|
}
|
|
74
73
|
PARENT {
|
|
75
|
-
|
|
74
|
+
Is the position of the child of {name} ongoing or ended?
|
|
76
75
|
}
|
|
77
76
|
CHILD_MARRIED_PARTNER {
|
|
78
|
-
|
|
77
|
+
Is the position of the parent of the spouse of {name} ongoing or ended?
|
|
79
78
|
}
|
|
80
79
|
CHILD_COLIVING_PARTNER {
|
|
81
|
-
|
|
80
|
+
Is the position of the parent of the partner of {name} ongoing or ended?
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
83
|
}
|
|
@@ -86,13 +85,13 @@ export const isOngoingMessages = defineMessages({
|
|
|
86
85
|
{
|
|
87
86
|
relation, select,
|
|
88
87
|
CO_OWNERSHIP {
|
|
89
|
-
|
|
88
|
+
Is the position of the person in a politically exposed position, who is the beneficial owner in a company together with {name}, ongoing or ended?
|
|
90
89
|
}
|
|
91
90
|
CLOSE_CONNECTION {
|
|
92
|
-
|
|
91
|
+
Is the position for the person in a politically exposed position, who {name} have or have had a close relationship to, ongoing or ended?
|
|
93
92
|
}
|
|
94
93
|
COMPANY_FOR_PEP {
|
|
95
|
-
|
|
94
|
+
Is the position for the person in a politically exposed position, who {name} have a close relationship to, ongoing or ended?
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
}
|
|
@@ -105,19 +104,19 @@ export const isOngoingMessages = defineMessages({
|
|
|
105
104
|
required: {
|
|
106
105
|
id: "pep.status.isongoing.required",
|
|
107
106
|
description: "Is ongoing required error",
|
|
108
|
-
defaultMessage: "
|
|
107
|
+
defaultMessage: "You need to choose an alternative",
|
|
109
108
|
},
|
|
110
109
|
});
|
|
111
110
|
export const endedMessages = defineMessages({
|
|
112
111
|
header: {
|
|
113
112
|
id: "pep.status.ended.header",
|
|
114
113
|
description: "When did it end header",
|
|
115
|
-
defaultMessage: "
|
|
114
|
+
defaultMessage: "When did the assignment end?",
|
|
116
115
|
},
|
|
117
116
|
required: {
|
|
118
117
|
id: "pep.status.ended.required",
|
|
119
118
|
description: "When did it end required error",
|
|
120
|
-
defaultMessage: "
|
|
119
|
+
defaultMessage: "You need to provide an end date",
|
|
121
120
|
},
|
|
122
121
|
});
|
|
123
122
|
export const isLocalCountryMessages = defineMessages({
|
|
@@ -129,7 +128,7 @@ export const isLocalCountryMessages = defineMessages({
|
|
|
129
128
|
required: {
|
|
130
129
|
id: "pep.status.localcountry.required",
|
|
131
130
|
description: "Is local country required error",
|
|
132
|
-
defaultMessage: "
|
|
131
|
+
defaultMessage: "You need to choose a country",
|
|
133
132
|
},
|
|
134
133
|
});
|
|
135
134
|
export const countrySelectionMessages = defineMessages({
|
|
@@ -142,28 +141,28 @@ export const countrySelectionMessages = defineMessages({
|
|
|
142
141
|
{
|
|
143
142
|
pepType, select,
|
|
144
143
|
ME {
|
|
145
|
-
|
|
144
|
+
In what country is/was your position?
|
|
146
145
|
}
|
|
147
146
|
RELATIVE {
|
|
148
147
|
{
|
|
149
148
|
relation, select,
|
|
150
149
|
MARRIED_PARTNER {
|
|
151
|
-
|
|
150
|
+
In what country is/was your spouse's position?
|
|
152
151
|
}
|
|
153
152
|
COLIVING_PARTNER {
|
|
154
|
-
|
|
153
|
+
In what country is/was your partner's position?
|
|
155
154
|
}
|
|
156
155
|
CHILD {
|
|
157
|
-
|
|
156
|
+
In what country is/was your parent's position?
|
|
158
157
|
}
|
|
159
158
|
PARENT {
|
|
160
|
-
|
|
159
|
+
In what country is/was your child's position?
|
|
161
160
|
}
|
|
162
161
|
CHILD_MARRIED_PARTNER {
|
|
163
|
-
|
|
162
|
+
In what country is/was your spouse's parent's position?
|
|
164
163
|
}
|
|
165
164
|
CHILD_COLIVING_PARTNER {
|
|
166
|
-
|
|
165
|
+
In what country is/was your partner's parent's position?
|
|
167
166
|
}
|
|
168
167
|
}
|
|
169
168
|
}
|
|
@@ -171,13 +170,13 @@ export const countrySelectionMessages = defineMessages({
|
|
|
171
170
|
{
|
|
172
171
|
relation, select,
|
|
173
172
|
CO_OWNERSHIP {
|
|
174
|
-
|
|
173
|
+
In what country is/was the position of the person in a politically exposed position you have or have had a relationship to?
|
|
175
174
|
}
|
|
176
175
|
CLOSE_CONNECTION {
|
|
177
|
-
|
|
176
|
+
In what country is/was the position of the person in a politically exposed position you have or have had a relationship to?
|
|
178
177
|
}
|
|
179
178
|
COMPANY_FOR_PEP {
|
|
180
|
-
|
|
179
|
+
In what country is/was the position of the person in a politically exposed position you have or have had a relationship to?
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
182
|
}
|
|
@@ -188,29 +187,28 @@ export const countrySelectionMessages = defineMessages({
|
|
|
188
187
|
{
|
|
189
188
|
pepType, select,
|
|
190
189
|
ME {
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
In what country is/was the position of {name}
|
|
193
191
|
}
|
|
194
192
|
RELATIVE {
|
|
195
193
|
{
|
|
196
194
|
relation, select,
|
|
197
195
|
MARRIED_PARTNER {
|
|
198
|
-
|
|
196
|
+
In what country is/was the position of the spouse of {name}
|
|
199
197
|
}
|
|
200
198
|
COLIVING_PARTNER {
|
|
201
|
-
|
|
199
|
+
In what country is/was the position of the partner of {name}
|
|
202
200
|
}
|
|
203
201
|
CHILD {
|
|
204
|
-
|
|
202
|
+
In what country is/was the position of the parent of {name}
|
|
205
203
|
}
|
|
206
204
|
PARENT {
|
|
207
|
-
|
|
205
|
+
In what country is/was the position of the child of {name}
|
|
208
206
|
}
|
|
209
207
|
CHILD_MARRIED_PARTNER {
|
|
210
|
-
|
|
208
|
+
In what country is/was the position of the parent of the spouse of {name}
|
|
211
209
|
}
|
|
212
210
|
CHILD_COLIVING_PARTNER {
|
|
213
|
-
|
|
211
|
+
In what country is/was the position of the parent of the partner of {name}
|
|
214
212
|
}
|
|
215
213
|
}
|
|
216
214
|
}
|
|
@@ -218,13 +216,13 @@ export const countrySelectionMessages = defineMessages({
|
|
|
218
216
|
{
|
|
219
217
|
relation, select,
|
|
220
218
|
CO_OWNERSHIP {
|
|
221
|
-
|
|
219
|
+
In what country is/was the position of the beneficial owner that {name} has a relationship to?
|
|
222
220
|
}
|
|
223
221
|
CLOSE_CONNECTION {
|
|
224
|
-
|
|
222
|
+
In what country is/was the position of the person that {name} has/had a relationship to?
|
|
225
223
|
}
|
|
226
224
|
COMPANY_FOR_PEP {
|
|
227
|
-
|
|
225
|
+
In what country has/had the person in a politically exposed position, that {name} has a relationship to, his or her position?
|
|
228
226
|
}
|
|
229
227
|
}
|
|
230
228
|
}
|
|
@@ -237,7 +235,7 @@ export const countrySelectionMessages = defineMessages({
|
|
|
237
235
|
required: {
|
|
238
236
|
id: "pep.status.countryselecton.required",
|
|
239
237
|
description: "Country selection required error",
|
|
240
|
-
defaultMessage: "
|
|
238
|
+
defaultMessage: "You have to choose a country",
|
|
241
239
|
},
|
|
242
240
|
});
|
|
243
241
|
export const localCountryAltMessages = defineMessages({
|
|
@@ -256,11 +254,11 @@ export const stateAltMessages = defineMessages({
|
|
|
256
254
|
[PepStatus.ONGOING]: {
|
|
257
255
|
id: "pep.status.state.ONGOING",
|
|
258
256
|
description: "Ongoing alt",
|
|
259
|
-
defaultMessage: "
|
|
257
|
+
defaultMessage: "Ongoing",
|
|
260
258
|
},
|
|
261
259
|
[PepStatus.ENDED]: {
|
|
262
260
|
id: "pep.status.state.ENDED",
|
|
263
261
|
description: "Ended alt",
|
|
264
|
-
defaultMessage: "
|
|
262
|
+
defaultMessage: "Ended",
|
|
265
263
|
},
|
|
266
264
|
});
|