@win2win/shared 1.0.115 → 1.0.117
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.
|
@@ -102,15 +102,15 @@ exports.GamaPropValidatorsMap = {
|
|
|
102
102
|
return true;
|
|
103
103
|
},
|
|
104
104
|
message: "El INE no es válido",
|
|
105
|
-
label: "Identificación México (INE
|
|
105
|
+
label: "Identificación México (INE)",
|
|
106
|
+
},
|
|
107
|
+
rfc: {
|
|
108
|
+
fn: () => (control) => {
|
|
109
|
+
return true;
|
|
110
|
+
},
|
|
111
|
+
message: "El RFC no es válido",
|
|
112
|
+
label: "Identificador México (RFC)",
|
|
106
113
|
},
|
|
107
|
-
// rfc: {
|
|
108
|
-
// fn: () => (control: GamaPropModel) => {
|
|
109
|
-
// return true
|
|
110
|
-
// },
|
|
111
|
-
// message: "El RFC no es válido",
|
|
112
|
-
// label: "Identificador (RFC)",
|
|
113
|
-
// },
|
|
114
114
|
};
|
|
115
115
|
var PropValidatorKeys;
|
|
116
116
|
(function (PropValidatorKeys) {
|
|
@@ -125,6 +125,6 @@ var PropValidatorKeys;
|
|
|
125
125
|
PropValidatorKeys["IBAN"] = "iban";
|
|
126
126
|
// ID México
|
|
127
127
|
PropValidatorKeys["INE"] = "ine";
|
|
128
|
-
|
|
128
|
+
PropValidatorKeys["RFC"] = "rfc";
|
|
129
129
|
})(PropValidatorKeys || (exports.PropValidatorKeys = PropValidatorKeys = {}));
|
|
130
130
|
exports.VALIDATORS = Object.entries(exports.GamaPropValidatorsMap).map(([key, value]) => ({ value: key, ...value }));
|
package/package.json
CHANGED