@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
- dni: {
82
+ iban: {
83
83
  fn: () => (control) => {
84
84
  if (!control.value)
85
85
  return true;
86
- return (0, better_dni_1.isValid)(String(control.value) || "");
86
+ return iban.isValid(String(control.value) || "");
87
87
  },
88
- message: "El dni no es válido",
89
- label: "Identificación (DNI, NIF, NIE)",
88
+ message: "El IBAN no es válido",
89
+ label: "Cuenta Bancaria (IBAN)",
90
90
  },
91
- iban: {
91
+ dni: {
92
92
  fn: () => (control) => {
93
93
  if (!control.value)
94
94
  return true;
95
- return iban.isValid(String(control.value) || "");
95
+ return (0, better_dni_1.isValid)(String(control.value) || "");
96
96
  },
97
- message: "El IBAN no es válido",
98
- label: "Cuenta Bancaria (IBAN)",
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: "Identificador (INE)",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.114",
3
+ "version": "1.0.116",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",