@win2win/shared 1.0.248 → 1.0.250
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.
|
@@ -131,7 +131,7 @@ export declare const TEMPLATES: Readonly<{
|
|
|
131
131
|
readonly "ecommerce-banner": {
|
|
132
132
|
readonly label: "Banner para Ecommerce";
|
|
133
133
|
readonly params: readonly ["title", "text", "background", "image", "height", "custom", "button"];
|
|
134
|
-
readonly variants: readonly ["default", "text-image", "text-centered", "text-image-background", "contact"];
|
|
134
|
+
readonly variants: readonly ["default", "text-image", "text-centered", "text-image-background", "button-image-background", "contact"];
|
|
135
135
|
};
|
|
136
136
|
readonly "ecommerce-filters": {
|
|
137
137
|
readonly label: "Filtros para Ecommerce";
|
|
@@ -104,6 +104,13 @@ exports.GamaPropValidatorsMap = {
|
|
|
104
104
|
message: "El INE no es válido",
|
|
105
105
|
label: "Identificación México (INE)",
|
|
106
106
|
},
|
|
107
|
+
curp: {
|
|
108
|
+
fn: () => (control) => {
|
|
109
|
+
return true;
|
|
110
|
+
},
|
|
111
|
+
message: "El CURP no es válido",
|
|
112
|
+
label: "Identificación México (CURP)",
|
|
113
|
+
},
|
|
107
114
|
rfc: {
|
|
108
115
|
fn: () => (control) => {
|
|
109
116
|
return true;
|
|
@@ -126,5 +133,6 @@ var PropValidatorKeys;
|
|
|
126
133
|
// ID México
|
|
127
134
|
PropValidatorKeys["INE"] = "ine";
|
|
128
135
|
PropValidatorKeys["RFC"] = "rfc";
|
|
136
|
+
PropValidatorKeys["CURP"] = "curp";
|
|
129
137
|
})(PropValidatorKeys || (exports.PropValidatorKeys = PropValidatorKeys = {}));
|
|
130
138
|
exports.VALIDATORS = Object.entries(exports.GamaPropValidatorsMap).map(([key, value]) => ({ value: key, ...value }));
|
package/package.json
CHANGED