@seedgrid/fe-components 2026.3.3-1 → 2026.3.3-11

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.
@@ -0,0 +1,5 @@
1
+ declare const blockedEmailDomains: {
2
+ blockedEmailDomains: string[];
3
+ };
4
+ export default blockedEmailDomains;
5
+ //# sourceMappingURL=blocked-email-domains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blocked-email-domains.d.ts","sourceRoot":"","sources":["../src/blocked-email-domains.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,mBAAmB,EAAE;IAAE,mBAAmB,EAAE,MAAM,EAAE,CAAA;CAwCzD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,5 @@
1
- {
2
- "blockedEmailDomains": [
1
+ const blockedEmailDomains = {
2
+ blockedEmailDomains: [
3
3
  "yopmail.com",
4
4
  "yopmail.fr",
5
5
  "yopmail.net",
@@ -38,4 +38,5 @@
38
38
  "moakt.com",
39
39
  "mintemail.com"
40
40
  ]
41
- }
41
+ };
42
+ export default blockedEmailDomains;
@@ -1 +1 @@
1
- {"version":3,"file":"SgButton.d.ts","sourceRoot":"","sources":["../../src/buttons/SgButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,QAAQ,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,MAAM,GACN,SAAS,GACT,MAAM,GACN,QAAQ,CAAC;AAEb,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/B,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzD,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG;IACjC,E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gB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,oBAAoB,GAC5B,QAAQ,CAAC,oBAAoB,CAAC,CAYhC;AAoDD,eAAO,MAAM,QAAQ;eAnJR,QAAQ;iBACN,UAAU;WAChB,IAAI;YACH,KAAK;gBACD,SAAS;eACV,OAAO;eACP,KAAK,CAAC,SAAS;gBACd,KAAK,CAAC,SAAS;cACjB,OAAO;mBACF,oBAAoB;2CAiNpC,CAAC"}
@@ -56,9 +56,9 @@ const PRESET = {
56
56
  },
57
57
  };
58
58
  const SIZE = {
59
- sm: { h: "h-8", px: "px-3", text: "text-sm", gap: "gap-2", icon: "size-4", radius: "rounded-md" },
60
- md: { h: "h-10", px: "px-4", text: "text-sm", gap: "gap-2", icon: "size-4", radius: "rounded-lg" },
61
- lg: { h: "h-12", px: "px-5", text: "text-base", gap: "gap-2.5", icon: "size-5", radius: "rounded-xl" }
59
+ sm: { h: "h-8", minH: "min-h-8", py: "py-1.5", px: "px-3", text: "text-sm", gap: "gap-2", icon: "size-4", radius: "rounded-md" },
60
+ md: { h: "h-10", minH: "min-h-10", py: "py-2", px: "px-4", text: "text-sm", gap: "gap-2", icon: "size-4", radius: "rounded-lg" },
61
+ lg: { h: "h-12", minH: "min-h-12", py: "py-2.5", px: "px-5", text: "text-base", gap: "gap-2.5", icon: "size-5", radius: "rounded-xl" }
62
62
  };
63
63
  export function resolveButtonColors(severity, custom) {
64
64
  const base = PRESET[severity];
@@ -115,7 +115,8 @@ export const SgButton = React.forwardRef(({ severity = "primary", appearance = "
115
115
  const resolvedSize = size ?? (isIconOnly ? "sm" : "md");
116
116
  const resolvedShape = shape ?? (isIconOnly ? "circle" : "default");
117
117
  const s = SIZE[resolvedSize];
118
- return (_jsx("button", { ref: ref, type: type, disabled: isDisabled, style: { ...buildVars(severity, customColors), ...style }, className: cn("inline-flex items-center justify-center select-none whitespace-nowrap", "font-medium", "transition-[background-color,color,border-color,box-shadow,transform] duration-150", "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--sg-btn-ring)]", "disabled:opacity-60 disabled:cursor-not-allowed", s.h, isIconOnly ? "aspect-square" : s.px, s.text, s.gap, resolvedShape === "rounded" ? "rounded-full" : resolvedShape === "circle" ? "rounded-full" : resolvedShape === "square" ? "rounded-none" : s.radius, appearanceClass(appearance), elevationClass(elevation), !isDisabled ? "active:translate-y-[0.5px]" : false, className), ...rest, children: loading ? (_jsxs("span", { className: cn("inline-flex items-center", s.gap), children: [_jsx(Spinner, { className: s.icon }), children ? _jsx("span", { children: children }) : null] })) : (_jsxs("span", { className: cn("inline-flex items-center", s.gap), children: [leftIcon ? _jsx("span", { className: cn("shrink-0", s.icon), children: leftIcon }) : null, children ? _jsx("span", { children: children }) : null, rightIcon ? _jsx("span", { className: cn("shrink-0", s.icon), children: rightIcon }) : null] })) }));
118
+ const contentClass = cn("inline-flex min-w-0 items-center justify-center", !isIconOnly ? "w-full" : undefined, s.gap);
119
+ return (_jsx("button", { ref: ref, type: type, disabled: isDisabled, style: { ...buildVars(severity, customColors), ...style }, className: cn("inline-flex min-w-0 max-w-full items-center justify-center select-none whitespace-normal break-words text-center", "font-medium", "transition-[background-color,color,border-color,box-shadow,transform] duration-150", "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--sg-btn-ring)]", "disabled:opacity-60 disabled:cursor-not-allowed", isIconOnly ? cn("aspect-square", s.h) : cn(s.minH, s.py, s.px), s.text, resolvedShape === "rounded" ? "rounded-full" : resolvedShape === "circle" ? "rounded-full" : resolvedShape === "square" ? "rounded-none" : s.radius, appearanceClass(appearance), elevationClass(elevation), !isDisabled ? "active:translate-y-[0.5px]" : false, className), ...rest, children: loading ? (_jsxs("span", { className: contentClass, children: [_jsx(Spinner, { className: s.icon }), children ? _jsx("span", { className: "min-w-0 whitespace-normal break-words", children: children }) : null] })) : (_jsxs("span", { className: contentClass, children: [leftIcon ? _jsx("span", { className: cn("shrink-0", s.icon), children: leftIcon }) : null, children ? _jsx("span", { className: "min-w-0 whitespace-normal break-words", children: children }) : null, rightIcon ? _jsx("span", { className: cn("shrink-0", s.icon), children: rightIcon }) : null] })) }));
119
120
  });
120
121
  SgButton.displayName = "SgButton";
121
122
  function Spinner({ className }) {
@@ -0,0 +1,3 @@
1
+ declare const enUS: Record<string, string>;
2
+ export default enUS;
3
+ //# sourceMappingURL=en-US.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../src/i18n/en-US.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmFhC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- {
1
+ const enUS = {
2
2
  "components.actions.clear": "Clear",
3
3
  "components.wizard.next": "Next",
4
4
  "components.wizard.previous": "Previous",
@@ -81,4 +81,5 @@
81
81
  "components.rating.required": "Please provide a rating",
82
82
  "components.rating.cancel": "Cancel rating",
83
83
  "components.radiogroup.cancel": "No option"
84
- }
84
+ };
85
+ export default enUS;
@@ -0,0 +1,3 @@
1
+ declare const es: Record<string, string>;
2
+ export default es;
3
+ //# sourceMappingURL=es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18n/es.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmF9B,CAAC;AAEF,eAAe,EAAE,CAAC"}
@@ -0,0 +1,85 @@
1
+ const es = {
2
+ "components.actions.clear": "Limpiar",
3
+ "components.wizard.next": "Siguiente",
4
+ "components.wizard.previous": "Anterior",
5
+ "components.wizard.finish": "Finalizar",
6
+ "components.password.show": "Mostrar contraseña",
7
+ "components.password.hide": "Ocultar contraseña",
8
+ "components.password.generate": "Generar contraseña",
9
+ "components.password.common": "La contraseña es muy común. Elige una más fuerte.",
10
+ "components.password.minSize": "Mínimo {min} caracteres.",
11
+ "components.password.upper": "Al menos 1 letra mayúscula.",
12
+ "components.password.lower": "Al menos 1 letra minúscula.",
13
+ "components.password.number": "Al menos 1 número.",
14
+ "components.password.special": "Al menos 1 carácter especial.",
15
+ "components.password.noRepeat": "No repetir caracteres en secuencia.",
16
+ "components.password.noSeqAsc": "No usar secuencias crecientes (ej: 1234, abcd).",
17
+ "components.password.noSeqDesc": "No usar secuencias decrecientes (ej: 4321, dcba).",
18
+ "components.inputs.required": "Campo obligatorio.",
19
+ "components.inputs.maxLength": "El campo debe tener como máximo {max} letra(s).",
20
+ "components.inputs.minLength": "El campo debe tener al menos {min} letra(s).",
21
+ "components.inputs.minWords": "El campo debe tener al menos {min} palabra(s).",
22
+ "components.inputs.textarea.required": "Este campo es obligatorio.",
23
+ "components.inputs.textarea.maxLength": "El texto debe tener como máximo {max} letra(s).",
24
+ "components.inputs.textarea.minLength": "El texto debe tener al menos {min} letra(s).",
25
+ "components.inputs.textarea.minWords": "El texto debe tener al menos {min} palabra(s).",
26
+ "components.inputs.textarea.minLines": "El texto debe tener al menos {min} linea(s).",
27
+ "components.inputs.cpf.length": "El CPF debe tener 11 dígitos.",
28
+ "components.inputs.cpf.invalid": "CPF inválido.",
29
+ "components.inputs.cnpj.length": "El CNPJ debe tener 14 dígitos.",
30
+ "components.inputs.cnpj.invalid": "CNPJ inválido.",
31
+ "components.inputs.postalCode.BR.length": "El CEP debe tener 8 dígitos.",
32
+ "components.inputs.postalCode.BR.invalid": "CEP inválido.",
33
+ "components.inputs.postalCode.PT.length": "El código postal debe tener 7 dígitos.",
34
+ "components.inputs.postalCode.PT.invalid": "Código postal inválido.",
35
+ "components.inputs.postalCode.US.length": "El ZIP code debe tener 5 o 9 dígitos.",
36
+ "components.inputs.postalCode.US.invalid": "ZIP code inválido.",
37
+ "components.inputs.postalCode.ES.length": "El código postal debe tener 5 dígitos.",
38
+ "components.inputs.postalCode.ES.invalid": "Código postal inválido.",
39
+ "components.inputs.postalCode.UY.length": "El código postal debe tener 5 dígitos.",
40
+ "components.inputs.postalCode.UY.invalid": "Código postal inválido.",
41
+ "components.inputs.postalCode.AR.length": "El código postal debe tener 4 u 8 caracteres.",
42
+ "components.inputs.postalCode.AR.invalid": "Código postal inválido.",
43
+ "components.inputs.postalCode.PY.length": "El código postal debe tener 6 dígitos.",
44
+ "components.inputs.postalCode.PY.invalid": "Código postal inválido.",
45
+ "components.inputs.phone.invalid": "Teléfono inválido.",
46
+ "components.inputs.email.invalid": "Email inválido.",
47
+ "components.inputs.email.tempInvalid": "Email temporal inválido.",
48
+ "components.inputs.date.invalid": "Fecha inválida.",
49
+ "components.inputs.date.range": "La fecha debe estar entre {min} y {max}.",
50
+ "components.inputs.date.min": "La fecha debe ser a partir de {min}.",
51
+ "components.inputs.date.max": "La fecha debe ser hasta {max}.",
52
+ "components.inputs.birthdate.required": "Informe la fecha de nacimiento.",
53
+ "components.validators.password.empty": "La contraseña no puede estar vacía.",
54
+ "components.validators.password.minSize": "mínimo de {min} caracteres",
55
+ "components.validators.password.upper": "debe contener letra mayúscula",
56
+ "components.validators.password.lower": "debe contener letra minúscula",
57
+ "components.validators.password.number": "debe contener número",
58
+ "components.validators.password.special": "debe contener carácter especial",
59
+ "components.validators.password.sequence": "no puede contener secuencias (ej.: abc, 123)",
60
+ "components.validators.password.repeated": "no puede contener caracteres repetidos en serie (ej.: aaa, 1111)",
61
+ "components.validators.password.invalid": "Contraseña inválida: {reasons}",
62
+ "components.validators.birthdate.configMissing": "Configuración inválida: informe minAge y/o maxAge.",
63
+ "components.validators.birthdate.configRange": "Configuración inválida: minAge debe ser <= maxAge.",
64
+ "components.validators.birthdate.invalidDate": "Fecha inválida.",
65
+ "components.validators.birthdate.ageBetween": "La edad debe estar entre {min} y {max} años.",
66
+ "components.validators.birthdate.ageMin": "La edad debe ser al menos {min} años.",
67
+ "components.validators.birthdate.ageMax": "La edad debe ser como máximo {max} años.",
68
+ "components.autocomplete.empty": "No se encontraron registros.",
69
+ "components.autocomplete.loading": "Cargando...",
70
+ "components.inputs.number.min": "El valor debe ser al menos {min}.",
71
+ "components.inputs.number.max": "El valor debe ser como máximo {max}.",
72
+ "components.fab.resetConfirm": "¿Restablecer la posición del botón?",
73
+ "components.fab.resetPosition": "Restablecer posición",
74
+ "components.fab.yes": "Sí",
75
+ "components.fab.no": "No",
76
+ "components.dock.resetPosition": "Restablecer posición",
77
+ "components.dock.resetConfirm": "¿Está seguro de que desea restablecer la posición del dock al valor predeterminado?",
78
+ "components.dock.dropHere": "Suelta aquí",
79
+ "components.actions.cancel": "Cancelar",
80
+ "components.actions.confirm": "Confirmar",
81
+ "components.rating.required": "Por favor, proporcione una calificación",
82
+ "components.rating.cancel": "Cancelar calificación",
83
+ "components.radiogroup.cancel": "Ninguna opción"
84
+ };
85
+ export default es;
@@ -21,340 +21,8 @@ export declare function SgComponentsI18nProvider(props: {
21
21
  export declare function useComponentsI18n(): SgComponentsI18n;
22
22
  export declare function formatMessage(template: string, params?: Record<string, string | number>): string;
23
23
  export declare function t(i18n: SgComponentsI18n | null | undefined, key: string, params?: Record<string, string | number>): string;
24
- export declare const componentsMessagesPtBr: {
25
- "components.actions.clear": string;
26
- "components.wizard.next": string;
27
- "components.wizard.previous": string;
28
- "components.wizard.finish": string;
29
- "components.password.show": string;
30
- "components.password.hide": string;
31
- "components.password.generate": string;
32
- "components.password.common": string;
33
- "components.password.minSize": string;
34
- "components.password.upper": string;
35
- "components.password.lower": string;
36
- "components.password.number": string;
37
- "components.password.special": string;
38
- "components.password.noRepeat": string;
39
- "components.password.noSeqAsc": string;
40
- "components.password.noSeqDesc": string;
41
- "components.inputs.required": string;
42
- "components.inputs.maxLength": string;
43
- "components.inputs.minLength": string;
44
- "components.inputs.minWords": string;
45
- "components.inputs.textarea.required": string;
46
- "components.inputs.textarea.maxLength": string;
47
- "components.inputs.textarea.minLength": string;
48
- "components.inputs.textarea.minWords": string;
49
- "components.inputs.textarea.minLines": string;
50
- "components.inputs.cpf.length": string;
51
- "components.inputs.cpf.invalid": string;
52
- "components.inputs.cnpj.length": string;
53
- "components.inputs.cnpj.invalid": string;
54
- "components.inputs.postalCode.BR.length": string;
55
- "components.inputs.postalCode.BR.invalid": string;
56
- "components.inputs.postalCode.PT.length": string;
57
- "components.inputs.postalCode.PT.invalid": string;
58
- "components.inputs.postalCode.US.length": string;
59
- "components.inputs.postalCode.US.invalid": string;
60
- "components.inputs.postalCode.ES.length": string;
61
- "components.inputs.postalCode.ES.invalid": string;
62
- "components.inputs.postalCode.UY.length": string;
63
- "components.inputs.postalCode.UY.invalid": string;
64
- "components.inputs.postalCode.AR.length": string;
65
- "components.inputs.postalCode.AR.invalid": string;
66
- "components.inputs.postalCode.PY.length": string;
67
- "components.inputs.postalCode.PY.invalid": string;
68
- "components.inputs.phone.invalid": string;
69
- "components.inputs.email.invalid": string;
70
- "components.inputs.email.tempInvalid": string;
71
- "components.inputs.date.invalid": string;
72
- "components.inputs.date.range": string;
73
- "components.inputs.date.min": string;
74
- "components.inputs.date.max": string;
75
- "components.inputs.birthdate.required": string;
76
- "components.validators.password.empty": string;
77
- "components.validators.password.minSize": string;
78
- "components.validators.password.upper": string;
79
- "components.validators.password.lower": string;
80
- "components.validators.password.number": string;
81
- "components.validators.password.special": string;
82
- "components.validators.password.sequence": string;
83
- "components.validators.password.repeated": string;
84
- "components.validators.password.invalid": string;
85
- "components.validators.birthdate.configMissing": string;
86
- "components.validators.birthdate.configRange": string;
87
- "components.validators.birthdate.invalidDate": string;
88
- "components.validators.birthdate.ageBetween": string;
89
- "components.validators.birthdate.ageMin": string;
90
- "components.validators.birthdate.ageMax": string;
91
- "components.autocomplete.empty": string;
92
- "components.autocomplete.loading": string;
93
- "components.inputs.number.min": string;
94
- "components.inputs.number.max": string;
95
- "components.fab.resetConfirm": string;
96
- "components.fab.resetPosition": string;
97
- "components.fab.yes": string;
98
- "components.fab.no": string;
99
- "components.dock.resetPosition": string;
100
- "components.dock.resetConfirm": string;
101
- "components.dock.dropHere": string;
102
- "components.actions.cancel": string;
103
- "components.actions.confirm": string;
104
- "components.rating.required": string;
105
- "components.rating.cancel": string;
106
- "components.radiogroup.cancel": string;
107
- };
108
- export declare const componentsMessagesPtPt: {
109
- "components.actions.clear": string;
110
- "components.wizard.next": string;
111
- "components.wizard.previous": string;
112
- "components.wizard.finish": string;
113
- "components.password.show": string;
114
- "components.password.hide": string;
115
- "components.password.generate": string;
116
- "components.password.common": string;
117
- "components.password.minSize": string;
118
- "components.password.upper": string;
119
- "components.password.lower": string;
120
- "components.password.number": string;
121
- "components.password.special": string;
122
- "components.password.noRepeat": string;
123
- "components.password.noSeqAsc": string;
124
- "components.password.noSeqDesc": string;
125
- "components.inputs.required": string;
126
- "components.inputs.maxLength": string;
127
- "components.inputs.minLength": string;
128
- "components.inputs.minWords": string;
129
- "components.inputs.textarea.required": string;
130
- "components.inputs.textarea.maxLength": string;
131
- "components.inputs.textarea.minLength": string;
132
- "components.inputs.textarea.minWords": string;
133
- "components.inputs.textarea.minLines": string;
134
- "components.inputs.cpf.length": string;
135
- "components.inputs.cpf.invalid": string;
136
- "components.inputs.cnpj.length": string;
137
- "components.inputs.cnpj.invalid": string;
138
- "components.inputs.postalCode.BR.length": string;
139
- "components.inputs.postalCode.BR.invalid": string;
140
- "components.inputs.postalCode.PT.length": string;
141
- "components.inputs.postalCode.PT.invalid": string;
142
- "components.inputs.postalCode.US.length": string;
143
- "components.inputs.postalCode.US.invalid": string;
144
- "components.inputs.postalCode.ES.length": string;
145
- "components.inputs.postalCode.ES.invalid": string;
146
- "components.inputs.postalCode.UY.length": string;
147
- "components.inputs.postalCode.UY.invalid": string;
148
- "components.inputs.postalCode.AR.length": string;
149
- "components.inputs.postalCode.AR.invalid": string;
150
- "components.inputs.postalCode.PY.length": string;
151
- "components.inputs.postalCode.PY.invalid": string;
152
- "components.inputs.phone.invalid": string;
153
- "components.inputs.email.invalid": string;
154
- "components.inputs.email.tempInvalid": string;
155
- "components.inputs.date.invalid": string;
156
- "components.inputs.date.range": string;
157
- "components.inputs.date.min": string;
158
- "components.inputs.date.max": string;
159
- "components.inputs.birthdate.required": string;
160
- "components.validators.password.empty": string;
161
- "components.validators.password.minSize": string;
162
- "components.validators.password.upper": string;
163
- "components.validators.password.lower": string;
164
- "components.validators.password.number": string;
165
- "components.validators.password.special": string;
166
- "components.validators.password.sequence": string;
167
- "components.validators.password.repeated": string;
168
- "components.validators.password.invalid": string;
169
- "components.validators.birthdate.configMissing": string;
170
- "components.validators.birthdate.configRange": string;
171
- "components.validators.birthdate.invalidDate": string;
172
- "components.validators.birthdate.ageBetween": string;
173
- "components.validators.birthdate.ageMin": string;
174
- "components.validators.birthdate.ageMax": string;
175
- "components.autocomplete.empty": string;
176
- "components.autocomplete.loading": string;
177
- "components.inputs.number.min": string;
178
- "components.inputs.number.max": string;
179
- "components.fab.resetConfirm": string;
180
- "components.fab.resetPosition": string;
181
- "components.fab.yes": string;
182
- "components.fab.no": string;
183
- "components.dock.resetPosition": string;
184
- "components.dock.resetConfirm": string;
185
- "components.dock.dropHere": string;
186
- "components.actions.cancel": string;
187
- "components.actions.confirm": string;
188
- "components.rating.required": string;
189
- "components.rating.cancel": string;
190
- "components.radiogroup.cancel": string;
191
- };
192
- export declare const componentsMessagesEnUs: {
193
- "components.actions.clear": string;
194
- "components.wizard.next": string;
195
- "components.wizard.previous": string;
196
- "components.wizard.finish": string;
197
- "components.password.show": string;
198
- "components.password.hide": string;
199
- "components.password.generate": string;
200
- "components.password.common": string;
201
- "components.password.minSize": string;
202
- "components.password.upper": string;
203
- "components.password.lower": string;
204
- "components.password.number": string;
205
- "components.password.special": string;
206
- "components.password.noRepeat": string;
207
- "components.password.noSeqAsc": string;
208
- "components.password.noSeqDesc": string;
209
- "components.inputs.required": string;
210
- "components.inputs.maxLength": string;
211
- "components.inputs.minLength": string;
212
- "components.inputs.minWords": string;
213
- "components.inputs.textarea.required": string;
214
- "components.inputs.textarea.maxLength": string;
215
- "components.inputs.textarea.minLength": string;
216
- "components.inputs.textarea.minWords": string;
217
- "components.inputs.textarea.minLines": string;
218
- "components.inputs.cpf.length": string;
219
- "components.inputs.cpf.invalid": string;
220
- "components.inputs.cnpj.length": string;
221
- "components.inputs.cnpj.invalid": string;
222
- "components.inputs.postalCode.BR.length": string;
223
- "components.inputs.postalCode.BR.invalid": string;
224
- "components.inputs.postalCode.PT.length": string;
225
- "components.inputs.postalCode.PT.invalid": string;
226
- "components.inputs.postalCode.US.length": string;
227
- "components.inputs.postalCode.US.invalid": string;
228
- "components.inputs.postalCode.ES.length": string;
229
- "components.inputs.postalCode.ES.invalid": string;
230
- "components.inputs.postalCode.UY.length": string;
231
- "components.inputs.postalCode.UY.invalid": string;
232
- "components.inputs.postalCode.AR.length": string;
233
- "components.inputs.postalCode.AR.invalid": string;
234
- "components.inputs.postalCode.PY.length": string;
235
- "components.inputs.postalCode.PY.invalid": string;
236
- "components.inputs.phone.invalid": string;
237
- "components.inputs.email.invalid": string;
238
- "components.inputs.email.tempInvalid": string;
239
- "components.inputs.date.invalid": string;
240
- "components.inputs.date.range": string;
241
- "components.inputs.date.min": string;
242
- "components.inputs.date.max": string;
243
- "components.inputs.birthdate.required": string;
244
- "components.validators.password.empty": string;
245
- "components.validators.password.minSize": string;
246
- "components.validators.password.upper": string;
247
- "components.validators.password.lower": string;
248
- "components.validators.password.number": string;
249
- "components.validators.password.special": string;
250
- "components.validators.password.sequence": string;
251
- "components.validators.password.repeated": string;
252
- "components.validators.password.invalid": string;
253
- "components.validators.birthdate.configMissing": string;
254
- "components.validators.birthdate.configRange": string;
255
- "components.validators.birthdate.invalidDate": string;
256
- "components.validators.birthdate.ageBetween": string;
257
- "components.validators.birthdate.ageMin": string;
258
- "components.validators.birthdate.ageMax": string;
259
- "components.autocomplete.empty": string;
260
- "components.autocomplete.loading": string;
261
- "components.inputs.number.min": string;
262
- "components.inputs.number.max": string;
263
- "components.fab.resetConfirm": string;
264
- "components.fab.resetPosition": string;
265
- "components.fab.yes": string;
266
- "components.fab.no": string;
267
- "components.dock.resetPosition": string;
268
- "components.dock.resetConfirm": string;
269
- "components.dock.dropHere": string;
270
- "components.actions.cancel": string;
271
- "components.actions.confirm": string;
272
- "components.rating.required": string;
273
- "components.rating.cancel": string;
274
- "components.radiogroup.cancel": string;
275
- };
276
- export declare const componentsMessagesEs: {
277
- "components.actions.clear": string;
278
- "components.wizard.next": string;
279
- "components.wizard.previous": string;
280
- "components.wizard.finish": string;
281
- "components.password.show": string;
282
- "components.password.hide": string;
283
- "components.password.generate": string;
284
- "components.password.common": string;
285
- "components.password.minSize": string;
286
- "components.password.upper": string;
287
- "components.password.lower": string;
288
- "components.password.number": string;
289
- "components.password.special": string;
290
- "components.password.noRepeat": string;
291
- "components.password.noSeqAsc": string;
292
- "components.password.noSeqDesc": string;
293
- "components.inputs.required": string;
294
- "components.inputs.maxLength": string;
295
- "components.inputs.minLength": string;
296
- "components.inputs.minWords": string;
297
- "components.inputs.textarea.required": string;
298
- "components.inputs.textarea.maxLength": string;
299
- "components.inputs.textarea.minLength": string;
300
- "components.inputs.textarea.minWords": string;
301
- "components.inputs.textarea.minLines": string;
302
- "components.inputs.cpf.length": string;
303
- "components.inputs.cpf.invalid": string;
304
- "components.inputs.cnpj.length": string;
305
- "components.inputs.cnpj.invalid": string;
306
- "components.inputs.postalCode.BR.length": string;
307
- "components.inputs.postalCode.BR.invalid": string;
308
- "components.inputs.postalCode.PT.length": string;
309
- "components.inputs.postalCode.PT.invalid": string;
310
- "components.inputs.postalCode.US.length": string;
311
- "components.inputs.postalCode.US.invalid": string;
312
- "components.inputs.postalCode.ES.length": string;
313
- "components.inputs.postalCode.ES.invalid": string;
314
- "components.inputs.postalCode.UY.length": string;
315
- "components.inputs.postalCode.UY.invalid": string;
316
- "components.inputs.postalCode.AR.length": string;
317
- "components.inputs.postalCode.AR.invalid": string;
318
- "components.inputs.postalCode.PY.length": string;
319
- "components.inputs.postalCode.PY.invalid": string;
320
- "components.inputs.phone.invalid": string;
321
- "components.inputs.email.invalid": string;
322
- "components.inputs.email.tempInvalid": string;
323
- "components.inputs.date.invalid": string;
324
- "components.inputs.date.range": string;
325
- "components.inputs.date.min": string;
326
- "components.inputs.date.max": string;
327
- "components.inputs.birthdate.required": string;
328
- "components.validators.password.empty": string;
329
- "components.validators.password.minSize": string;
330
- "components.validators.password.upper": string;
331
- "components.validators.password.lower": string;
332
- "components.validators.password.number": string;
333
- "components.validators.password.special": string;
334
- "components.validators.password.sequence": string;
335
- "components.validators.password.repeated": string;
336
- "components.validators.password.invalid": string;
337
- "components.validators.birthdate.configMissing": string;
338
- "components.validators.birthdate.configRange": string;
339
- "components.validators.birthdate.invalidDate": string;
340
- "components.validators.birthdate.ageBetween": string;
341
- "components.validators.birthdate.ageMin": string;
342
- "components.validators.birthdate.ageMax": string;
343
- "components.autocomplete.empty": string;
344
- "components.autocomplete.loading": string;
345
- "components.inputs.number.min": string;
346
- "components.inputs.number.max": string;
347
- "components.fab.resetConfirm": string;
348
- "components.fab.resetPosition": string;
349
- "components.fab.yes": string;
350
- "components.fab.no": string;
351
- "components.dock.resetPosition": string;
352
- "components.dock.resetConfirm": string;
353
- "components.dock.dropHere": string;
354
- "components.actions.cancel": string;
355
- "components.actions.confirm": string;
356
- "components.rating.required": string;
357
- "components.rating.cancel": string;
358
- "components.radiogroup.cancel": string;
359
- };
24
+ export declare const componentsMessagesPtBr: Record<string, string>;
25
+ export declare const componentsMessagesPtPt: Record<string, string>;
26
+ export declare const componentsMessagesEnUs: Record<string, string>;
27
+ export declare const componentsMessagesEs: Record<string, string>;
360
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEpF,MAAM,MAAM,oBA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AgB,CAOrF;AAID,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,CAAC,EAAE,oBAAoB,GAAG,+BAA+B,CAAC;IAClE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,gFAUA;AAED,wBAAgB,iBAAiB,IAAI,gBAAgB,CAEpD;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAMhG;AAED,wBAAgB,CAAC,CACf,IAAI,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACvC,MAAM,CAIR;AAED,eAAO,MAAM,sBAAsB,wBAAO,CAAC;AAC3C,eAAO,MAAM,sBAAsB,wBAAO,CAAC;AAC3C,eAAO,MAAM,sBAAsB,wBAAO,CAAC;AAC3C,eAAO,MAAM,oBAAoB,wBAAK,CAAC"}
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import React from "react";
3
- import ptBr from "./pt-BR.json";
4
- import ptPt from "./pt-PT.json";
5
- import enUs from "./en-US.json";
6
- import es from "./es.json";
3
+ import ptBr from "./pt-BR.js";
4
+ import ptPt from "./pt-PT.js";
5
+ import enUs from "./en-US.js";
6
+ import es from "./es.js";
7
7
  const DEFAULT_I18N = {
8
8
  locale: "pt-BR",
9
9
  messages: ptBr
@@ -0,0 +1,3 @@
1
+ declare const ptBR: Record<string, string>;
2
+ export default ptBR;
3
+ //# sourceMappingURL=pt-BR.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt-BR.d.ts","sourceRoot":"","sources":["../../src/i18n/pt-BR.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmFhC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- {
1
+ const ptBR = {
2
2
  "components.actions.clear": "Limpar",
3
3
  "components.wizard.next": "Próximo",
4
4
  "components.wizard.previous": "Anterior",
@@ -67,18 +67,19 @@
67
67
  "components.validators.birthdate.ageMax": "A idade deve ser de no máximo {max} anos.",
68
68
  "components.autocomplete.empty": "Nenhum registro encontrado.",
69
69
  "components.autocomplete.loading": "Carregando...",
70
- "components.inputs.number.min": "Valor deve ser no m\u00ednimo {min}.",
71
- "components.inputs.number.max": "Valor deve ser no m\u00e1ximo {max}.",
72
- "components.fab.resetConfirm": "Resetar posi\u00e7\u00e3o do bot\u00e3o?",
73
- "components.fab.resetPosition": "Resetar posi\u00e7\u00e3o",
70
+ "components.inputs.number.min": "Valor deve ser no mínimo {min}.",
71
+ "components.inputs.number.max": "Valor deve ser no máximo {max}.",
72
+ "components.fab.resetConfirm": "Resetar posição do botão?",
73
+ "components.fab.resetPosition": "Resetar posição",
74
74
  "components.fab.yes": "Sim",
75
- "components.fab.no": "N\u00e3o",
76
- "components.dock.resetPosition": "Resetar posi\u00e7\u00e3o",
77
- "components.dock.resetConfirm": "Tem certeza que deseja resetar a posi\u00e7\u00e3o do dock para o padr\u00e3o?",
75
+ "components.fab.no": "Não",
76
+ "components.dock.resetPosition": "Resetar posição",
77
+ "components.dock.resetConfirm": "Tem certeza que deseja resetar a posição do dock para o padrão?",
78
78
  "components.dock.dropHere": "Solte aqui",
79
79
  "components.actions.cancel": "Cancelar",
80
80
  "components.actions.confirm": "Confirmar",
81
- "components.rating.required": "Por favor, forne\u00e7a uma avalia\u00e7\u00e3o",
82
- "components.rating.cancel": "Cancelar avalia\u00e7\u00e3o",
83
- "components.radiogroup.cancel": "Nenhuma op\u00e7\u00e3o"
84
- }
81
+ "components.rating.required": "Por favor, forneça uma avaliação",
82
+ "components.rating.cancel": "Cancelar avaliação",
83
+ "components.radiogroup.cancel": "Nenhuma opção"
84
+ };
85
+ export default ptBR;
@@ -0,0 +1,3 @@
1
+ declare const ptPT: Record<string, string>;
2
+ export default ptPT;
3
+ //# sourceMappingURL=pt-PT.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt-PT.d.ts","sourceRoot":"","sources":["../../src/i18n/pt-PT.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmFhC,CAAC;AAEF,eAAe,IAAI,CAAC"}