Skip to content

Commit 476e04a

Browse files
committed
Add more
1 parent 10e83de commit 476e04a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+282
-63
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@
3333
* Add endWith
3434
* Add contains
3535
* Add between
36-
* Add inList
36+
* Add containsElement
3737
* Add transform
38-
* Add iban
38+
* Add IBAN
39+
* Add BIC
3940
* Add skipWhen
4041
* Add log
4142
* Add aggregate
42-
43+
* Add unique
44+
* Add ISBN
4345

4446
## 10.0.1
4547
* Fix regression (include l10n files)

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ Available built-in type validators include:
8686
- `FormBuilderValidators.oddNumber()` - requires the field's to be an odd number.
8787
- `FormBuilderValidators.evenNumber()` - requires the field's to be an even number.
8888
- `FormBuilderValidators.between()` - requires the field's to be between two numbers.
89-
- `FormBuilderValidators.inList()` - requires the field's to be in the provided list.
89+
- `FormBuilderValidators.containsElement()` - requires the field's to be in the provided list.
90+
- `FormBuilderValidators.unique()` - requires the field's to be unique in the provided list.
9091

9192
Available built-in use-case validators include:
9293

@@ -109,6 +110,8 @@ Available built-in use-case validators include:
109110
- `FormBuilderValidators.portNumber()` - requires the field's to be an valid port number.
110111
- `FormBuilderValidators.macAddress()` - requires the field's to be an valid MAC address.
111112
- `FormBuilderValidators.iban()` - requires the field's to be an valid IBAN.
113+
- `FormBuilderValidators.bic()` - requires the field's to be an valid BIC.
114+
- `FormBuilderValidators.isbn()` - requires the field's to be an valid ISBN.
112115

113116
### Supported languages
114117

lib/l10n/intl_al.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "Vlera duhet të përfundojë me {value}.",
5050
"containsErrorText": "Vlera duhet të përmbajë {value}.",
5151
"betweenErrorText": "Vlera duhet të jetë ndërmjet {min} dhe {max}.",
52-
"valueInListErrorText": "Vlera duhet të jetë në listën e vlefshme.",
52+
"containsElementErrorText": "Vlera duhet të jetë në listën e vlefshme.",
5353
"ibanErrorText": "Kjo fushë kërkon një IBAN të vlefshëm."
5454
}

lib/l10n/intl_ar.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "القيمة يجب أن تنتهي بـ {value}.",
5050
"containsErrorText": "القيمة يجب أن تحتوي على {value}.",
5151
"betweenErrorText": "القيمة يجب أن تكون بين {min} و {max}.",
52-
"valueInListErrorText": "القيمة يجب أن تكون ضمن القائمة المسموح بها.",
52+
"containsElementErrorText": "القيمة يجب أن تكون ضمن القائمة المسموح بها.",
5353
"ibanErrorText": "هذا الحقل يتطلب IBAN صالح."
5454
}

lib/l10n/intl_bg.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "Стойността трябва да завършва с {value}.",
5050
"containsErrorText": "Стойността трябва да съдържа {value}.",
5151
"betweenErrorText": "Стойността трябва да е между {min} и {max}.",
52-
"valueInListErrorText": "Стойността трябва да е в списъка с допустими стойности.",
52+
"containsElementErrorText": "Стойността трябва да е в списъка с допустими стойности.",
5353
"ibanErrorText": "Това поле изисква валиден IBAN."
5454
}

lib/l10n/intl_bn.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "মানটি {value} দিয়ে শেষ হতে হবে।",
5050
"containsErrorText": "মানটি {value} ধারণ করতে হবে।",
5151
"betweenErrorText": "মানটি {min} এবং {max} এর মধ্যে হতে হবে।",
52-
"valueInListErrorText": "মানটি অনুমোদিত তালিকার মধ্যে থাকতে হবে।",
52+
"containsElementErrorText": "মানটি অনুমোদিত তালিকার মধ্যে থাকতে হবে।",
5353
"ibanErrorText": "একটি বৈধ IBAN প্রয়োজন।"
5454
}

lib/l10n/intl_bs.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "Vrijednost mora završiti sa {value}.",
5050
"containsErrorText": "Vrijednost mora sadržavati {value}.",
5151
"betweenErrorText": "Vrijednost mora biti između {min} i {max}.",
52-
"valueInListErrorText": "Vrijednost mora biti na listi dopuštenih vrijednosti.",
52+
"containsElementErrorText": "Vrijednost mora biti na listi dopuštenih vrijednosti.",
5353
"ibanErrorText": "Unesite validan IBAN."
5454
}

lib/l10n/intl_ca.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "El valor ha d'acabar amb {value}.",
5050
"containsErrorText": "El valor ha de contenir {value}.",
5151
"betweenErrorText": "El valor ha d'estar entre {min} i {max}.",
52-
"valueInListErrorText": "El valor ha d'estar en la llista de valors permesos.",
52+
"containsElementErrorText": "El valor ha d'estar en la llista de valors permesos.",
5353
"ibanErrorText": "Aquest camp requereix un IBAN vàlid."
5454
}

lib/l10n/intl_cs.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "Hodnota musí končit na {value}.",
5050
"containsErrorText": "Hodnota musí obsahovat {value}.",
5151
"betweenErrorText": "Hodnota musí být mezi {min} a {max}.",
52-
"valueInListErrorText": "Hodnota musí být v seznamu povolených hodnot.",
52+
"containsElementErrorText": "Hodnota musí být v seznamu povolených hodnot.",
5353
"ibanErrorText": "Pole vyžaduje platné IBAN."
5454
}

lib/l10n/intl_da.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"endsWithErrorText": "Værdien skal slutte med {value}.",
5050
"containsErrorText": "Værdien skal indeholde {value}.",
5151
"betweenErrorText": "Værdien skal være mellem {min} og {max}.",
52-
"valueInListErrorText": "Værdien skal være på listen over tilladte værdier.",
52+
"containsElementErrorText": "Værdien skal være på listen over tilladte værdier.",
5353
"ibanErrorText": "Dette felt kræver en gyldig IBAN."
5454
}

0 commit comments

Comments
 (0)