reactaform 1.8.0 → 1.8.2
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.
- package/README.md +247 -379
- package/dist/common-B4FQDljX.mjs +112 -0
- package/dist/common-BeQ3x_ll.js +1 -0
- package/dist/{common-BeJOG7Z0.js → common-C9xi6Anp.js} +1 -1
- package/dist/{common-CTK4jqc5.mjs → common-CCGIMXY_.mjs} +44 -31
- package/dist/{common-DLr0UoG9.js → common-CiL5z7rS.js} +1 -1
- package/dist/{common-DRxsgpaH.mjs → common-Dd94fy-Y.mjs} +31 -15
- package/dist/common-Ws7ob6hh.mjs +112 -0
- package/dist/common-pqSYL5rx.js +1 -0
- package/dist/components/ReactaFormProvider.d.ts +4 -2
- package/dist/components/SubmissionButton.d.ts +8 -0
- package/dist/components/SubmissionMessage.d.ts +7 -0
- package/dist/components/fields/ColorInput.d.ts +1 -4
- package/dist/components/fields/EmailInput.d.ts +0 -1
- package/dist/components/fields/FloatInput.d.ts +1 -1
- package/dist/components/fields/IntegerInput.d.ts +1 -1
- package/dist/components/fields/SwitchInput.d.ts +0 -5
- package/dist/components/fields/TextInput.d.ts +3 -1
- package/dist/components/fields/UnitValueInput.d.ts +1 -4
- package/dist/components/fields/UrlInput.d.ts +0 -12
- package/dist/components/renderFields.d.ts +2 -2
- package/dist/core/componentRegistry.d.ts +7 -0
- package/dist/core/index.d.ts +1 -23
- package/dist/core/pluginRegistry.d.ts +4 -3
- package/dist/core/reactaFormTypes.d.ts +10 -3
- package/dist/hooks/useFieldValidator.d.ts +2 -0
- package/dist/hooks/useUncontrolledValidatedInput.d.ts +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/reactaform.cjs.js +5 -5
- package/dist/reactaform.es.js +4051 -3677
- package/dist/utils/translationCache.d.ts +8 -0
- package/dist/validation/registerBuiltinTypeValidators.d.ts +11 -0
- package/dist/validation/validateFileField.d.ts +2 -0
- package/dist/validation/validation.d.ts +1 -1
- package/dist/validation/validationHandlerRegistry.d.ts +11 -10
- package/package.json +1 -1
- package/dist/common-Crb-me6O.js +0 -1
- package/dist/common-DINaqn4M.mjs +0 -98
- package/dist/common-DRIndE7S.js +0 -1
- package/dist/common-DXEjsP3o.mjs +0 -98
- package/dist/core/debounceConfig.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -11
- package/dist/validation/index.d.ts +0 -13
- /package/dist/core/{debounceEnv.d.ts → env.d.ts} +0 -0
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { TranslationMap, TranslationCache } from "../core/reactaFormTypes";
|
|
2
|
+
export declare const supportedLanguages: Record<string, {
|
|
3
|
+
name: string;
|
|
4
|
+
nativeName: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const getSupportedLanguages: () => Record<string, {
|
|
7
|
+
name: string;
|
|
8
|
+
nativeName: string;
|
|
9
|
+
}>;
|
|
2
10
|
/**
|
|
3
11
|
* Translation loading result
|
|
4
12
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Built-in validator registration
|
|
3
|
+
* @description Imports all validator modules for side-effect registration.
|
|
4
|
+
* Re-exports all validators to ensure bundlers don't tree-shake them.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Ensures all built-in field validators are registered.
|
|
8
|
+
* This function references all validators to prevent tree-shaking.
|
|
9
|
+
* Safe to call multiple times as handlers are keyed.
|
|
10
|
+
*/
|
|
11
|
+
export declare function ensureBuiltinFieldTypeValidatorsRegistered(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactaDefinition, FieldValueType, DefinitionPropertyField, TranslationFunction } from "../core/reactaFormTypes";
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function validateFieldWithCustomHandler(definitionName: string, field: DefinitionPropertyField, value: FieldValueType, t: TranslationFunction): string | null;
|
|
3
3
|
export declare function validateFieldValue(definitionName: string, field: DefinitionPropertyField, value: FieldValueType | unknown, t: TranslationFunction): string | null;
|
|
4
4
|
export declare function validateField(definitionName: string, field: DefinitionPropertyField, input: FieldValueType, t: TranslationFunction): string | null;
|
|
5
5
|
export declare function validateFormValues(definition: ReactaDefinition | null, valuesMap: Record<string, FieldValueType | unknown>, t: (key: string) => string): Promise<string[] | null>;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type BuiltinFieldValidationHandler = (field: DefinitionPropertyField, input: FieldValueType, t: TranslationFunction) => string | null;
|
|
1
|
+
import type { FieldCustomValidationHandler, FieldTypeValidationHandler, FormValidationHandler } from "../core/reactaFormTypes";
|
|
3
2
|
export declare function registerFormValidationHandler(name: string, fn: FormValidationHandler): void;
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
3
|
+
export declare function registerFieldCustomValidationHandler(category: string, name: string, fn: FieldCustomValidationHandler): void;
|
|
4
|
+
export declare function registerFieldTypeValidationHandler(name: string, fn: FieldTypeValidationHandler): void;
|
|
5
|
+
export declare function registerBuiltinFieldTypeValidationHandler(name: string, fn: FieldTypeValidationHandler): void;
|
|
6
|
+
export declare function getFieldCustomValidationHandler(category: string, name: string): FieldCustomValidationHandler | null;
|
|
7
7
|
export declare function getFormValidationHandler(name: string): FormValidationHandler | null;
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
8
|
+
export declare function getFieldTypeValidationHandler(name: string): FieldTypeValidationHandler | null;
|
|
9
|
+
export declare function listFieldCustomValidationHandlers(category?: string): string[];
|
|
10
10
|
export declare function listFormValidationHandlers(): string[];
|
|
11
11
|
declare const _default: {
|
|
12
12
|
registerFormValidationHandler: typeof registerFormValidationHandler;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
registerFieldCustomValidationHandler: typeof registerFieldCustomValidationHandler;
|
|
14
|
+
registerFieldTypeValidationHandler: typeof registerFieldTypeValidationHandler;
|
|
15
|
+
getFieldCustomValidationHandler: typeof getFieldCustomValidationHandler;
|
|
15
16
|
getFormValidationHandler: typeof getFormValidationHandler;
|
|
16
|
-
|
|
17
|
+
listFieldCustomValidationHandlers: typeof listFieldCustomValidationHandlers;
|
|
17
18
|
listFormValidationHandlers: typeof listFormValidationHandlers;
|
|
18
19
|
};
|
|
19
20
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactaform",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "A powerful, type-safe React form builder library with dynamic field rendering, conditional visibility, multi-language support, and extensible validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
package/dist/common-Crb-me6O.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="Absenden",n="Schließen",t="Rot",s="Blau",i="Grün",a="Gelb",r="Lila",o="Cyan",l="Magenta",m="Schwarz",u="Weiß",h="Orange",d="Grau",c="Braun",g="Rosa",b="Benutzerdefiniert",f="Erhöhen",D="Verringern",M="Zeitzone",z={Submit:e,"Please fix validation errors before submitting.":"Bitte beheben Sie die Validierungsfehler vor dem Absenden.","Data transformation errors occurred.":"Datentransformationsfehler sind aufgetreten.","Validation errors occurred.":"Validierungsfehler sind aufgetreten.","Submission failed.":"Das Absenden ist fehlgeschlagen.","Submission handler error occurred.":"Ein Fehler im Übermittlungshandler ist aufgetreten.","Form submitted successfully.":"Formular erfolgreich übermittelt.",Dismiss:n,"Instance Name":"Name der Instanz","Enter instance name":"Name der Instanz eingeben",Red:t,Blue:s,Green:i,Yellow:a,Purple:r,Cyan:o,Magenta:l,Black:m,White:u,Orange:h,Gray:d,Brown:c,Pink:g,"Light Gray":"Hellgrau",Custom:b,"Value required":"Wert erforderlich","Invalid option selected":"Ungültige Option ausgewählt","Must be a valid integer":"Muss eine gültige Ganzzahl sein","Must be an integer":"Muss eine Ganzzahl sein","Must be a valid float":"Muss eine gültige Gleitkommazahl sein","Must be a valid number":"Muss eine gültige Zahl sein","Invalid number":"Ungültige Zahl","Must be ≥{{1}}":"Muss ≥{{1}} sein","Must be ≤{{1}}":"Muss ≤{{1}} sein","Value should be at least {{1}}":"Der Wert sollte mindestens {{1}} sein","Value should be at most {{1}}":"Der Wert sollte höchstens {{1}} sein","Must be at least {{1}} characters":"Muss mindestens {{1}} Zeichen lang sein","Must be at most {{1}} characters":"Darf höchstens {{1}} Zeichen lang sein","Input does not match pattern: {{1}}":"Eingabe stimmt nicht mit dem Muster überein: {{1}}","Must be valid email format":"Muss ein gültiges E-Mail-Format sein","Email does not match pattern: {{%1}}":"E-Mail stimmt nicht mit dem Muster überein: {{%1}}","Must be a valid URL":"Muss eine gültige URL sein","Phone number does not match pattern: {{1}}":"Telefonnummer stimmt nicht mit dem Muster überein: {{1}}","Each value must be a valid integer":"Jeder Wert muss eine gültige Ganzzahl sein","Each value must be a valid float":"Jeder Wert muss eine gültige Gleitkommazahl sein","Minimum number of values: {{1}}":"Minimale Anzahl an Werten: {{1}}","Maximum number of values: {{1}}":"Maximale Anzahl an Werten: {{1}}","Minimum number of rows: {{1}}":"Mindestanzahl von Zeilen: {{1}}","Maximum number of rows: {{1}}":"Höchstanzahl von Zeilen: {{1}}","Invalid date format":"Ungültiges Datumsformat","Invalid date/time":"Ungültiges Datum/Uhrzeit","Invalid time format":"Ungültiges Uhrzeitformat","Date must be on or after {{1}}":"Das Datum muss am {{1}} oder danach sein","Date must be on or before {{1}}":"Das Datum muss am {{1}} oder davor sein","Date/time must be on or after {{1}}":"Datum/Uhrzeit muss am {{1}} oder danach sein","Date/time must be on or before {{1}}":"Datum/Uhrzeit muss am {{1}} oder davor sein","Time must be on or after {{1}}":"Die Uhrzeit muss {{1}} oder danach sein","Time must be on or before {{1}}":"Die Uhrzeit muss {{1}} oder davor sein","Choose File...":"Datei auswählen...","Choose Files...":"Dateien auswählen...","No file selected":"Keine Datei ausgewählt","Show selected files":"Ausgewählte Dateien anzeigen","Selected File":"Ausgewählte Datei","Selected Files":"Ausgewählte Dateien","Remove file":"Datei entfernen","Drop files here":"Dateien hier ablegen","Choose Files or Drag & Drop":"Dateien auswählen oder hierher ziehen","Choose File or Drag & Drop":"Datei auswählen oder hierher ziehen",Increment:f,Decrement:D,Timezone:M,"Lower Limit must be less than Upper Limit.":"Die untere Grenze muss kleiner als die obere Grenze sein.","Show password":"Passwort anzeigen","Hide password":"Passwort verbergen"};exports.Black=m;exports.Blue=s;exports.Brown=c;exports.Custom=b;exports.Cyan=o;exports.Decrement=D;exports.Dismiss=n;exports.Gray=d;exports.Green=i;exports.Increment=f;exports.Magenta=l;exports.Orange=h;exports.Pink=g;exports.Purple=r;exports.Red=t;exports.Submit=e;exports.Timezone=M;exports.White=u;exports.Yellow=a;exports.default=z;
|
package/dist/common-DINaqn4M.mjs
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
const e = "Absenden", n = "Schließen", M = "Rot", t = "Blau", s = "Grün", a = "Gelb", i = "Lila", r = "Cyan", o = "Magenta", l = "Schwarz", m = "Weiß", u = "Orange", h = "Grau", d = "Braun", c = "Rosa", g = "Benutzerdefiniert", b = "Erhöhen", f = "Verringern", D = "Zeitzone", z = {
|
|
2
|
-
Submit: e,
|
|
3
|
-
"Please fix validation errors before submitting.": "Bitte beheben Sie die Validierungsfehler vor dem Absenden.",
|
|
4
|
-
"Data transformation errors occurred.": "Datentransformationsfehler sind aufgetreten.",
|
|
5
|
-
"Validation errors occurred.": "Validierungsfehler sind aufgetreten.",
|
|
6
|
-
"Submission failed.": "Das Absenden ist fehlgeschlagen.",
|
|
7
|
-
"Submission handler error occurred.": "Ein Fehler im Übermittlungshandler ist aufgetreten.",
|
|
8
|
-
"Form submitted successfully.": "Formular erfolgreich übermittelt.",
|
|
9
|
-
Dismiss: n,
|
|
10
|
-
"Instance Name": "Name der Instanz",
|
|
11
|
-
"Enter instance name": "Name der Instanz eingeben",
|
|
12
|
-
Red: "Rot",
|
|
13
|
-
Blue: t,
|
|
14
|
-
Green: s,
|
|
15
|
-
Yellow: a,
|
|
16
|
-
Purple: i,
|
|
17
|
-
Cyan: r,
|
|
18
|
-
Magenta: o,
|
|
19
|
-
Black: l,
|
|
20
|
-
White: m,
|
|
21
|
-
Orange: u,
|
|
22
|
-
Gray: h,
|
|
23
|
-
Brown: d,
|
|
24
|
-
Pink: c,
|
|
25
|
-
"Light Gray": "Hellgrau",
|
|
26
|
-
Custom: g,
|
|
27
|
-
"Value required": "Wert erforderlich",
|
|
28
|
-
"Invalid option selected": "Ungültige Option ausgewählt",
|
|
29
|
-
"Must be a valid integer": "Muss eine gültige Ganzzahl sein",
|
|
30
|
-
"Must be an integer": "Muss eine Ganzzahl sein",
|
|
31
|
-
"Must be a valid float": "Muss eine gültige Gleitkommazahl sein",
|
|
32
|
-
"Must be a valid number": "Muss eine gültige Zahl sein",
|
|
33
|
-
"Invalid number": "Ungültige Zahl",
|
|
34
|
-
"Must be ≥{{1}}": "Muss ≥{{1}} sein",
|
|
35
|
-
"Must be ≤{{1}}": "Muss ≤{{1}} sein",
|
|
36
|
-
"Value should be at least {{1}}": "Der Wert sollte mindestens {{1}} sein",
|
|
37
|
-
"Value should be at most {{1}}": "Der Wert sollte höchstens {{1}} sein",
|
|
38
|
-
"Must be at least {{1}} characters": "Muss mindestens {{1}} Zeichen lang sein",
|
|
39
|
-
"Must be at most {{1}} characters": "Darf höchstens {{1}} Zeichen lang sein",
|
|
40
|
-
"Input does not match pattern: {{1}}": "Eingabe stimmt nicht mit dem Muster überein: {{1}}",
|
|
41
|
-
"Must be valid email format": "Muss ein gültiges E-Mail-Format sein",
|
|
42
|
-
"Email does not match pattern: {{%1}}": "E-Mail stimmt nicht mit dem Muster überein: {{%1}}",
|
|
43
|
-
"Must be a valid URL": "Muss eine gültige URL sein",
|
|
44
|
-
"Phone number does not match pattern: {{1}}": "Telefonnummer stimmt nicht mit dem Muster überein: {{1}}",
|
|
45
|
-
"Each value must be a valid integer": "Jeder Wert muss eine gültige Ganzzahl sein",
|
|
46
|
-
"Each value must be a valid float": "Jeder Wert muss eine gültige Gleitkommazahl sein",
|
|
47
|
-
"Minimum number of values: {{1}}": "Minimale Anzahl an Werten: {{1}}",
|
|
48
|
-
"Maximum number of values: {{1}}": "Maximale Anzahl an Werten: {{1}}",
|
|
49
|
-
"Minimum number of rows: {{1}}": "Mindestanzahl von Zeilen: {{1}}",
|
|
50
|
-
"Maximum number of rows: {{1}}": "Höchstanzahl von Zeilen: {{1}}",
|
|
51
|
-
"Invalid date format": "Ungültiges Datumsformat",
|
|
52
|
-
"Invalid date/time": "Ungültiges Datum/Uhrzeit",
|
|
53
|
-
"Invalid time format": "Ungültiges Uhrzeitformat",
|
|
54
|
-
"Date must be on or after {{1}}": "Das Datum muss am {{1}} oder danach sein",
|
|
55
|
-
"Date must be on or before {{1}}": "Das Datum muss am {{1}} oder davor sein",
|
|
56
|
-
"Date/time must be on or after {{1}}": "Datum/Uhrzeit muss am {{1}} oder danach sein",
|
|
57
|
-
"Date/time must be on or before {{1}}": "Datum/Uhrzeit muss am {{1}} oder davor sein",
|
|
58
|
-
"Time must be on or after {{1}}": "Die Uhrzeit muss {{1}} oder danach sein",
|
|
59
|
-
"Time must be on or before {{1}}": "Die Uhrzeit muss {{1}} oder davor sein",
|
|
60
|
-
"Choose File...": "Datei auswählen...",
|
|
61
|
-
"Choose Files...": "Dateien auswählen...",
|
|
62
|
-
"No file selected": "Keine Datei ausgewählt",
|
|
63
|
-
"Show selected files": "Ausgewählte Dateien anzeigen",
|
|
64
|
-
"Selected File": "Ausgewählte Datei",
|
|
65
|
-
"Selected Files": "Ausgewählte Dateien",
|
|
66
|
-
"Remove file": "Datei entfernen",
|
|
67
|
-
"Drop files here": "Dateien hier ablegen",
|
|
68
|
-
"Choose Files or Drag & Drop": "Dateien auswählen oder hierher ziehen",
|
|
69
|
-
"Choose File or Drag & Drop": "Datei auswählen oder hierher ziehen",
|
|
70
|
-
Increment: b,
|
|
71
|
-
Decrement: f,
|
|
72
|
-
Timezone: D,
|
|
73
|
-
"Lower Limit must be less than Upper Limit.": "Die untere Grenze muss kleiner als die obere Grenze sein.",
|
|
74
|
-
"Show password": "Passwort anzeigen",
|
|
75
|
-
"Hide password": "Passwort verbergen"
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
l as Black,
|
|
79
|
-
t as Blue,
|
|
80
|
-
d as Brown,
|
|
81
|
-
g as Custom,
|
|
82
|
-
r as Cyan,
|
|
83
|
-
f as Decrement,
|
|
84
|
-
n as Dismiss,
|
|
85
|
-
h as Gray,
|
|
86
|
-
s as Green,
|
|
87
|
-
b as Increment,
|
|
88
|
-
o as Magenta,
|
|
89
|
-
u as Orange,
|
|
90
|
-
c as Pink,
|
|
91
|
-
i as Purple,
|
|
92
|
-
M as Red,
|
|
93
|
-
e as Submit,
|
|
94
|
-
D as Timezone,
|
|
95
|
-
m as White,
|
|
96
|
-
a as Yellow,
|
|
97
|
-
z as default
|
|
98
|
-
};
|
package/dist/common-DRIndE7S.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="Enviar",o="Cerrar",r="Rojo",a="Azul",n="Verde",t="Amarillo",i="Morado",s="Cian",l="Magenta",c="Negro",m="Blanco",d="Naranja",u="Gris",b="Marrón",v="Rosa",h="Personalizado",f="Incrementar",p="Decrementar",D="Zona horaria",M={Submit:e,"Please fix validation errors before submitting.":"Por favor, corrija los errores de validación antes de enviar.","Data transformation errors occurred.":"Se produjeron errores de transformación de datos.","Validation errors occurred.":"Se produjeron errores de validación.","Submission failed.":"El envío falló.","Submission handler error occurred.":"Ocurrió un error en el manejador de envío.","Form submitted successfully.":"Formulario enviado exitosamente.",Dismiss:o,"Instance Name":"Nombre de la instancia","Enter instance name":"Introduzca el nombre de la instancia",Red:r,Blue:a,Green:n,Yellow:t,Purple:i,Cyan:s,Magenta:l,Black:c,White:m,Orange:d,Gray:u,Brown:b,Pink:v,"Light Gray":"Gris Claro",Custom:h,"Value required":"Valor requerido","Invalid option selected":"Opción seleccionada no válida","Must be a valid integer":"Debe ser un número entero válido","Must be an integer":"Debe ser un número entero","Must be a valid float":"Debe ser un número decimal válido","Must be a valid number":"Debe ser un número válido","Invalid number":"Número no válido","Must be ≥{{1}}":"Debe ser ≥{{1}}","Must be ≤{{1}}":"Debe ser ≤{{1}}","Value should be at least {{1}}":"El valor debe ser al menos {{1}}","Value should be at most {{1}}":"El valor debe ser como máximo {{1}}","Must be at least {{1}} characters":"Debe tener al menos {{1}} caracteres","Must be at most {{1}} characters":"Debe tener como máximo {{1}} caracteres","Input does not match pattern: {{1}}":"La entrada no coincide con el patrón: {{1}}","Must be valid email format":"Debe tener un formato de correo electrónico válido","Email does not match pattern: {{%1}}":"El correo electrónico no coincide con el patrón: {{%1}}","Must be a valid URL":"Debe ser una URL válida","Phone number does not match pattern: {{1}}":"El número de teléfono no coincide con el patrón: {{1}}","Each value must be a valid integer":"Cada valor debe ser un número entero válido","Each value must be a valid float":"Cada valor debe ser un número decimal válido","Minimum number of values: {{1}}":"Número mínimo de valores: {{1}}","Maximum number of values: {{1}}":"Número máximo de valores: {{1}}","Minimum number of rows: {{1}}":"Número mínimo de filas: {{1}}","Maximum number of rows: {{1}}":"Número máximo de filas: {{1}}","Invalid date format":"Formato de fecha no válido","Invalid date/time":"Fecha/hora no válida","Invalid time format":"Formato de hora no válido","Date must be on or after {{1}}":"La fecha debe ser el {{1}} o posterior","Date must be on or before {{1}}":"La fecha debe ser el {{1}} o anterior","Date/time must be on or after {{1}}":"La fecha/hora debe ser el {{1}} o posterior","Date/time must be on or before {{1}}":"La fecha/hora debe ser el {{1}} o anterior","Time must be on or after {{1}}":"La hora debe ser {{1}} o posterior","Time must be on or before {{1}}":"La hora debe ser {{1}} o anterior","Choose File...":"Elegir archivo...","Choose Files...":"Elegir archivos...","No file selected":"Ningún archivo seleccionado","Show selected files":"Mostrar archivos seleccionados","Selected File":"Archivo seleccionado","Selected Files":"Archivos seleccionados","Remove file":"Quitar archivo","Drop files here":"Suelte los archivos aquí","Choose Files or Drag & Drop":"Elija archivos o arrástrelos aquí","Choose File or Drag & Drop":"Elija un archivo o arrástrelo aquí",Increment:f,Decrement:p,Timezone:D,"Lower Limit must be less than Upper Limit.":"El límite inferior debe ser menor que el límite superior.","Show password":"Mostrar contraseña","Hide password":"Ocultar contraseña"};exports.Black=c;exports.Blue=a;exports.Brown=b;exports.Custom=h;exports.Cyan=s;exports.Decrement=p;exports.Dismiss=o;exports.Gray=u;exports.Green=n;exports.Increment=f;exports.Magenta=l;exports.Orange=d;exports.Pink=v;exports.Purple=i;exports.Red=r;exports.Submit=e;exports.Timezone=D;exports.White=m;exports.Yellow=t;exports.default=M;
|
package/dist/common-DXEjsP3o.mjs
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
const e = "Enviar", o = "Cerrar", r = "Rojo", a = "Azul", n = "Verde", t = "Amarillo", s = "Morado", i = "Cian", l = "Magenta", c = "Negro", m = "Blanco", d = "Naranja", u = "Gris", b = "Marrón", v = "Rosa", h = "Personalizado", f = "Incrementar", p = "Decrementar", D = "Zona horaria", M = {
|
|
2
|
-
Submit: e,
|
|
3
|
-
"Please fix validation errors before submitting.": "Por favor, corrija los errores de validación antes de enviar.",
|
|
4
|
-
"Data transformation errors occurred.": "Se produjeron errores de transformación de datos.",
|
|
5
|
-
"Validation errors occurred.": "Se produjeron errores de validación.",
|
|
6
|
-
"Submission failed.": "El envío falló.",
|
|
7
|
-
"Submission handler error occurred.": "Ocurrió un error en el manejador de envío.",
|
|
8
|
-
"Form submitted successfully.": "Formulario enviado exitosamente.",
|
|
9
|
-
Dismiss: o,
|
|
10
|
-
"Instance Name": "Nombre de la instancia",
|
|
11
|
-
"Enter instance name": "Introduzca el nombre de la instancia",
|
|
12
|
-
Red: r,
|
|
13
|
-
Blue: a,
|
|
14
|
-
Green: n,
|
|
15
|
-
Yellow: t,
|
|
16
|
-
Purple: s,
|
|
17
|
-
Cyan: i,
|
|
18
|
-
Magenta: l,
|
|
19
|
-
Black: c,
|
|
20
|
-
White: m,
|
|
21
|
-
Orange: d,
|
|
22
|
-
Gray: u,
|
|
23
|
-
Brown: b,
|
|
24
|
-
Pink: v,
|
|
25
|
-
"Light Gray": "Gris Claro",
|
|
26
|
-
Custom: h,
|
|
27
|
-
"Value required": "Valor requerido",
|
|
28
|
-
"Invalid option selected": "Opción seleccionada no válida",
|
|
29
|
-
"Must be a valid integer": "Debe ser un número entero válido",
|
|
30
|
-
"Must be an integer": "Debe ser un número entero",
|
|
31
|
-
"Must be a valid float": "Debe ser un número decimal válido",
|
|
32
|
-
"Must be a valid number": "Debe ser un número válido",
|
|
33
|
-
"Invalid number": "Número no válido",
|
|
34
|
-
"Must be ≥{{1}}": "Debe ser ≥{{1}}",
|
|
35
|
-
"Must be ≤{{1}}": "Debe ser ≤{{1}}",
|
|
36
|
-
"Value should be at least {{1}}": "El valor debe ser al menos {{1}}",
|
|
37
|
-
"Value should be at most {{1}}": "El valor debe ser como máximo {{1}}",
|
|
38
|
-
"Must be at least {{1}} characters": "Debe tener al menos {{1}} caracteres",
|
|
39
|
-
"Must be at most {{1}} characters": "Debe tener como máximo {{1}} caracteres",
|
|
40
|
-
"Input does not match pattern: {{1}}": "La entrada no coincide con el patrón: {{1}}",
|
|
41
|
-
"Must be valid email format": "Debe tener un formato de correo electrónico válido",
|
|
42
|
-
"Email does not match pattern: {{%1}}": "El correo electrónico no coincide con el patrón: {{%1}}",
|
|
43
|
-
"Must be a valid URL": "Debe ser una URL válida",
|
|
44
|
-
"Phone number does not match pattern: {{1}}": "El número de teléfono no coincide con el patrón: {{1}}",
|
|
45
|
-
"Each value must be a valid integer": "Cada valor debe ser un número entero válido",
|
|
46
|
-
"Each value must be a valid float": "Cada valor debe ser un número decimal válido",
|
|
47
|
-
"Minimum number of values: {{1}}": "Número mínimo de valores: {{1}}",
|
|
48
|
-
"Maximum number of values: {{1}}": "Número máximo de valores: {{1}}",
|
|
49
|
-
"Minimum number of rows: {{1}}": "Número mínimo de filas: {{1}}",
|
|
50
|
-
"Maximum number of rows: {{1}}": "Número máximo de filas: {{1}}",
|
|
51
|
-
"Invalid date format": "Formato de fecha no válido",
|
|
52
|
-
"Invalid date/time": "Fecha/hora no válida",
|
|
53
|
-
"Invalid time format": "Formato de hora no válido",
|
|
54
|
-
"Date must be on or after {{1}}": "La fecha debe ser el {{1}} o posterior",
|
|
55
|
-
"Date must be on or before {{1}}": "La fecha debe ser el {{1}} o anterior",
|
|
56
|
-
"Date/time must be on or after {{1}}": "La fecha/hora debe ser el {{1}} o posterior",
|
|
57
|
-
"Date/time must be on or before {{1}}": "La fecha/hora debe ser el {{1}} o anterior",
|
|
58
|
-
"Time must be on or after {{1}}": "La hora debe ser {{1}} o posterior",
|
|
59
|
-
"Time must be on or before {{1}}": "La hora debe ser {{1}} o anterior",
|
|
60
|
-
"Choose File...": "Elegir archivo...",
|
|
61
|
-
"Choose Files...": "Elegir archivos...",
|
|
62
|
-
"No file selected": "Ningún archivo seleccionado",
|
|
63
|
-
"Show selected files": "Mostrar archivos seleccionados",
|
|
64
|
-
"Selected File": "Archivo seleccionado",
|
|
65
|
-
"Selected Files": "Archivos seleccionados",
|
|
66
|
-
"Remove file": "Quitar archivo",
|
|
67
|
-
"Drop files here": "Suelte los archivos aquí",
|
|
68
|
-
"Choose Files or Drag & Drop": "Elija archivos o arrástrelos aquí",
|
|
69
|
-
"Choose File or Drag & Drop": "Elija un archivo o arrástrelo aquí",
|
|
70
|
-
Increment: f,
|
|
71
|
-
Decrement: p,
|
|
72
|
-
Timezone: D,
|
|
73
|
-
"Lower Limit must be less than Upper Limit.": "El límite inferior debe ser menor que el límite superior.",
|
|
74
|
-
"Show password": "Mostrar contraseña",
|
|
75
|
-
"Hide password": "Ocultar contraseña"
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
c as Black,
|
|
79
|
-
a as Blue,
|
|
80
|
-
b as Brown,
|
|
81
|
-
h as Custom,
|
|
82
|
-
i as Cyan,
|
|
83
|
-
p as Decrement,
|
|
84
|
-
o as Dismiss,
|
|
85
|
-
u as Gray,
|
|
86
|
-
n as Green,
|
|
87
|
-
f as Increment,
|
|
88
|
-
l as Magenta,
|
|
89
|
-
d as Orange,
|
|
90
|
-
v as Pink,
|
|
91
|
-
s as Purple,
|
|
92
|
-
r as Red,
|
|
93
|
-
e as Submit,
|
|
94
|
-
D as Timezone,
|
|
95
|
-
m as White,
|
|
96
|
-
t as Yellow,
|
|
97
|
-
M as default
|
|
98
|
-
};
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ReactaForm Utils - Comprehensive utility functions
|
|
3
|
-
*
|
|
4
|
-
* This module provides enhanced utility functions for form building,
|
|
5
|
-
* styling, serialization, translation, and component management.
|
|
6
|
-
*/
|
|
7
|
-
export { combineClasses, CSS_CLASSES, } from './cssClasses';
|
|
8
|
-
export { serializeInstance, deserializeInstance, serializeDefinition, deserializeDefinition, type SerializationOptions, type DeserializationOptions, type SerializationResult, type DeserializationResult } from './definitionSerializers';
|
|
9
|
-
export { renameDuplicatedGroups, groupConsecutiveFields } from './groupingHelpers';
|
|
10
|
-
export { loadCommonTranslation, loadUserTranslation, createTranslationFunction, } from './translationCache';
|
|
11
|
-
export * from './unitValueMapper';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import './validateIntegerField';
|
|
2
|
-
import './validateFloatField';
|
|
3
|
-
import './validateTextField';
|
|
4
|
-
import './validateEmailField';
|
|
5
|
-
import './validateDateField';
|
|
6
|
-
import './validateTimeField';
|
|
7
|
-
import './validateUnitValueField';
|
|
8
|
-
import './validateRatingField';
|
|
9
|
-
import './validateUrlField';
|
|
10
|
-
import './validatePhoneField';
|
|
11
|
-
import './validateSelectionFields';
|
|
12
|
-
import './validateColorField';
|
|
13
|
-
export {};
|
|
File without changes
|