santech-galaxy-component 2.5.41 → 2.5.42
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/lib/index.common.js +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/index.common.js
CHANGED
|
@@ -228848,7 +228848,7 @@ const inputPhoneNumber = value => {
|
|
|
228848
228848
|
}
|
|
228849
228849
|
};
|
|
228850
228850
|
const inputEmail = value => {
|
|
228851
|
-
const phonePattern = /^([a-zA-Z0-
|
|
228851
|
+
const phonePattern = /^[a-zA-Z0-9_%+-]+(?:\.[a-zA-Z0-9_%+-]+)*@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
228852
228852
|
if (null !== value && undefined !== value && "" !== value && !phonePattern.test(value)) {
|
|
228853
228853
|
return true;
|
|
228854
228854
|
} else {
|
package/lib/index.umd.js
CHANGED
|
@@ -228857,7 +228857,7 @@ const inputPhoneNumber = value => {
|
|
|
228857
228857
|
}
|
|
228858
228858
|
};
|
|
228859
228859
|
const inputEmail = value => {
|
|
228860
|
-
const phonePattern = /^([a-zA-Z0-
|
|
228860
|
+
const phonePattern = /^[a-zA-Z0-9_%+-]+(?:\.[a-zA-Z0-9_%+-]+)*@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
228861
228861
|
if (null !== value && undefined !== value && "" !== value && !phonePattern.test(value)) {
|
|
228862
228862
|
return true;
|
|
228863
228863
|
} else {
|