@symphony-talent/component-library 3.48.0 → 3.48.1
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/esm2020/lib/atoms/input-chips/input-chips.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/atoms/input-chips/input-chips.component.mjs +3 -3
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +2 -2
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +2 -2
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +2 -2
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +2 -2
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1357,7 +1357,7 @@ class InputChipsComponent {
|
|
|
1357
1357
|
validateEmail(form) {
|
|
1358
1358
|
let errorCount = form.get(this.controlErrorCount).value;
|
|
1359
1359
|
let control = this.form.controls[this.controlName];
|
|
1360
|
-
const REGEXP = new RegExp('^[a-
|
|
1360
|
+
const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
|
|
1361
1361
|
for (let i = 0; i < control.value.length; i++) {
|
|
1362
1362
|
if (!REGEXP.test(control.value[i].value)) {
|
|
1363
1363
|
errorCount = errorCount + 1;
|
|
@@ -1396,7 +1396,7 @@ class EmailValidator {
|
|
|
1396
1396
|
static createValidator(form, controlErrorCount) {
|
|
1397
1397
|
return (control) => {
|
|
1398
1398
|
let errorCount = form.get(controlErrorCount).value;
|
|
1399
|
-
const REGEXP = new RegExp('^[a-
|
|
1399
|
+
const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
|
|
1400
1400
|
for (let i = 0; i < control.value.length; i++) {
|
|
1401
1401
|
if (!REGEXP.test(control.value[i].value)) {
|
|
1402
1402
|
errorCount = errorCount + 1;
|