@everymatrix/user-login 1.76.8 → 1.76.9
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.
|
@@ -26,7 +26,8 @@ const TRANSLATIONS = {
|
|
|
26
26
|
"Forbidden_UserAccount_Timeout": "It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",
|
|
27
27
|
"GmErr_Forbidden_UserAccount_Timeout": "It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",
|
|
28
28
|
"Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",
|
|
29
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information."
|
|
29
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",
|
|
30
|
+
"GmErr_Forbidden_UserAccount_NotActive": "It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service"
|
|
30
31
|
},
|
|
31
32
|
"tr": {
|
|
32
33
|
"invalidField": "Üzgünüz, bu kullanıcı adı/e-posta adresi ve/veya şifre tanınmadı.",
|
|
@@ -52,7 +53,8 @@ const TRANSLATIONS = {
|
|
|
52
53
|
"Forbidden_UserAccount_Timeout": "Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",
|
|
53
54
|
"GmErr_Forbidden_UserAccount_Timeout": "Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",
|
|
54
55
|
"Forbidden_UserAccount_SELFEXCLUDED": "Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",
|
|
55
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin."
|
|
56
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",
|
|
57
|
+
"GmErr_Forbidden_UserAccount_NotActive": "E-posta adresinizi henüz onaylamadığınız anlaşılıyor. Kayıt işleminizi tamamlamak ve hesabınıza erişmek için lütfen e-posta gelen kutunuzu onay mesajı için kontrol edin. E-postayı almadıysanız, lütfen spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız olursa, müşteri hizmetleri aracılığıyla destek talep edebilirsiniz."
|
|
56
58
|
},
|
|
57
59
|
"en-us": {
|
|
58
60
|
"invalidField": "Sorry, that username/email address and/or password has not been recognized.",
|
|
@@ -78,7 +80,8 @@ const TRANSLATIONS = {
|
|
|
78
80
|
"Forbidden_UserAccount_Timeout": "It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",
|
|
79
81
|
"GmErr_Forbidden_UserAccount_Timeout": "It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",
|
|
80
82
|
"Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",
|
|
81
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information."
|
|
83
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",
|
|
84
|
+
"GmErr_Forbidden_UserAccount_NotActive": "It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service"
|
|
82
85
|
},
|
|
83
86
|
"ro": {
|
|
84
87
|
"invalidField": "Ne pare rău, acest nume de utilizator/adresă de e-mail și/sau parolă nu a fost recunoscut.",
|
|
@@ -104,7 +107,8 @@ const TRANSLATIONS = {
|
|
|
104
107
|
"Forbidden_UserAccount_Timeout": "Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
|
|
105
108
|
"GmErr_Forbidden_UserAccount_Timeout": "Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
|
|
106
109
|
"Forbidden_UserAccount_SELFEXCLUDED": "Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
|
|
107
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații."
|
|
110
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
|
|
111
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Se pare că nu v-ați confirmat încă adresa de email. Pentru a finaliza înregistrarea și a accesa contul, vă rugăm să verificați inbox-ul de email pentru un mesaj de confirmare. Dacă nu ați primit emailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul clienți.",
|
|
108
112
|
},
|
|
109
113
|
"hr": {
|
|
110
114
|
"invalidField": "Žao nam je, to korisničko ime/adresa e-pošte i/ili lozinka nisu prepoznati.",
|
|
@@ -130,7 +134,8 @@ const TRANSLATIONS = {
|
|
|
130
134
|
"Forbidden_UserAccount_Timeout": "Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",
|
|
131
135
|
"GmErr_Forbidden_UserAccount_Timeout": "Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",
|
|
132
136
|
"Forbidden_UserAccount_SELFEXCLUDED": "Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",
|
|
133
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike."
|
|
137
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",
|
|
138
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Čini se da još niste potvrdili svoju e-mail adresu. Za dovršetak registracije i pristup vašem računu, molimo provjerite svoj inbox za poruku za potvrdu. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti podršku putem korisničke službe."
|
|
134
139
|
},
|
|
135
140
|
"fr": {
|
|
136
141
|
"invalidField": "Désolé, ce nom d'utilisateur/adresse e-mail et/ou mot de passe n'a pas été reconnu.",
|
|
@@ -156,7 +161,8 @@ const TRANSLATIONS = {
|
|
|
156
161
|
"Forbidden_UserAccount_Timeout": "Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",
|
|
157
162
|
"GmErr_Forbidden_UserAccount_Timeout": "Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",
|
|
158
163
|
"Forbidden_UserAccount_SELFEXCLUDED": "Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",
|
|
159
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations."
|
|
164
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",
|
|
165
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Il semble que vous n’ayez pas encore confirmé votre adresse e-mail. Pour finaliser votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n’avez pas reçu l’e-mail, veuillez également vérifier votre dossier spam. Si vous avez besoin d’assistance, vous pouvez demander de l’aide via le service client."
|
|
160
166
|
},
|
|
161
167
|
"cs": {
|
|
162
168
|
"invalidField": "Omlouváme se, toto uživatelské jméno/e-mailová adresa a/nebo heslo nebyly rozpoznány.",
|
|
@@ -182,7 +188,8 @@ const TRANSLATIONS = {
|
|
|
182
188
|
"Forbidden_UserAccount_Timeout": "Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",
|
|
183
189
|
"GmErr_Forbidden_UserAccount_Timeout": "Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",
|
|
184
190
|
"Forbidden_UserAccount_SELFEXCLUDED": "Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",
|
|
185
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis."
|
|
191
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",
|
|
192
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Zdá se, že jste dosud nepotvrdili svou e-mailovou adresu. Chcete-li dokončit registraci a získat přístup ke svému účtu, zkontrolujte prosím svoji e-mailovou schránku pro potvrzovací zprávu. Pokud e-mail nedorazil, zkontrolujte také složku se spamem. Pokud potřebujete pomoc, můžete požádat o podporu prostřednictvím zákaznického servisu."
|
|
186
193
|
},
|
|
187
194
|
"de": {
|
|
188
195
|
"invalidField": "Entschuldigung, dieser Benutzername/diese E-Mail-Adresse und/oder dieses Passwort wurde nicht erkannt.",
|
|
@@ -208,7 +215,8 @@ const TRANSLATIONS = {
|
|
|
208
215
|
"Forbidden_UserAccount_Timeout": "Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",
|
|
209
216
|
"GmErr_Forbidden_UserAccount_Timeout": "Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",
|
|
210
217
|
"Forbidden_UserAccount_SELFEXCLUDED": "Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",
|
|
211
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice."
|
|
218
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",
|
|
219
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihren E-Mail-Posteingang auf eine Bestätigungsnachricht. Falls Sie die E-Mail nicht erhalten haben, prüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie den Kundendienst um Unterstützung bitten."
|
|
212
220
|
},
|
|
213
221
|
"pt-br": {
|
|
214
222
|
"invalidField": "Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",
|
|
@@ -234,7 +242,8 @@ const TRANSLATIONS = {
|
|
|
234
242
|
"Forbidden_UserAccount_Timeout": "Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
235
243
|
"GmErr_Forbidden_UserAccount_Timeout": "Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
236
244
|
"Forbidden_UserAccount_SELFEXCLUDED": "Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
237
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações."
|
|
245
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
246
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu cadastro e acessar sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar suporte através do atendimento ao cliente."
|
|
238
247
|
},
|
|
239
248
|
"es-mx": {
|
|
240
249
|
"invalidField": "Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",
|
|
@@ -260,7 +269,8 @@ const TRANSLATIONS = {
|
|
|
260
269
|
"Forbidden_UserAccount_Timeout": "Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",
|
|
261
270
|
"GmErr_Forbidden_UserAccount_Timeout": "Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",
|
|
262
271
|
"Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",
|
|
263
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información."
|
|
272
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",
|
|
273
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente.",
|
|
264
274
|
},
|
|
265
275
|
"es": {
|
|
266
276
|
"invalidField": "Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",
|
|
@@ -286,7 +296,8 @@ const TRANSLATIONS = {
|
|
|
286
296
|
"Forbidden_UserAccount_Timeout": "Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",
|
|
287
297
|
"GmErr_Forbidden_UserAccount_Timeout": "Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",
|
|
288
298
|
"Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",
|
|
289
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información."
|
|
299
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",
|
|
300
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente."
|
|
290
301
|
},
|
|
291
302
|
"pt": {
|
|
292
303
|
"invalidField": "Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",
|
|
@@ -312,7 +323,8 @@ const TRANSLATIONS = {
|
|
|
312
323
|
"Forbidden_UserAccount_Timeout": "De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",
|
|
313
324
|
"GmErr_Forbidden_UserAccount_Timeout": "De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",
|
|
314
325
|
"Forbidden_UserAccount_SELFEXCLUDED": "Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",
|
|
315
|
-
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações."
|
|
326
|
+
"GmErr_Forbidden_UserAccount_SELFEXCLUDED": "Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",
|
|
327
|
+
"GmErr_Forbidden_UserAccount_NotActive": "Parece que ainda não confirmou o seu endereço de e-mail. Para concluir o seu registo e aceder à sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, pode solicitar assistência através do serviço de apoio ao cliente."
|
|
316
328
|
}
|
|
317
329
|
};
|
|
318
330
|
const getTranslations = (url) => {
|
|
@@ -8519,7 +8531,7 @@ const UserLogin = class {
|
|
|
8519
8531
|
fetch(url.href, params)
|
|
8520
8532
|
.then((res) => res.json())
|
|
8521
8533
|
.then((data) => {
|
|
8522
|
-
var _a, _b, _c;
|
|
8534
|
+
var _a, _b, _c, _d;
|
|
8523
8535
|
if ((_a = data.sessionBlockers) === null || _a === void 0 ? void 0 : _a.includes('has-to-set-consents')) {
|
|
8524
8536
|
window.postMessage({ type: 'PlayerActions', gmversion: 'gm16' }, window.location.href);
|
|
8525
8537
|
}
|
|
@@ -8544,12 +8556,12 @@ const UserLogin = class {
|
|
|
8544
8556
|
else {
|
|
8545
8557
|
// handles errors thrown by api
|
|
8546
8558
|
this.hasError = true;
|
|
8547
|
-
this.errorCode = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode;
|
|
8559
|
+
this.errorCode = (_c = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode) !== null && _c !== void 0 ? _c : data === null || data === void 0 ? void 0 : data.errorCode;
|
|
8548
8560
|
if (this.errorCode === 'GmErr_USER_AUTH_FAILED' && this.loginByPhoneNumber === 'true') {
|
|
8549
8561
|
this.errorMessage = translate('AuthFailedPhoneNumber', this.lang);
|
|
8550
8562
|
}
|
|
8551
8563
|
else {
|
|
8552
|
-
this.errorMessage = translate(`${this.errorCode}`, this.lang) || ((
|
|
8564
|
+
this.errorMessage = translate(`${this.errorCode}`, this.lang) || ((_d = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _d === void 0 ? void 0 : _d.message) || (data === null || data === void 0 ? void 0 : data.message) || translate('genericError', this.lang);
|
|
8553
8565
|
}
|
|
8554
8566
|
if (this.errorMessage) {
|
|
8555
8567
|
console.error(this.errorMessage);
|
|
@@ -8920,22 +8932,22 @@ const UserLogin = class {
|
|
|
8920
8932
|
* Render function
|
|
8921
8933
|
*/
|
|
8922
8934
|
render() {
|
|
8923
|
-
let visibilityIcon = h("span", { key: '
|
|
8924
|
-
h("svg", { key: '
|
|
8925
|
-
h("svg", { key: '
|
|
8926
|
-
let userIdentification = h("div", { key: '
|
|
8935
|
+
let visibilityIcon = h("span", { key: '04f73ce27b4fed3406cc973cc12a9c2f35bd489a', class: "InputIcon" }, this.isPasswordVisible &&
|
|
8936
|
+
h("svg", { key: '6839b8f6f7bd184f35b10fa51aa56e8fdbd18ae5', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" }, h("g", { key: '891f11aced0e051f2461f9fcbaed5efae0966fc7', transform: "translate(-110.856 -23.242)" }, h("circle", { key: '8d5cc9be8aa3d9445e99ff6a3e9c1dce07c1cf3b', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h("g", { key: '21fcc0afc83c964c4eb68f8d94a3c29cf5154167', transform: "translate(117.499 27.37)" }, h("path", { key: 'f64e15dfcf89201949b1e1511554d1eee2f8d67a', class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }), h("path", { key: '5a88944196eb4a2252ce411ddd183db01eaa0b7b', class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })), h("g", { key: 'a2cead4e1054533321d2c1b6557b9e7287cb247f', transform: "translate(110.856 24.899)" }, h("path", { key: '1b5a4fd2b937696a35c6940a1af507ef7b37ce80', class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }), h("path", { key: '232f0a936ceb82c4fb1a731a75e5de3aa34a3747', class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })), h("rect", { key: 'b03821d8a0dbce86a13df0976a3191e322af0cc7', class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))), !this.isPasswordVisible &&
|
|
8937
|
+
h("svg", { key: '5b75e8792aba2d995b61d993a3b30268b0c91268', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" }, h("g", { key: 'bcedf871e76569eaeb9b8ead213a808e196fac32', transform: "translate(-14.185 -27.832)" }, h("path", { key: 'cb96b5ae0dc44b4b442052cdc691feb99ca559ed', class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }), h("circle", { key: '4fb62aefcd739765327c9c07aae8bfed547a72e9', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
|
|
8938
|
+
let userIdentification = h("div", { key: 'bd58b1479ca2470c305505c700316eb4e787295f', class: "FormBox" }, h("div", { key: '2fe9294c81e80e72d527d1288e175e74fd67b42a', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
|
|
8927
8939
|
? h("div", { class: (!this.isValidUserPhone && this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, h("div", { class: "PhoneInputBox" }, h("div", { class: "PrefixBox" }, this.isPrefixEditable === 'true'
|
|
8928
8940
|
? h("vaadin-combo-box", { items: this.phoneCodes, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') })
|
|
8929
8941
|
: h("div", { class: "UneditablePrefix" }, this.userPrefix), h("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate('userPrefix', this.lang))), h("div", { class: "PhoneBox" }, h("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), h("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate('userPhone', this.lang)), !this.isValidUserPhone && this.errorForFields['phone'] &&
|
|
8930
8942
|
h("p", { class: "CredentialsError" }, translate('userPhoneError', this.lang)))))
|
|
8931
8943
|
: h("div", { class: (!this.isValidUserEmail && this.errorForFields['user']) ? 'InputBox InputInvalidBox' : 'InputBox' }, h("input", { type: "text", placeholder: '', value: this.userNameEmail, onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), h("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail && this.errorForFields['user'] ? 'FieldInvalid' : '') }, translate('userEmail', this.lang)), !this.isValidUserEmail && this.errorForFields['user'] &&
|
|
8932
|
-
h("p", { class: "CredentialsError" }, translate('userEmailError', this.lang))), h("div", { key: '
|
|
8933
|
-
h("p", { key: '
|
|
8934
|
-
h("div", { key: '
|
|
8935
|
-
h("slot", { key: '
|
|
8936
|
-
h("slot", { key: '
|
|
8937
|
-
h("p", { key: '
|
|
8938
|
-
return h("section", { key: '
|
|
8944
|
+
h("p", { class: "CredentialsError" }, translate('userEmailError', this.lang))), h("div", { key: 'd9da3a78301d1d330e40603ada5184c5abea8a2b', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h("input", { key: '0e892152c13e6671bcc2eb9746e1c488c9654b2c', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h("label", { key: 'f5972488f061e0dd80a493209b05e5cef4f69be3', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
|
|
8945
|
+
h("p", { key: 'da182a16dba040bd94863a9399edf55f9aee4e85', class: "CredentialsError" }, translate('userPasswordError', this.lang))), this.passwordReset == 'true' &&
|
|
8946
|
+
h("div", { key: '242e2aa16c1b83021f62684396346866fddfa454', class: "ForgotPassword" }, h("button", { key: 'f36317ac752544fd53cc77bd519b708fdb1bc0a6', onClick: this.resetPassword }, translate('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
|
|
8947
|
+
h("slot", { key: 'c6289849f8733f0e04714c0c7187ffddb2cf3e39', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
|
|
8948
|
+
h("slot", { key: '1c9d38fe8d33930adb7eda485518c7886e88ff2c', name: "google" }), h("button", { key: 'b5e6a68ad8c035882f06769330ed9bfb376fd541', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate('login', this.lang)), this.hasError &&
|
|
8949
|
+
h("p", { key: '75aedc3bc79aa1e1fc28407af74e24860fb7546a', class: "CredentialsError" }, this.errorMessage)));
|
|
8950
|
+
return h("section", { key: '3285383c646c5e03e729c49c09d3767a5ed5a6a6', ref: el => this.stylingContainer = el }, userIdentification);
|
|
8939
8951
|
}
|
|
8940
8952
|
static get watchers() { return {
|
|
8941
8953
|
"translationUrl": ["handleNewTranslations"],
|