santech-galaxy-component 1.0.7-59 → 1.0.7-60
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
|
@@ -168374,7 +168374,7 @@ var inputPhoneNumber = function inputPhoneNumber(value) {
|
|
|
168374
168374
|
};
|
|
168375
168375
|
|
|
168376
168376
|
var inputEmail = function inputEmail(value) {
|
|
168377
|
-
var phonePattern = /^
|
|
168377
|
+
var phonePattern = /^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}(\?\S+)?)$/;
|
|
168378
168378
|
|
|
168379
168379
|
if (null !== value && undefined !== value && "" !== value && !phonePattern.test(value)) {
|
|
168380
168380
|
return true;
|
package/lib/index.umd.js
CHANGED
|
@@ -168383,7 +168383,7 @@ var inputPhoneNumber = function inputPhoneNumber(value) {
|
|
|
168383
168383
|
};
|
|
168384
168384
|
|
|
168385
168385
|
var inputEmail = function inputEmail(value) {
|
|
168386
|
-
var phonePattern = /^
|
|
168386
|
+
var phonePattern = /^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}(\?\S+)?)$/;
|
|
168387
168387
|
|
|
168388
168388
|
if (null !== value && undefined !== value && "" !== value && !phonePattern.test(value)) {
|
|
168389
168389
|
return true;
|