@win2win/shared 1.0.114 → 1.0.116
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.
|
@@ -79,37 +79,37 @@ exports.GamaPropValidatorsMap = {
|
|
|
79
79
|
message: "La URL no es válida",
|
|
80
80
|
label: "URL",
|
|
81
81
|
},
|
|
82
|
-
|
|
82
|
+
iban: {
|
|
83
83
|
fn: () => (control) => {
|
|
84
84
|
if (!control.value)
|
|
85
85
|
return true;
|
|
86
|
-
return
|
|
86
|
+
return iban.isValid(String(control.value) || "");
|
|
87
87
|
},
|
|
88
|
-
message: "El
|
|
89
|
-
label: "
|
|
88
|
+
message: "El IBAN no es válido",
|
|
89
|
+
label: "Cuenta Bancaria (IBAN)",
|
|
90
90
|
},
|
|
91
|
-
|
|
91
|
+
dni: {
|
|
92
92
|
fn: () => (control) => {
|
|
93
93
|
if (!control.value)
|
|
94
94
|
return true;
|
|
95
|
-
return
|
|
95
|
+
return (0, better_dni_1.isValid)(String(control.value) || "");
|
|
96
96
|
},
|
|
97
|
-
message: "El
|
|
98
|
-
label: "
|
|
97
|
+
message: "El dni no es válido",
|
|
98
|
+
label: "Identificación España (DNI, NIF, NIE)",
|
|
99
99
|
},
|
|
100
100
|
ine: {
|
|
101
101
|
fn: () => (control) => {
|
|
102
102
|
return true;
|
|
103
103
|
},
|
|
104
104
|
message: "El INE no es válido",
|
|
105
|
-
label: "
|
|
105
|
+
label: "Identificación México (INE)",
|
|
106
106
|
},
|
|
107
107
|
rfc: {
|
|
108
108
|
fn: () => (control) => {
|
|
109
109
|
return true;
|
|
110
110
|
},
|
|
111
111
|
message: "El RFC no es válido",
|
|
112
|
-
label: "Identificador (RFC)",
|
|
112
|
+
label: "Identificador México (RFC)",
|
|
113
113
|
},
|
|
114
114
|
};
|
|
115
115
|
var PropValidatorKeys;
|
package/package.json
CHANGED