@everymatrix/general-registration 1.76.11 → 1.76.13

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.
@@ -25,6 +25,7 @@ const TRANSLATIONS$1 = {
25
25
  "MustIncludeNumber": "Password must include a number",
26
26
  "MustContainCapital": "Password must include a capital letter",
27
27
  "MustIncludePunctation": "Password must include punctuation",
28
+ "MustIncludeLowercase": "Password must include one lowercase character",
28
29
  "OnlyNumbers": "The input should contain only digits.",
29
30
  "InvalidFieldSize": "The length must be exactly 11 digits.",
30
31
  "InvalidDocumentNumber": "Only numerical characters are allowed.",
@@ -51,6 +52,7 @@ const TRANSLATIONS$1 = {
51
52
  "MustIncludeNumber": "A jelszónak tartalmaznia kell egy számot",
52
53
  "MustContainCapital": "A jelszónak tartalmaznia kell egy nagybetűt",
53
54
  "MustIncludePunctation": "A jelszónak tartalmaznia kell írásjelet",
55
+ "MustIncludeLowercase": "A jelszónak legalább egy kisbetűt kell tartalmaznia",
54
56
  "OnlyNumbers": "Csak számjegyeket tartalmazhat.",
55
57
  "InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie.",
56
58
  "InvalidDocumentNumber": "Csak számjegyek engedélyezettek.",
@@ -77,6 +79,7 @@ const TRANSLATIONS$1 = {
77
79
  "MustIncludeNumber": "Lozinka mora sadržavati broj",
78
80
  "MustContainCapital": "Lozinka mora sadržavati veliko slovo",
79
81
  "MustIncludePunctation": "Lozinka mora sadržavati barem jedan znak",
82
+ "MustIncludeLowercase": "Lozinka mora sadržavati barem jedno malo slovo",
80
83
  "OnlyNumbers": "Smije sadržavati samo znamenke.",
81
84
  "InvalidFieldSize": "Dužina mora biti točno 11 znamenki.",
82
85
  "InvalidDocumentNumber": "Dopušteni su samo numerički znakovi.",
@@ -103,6 +106,7 @@ const TRANSLATIONS$1 = {
103
106
  "MustIncludeNumber": "bir sayı içermelidir",
104
107
  "MustContainCapital": "büyük harf içermelidir",
105
108
  "MustIncludePunctation": "noktalama işareti içermelidir",
109
+ "MustIncludeLowercase": "Şifre en az bir küçük harf içermelidir",
106
110
  "OnlyNumbers": "Yalnızca rakamlar içermelidir.",
107
111
  "InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır.",
108
112
  "InvalidDocumentNumber": "Sadece sayısal karakterlere izin verilir.",
@@ -129,6 +133,7 @@ const TRANSLATIONS$1 = {
129
133
  "MustIncludeNumber": "A senha deve incluir um número",
130
134
  "MustContainCapital": "A senha deve incluir uma letra maiúscula",
131
135
  "MustIncludePunctation": "A senha deve incluir um sinal de pontuação",
136
+ "MustIncludeLowercase": "A senha deve conter pelo menos uma letra minúscula",
132
137
  "OnlyNumbers": "Deve conter apenas dígitos.",
133
138
  "InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos.",
134
139
  "InvalidDocumentNumber": "Apenas caracteres numéricos são permitidos.",
@@ -155,6 +160,7 @@ const TRANSLATIONS$1 = {
155
160
  "MustIncludeNumber": "La contraseña debe incluir un número",
156
161
  "MustContainCapital": "La contraseña debe incluir una letra mayúscula",
157
162
  "MustIncludePunctation": "La contraseña debe incluir un signo de puntuación",
163
+ "MustIncludeLowercase": "La contraseña debe contener al menos una letra minúscula",
158
164
  "OnlyNumbers": "Debe contener solo dígitos.",
159
165
  "InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos.",
160
166
  "InvalidDocumentNumber": "Solo se permiten caracteres numéricos.",
@@ -15080,7 +15086,10 @@ const PasswordInput = class {
15080
15086
  .filter(rule => rule.rule === 'regex')
15081
15087
  .map(rule => {
15082
15088
  const ruleRegex = new RegExp(rule.pattern);
15083
- const passed = ruleRegex.test(password);
15089
+ let passed = false;
15090
+ if (password) {
15091
+ passed = ruleRegex.test(password);
15092
+ }
15084
15093
  return { rule: rule.displayName, ruleKey: rule.errorKey, passed };
15085
15094
  });
15086
15095
  }
@@ -15150,8 +15159,8 @@ const PasswordInput = class {
15150
15159
  if (this.touched) {
15151
15160
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
15152
15161
  }
15153
- return index.h("div", { key: '33382cbd190f8940deca08498cf4eaa712569a20', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '465cc9fdc7184bae229594f1bcb78c074e5f08ea', class: 'password__wrapper--flex' }, index.h("label", { key: 'b5c5b7308114fa3ff7fb43b5be942de77f36bb1f', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'b0179648512f0c83309d1d4cee0b70d28419a963', class: 'password__wrapper--relative' }, this.tooltip &&
15154
- index.h("img", { key: '691414184bee41a802e7bffe4ec69da60ccd9c81', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-password-field", { key: 'c8517456b91218d455520b2913cc5ae58036ff32', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !this.noValidation && index.h("small", { key: 'a31e8ef7d5f73994af19178c9edcbcec5cedc2bb', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
15162
+ return index.h("div", { key: 'db7a6a87af3de451485c603a2f28f25806838d20', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '146ace196e1343f778232c0e2ff07556c0a09e1e', class: 'password__wrapper--flex' }, index.h("label", { key: '0d0cb672dfc7a43535a299b45752f43a87f73760', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '1eac72dfdadd0f50bd2db6b0fc44320dd2f287bf', class: 'password__wrapper--relative' }, this.tooltip &&
15163
+ index.h("img", { key: 'bb327b9a403c1fc5628c4ba2da8d1a2b62888db5', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-password-field", { key: '7962f122d1bfb0ac0a5176a743e1224dccba4910', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !this.noValidation && index.h("small", { key: 'efadfea8911ba72161aef495d1fb5857f14a319b', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
15155
15164
  }
15156
15165
  get element() { return index.getElement(this); }
15157
15166
  static get watchers() { return {
@@ -21,6 +21,7 @@ const TRANSLATIONS$1 = {
21
21
  "MustIncludeNumber": "Password must include a number",
22
22
  "MustContainCapital": "Password must include a capital letter",
23
23
  "MustIncludePunctation": "Password must include punctuation",
24
+ "MustIncludeLowercase": "Password must include one lowercase character",
24
25
  "OnlyNumbers": "The input should contain only digits.",
25
26
  "InvalidFieldSize": "The length must be exactly 11 digits.",
26
27
  "InvalidDocumentNumber": "Only numerical characters are allowed.",
@@ -47,6 +48,7 @@ const TRANSLATIONS$1 = {
47
48
  "MustIncludeNumber": "A jelszónak tartalmaznia kell egy számot",
48
49
  "MustContainCapital": "A jelszónak tartalmaznia kell egy nagybetűt",
49
50
  "MustIncludePunctation": "A jelszónak tartalmaznia kell írásjelet",
51
+ "MustIncludeLowercase": "A jelszónak legalább egy kisbetűt kell tartalmaznia",
50
52
  "OnlyNumbers": "Csak számjegyeket tartalmazhat.",
51
53
  "InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie.",
52
54
  "InvalidDocumentNumber": "Csak számjegyek engedélyezettek.",
@@ -73,6 +75,7 @@ const TRANSLATIONS$1 = {
73
75
  "MustIncludeNumber": "Lozinka mora sadržavati broj",
74
76
  "MustContainCapital": "Lozinka mora sadržavati veliko slovo",
75
77
  "MustIncludePunctation": "Lozinka mora sadržavati barem jedan znak",
78
+ "MustIncludeLowercase": "Lozinka mora sadržavati barem jedno malo slovo",
76
79
  "OnlyNumbers": "Smije sadržavati samo znamenke.",
77
80
  "InvalidFieldSize": "Dužina mora biti točno 11 znamenki.",
78
81
  "InvalidDocumentNumber": "Dopušteni su samo numerički znakovi.",
@@ -99,6 +102,7 @@ const TRANSLATIONS$1 = {
99
102
  "MustIncludeNumber": "bir sayı içermelidir",
100
103
  "MustContainCapital": "büyük harf içermelidir",
101
104
  "MustIncludePunctation": "noktalama işareti içermelidir",
105
+ "MustIncludeLowercase": "Şifre en az bir küçük harf içermelidir",
102
106
  "OnlyNumbers": "Yalnızca rakamlar içermelidir.",
103
107
  "InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır.",
104
108
  "InvalidDocumentNumber": "Sadece sayısal karakterlere izin verilir.",
@@ -125,6 +129,7 @@ const TRANSLATIONS$1 = {
125
129
  "MustIncludeNumber": "A senha deve incluir um número",
126
130
  "MustContainCapital": "A senha deve incluir uma letra maiúscula",
127
131
  "MustIncludePunctation": "A senha deve incluir um sinal de pontuação",
132
+ "MustIncludeLowercase": "A senha deve conter pelo menos uma letra minúscula",
128
133
  "OnlyNumbers": "Deve conter apenas dígitos.",
129
134
  "InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos.",
130
135
  "InvalidDocumentNumber": "Apenas caracteres numéricos são permitidos.",
@@ -151,6 +156,7 @@ const TRANSLATIONS$1 = {
151
156
  "MustIncludeNumber": "La contraseña debe incluir un número",
152
157
  "MustContainCapital": "La contraseña debe incluir una letra mayúscula",
153
158
  "MustIncludePunctation": "La contraseña debe incluir un signo de puntuación",
159
+ "MustIncludeLowercase": "La contraseña debe contener al menos una letra minúscula",
154
160
  "OnlyNumbers": "Debe contener solo dígitos.",
155
161
  "InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos.",
156
162
  "InvalidDocumentNumber": "Solo se permiten caracteres numéricos.",
@@ -15076,7 +15082,10 @@ const PasswordInput = class {
15076
15082
  .filter(rule => rule.rule === 'regex')
15077
15083
  .map(rule => {
15078
15084
  const ruleRegex = new RegExp(rule.pattern);
15079
- const passed = ruleRegex.test(password);
15085
+ let passed = false;
15086
+ if (password) {
15087
+ passed = ruleRegex.test(password);
15088
+ }
15080
15089
  return { rule: rule.displayName, ruleKey: rule.errorKey, passed };
15081
15090
  });
15082
15091
  }
@@ -15146,8 +15155,8 @@ const PasswordInput = class {
15146
15155
  if (this.touched) {
15147
15156
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
15148
15157
  }
15149
- return h$1("div", { key: '33382cbd190f8940deca08498cf4eaa712569a20', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$1("div", { key: '465cc9fdc7184bae229594f1bcb78c074e5f08ea', class: 'password__wrapper--flex' }, h$1("label", { key: 'b5c5b7308114fa3ff7fb43b5be942de77f36bb1f', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$1("div", { key: 'b0179648512f0c83309d1d4cee0b70d28419a963', class: 'password__wrapper--relative' }, this.tooltip &&
15150
- h$1("img", { key: '691414184bee41a802e7bffe4ec69da60ccd9c81', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$1("vaadin-password-field", { key: 'c8517456b91218d455520b2913cc5ae58036ff32', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !this.noValidation && h$1("small", { key: 'a31e8ef7d5f73994af19178c9edcbcec5cedc2bb', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
15158
+ return h$1("div", { key: 'db7a6a87af3de451485c603a2f28f25806838d20', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$1("div", { key: '146ace196e1343f778232c0e2ff07556c0a09e1e', class: 'password__wrapper--flex' }, h$1("label", { key: '0d0cb672dfc7a43535a299b45752f43a87f73760', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$1("div", { key: '1eac72dfdadd0f50bd2db6b0fc44320dd2f287bf', class: 'password__wrapper--relative' }, this.tooltip &&
15159
+ h$1("img", { key: 'bb327b9a403c1fc5628c4ba2da8d1a2b62888db5', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$1("vaadin-password-field", { key: '7962f122d1bfb0ac0a5176a743e1224dccba4910', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !this.noValidation && h$1("small", { key: 'efadfea8911ba72161aef495d1fb5857f14a319b', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
15151
15160
  }
15152
15161
  get element() { return getElement(this); }
15153
15162
  static get watchers() { return {