@everymatrix/player-kyc-verification 1.43.0 → 1.43.2
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/dist/cjs/player-kyc-verification.cjs.entry.js +281 -16
- package/dist/collection/components/player-kyc-verification/player-kyc-verification.css +11 -4
- package/dist/collection/components/player-kyc-verification/player-kyc-verification.js +1 -1
- package/dist/collection/utils/locale.utils.js +279 -14
- package/dist/components/player-kyc-verification.js +281 -16
- package/dist/esm/player-kyc-verification.entry.js +281 -16
- package/dist/player-kyc-verification/p-e48f90ad.entry.js +1 -0
- package/dist/player-kyc-verification/player-kyc-verification.esm.js +1 -1
- package/package.json +1 -1
- package/dist/player-kyc-verification/p-a58fa58e.entry.js +0 -1
- /package/dist/types/Users/{sebastian.strulea/Documents/work → adrian.pripon/Documents/Work}/widgets-stencil/packages/player-kyc-verification/.stencil/packages/player-kyc-verification/stencil.config.d.ts +0 -0
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-95fc1c57.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
|
-
const SUPPORTED_LANGUAGES = ['de', 'en', 'hr'];
|
|
9
8
|
let TRANSLATIONS = {
|
|
10
9
|
en: {
|
|
11
10
|
loading: 'Loading, please wait ...',
|
|
@@ -33,7 +32,40 @@ let TRANSLATIONS = {
|
|
|
33
32
|
SourceOfWealth: 'Source of Wealth',
|
|
34
33
|
SocialMedia: 'Social Media',
|
|
35
34
|
ProofOfPayment: 'Proof of Payment',
|
|
36
|
-
uploaded: 'Document already uploaded.'
|
|
35
|
+
uploaded: 'Document already uploaded.',
|
|
36
|
+
Unknown: 'Unknown',
|
|
37
|
+
Passport: 'Passport',
|
|
38
|
+
IdCardFront: 'ID Card (front side)',
|
|
39
|
+
IdCardBack: 'ID Card (back side)',
|
|
40
|
+
BirthCertificate: 'Birth Certificate',
|
|
41
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
42
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
43
|
+
ResidentialPermit: 'Residential Permit',
|
|
44
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
45
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
46
|
+
UtilityBill: 'Utility Bill',
|
|
47
|
+
TaxBill: 'Tax Bill',
|
|
48
|
+
CertifiedCopy: 'Certified Copy',
|
|
49
|
+
Selfie: 'Selfie',
|
|
50
|
+
BankStatement: 'Bank Statement',
|
|
51
|
+
RentAgreement: 'Rent Agreement',
|
|
52
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
53
|
+
Other: 'Other',
|
|
54
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
55
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
56
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
57
|
+
CompanySale: 'Company sale',
|
|
58
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
59
|
+
SaleOfProperty: 'Sale of Property',
|
|
60
|
+
Inheritance: 'Inheritance',
|
|
61
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
62
|
+
InsuranceClaims: 'Insurance Claims',
|
|
63
|
+
CompensationPayment: 'Compensation payment',
|
|
64
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
65
|
+
Loan: 'Loan',
|
|
66
|
+
Gift: 'Gift',
|
|
67
|
+
Ewallet: 'eWallet',
|
|
68
|
+
Voucher: 'Voucher'
|
|
37
69
|
},
|
|
38
70
|
de: {
|
|
39
71
|
loading: 'Loading, please wait ...',
|
|
@@ -61,7 +93,40 @@ let TRANSLATIONS = {
|
|
|
61
93
|
SourceOfWealth: 'Source of Wealth',
|
|
62
94
|
SocialMedia: 'Social Media',
|
|
63
95
|
ProofOfPayment: 'Proof of Payment',
|
|
64
|
-
uploaded: 'Dokument bereits hochgeladen.'
|
|
96
|
+
uploaded: 'Dokument bereits hochgeladen.',
|
|
97
|
+
Unknown: 'Unbekannt',
|
|
98
|
+
Passport: 'Reisepass',
|
|
99
|
+
IdCardFront: 'Personalausweis (Vorderseite)',
|
|
100
|
+
IdCardBack: 'Personalausweis (Rückseite)',
|
|
101
|
+
BirthCertificate: 'Geburtsurkunde',
|
|
102
|
+
DrivingLicenseFront: 'Führerschein (Vorderseite)',
|
|
103
|
+
DrivingLicenseBack: 'Führerschein (Rückseite)',
|
|
104
|
+
ResidentialPermit: 'Wohnberechtigungsschein',
|
|
105
|
+
CreditDebitCardFront: 'Kredit-/Debitkarte (Vorderseite)',
|
|
106
|
+
CreditDebitCardBack: 'Kredit-/Debitkarte (Rückseite)',
|
|
107
|
+
UtilityBill: 'Nebenkostenabrechnung',
|
|
108
|
+
TaxBill: 'Steuerbescheid',
|
|
109
|
+
CertifiedCopy: 'Beglaubigte Kopie',
|
|
110
|
+
Selfie: 'Selfie',
|
|
111
|
+
BankStatement: 'Kontoauszug',
|
|
112
|
+
RentAgreement: 'Mietvertrag',
|
|
113
|
+
InsuranceAgreement: 'Versicherungsvertrag',
|
|
114
|
+
Other: 'Sonstige',
|
|
115
|
+
IncomeAndOrSavingsFromEmployment: 'Einkommen und/oder Ersparnisse aus Beschäftigung',
|
|
116
|
+
SaleOfSharesOrOtherInvestments: 'Verkauf von Aktien oder anderen Anlagen',
|
|
117
|
+
DividendsProfitsFromCompany: 'Dividenden/Gewinne aus dem Unternehmen',
|
|
118
|
+
CompanySale: 'Firmenverkauf',
|
|
119
|
+
IndividualOwnsPolicyCompanyPays: 'Einzelperson besitzt die Police/Unternehmen zahlt',
|
|
120
|
+
SaleOfProperty: 'Immobilienverkauf',
|
|
121
|
+
Inheritance: 'Erbschaft',
|
|
122
|
+
MaturityOrSurrenderOfLifeAssurance: 'Fälligkeit oder Rückkauf einer Lebensversicherung',
|
|
123
|
+
InsuranceClaims: 'Versicherungsansprüche',
|
|
124
|
+
CompensationPayment: 'Entschädigungszahlung',
|
|
125
|
+
LotteryBettingCasinoWin: 'Lotterie-/Wett-/Casinogewinn',
|
|
126
|
+
Loan: 'Darlehen',
|
|
127
|
+
Gift: 'Geschenk',
|
|
128
|
+
Ewallet: 'E-Wallet',
|
|
129
|
+
Voucher: 'Gutschein'
|
|
65
130
|
},
|
|
66
131
|
ro: {
|
|
67
132
|
loading: 'Loading, please wait ...',
|
|
@@ -89,7 +154,40 @@ let TRANSLATIONS = {
|
|
|
89
154
|
SourceOfWealth: 'Source of Wealth',
|
|
90
155
|
SocialMedia: 'Social Media',
|
|
91
156
|
ProofOfPayment: 'Proof of Payment',
|
|
92
|
-
uploaded: 'Document deja încărcat.'
|
|
157
|
+
uploaded: 'Document deja încărcat.',
|
|
158
|
+
Unknown: 'Unknown',
|
|
159
|
+
Passport: 'Passport',
|
|
160
|
+
IdCardFront: 'ID Card (front side)',
|
|
161
|
+
IdCardBack: 'ID Card (back side)',
|
|
162
|
+
BirthCertificate: 'Birth Certificate',
|
|
163
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
164
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
165
|
+
ResidentialPermit: 'Residential Permit',
|
|
166
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
167
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
168
|
+
UtilityBill: 'Utility Bill',
|
|
169
|
+
TaxBill: 'Tax Bill',
|
|
170
|
+
CertifiedCopy: 'Certified Copy',
|
|
171
|
+
Selfie: 'Selfie',
|
|
172
|
+
BankStatement: 'Bank Statement',
|
|
173
|
+
RentAgreement: 'Rent Agreement',
|
|
174
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
175
|
+
Other: 'Other',
|
|
176
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
177
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
178
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
179
|
+
CompanySale: 'Company sale',
|
|
180
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
181
|
+
SaleOfProperty: 'Sale of Property',
|
|
182
|
+
Inheritance: 'Inheritance',
|
|
183
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
184
|
+
InsuranceClaims: 'Insurance Claims',
|
|
185
|
+
CompensationPayment: 'Compensation payment',
|
|
186
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
187
|
+
Loan: 'Loan',
|
|
188
|
+
Gift: 'Gift',
|
|
189
|
+
Ewallet: 'eWallet',
|
|
190
|
+
Voucher: 'Voucher'
|
|
93
191
|
},
|
|
94
192
|
fr: {
|
|
95
193
|
loading: 'Loading, please wait ...',
|
|
@@ -117,7 +215,40 @@ let TRANSLATIONS = {
|
|
|
117
215
|
SourceOfWealth: 'Source of Wealth',
|
|
118
216
|
SocialMedia: 'Social Media',
|
|
119
217
|
ProofOfPayment: 'Proof of Payment',
|
|
120
|
-
uploaded: 'Document déjà téléchargé.'
|
|
218
|
+
uploaded: 'Document déjà téléchargé.',
|
|
219
|
+
Unknown: 'Unknown',
|
|
220
|
+
Passport: 'Passport',
|
|
221
|
+
IdCardFront: 'ID Card (front side)',
|
|
222
|
+
IdCardBack: 'ID Card (back side)',
|
|
223
|
+
BirthCertificate: 'Birth Certificate',
|
|
224
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
225
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
226
|
+
ResidentialPermit: 'Residential Permit',
|
|
227
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
228
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
229
|
+
UtilityBill: 'Utility Bill',
|
|
230
|
+
TaxBill: 'Tax Bill',
|
|
231
|
+
CertifiedCopy: 'Certified Copy',
|
|
232
|
+
Selfie: 'Selfie',
|
|
233
|
+
BankStatement: 'Bank Statement',
|
|
234
|
+
RentAgreement: 'Rent Agreement',
|
|
235
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
236
|
+
Other: 'Other',
|
|
237
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
238
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
239
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
240
|
+
CompanySale: 'Company sale',
|
|
241
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
242
|
+
SaleOfProperty: 'Sale of Property',
|
|
243
|
+
Inheritance: 'Inheritance',
|
|
244
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
245
|
+
InsuranceClaims: 'Insurance Claims',
|
|
246
|
+
CompensationPayment: 'Compensation payment',
|
|
247
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
248
|
+
Loan: 'Loan',
|
|
249
|
+
Gift: 'Gift',
|
|
250
|
+
Ewallet: 'eWallet',
|
|
251
|
+
Voucher: 'Voucher'
|
|
121
252
|
},
|
|
122
253
|
ar: {
|
|
123
254
|
loading: 'Loading, please wait ...',
|
|
@@ -145,7 +276,40 @@ let TRANSLATIONS = {
|
|
|
145
276
|
SourceOfWealth: 'Source of Wealth',
|
|
146
277
|
SocialMedia: 'Social Media',
|
|
147
278
|
ProofOfPayment: 'Proof of Payment',
|
|
148
|
-
uploaded: 'Document already uploaded.'
|
|
279
|
+
uploaded: 'Document already uploaded.',
|
|
280
|
+
Unknown: 'Unknown',
|
|
281
|
+
Passport: 'Passport',
|
|
282
|
+
IdCardFront: 'ID Card (front side)',
|
|
283
|
+
IdCardBack: 'ID Card (back side)',
|
|
284
|
+
BirthCertificate: 'Birth Certificate',
|
|
285
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
286
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
287
|
+
ResidentialPermit: 'Residential Permit',
|
|
288
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
289
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
290
|
+
UtilityBill: 'Utility Bill',
|
|
291
|
+
TaxBill: 'Tax Bill',
|
|
292
|
+
CertifiedCopy: 'Certified Copy',
|
|
293
|
+
Selfie: 'Selfie',
|
|
294
|
+
BankStatement: 'Bank Statement',
|
|
295
|
+
RentAgreement: 'Rent Agreement',
|
|
296
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
297
|
+
Other: 'Other',
|
|
298
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
299
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
300
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
301
|
+
CompanySale: 'Company sale',
|
|
302
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
303
|
+
SaleOfProperty: 'Sale of Property',
|
|
304
|
+
Inheritance: 'Inheritance',
|
|
305
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
306
|
+
InsuranceClaims: 'Insurance Claims',
|
|
307
|
+
CompensationPayment: 'Compensation payment',
|
|
308
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
309
|
+
Loan: 'Loan',
|
|
310
|
+
Gift: 'Gift',
|
|
311
|
+
Ewallet: 'eWallet',
|
|
312
|
+
Voucher: 'Voucher'
|
|
149
313
|
},
|
|
150
314
|
hr: {
|
|
151
315
|
loading: 'Učitavanje, molimo pričekajte ...',
|
|
@@ -173,7 +337,40 @@ let TRANSLATIONS = {
|
|
|
173
337
|
SourceOfWealth: 'Izvor sredstava',
|
|
174
338
|
SocialMedia: 'Društvene mreže',
|
|
175
339
|
ProofOfPayment: 'Platna metoda',
|
|
176
|
-
uploaded: 'Dokument je već učitan.'
|
|
340
|
+
uploaded: 'Dokument je već učitan.',
|
|
341
|
+
Unknown: 'Nepoznato',
|
|
342
|
+
Passport: 'Putovnica',
|
|
343
|
+
IdCardFront: 'Prednja strana osobne iskaznice',
|
|
344
|
+
IdCardBack: 'Stražnja strana osobne iskaznice',
|
|
345
|
+
BirthCertificate: 'Rodni list',
|
|
346
|
+
DrivingLicenseFront: 'Vozačka dozvola (prednja strana)',
|
|
347
|
+
DrivingLicenseBack: 'Vozačka dozvola (stražnja strana)',
|
|
348
|
+
ResidentialPermit: 'Boravišna dozvola',
|
|
349
|
+
CreditDebitCardFront: 'Kreditna/debitna kartica (prednja strana)',
|
|
350
|
+
CreditDebitCardBack: 'Kreditna/debitna kartica (stražnja strana)',
|
|
351
|
+
UtilityBill: 'Račun za komunalne usluge',
|
|
352
|
+
TaxBill: 'Porezni račun',
|
|
353
|
+
CertifiedCopy: 'Ovjereni primjerak',
|
|
354
|
+
Selfie: 'Selfie',
|
|
355
|
+
BankStatement: 'Bankovni izvod',
|
|
356
|
+
RentAgreement: 'Ugovor o najmu',
|
|
357
|
+
InsuranceAgreement: 'Ugovor o osiguranju',
|
|
358
|
+
Other: 'Ostalo',
|
|
359
|
+
IncomeAndOrSavingsFromEmployment: 'Prihod/Ušteđevina ',
|
|
360
|
+
SaleOfSharesOrOtherInvestments: 'Prodaja dionica ili drugih investicija',
|
|
361
|
+
DividendsProfitsFromCompany: 'Dividende/dobit od tvrtke',
|
|
362
|
+
CompanySale: 'Prodaja tvrtke',
|
|
363
|
+
IndividualOwnsPolicyCompanyPays: 'Osoba posjeduje policu/tvrtka plaća',
|
|
364
|
+
SaleOfProperty: 'Prodaja nekretnine',
|
|
365
|
+
Inheritance: 'Nasljeđe',
|
|
366
|
+
MaturityOrSurrenderOfLifeAssurance: 'Dospijeće ili predaja životnog osiguranja',
|
|
367
|
+
InsuranceClaims: 'Zahtjevi za osiguranje',
|
|
368
|
+
CompensationPayment: 'Isplata odštete',
|
|
369
|
+
LotteryBettingCasinoWin: 'Dobitak na lutriji/kladionici/kasinu',
|
|
370
|
+
Loan: 'Zajam',
|
|
371
|
+
Gift: 'Poklon',
|
|
372
|
+
Ewallet: 'Elektronički novčanik',
|
|
373
|
+
Voucher: 'Vaučer'
|
|
177
374
|
},
|
|
178
375
|
'pt-br': {
|
|
179
376
|
Age: 'Age',
|
|
@@ -199,7 +396,40 @@ let TRANSLATIONS = {
|
|
|
199
396
|
SourceOfWealth: 'Source of Wealth',
|
|
200
397
|
SocialMedia: 'Social Media',
|
|
201
398
|
ProofOfPayment: 'Proof of Payment',
|
|
202
|
-
uploaded: 'Documento já carregado.'
|
|
399
|
+
uploaded: 'Documento já carregado.',
|
|
400
|
+
Unknown: 'Unknown',
|
|
401
|
+
Passport: 'Passport',
|
|
402
|
+
IdCardFront: 'ID Card (front side)',
|
|
403
|
+
IdCardBack: 'ID Card (back side)',
|
|
404
|
+
BirthCertificate: 'Birth Certificate',
|
|
405
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
406
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
407
|
+
ResidentialPermit: 'Residential Permit',
|
|
408
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
409
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
410
|
+
UtilityBill: 'Utility Bill',
|
|
411
|
+
TaxBill: 'Tax Bill',
|
|
412
|
+
CertifiedCopy: 'Certified Copy',
|
|
413
|
+
Selfie: 'Selfie',
|
|
414
|
+
BankStatement: 'Bank Statement',
|
|
415
|
+
RentAgreement: 'Rent Agreement',
|
|
416
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
417
|
+
Other: 'Other',
|
|
418
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
419
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
420
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
421
|
+
CompanySale: 'Company sale',
|
|
422
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
423
|
+
SaleOfProperty: 'Sale of Property',
|
|
424
|
+
Inheritance: 'Inheritance',
|
|
425
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
426
|
+
InsuranceClaims: 'Insurance Claims',
|
|
427
|
+
CompensationPayment: 'Compensation payment',
|
|
428
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
429
|
+
Loan: 'Loan',
|
|
430
|
+
Gift: 'Gift',
|
|
431
|
+
Ewallet: 'eWallet',
|
|
432
|
+
Voucher: 'Voucher'
|
|
203
433
|
},
|
|
204
434
|
'es-mx': {
|
|
205
435
|
Age: 'Age',
|
|
@@ -225,18 +455,53 @@ let TRANSLATIONS = {
|
|
|
225
455
|
SourceOfWealth: 'Source of Wealth',
|
|
226
456
|
SocialMedia: 'Social Media',
|
|
227
457
|
ProofOfPayment: 'Proof of Payment',
|
|
228
|
-
uploaded: 'Documento ya subido.'
|
|
458
|
+
uploaded: 'Documento ya subido.',
|
|
459
|
+
Unknown: 'Unknown',
|
|
460
|
+
Passport: 'Passport',
|
|
461
|
+
IdCardFront: 'ID Card (front side)',
|
|
462
|
+
IdCardBack: 'ID Card (back side)',
|
|
463
|
+
BirthCertificate: 'Birth Certificate',
|
|
464
|
+
DrivingLicenseFront: 'Driving License (front side)',
|
|
465
|
+
DrivingLicenseBack: 'Driving License (back side)',
|
|
466
|
+
ResidentialPermit: 'Residential Permit',
|
|
467
|
+
CreditDebitCardFront: 'Credit / Debit Card (front side)',
|
|
468
|
+
CreditDebitCardBack: 'Credit / Debit Card (back side)',
|
|
469
|
+
UtilityBill: 'Utility Bill',
|
|
470
|
+
TaxBill: 'Tax Bill',
|
|
471
|
+
CertifiedCopy: 'Certified Copy',
|
|
472
|
+
Selfie: 'Selfie',
|
|
473
|
+
BankStatement: 'Bank Statement',
|
|
474
|
+
RentAgreement: 'Rent Agreement',
|
|
475
|
+
InsuranceAgreement: 'Insurance Agreement',
|
|
476
|
+
Other: 'Other',
|
|
477
|
+
IncomeAndOrSavingsFromEmployment: 'Income and/or savings from employment',
|
|
478
|
+
SaleOfSharesOrOtherInvestments: 'Sale of shares or other investments',
|
|
479
|
+
DividendsProfitsFromCompany: 'Dividends/Profits from company',
|
|
480
|
+
CompanySale: 'Company sale',
|
|
481
|
+
IndividualOwnsPolicyCompanyPays: 'Individual owns policy/company pays',
|
|
482
|
+
SaleOfProperty: 'Sale of Property',
|
|
483
|
+
Inheritance: 'Inheritance',
|
|
484
|
+
MaturityOrSurrenderOfLifeAssurance: 'Maturity or surrender of life assurance',
|
|
485
|
+
InsuranceClaims: 'Insurance Claims',
|
|
486
|
+
CompensationPayment: 'Compensation payment',
|
|
487
|
+
LotteryBettingCasinoWin: 'Lottery/betting/casino win',
|
|
488
|
+
Loan: 'Loan',
|
|
489
|
+
Gift: 'Gift',
|
|
490
|
+
Ewallet: 'eWallet',
|
|
491
|
+
Voucher: 'Voucher'
|
|
229
492
|
}
|
|
230
493
|
};
|
|
231
494
|
const getTranslations = (url) => {
|
|
232
|
-
// fetch url, get the data, replace the TRANSLATIONS content
|
|
233
495
|
return new Promise((resolve) => {
|
|
234
496
|
fetch(url)
|
|
235
497
|
.then((res) => res.json())
|
|
236
498
|
.then((data) => {
|
|
237
|
-
Object.keys(data).forEach((
|
|
238
|
-
|
|
239
|
-
TRANSLATIONS[
|
|
499
|
+
Object.keys(data).forEach((lang) => {
|
|
500
|
+
if (!TRANSLATIONS[lang]) {
|
|
501
|
+
TRANSLATIONS[lang] = {};
|
|
502
|
+
}
|
|
503
|
+
for (let key in data[lang]) {
|
|
504
|
+
TRANSLATIONS[lang][key] = data[lang][key];
|
|
240
505
|
}
|
|
241
506
|
});
|
|
242
507
|
resolve(true);
|
|
@@ -245,7 +510,7 @@ const getTranslations = (url) => {
|
|
|
245
510
|
};
|
|
246
511
|
const translate = (key, customLang, values) => {
|
|
247
512
|
const lang = customLang;
|
|
248
|
-
let translation = TRANSLATIONS[lang !== undefined &&
|
|
513
|
+
let translation = TRANSLATIONS[(lang !== undefined) && (lang in TRANSLATIONS) ? lang : DEFAULT_LANGUAGE][key];
|
|
249
514
|
if (values !== undefined) {
|
|
250
515
|
for (const [key, value] of Object.entries(values.values)) {
|
|
251
516
|
const regex = new RegExp(`{${key}}`, 'g');
|
|
@@ -268,7 +533,7 @@ const isMobile = (userAgent) => {
|
|
|
268
533
|
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
269
534
|
};
|
|
270
535
|
|
|
271
|
-
const playerKycVerificationCss = ":host {\n font-family: inherit;\n}\n\nbutton, select {\n font-family: inherit;\n}\n\n.ModalContainer {\n container-type: inline-size;\n}\n\n.player-kyc-verification-widget {\n padding: 20px;\n align-items: center;\n}\n.player-kyc-verification-widget h2 {\n margin: 15px;\n}\n.player-kyc-verification-widget .widget-description {\n margin: 24px 0px;\n}\n.player-kyc-verification-widget .verification-types {\n width: 100%;\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 34px;\n}\n.player-kyc-verification-widget .verification-types .verification-box {\n transition: height 0.3s, border-color 0.3s;\n border: solid 1px var(--emfe-w-color-gray-100, #E6E6E6);\n border-radius: 2px;\n display: flex;\n flex-direction: column;\n padding: 0px 14px;\n border-width: 2px 2px 8px 2px;\n align-self: start;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box {\n flex-shrink: 0;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header {\n display: flex;\n padding: 14px 0px;\n justify-content: space-between;\n cursor: pointer;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {\n flex-grow: 1;\n display: flex;\n justify-content: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {\n height: 24px;\n width: 24px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {\n flex-grow: 1;\n font-size: 18px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {\n flex-grow: 10;\n width: 14px;\n height: 14px;\n display: flex;\n justify-content: flex-end;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {\n width: 20px;\n height: 22px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content {\n
|
|
536
|
+
const playerKycVerificationCss = ":host {\n font-family: inherit;\n}\n\nbutton, select {\n font-family: inherit;\n}\n\n.ModalContainer {\n container-type: inline-size;\n}\n\n.player-kyc-verification-widget {\n padding: 20px;\n align-items: center;\n}\n.player-kyc-verification-widget h2 {\n margin: 15px;\n}\n.player-kyc-verification-widget .widget-description {\n margin: 24px 0px;\n}\n.player-kyc-verification-widget .verification-types {\n width: 100%;\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 34px;\n}\n.player-kyc-verification-widget .verification-types .verification-box {\n transition: height 0.3s, border-color 0.3s;\n border: solid 1px var(--emfe-w-color-gray-100, #E6E6E6);\n border-radius: 2px;\n display: flex;\n flex-direction: column;\n padding: 0px 14px;\n border-width: 2px 2px 8px 2px;\n align-self: start;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box {\n flex-shrink: 0;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header {\n display: flex;\n padding: 14px 0px;\n justify-content: space-between;\n cursor: pointer;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {\n flex-grow: 1;\n display: flex;\n justify-content: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {\n height: 24px;\n width: 24px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {\n flex-grow: 1;\n font-size: 18px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {\n flex-grow: 10;\n width: 14px;\n height: 14px;\n display: flex;\n justify-content: flex-end;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {\n width: 20px;\n height: 22px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content {\n flex-grow: 1;\n border-top: 0.4px solid var(--emfe-w-color-gray-100, #E6E6E6);\n padding: 10px 0px;\n flex-grow: 1;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .upload-status {\n text-align: center;\n padding: 20px;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown {\n display: flex;\n flex-direction: column;\n width: 100%;\n align-items: center;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown svg {\n margin: 16px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .nice-select {\n cursor: pointer;\n width: 100%;\n height: 30px;\n padding: 4px 14px;\n font-size: 14px;\n border: 1px solid var(--emfe-w-color-gray-150, #828282);\n border-radius: 2px;\n background-color: var(--emfe-w-color-white, #FFFFFF);\n color: #333;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n padding-right: 30px;\n background-repeat: no-repeat;\n background-position: right 10px center;\n background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path fill=\"%23333\" d=\"M10 18.4l-6.5-6.5h13z\"/><path fill=\"%23333\" d=\"M10 1.6l6.5 6.5H3.5z\"/></svg>');\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button {\n font-family: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--emfe-w-color-white, #FFFFFF);\n color: var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));\n border: none;\n font-size: 16px;\n padding: 10px 0px 0px 0px;\n cursor: pointer;\n}\n.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button svg {\n margin-right: 10px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded {\n border-color: var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));\n min-height: 120px;\n}\n.player-kyc-verification-widget .verification-types .verification-box.failed {\n border-color: var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));\n}\n.player-kyc-verification-widget .verification-types .verification-box.success {\n border-color: var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {\n display: flex;\n justify-content: center;\n flex-direction: column;\n}\n.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content .verification-status {\n margin: 12px 0px 16px;\n font-size: 18px;\n text-align: center;\n color: var(--emfe-w-color-gray-150, #828282);\n}\n\n.MenuReturnButton {\n display: flex;\n align-items: center;\n}\n\n@container (min-width: 700px) {\n .player-kyc-verification-widget {\n padding: 100px 60px;\n }\n}\n@container (max-width: 700px) {\n .player-kyc-verification-widget h2 {\n margin: 15px;\n text-align: center;\n }\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: 1fr;\n grid-gap: 16px;\n }\n}\n@container (max-width: 475px) {\n .player-kyc-verification-widget .verification-types {\n display: block;\n }\n .player-kyc-verification-widget .verification-types .verification-box {\n margin-bottom: 20px;\n }\n}\n@container (max-width: 1240px) and (min-width: 701px) {\n .player-kyc-verification-widget .verification-types {\n grid-template-columns: repeat(2, 1fr);\n }\n}";
|
|
272
537
|
|
|
273
538
|
const PlayerKycVerificationWidget = class {
|
|
274
539
|
constructor(hostRef) {
|
|
@@ -569,7 +834,7 @@ const PlayerKycVerificationWidget = class {
|
|
|
569
834
|
return (index.h("div", null, index.h("hr", { style: { margin: '5px' } }), index.h("iframe", { src: flowInfo.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: true, allow: "camera *;microphone *" })));
|
|
570
835
|
}
|
|
571
836
|
else {
|
|
572
|
-
return (index.h("div", { class: "box box-content" }, index.h(index.Fragment, null, isVerified ? (index.h("div", { class: "verification-status" }, translate('verificationComplete', this.language))) : isFailedOrExpired ? (index.h("div", { class: "verification-status" }, status === 'Failed' ? translate('verificationFailed', this.language) : translate('verificationExpired', this.language))) : documents.length > 0 ? (index.h("div", { class: "documents-dropdown" }, index.h("select", { class: "nice-select", onChange: (event) => this.handleOptionChange(event, verificationType.type) }, index.h("option", { value: "", selected: true, disabled: true, hidden: true }, translate('chooseDocument', this.language)), documents.map((doc) => (index.h("option", { selected: optionChosen == doc.code ? true : false, value: doc.code }, doc.type
|
|
837
|
+
return (index.h("div", { class: "box box-content" }, index.h(index.Fragment, null, isVerified ? (index.h("div", { class: "verification-status" }, translate('verificationComplete', this.language))) : isFailedOrExpired ? (index.h("div", { class: "verification-status" }, status === 'Failed' ? translate('verificationFailed', this.language) : translate('verificationExpired', this.language))) : documents.length > 0 ? (index.h("div", { class: "documents-dropdown" }, index.h("select", { class: "nice-select", onChange: (event) => this.handleOptionChange(event, verificationType.type) }, index.h("option", { value: "", selected: true, disabled: true, hidden: true }, translate('chooseDocument', this.language)), documents.map((doc) => (index.h("option", { selected: optionChosen == doc.code ? true : false, value: doc.code }, translate(doc.type, this.language))))), this.renderDocumentsActions(documents.find((e) => e.code === optionChosen), optionChosen, verificationType))) : null)));
|
|
573
838
|
}
|
|
574
839
|
}
|
|
575
840
|
render() {
|
|
@@ -71,7 +71,6 @@ button, select {
|
|
|
71
71
|
height: 22px;
|
|
72
72
|
}
|
|
73
73
|
.player-kyc-verification-widget .verification-types .verification-box .box-content {
|
|
74
|
-
display: none;
|
|
75
74
|
flex-grow: 1;
|
|
76
75
|
border-top: 0.4px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
77
76
|
padding: 10px 0px;
|
|
@@ -125,14 +124,14 @@ button, select {
|
|
|
125
124
|
margin-right: 10px;
|
|
126
125
|
}
|
|
127
126
|
.player-kyc-verification-widget .verification-types .verification-box.expanded {
|
|
128
|
-
border-color: var(--emfe-w-color-valid var(--emfe-w-color-green, #48952a));
|
|
127
|
+
border-color: var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));
|
|
129
128
|
min-height: 120px;
|
|
130
129
|
}
|
|
131
130
|
.player-kyc-verification-widget .verification-types .verification-box.failed {
|
|
132
|
-
border-color: var(--emfe-w-color-error var(--emfe-w-color-red, #FD2839));
|
|
131
|
+
border-color: var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));
|
|
133
132
|
}
|
|
134
133
|
.player-kyc-verification-widget .verification-types .verification-box.success {
|
|
135
|
-
border-color: var(--emfe-w-color-valid var(--emfe-w-color-green, #48952a));
|
|
134
|
+
border-color: var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));
|
|
136
135
|
}
|
|
137
136
|
.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {
|
|
138
137
|
display: flex;
|
|
@@ -166,6 +165,14 @@ button, select {
|
|
|
166
165
|
grid-gap: 16px;
|
|
167
166
|
}
|
|
168
167
|
}
|
|
168
|
+
@container (max-width: 475px) {
|
|
169
|
+
.player-kyc-verification-widget .verification-types {
|
|
170
|
+
display: block;
|
|
171
|
+
}
|
|
172
|
+
.player-kyc-verification-widget .verification-types .verification-box {
|
|
173
|
+
margin-bottom: 20px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
169
176
|
@container (max-width: 1240px) and (min-width: 701px) {
|
|
170
177
|
.player-kyc-verification-widget .verification-types {
|
|
171
178
|
grid-template-columns: repeat(2, 1fr);
|
|
@@ -336,7 +336,7 @@ export class PlayerKycVerificationWidget {
|
|
|
336
336
|
h(Fragment, null, isVerified ? (h("div", { class: "verification-status" }, translate('verificationComplete', this.language))) : isFailedOrExpired ? (h("div", { class: "verification-status" }, status === 'Failed' ? translate('verificationFailed', this.language) : translate('verificationExpired', this.language))) : documents.length > 0 ? (h("div", { class: "documents-dropdown" },
|
|
337
337
|
h("select", { class: "nice-select", onChange: (event) => this.handleOptionChange(event, verificationType.type) },
|
|
338
338
|
h("option", { value: "", selected: true, disabled: true, hidden: true }, translate('chooseDocument', this.language)),
|
|
339
|
-
documents.map((doc) => (h("option", { selected: optionChosen == doc.code ? true : false, value: doc.code }, doc.type
|
|
339
|
+
documents.map((doc) => (h("option", { selected: optionChosen == doc.code ? true : false, value: doc.code }, translate(doc.type, this.language))))),
|
|
340
340
|
this.renderDocumentsActions(documents.find((e) => e.code === optionChosen), optionChosen, verificationType))) : null)));
|
|
341
341
|
}
|
|
342
342
|
}
|