intelica-library-ui 0.1.144 → 0.1.146

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.
@@ -5634,9 +5634,10 @@ function encryptData(data, keyEncrypt) {
5634
5634
 
5635
5635
  class Patterns {
5636
5636
  PatternText = "^(?!\\s*$)[a-zA-Z0-9-\\s]*$";
5637
- PatternEmail = "^[a-z0-9._+~\\-]+@[a-z0-9.-]+\\.[a-z]{2,}$";
5637
+ PatternEmail = "^[a-zA-Z0-9._+~\\-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$";
5638
5638
  PatternOnlyLetters = "^[a-zA-Z\\s]+$";
5639
5639
  PatternOnlyLettersWithAccents = "^[a-zA-ZáéíóúÁÉÍÓÚ\\s]+$";
5640
+ PatternLettersEmail = "^[A-Za-z0-9@._-]+$";
5640
5641
  }
5641
5642
  function InputValidation(event) {
5642
5643
  const allowedCharacters = /^[a-zA-Z0-9-\s]$/;
@@ -5655,7 +5656,7 @@ function EmailInputValidation(event) {
5655
5656
  const inputChar = event.key;
5656
5657
  if (event.ctrlKey || event.altKey || inputChar.length > 1)
5657
5658
  return;
5658
- const allowedCharacters = /^[a-z0-9._+@-]$/;
5659
+ const allowedCharacters = /^[a-zA-Z0-9._+@-]$/;
5659
5660
  if (!allowedCharacters.test(inputChar)) {
5660
5661
  event.preventDefault();
5661
5662
  }