@everymatrix/player-lugas-limit 1.0.69
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/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-449fb94e.js +1201 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/player-lugas-limit.cjs.entry.js +428 -0
- package/dist/cjs/player-lugas-limit.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/player-lugas-limit/index.js +1 -0
- package/dist/collection/components/player-lugas-limit/player-lugas-limit.css +181 -0
- package/dist/collection/components/player-lugas-limit/player-lugas-limit.js +490 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +192 -0
- package/dist/collection/utils/utils.js +0 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-7e4db82e.js +1174 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/player-lugas-limit.entry.js +424 -0
- package/dist/esm/player-lugas-limit.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/player-lugas-limit/index.esm.js +0 -0
- package/dist/player-lugas-limit/p-1b35b3bc.js +2 -0
- package/dist/player-lugas-limit/p-5a488bd2.entry.js +1 -0
- package/dist/player-lugas-limit/p-e1255160.js +1 -0
- package/dist/player-lugas-limit/player-lugas-limit.esm.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/player-lugas-limit/.stencil/packages/stencil/player-lugas-limit/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/player-lugas-limit/.stencil/packages/stencil/player-lugas-limit/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/player-lugas-limit/index.d.ts +1 -0
- package/dist/types/components/player-lugas-limit/player-lugas-limit.d.ts +83 -0
- package/dist/types/components.d.ts +146 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
const DEFAULT_LANGUAGE = 'de';
|
|
2
|
+
const SUPPORTED_LANGUAGES = ['de', 'en', 'hr'];
|
|
3
|
+
let TRANSLATIONS = {
|
|
4
|
+
en: {
|
|
5
|
+
loading: 'Loading, please wait ...',
|
|
6
|
+
error: 'It was an error while trying to fetch the data',
|
|
7
|
+
kyc1: 'All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.',
|
|
8
|
+
kyc2: 'We were able to set your monthly deposit limit to <b>{amount} {currency}</b>. For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.',
|
|
9
|
+
kyc3: 'We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.',
|
|
10
|
+
kycThanks: 'Thank you!',
|
|
11
|
+
kycSure: 'Are you sure?',
|
|
12
|
+
setNewLimit: 'SET NEW LIMIT',
|
|
13
|
+
setLimit: 'SET LIMIT',
|
|
14
|
+
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
15
|
+
Close: 'CLOSE',
|
|
16
|
+
UploadDocuments: 'UPLOAD DOCUMENTS',
|
|
17
|
+
confirm: 'CONFIRM',
|
|
18
|
+
crossProviders: 'No cross-provider deposit limit (LUGAS) has been established yet, but there\'s no need to worry. Please enter a new deposit limit.',
|
|
19
|
+
monthlyDeposit: 'Monthly deposit limit (EUR)',
|
|
20
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
21
|
+
newUserP2: 'Having a deposit limit in place allows you to regulate your gaming activity. Once you have set your limit, it will be transmitted to the cross-provider limit database (LUGAS).',
|
|
22
|
+
newUserP3: 'If you have set a deposit limit with another provider before, you may maintain the existing limit.',
|
|
23
|
+
softMigrationP1: 'Set deposit limit',
|
|
24
|
+
softMigrationP2: 'According to legal regulations, players are required to set an individual monthly deposit limit or indicate that an already set deposit limit should be kept unchanged. Please note that the limit set should correspond to your financial situation. Consume gambling responsibly and adapt the gambling behavior to your individual circumstances!',
|
|
25
|
+
softMigrationP3: 'Do you want to set a new limit or confirm the existing limit (of {currency} <b>{amount}</b>) ?',
|
|
26
|
+
invalidNumber: 'Invalid number format. Please enter a valid number.',
|
|
27
|
+
minimumRange: 'The value entered must be higher than {min}',
|
|
28
|
+
outOfRange: 'The value entered must be between {min} and {max}.',
|
|
29
|
+
invalidDecimalSeparator: 'Invalid decimal separator. Please use a dot (.) instead of a comma (,).',
|
|
30
|
+
},
|
|
31
|
+
de: {
|
|
32
|
+
loading: 'Loading, please wait ...',
|
|
33
|
+
error: 'It was an error while trying to fetch the data',
|
|
34
|
+
kyc1: 'All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.',
|
|
35
|
+
kyc2: 'We were able to set your monthly deposit limit to <b>{amount} {currency}</b>. For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.',
|
|
36
|
+
kyc3: 'We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.',
|
|
37
|
+
kycThanks: 'Thank you!',
|
|
38
|
+
kycSure: 'Are you sure?',
|
|
39
|
+
setNewLimit: 'SET NEW LIMIT',
|
|
40
|
+
setLimit: 'SET LIMIT',
|
|
41
|
+
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
42
|
+
Close: 'CLOSE',
|
|
43
|
+
UploadDocuments: 'UPLOAD DOCUMENTS',
|
|
44
|
+
confirm: 'CONFIRM',
|
|
45
|
+
crossProviders: 'No cross-provider deposit limit (LUGAS) has been established yet, but there\'s no need to worry. Please enter a new deposit limit.',
|
|
46
|
+
monthlyDeposit: 'Monthly deposit limit (EUR)',
|
|
47
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
48
|
+
newUserP2: 'Having a deposit limit in place allows you to regulate your gaming activity. Once you have set your limit, it will be transmitted to the cross-provider limit database (LUGAS).',
|
|
49
|
+
newUserP3: 'If you have set a deposit limit with another provider before, you may maintain the existing limit.',
|
|
50
|
+
softMigrationP1: 'Set deposit limit',
|
|
51
|
+
softMigrationP2: 'According to legal regulations, players are required to set an individual monthly deposit limit or indicate that an already set deposit limit should be kept unchanged. Please note that the limit set should correspond to your financial situation. Consume gambling responsibly and adapt the gambling behavior to your individual circumstances!',
|
|
52
|
+
softMigrationP3: 'Do you want to set a new limit or confirm the existing limit (of {currency} <b>{amount}</b>) ?',
|
|
53
|
+
invalidNumber: 'Invalid number format. Please enter a valid number.',
|
|
54
|
+
minimumRange: 'The value entered must be higher than {min}',
|
|
55
|
+
outOfRange: 'The value entered must be between {min} and {max}.',
|
|
56
|
+
invalidDecimalSeparator: 'Invalid decimal separator. Please use a dot (.) instead of a comma (,).',
|
|
57
|
+
},
|
|
58
|
+
ro: {
|
|
59
|
+
loading: 'Se incarca, va rugam asteptati ...',
|
|
60
|
+
error: 'A fost o eroare in timp ce asteptam datele',
|
|
61
|
+
kyc1: 'All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.',
|
|
62
|
+
kyc2: 'We were able to set your monthly deposit limit to {amount}. For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.',
|
|
63
|
+
kyc3: 'We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.',
|
|
64
|
+
kycThanks: 'Thank you!',
|
|
65
|
+
kycSure: 'Are you sure?',
|
|
66
|
+
setNewLimit: 'SET NEW LIMIT',
|
|
67
|
+
setLimit: 'SET LIMIT',
|
|
68
|
+
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
69
|
+
Close: 'CLOSE',
|
|
70
|
+
UploadDocuments: 'UPLOAD DOCUMENTS',
|
|
71
|
+
confirm: 'CONFIRM',
|
|
72
|
+
crossProviders: 'No cross-provider deposit limit (LUGAS) has been established yet, but there\'s no need to worry. Please enter a new deposit limit.',
|
|
73
|
+
monthlyDeposit: 'Monthly deposit limit (EUR)',
|
|
74
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
75
|
+
newUserP2: 'Having a deposit limit in place allows you to regulate your gaming activity. Once you have set your limit, it will be transmitted to the cross-provider limit database (LUGAS).',
|
|
76
|
+
newUserP3: 'If you have set a deposit limit with another provider before, you may maintain the existing limit.',
|
|
77
|
+
softMigrationP1: 'Set deposit limit',
|
|
78
|
+
softMigrationP2: 'According to legal regulations, players are required to set an individual monthly deposit limit or indicate that an already set deposit limit should be kept unchanged. Please note that the limit set should correspond to your financial situation. Consume gambling responsibly and adapt the gambling behavior to your individual circumstances!',
|
|
79
|
+
softMigrationP3: 'Do you want to set a new limit or confirm the existing limit ',
|
|
80
|
+
invalidNumber: 'Invalid number format. Please enter a valid number.',
|
|
81
|
+
minimumRange: 'The value entered must be higher than {min}',
|
|
82
|
+
outOfRange: 'The value entered must be between {min} and {max}.',
|
|
83
|
+
invalidDecimalSeparator: 'Invalid decimal separator. Please use a dot (.) instead of a comma (,).',
|
|
84
|
+
},
|
|
85
|
+
fr: {
|
|
86
|
+
loading: 'Loading, please wait ...',
|
|
87
|
+
error: 'It was an error while trying to fetch the data',
|
|
88
|
+
kyc1: 'All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.',
|
|
89
|
+
kyc2: 'We were able to set your monthly deposit limit to {amount}. For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.',
|
|
90
|
+
kyc3: 'We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.',
|
|
91
|
+
kycThanks: 'Thank you!',
|
|
92
|
+
kycSure: 'Are you sure?',
|
|
93
|
+
setNewLimit: 'SET NEW LIMIT',
|
|
94
|
+
setLimit: 'SET LIMIT',
|
|
95
|
+
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
96
|
+
Close: 'CLOSE',
|
|
97
|
+
UploadDocuments: 'UPLOAD DOCUMENTS',
|
|
98
|
+
confirm: 'CONFIRM',
|
|
99
|
+
crossProviders: 'No cross-provider deposit limit (LUGAS) has been established yet, but there\'s no need to worry. Please enter a new deposit limit.',
|
|
100
|
+
monthlyDeposit: 'Monthly deposit limit (EUR)',
|
|
101
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
102
|
+
newUserP2: 'Having a deposit limit in place allows you to regulate your gaming activity. Once you have set your limit, it will be transmitted to the cross-provider limit database (LUGAS).',
|
|
103
|
+
newUserP3: 'If you have set a deposit limit with another provider before, you may maintain the existing limit.',
|
|
104
|
+
softMigrationP1: 'Set deposit limit',
|
|
105
|
+
softMigrationP2: 'According to legal regulations, players are required to set an individual monthly deposit limit or indicate that an already set deposit limit should be kept unchanged. Please note that the limit set should correspond to your financial situation. Consume gambling responsibly and adapt the gambling behavior to your individual circumstances!',
|
|
106
|
+
softMigrationP3: 'Do you want to set a new limit or confirm the existing limit ',
|
|
107
|
+
invalidNumber: 'Invalid number format. Please enter a valid number.',
|
|
108
|
+
minimumRange: 'The value entered must be higher than {min}',
|
|
109
|
+
outOfRange: 'The value entered must be between {min} and {max}.',
|
|
110
|
+
invalidDecimalSeparator: 'Invalid decimal separator. Please use a dot (.) instead of a comma (,).',
|
|
111
|
+
},
|
|
112
|
+
ar: {
|
|
113
|
+
loading: 'Loading, please wait ...',
|
|
114
|
+
error: 'It was an error while trying to fetch the data',
|
|
115
|
+
kyc1: 'All deposit limit changes must be reported to LUGAS in accordance with regulatory requirements. Please note that decreases in the limit will take effect immediately, while increases will only come into effect after 8 days at the latest.',
|
|
116
|
+
kyc2: 'We were able to set your monthly deposit limit to {amount}. For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.',
|
|
117
|
+
kyc3: 'We have transmitted your desired limit to Lugas Please be aware that the limit will only come into effect after 8 days at the latest.',
|
|
118
|
+
kycThanks: 'Thank you!',
|
|
119
|
+
kycSure: 'Are you sure?',
|
|
120
|
+
setNewLimit: 'SET NEW LIMIT',
|
|
121
|
+
setLimit: 'SET LIMIT',
|
|
122
|
+
keepExistingLimit: 'KEEP EXISTING LIMIT',
|
|
123
|
+
Close: 'CLOSE',
|
|
124
|
+
UploadDocuments: 'UPLOAD DOCUMENTS',
|
|
125
|
+
confirm: 'CONFIRM',
|
|
126
|
+
crossProviders: 'No cross-provider deposit limit (LUGAS) has been established yet, but there\'s no need to worry. Please enter a new deposit limit.',
|
|
127
|
+
monthlyDeposit: 'Monthly deposit limit (EUR)',
|
|
128
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
129
|
+
newUserP2: 'Having a deposit limit in place allows you to regulate your gaming activity. Once you have set your limit, it will be transmitted to the cross-provider limit database (LUGAS).',
|
|
130
|
+
newUserP3: 'If you have set a deposit limit with another provider before, you may maintain the existing limit.',
|
|
131
|
+
softMigrationP1: 'Set deposit limit',
|
|
132
|
+
softMigrationP2: 'According to legal regulations, players are required to set an individual monthly deposit limit or indicate that an already set deposit limit should be kept unchanged. Please note that the limit set should correspond to your financial situation. Consume gambling responsibly and adapt the gambling behavior to your individual circumstances!',
|
|
133
|
+
softMigrationP3: 'Do you want to set a new limit or confirm the existing limit ',
|
|
134
|
+
invalidNumber: 'Invalid number format. Please enter a valid number.',
|
|
135
|
+
minimumRange: 'The value entered must be higher than {min}',
|
|
136
|
+
outOfRange: 'The value entered must be between {min} and {max}.',
|
|
137
|
+
invalidDecimalSeparator: 'Invalid decimal separator. Please use a dot (.) instead of a comma (,).',
|
|
138
|
+
},
|
|
139
|
+
hr: {
|
|
140
|
+
loading: 'Učitavanje, molimo pričekajte ...',
|
|
141
|
+
error: 'Došlo je do pogreške prilikom pokušaja dohvaćanja podataka',
|
|
142
|
+
kyc1: 'Sve promjene limita depozita moraju se prijaviti LUGAS-u u skladu s regulatornim zahtjevima. Napominjemo da će smanjenja limita odmah stupiti na snagu, dok će povećanja stupiti na snagu najkasnije nakon 8 dana.',
|
|
143
|
+
kyc2: 'Uspjeli smo postaviti ograničenje vašeg mjesečnog depozita na <b>{amount} {currency}</b>. Za odabrani limit potrebna nam je dokumentacija koja dokazuje vašu ekonomsku sposobnost. Molimo učitajte svoj posljednji platni list kao i trenutni bankovni izvod, uključujući stanje, koji potvrđuje da ste primili uplatu.',
|
|
144
|
+
kyc3: 'Prenijeli smo vaše željeno ograničenje Lugasu. Imajte na umu da će ograničenje stupiti na snagu najkasnije nakon 8 dana.',
|
|
145
|
+
kycThanks: 'Hvala!',
|
|
146
|
+
kycSure: 'Jeste li sigurni?',
|
|
147
|
+
setNewLimit: 'POSTAVITE NOVI LIMIT',
|
|
148
|
+
setLimit: 'POSTAVITE GRANICU',
|
|
149
|
+
keepExistingLimit: 'ZADRŽI POSTOJEĆI LIMIT',
|
|
150
|
+
Close: 'ZATVORI',
|
|
151
|
+
UploadDocuments: 'UČITAJ DOKUMENTE',
|
|
152
|
+
confirm: 'POTVRDI',
|
|
153
|
+
crossProviders: 'Još nije uspostavljeno ograničenje depozita među pružateljima usluga (LUGAS), ali nema razloga za brigu. Unesite novo ograničenje depozita.',
|
|
154
|
+
monthlyDeposit: 'Ograničenje mjesečnog depozita (EUR)',
|
|
155
|
+
newUserP1: 'To start off, set your monthly limit!',
|
|
156
|
+
newUserP2: 'Postavljanje ograničenja uplate omogućuje vam reguliranje aktivnosti igranja. Nakon što postavite svoje ograničenje, ono će se prenijeti u bazu podataka ograničenja između pružatelja usluga (LUGAS).',
|
|
157
|
+
newUserP3: 'Ako ste prije postavili ograničenje uplate kod drugog pružatelja usluga, možete zadržati postojeće ograničenje.',
|
|
158
|
+
softMigrationP1: 'Postavi ograničenje uplate',
|
|
159
|
+
softMigrationP2: 'Prema zakonskim propisima, igrači su dužni postaviti individualni mjesečni limit uplate ili naznačiti da već postavljeni limit uplate treba ostati nepromijenjen. Imajte na umu da postavljeni limit treba odgovarati vašoj financijskoj situaciji. Igrajte odgovorno i prilagodite ponašanje svojim osobnim okolnostima!',
|
|
160
|
+
softMigrationP3: 'Želite li postaviti novi limit ili potvrditi postojeći limit (od {currency} <b>{amount}</b>)?',
|
|
161
|
+
invalidNumber: 'Nevažeći format broja. Unesite važeći broj',
|
|
162
|
+
minimumRange: 'Unesena vrijednost mora biti veća od {min}',
|
|
163
|
+
outOfRange: 'Unesena vrijednost mora biti između {min} i {max}.',
|
|
164
|
+
invalidDecimalSeparator: 'Nevažeći decimalni razdjelnik. Molimo koristite točku (.) umjesto zareza (,)',
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
export const getTranslations = (url) => {
|
|
168
|
+
// fetch url, get the data, replace the TRANSLATIONS content
|
|
169
|
+
return new Promise((resolve) => {
|
|
170
|
+
fetch(url)
|
|
171
|
+
.then((res) => res.json())
|
|
172
|
+
.then((data) => {
|
|
173
|
+
Object.keys(data).forEach((item) => {
|
|
174
|
+
for (let key in data[item]) {
|
|
175
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
resolve(true);
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
export const translate = (key, customLang, values) => {
|
|
183
|
+
const lang = customLang;
|
|
184
|
+
let translation = TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
185
|
+
if (values !== undefined) {
|
|
186
|
+
for (const [key, value] of Object.entries(values.values)) {
|
|
187
|
+
const regex = new RegExp(`{${key}}`, 'g');
|
|
188
|
+
translation = translation.replace(regex, value);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return translation;
|
|
192
|
+
};
|
|
File without changes
|