@everymatrix/general-player-register-form-step2 0.0.242 → 0.0.246
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/general-player-register-form-step2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.246",
|
|
4
4
|
"main": "dist/general-player-register-form-step2.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "a366db972245075088a5539434d1ea34d55c1b91"
|
|
40
40
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
const checkUserIdentifier = (user:string) => {
|
|
78
|
-
if(regexValidators.user.test(user)) {
|
|
78
|
+
if(regexValidators.user.test(user) && user.length <= 50) {
|
|
79
79
|
return true;
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const checkBirthPlace = () => {
|
|
96
|
-
if(birthPlace) {
|
|
96
|
+
if(birthPlace && birthPlace.length <= 120) {
|
|
97
97
|
return true;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.InvalidInput {
|
|
408
|
-
color: var(--emfe-w-color-
|
|
408
|
+
color: var(--emfe-w-color-error, #FD2839);
|
|
409
409
|
font-size: ttp(0.625);
|
|
410
410
|
position: absolute;
|
|
411
411
|
bottom: -3px;
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
.ErrorMessage {
|
|
416
416
|
margin: 0 0 ttp(0.938) 0;
|
|
417
417
|
font-size: ttp(0.75);
|
|
418
|
-
color: var(--emfe-w-color-
|
|
418
|
+
color: var(--emfe-w-color-error, #FD2839);
|
|
419
419
|
}
|
|
420
420
|
|
|
421
421
|
.RegisterStepNext {
|
package/src/translations.js
CHANGED
|
@@ -8,9 +8,9 @@ export const RegisterFormStep2Translations = {
|
|
|
8
8
|
registerUserTitleSelectMrs: 'Mrs.',
|
|
9
9
|
registerUserTitleSelectMs: 'Ms.',
|
|
10
10
|
registerFirstName: 'First Name',
|
|
11
|
-
registerFirstNameError: 'First name must be
|
|
11
|
+
registerFirstNameError: 'First name must be 2-50 characters long and contain no special characters.',
|
|
12
12
|
registerLastName: 'Last Name',
|
|
13
|
-
registerLastNameError: 'Last name must be
|
|
13
|
+
registerLastNameError: 'Last name must be 2-50 characters long and contain no special characters.',
|
|
14
14
|
registerDateOfBirth: 'Date of Birth',
|
|
15
15
|
registerBirthDay: 'Day',
|
|
16
16
|
registerBirthMonth: 'Month',
|
|
@@ -30,9 +30,9 @@ export const RegisterFormStep2Translations = {
|
|
|
30
30
|
registerUserTitleSelectMrs: 'Bayan.',
|
|
31
31
|
registerUserTitleSelectMs: 'Hanım.',
|
|
32
32
|
registerFirstName: 'İlk adı',
|
|
33
|
-
registerFirstNameError: 'Ad
|
|
33
|
+
registerFirstNameError: 'Ad 2-50 karakter uzunluğunda olmalı ve özel karakter içermemelidir.',
|
|
34
34
|
registerLastName: 'Soyadı',
|
|
35
|
-
registerLastNameError: 'Soyadı
|
|
35
|
+
registerLastNameError: 'Soyadı 2-50 karakter uzunluğunda olmalı ve özel karakter içermemelidir.',
|
|
36
36
|
registerDateOfBirth: 'Doğum tarihi',
|
|
37
37
|
registerBirthDay: 'Gün',
|
|
38
38
|
registerBirthMonth: 'Ay',
|
|
@@ -52,9 +52,9 @@ export const RegisterFormStep2Translations = {
|
|
|
52
52
|
registerUserTitleSelectMrs: 'Dna.',
|
|
53
53
|
registerUserTitleSelectMs: 'Dra.',
|
|
54
54
|
registerFirstName: 'Prenume',
|
|
55
|
-
registerFirstNameError: 'Prenumele trebuie sa fie de
|
|
55
|
+
registerFirstNameError: 'Prenumele trebuie sa fie de 2-50 litere lungime si sa nu contina caractere speciale.',
|
|
56
56
|
registerLastName: 'Nume',
|
|
57
|
-
registerLastNameError: 'Numele trebuie sa fie de
|
|
57
|
+
registerLastNameError: 'Numele trebuie sa fie de 2-50 litere lungime si sa nu contina caractere speciale',
|
|
58
58
|
registerDateOfBirth: 'Data Nasterii',
|
|
59
59
|
registerBirthDay: 'Zi',
|
|
60
60
|
registerBirthMonth: 'Luna',
|