@art-design-digital/payload-plugin-forms-v3 1.0.0

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.
Files changed (101) hide show
  1. package/README.md +175 -0
  2. package/dist/collections/Forms.d.ts +3 -0
  3. package/dist/collections/Forms.js +64 -0
  4. package/dist/collections/Forms.js.map +1 -0
  5. package/dist/components/FormFieldRowLabel.d.ts +1 -0
  6. package/dist/components/FormFieldRowLabel.js +23 -0
  7. package/dist/components/FormFieldRowLabel.js.map +1 -0
  8. package/dist/components/OptionRowLabel.d.ts +1 -0
  9. package/dist/components/OptionRowLabel.js +21 -0
  10. package/dist/components/OptionRowLabel.js.map +1 -0
  11. package/dist/constants.d.ts +36 -0
  12. package/dist/constants.js +41 -0
  13. package/dist/constants.js.map +1 -0
  14. package/dist/exports/client.d.ts +2 -0
  15. package/dist/exports/client.js +4 -0
  16. package/dist/exports/client.js.map +1 -0
  17. package/dist/exports/rsc.d.ts +1 -0
  18. package/dist/exports/rsc.js +2 -0
  19. package/dist/exports/rsc.js.map +1 -0
  20. package/dist/fields/formFields/autocompleteField.d.ts +2 -0
  21. package/dist/fields/formFields/autocompleteField.js +63 -0
  22. package/dist/fields/formFields/autocompleteField.js.map +1 -0
  23. package/dist/fields/formFields/conditionGroup.d.ts +2 -0
  24. package/dist/fields/formFields/conditionGroup.js +36 -0
  25. package/dist/fields/formFields/conditionGroup.js.map +1 -0
  26. package/dist/fields/formFields/dateRow.d.ts +2 -0
  27. package/dist/fields/formFields/dateRow.js +29 -0
  28. package/dist/fields/formFields/dateRow.js.map +1 -0
  29. package/dist/fields/formFields/emptyDefaultField.d.ts +2 -0
  30. package/dist/fields/formFields/emptyDefaultField.js +13 -0
  31. package/dist/fields/formFields/emptyDefaultField.js.map +1 -0
  32. package/dist/fields/formFields/fieldTypeField.d.ts +2 -0
  33. package/dist/fields/formFields/fieldTypeField.js +64 -0
  34. package/dist/fields/formFields/fieldTypeField.js.map +1 -0
  35. package/dist/fields/formFields/index.d.ts +12 -0
  36. package/dist/fields/formFields/index.js +14 -0
  37. package/dist/fields/formFields/index.js.map +1 -0
  38. package/dist/fields/formFields/labelDescriptionRow.d.ts +6 -0
  39. package/dist/fields/formFields/labelDescriptionRow.js +31 -0
  40. package/dist/fields/formFields/labelDescriptionRow.js.map +1 -0
  41. package/dist/fields/formFields/lengthRow.d.ts +2 -0
  42. package/dist/fields/formFields/lengthRow.js +27 -0
  43. package/dist/fields/formFields/lengthRow.js.map +1 -0
  44. package/dist/fields/formFields/numberRow.d.ts +2 -0
  45. package/dist/fields/formFields/numberRow.js +37 -0
  46. package/dist/fields/formFields/numberRow.js.map +1 -0
  47. package/dist/fields/formFields/optionsArray.d.ts +6 -0
  48. package/dist/fields/formFields/optionsArray.js +44 -0
  49. package/dist/fields/formFields/optionsArray.js.map +1 -0
  50. package/dist/fields/formFields/placeholderDefaultRow.d.ts +6 -0
  51. package/dist/fields/formFields/placeholderDefaultRow.js +29 -0
  52. package/dist/fields/formFields/placeholderDefaultRow.js.map +1 -0
  53. package/dist/fields/formFields/requiredWidthRow.d.ts +2 -0
  54. package/dist/fields/formFields/requiredWidthRow.js +30 -0
  55. package/dist/fields/formFields/requiredWidthRow.js.map +1 -0
  56. package/dist/fields/formFields/textareaRow.d.ts +2 -0
  57. package/dist/fields/formFields/textareaRow.js +14 -0
  58. package/dist/fields/formFields/textareaRow.js.map +1 -0
  59. package/dist/fields/formFieldsArray.d.ts +6 -0
  60. package/dist/fields/formFieldsArray.js +41 -0
  61. package/dist/fields/formFieldsArray.js.map +1 -0
  62. package/dist/fields/index.d.ts +3 -0
  63. package/dist/fields/index.js +5 -0
  64. package/dist/fields/index.js.map +1 -0
  65. package/dist/fields/messagesGroup.d.ts +6 -0
  66. package/dist/fields/messagesGroup.js +37 -0
  67. package/dist/fields/messagesGroup.js.map +1 -0
  68. package/dist/fields/senderReceiverGroup.d.ts +2 -0
  69. package/dist/fields/senderReceiverGroup.js +54 -0
  70. package/dist/fields/senderReceiverGroup.js.map +1 -0
  71. package/dist/i18n/locales/de.d.ts +193 -0
  72. package/dist/i18n/locales/de.js +195 -0
  73. package/dist/i18n/locales/de.js.map +1 -0
  74. package/dist/i18n/locales/en.d.ts +193 -0
  75. package/dist/i18n/locales/en.js +195 -0
  76. package/dist/i18n/locales/en.js.map +1 -0
  77. package/dist/i18n/locales/es.d.ts +193 -0
  78. package/dist/i18n/locales/es.js +195 -0
  79. package/dist/i18n/locales/es.js.map +1 -0
  80. package/dist/i18n/locales/fr.d.ts +193 -0
  81. package/dist/i18n/locales/fr.js +195 -0
  82. package/dist/i18n/locales/fr.js.map +1 -0
  83. package/dist/i18n/locales/index.d.ts +5 -0
  84. package/dist/i18n/locales/index.js +7 -0
  85. package/dist/i18n/locales/index.js.map +1 -0
  86. package/dist/i18n/locales/nl.d.ts +193 -0
  87. package/dist/i18n/locales/nl.js +195 -0
  88. package/dist/i18n/locales/nl.js.map +1 -0
  89. package/dist/i18n/translations.d.ts +1166 -0
  90. package/dist/i18n/translations.js +223 -0
  91. package/dist/i18n/translations.js.map +1 -0
  92. package/dist/index.d.ts +4 -0
  93. package/dist/index.js +15 -0
  94. package/dist/index.js.map +1 -0
  95. package/dist/types.d.ts +104 -0
  96. package/dist/types.js +5 -0
  97. package/dist/types.js.map +1 -0
  98. package/dist/utils/conditions.d.ts +46 -0
  99. package/dist/utils/conditions.js +79 -0
  100. package/dist/utils/conditions.js.map +1 -0
  101. package/package.json +122 -0
@@ -0,0 +1,195 @@
1
+ export const en = {
2
+ collection: {
3
+ description: 'Manage forms for your website',
4
+ plural: 'Forms',
5
+ singular: 'Form'
6
+ },
7
+ fields: {
8
+ name: {
9
+ description: 'Internal name of the form',
10
+ label: 'Name'
11
+ }
12
+ },
13
+ formFields: {
14
+ description: 'Fields of the form',
15
+ fallback: 'Field',
16
+ fields: {
17
+ autocomplete: {
18
+ description: 'Browser autofill hint',
19
+ label: 'Autocomplete',
20
+ options: {
21
+ name: 'Full Name',
22
+ 'address-level2': 'City',
23
+ country: 'Country',
24
+ email: 'Email',
25
+ 'family-name': 'Last Name',
26
+ 'given-name': 'First Name',
27
+ off: 'Off',
28
+ organization: 'Company',
29
+ 'postal-code': 'Postal Code',
30
+ 'street-address': 'Street Address',
31
+ tel: 'Phone',
32
+ url: 'Website'
33
+ }
34
+ },
35
+ condition: {
36
+ description: 'Only show this field when another field has a specific value',
37
+ field: {
38
+ description: 'Field to check',
39
+ label: 'Conditional Field'
40
+ },
41
+ label: 'Condition',
42
+ value: {
43
+ description: 'Value that triggers display',
44
+ label: 'Conditional Value'
45
+ }
46
+ },
47
+ default: {
48
+ description: 'Default value for the field',
49
+ label: 'Default Value'
50
+ },
51
+ description: {
52
+ description: 'Additional description for the field',
53
+ label: 'Description'
54
+ },
55
+ emptyDefault: {
56
+ description: 'No option selected by default',
57
+ label: 'Empty Default'
58
+ },
59
+ fieldType: {
60
+ label: 'Field Type',
61
+ options: {
62
+ checkbox: 'Checkbox',
63
+ date: 'Date',
64
+ datetime: 'Date & Time',
65
+ dropdown: 'Dropdown',
66
+ email: 'Email',
67
+ number: 'Number',
68
+ radio: 'Radio Buttons',
69
+ tel: 'Phone',
70
+ text: 'Text',
71
+ textarea: 'Textarea',
72
+ time: 'Time',
73
+ url: 'URL'
74
+ }
75
+ },
76
+ label: {
77
+ description: 'Label of the field',
78
+ label: 'Label'
79
+ },
80
+ maxDate: {
81
+ description: 'Latest allowed date',
82
+ label: 'Max Date'
83
+ },
84
+ maxLength: {
85
+ label: 'Max Length'
86
+ },
87
+ maxValue: {
88
+ label: 'Max Value'
89
+ },
90
+ minDate: {
91
+ description: 'Earliest allowed date',
92
+ label: 'Min Date'
93
+ },
94
+ minLength: {
95
+ label: 'Min Length'
96
+ },
97
+ minValue: {
98
+ label: 'Min Value'
99
+ },
100
+ options: {
101
+ description: 'Options for dropdown or radio fields',
102
+ label: 'Options',
103
+ optionLabel: {
104
+ description: 'Display text for the option',
105
+ label: 'Label'
106
+ },
107
+ value: {
108
+ description: 'Value submitted with the form',
109
+ label: 'Value'
110
+ }
111
+ },
112
+ placeholder: {
113
+ description: 'Placeholder text for the field',
114
+ label: 'Placeholder'
115
+ },
116
+ required: {
117
+ label: 'Required'
118
+ },
119
+ rows: {
120
+ description: 'Number of rows for the textarea',
121
+ label: 'Rows'
122
+ },
123
+ step: {
124
+ description: 'Step increment (e.g. 0.01 for decimals)',
125
+ label: 'Step'
126
+ },
127
+ width: {
128
+ description: 'Width of the field in the form',
129
+ label: 'Width'
130
+ }
131
+ },
132
+ label: 'Form Fields',
133
+ optionFallback: 'Option',
134
+ plural: 'Fields',
135
+ singular: 'Field'
136
+ },
137
+ groups: {
138
+ messages: {
139
+ description: 'Messages and labels for the form',
140
+ fields: {
141
+ errorMessage: {
142
+ defaultValue: 'An error occurred. Please try again.',
143
+ label: 'Error Message'
144
+ },
145
+ submitLabel: {
146
+ defaultValue: 'Submit',
147
+ label: 'Submit Button'
148
+ },
149
+ successMessage: {
150
+ defaultValue: 'Thank you for your message!',
151
+ label: 'Success Message'
152
+ }
153
+ },
154
+ label: 'Messages'
155
+ },
156
+ senderReceiver: {
157
+ description: 'Email settings for sender and receiver',
158
+ fields: {
159
+ receiver: {
160
+ description: 'Receiver email address',
161
+ label: 'Receiver'
162
+ },
163
+ senderMail: {
164
+ description: 'Sender email address',
165
+ label: 'Sender Email'
166
+ },
167
+ senderName: {
168
+ description: 'Sender display name',
169
+ label: 'Sender Name'
170
+ },
171
+ subject: {
172
+ description: 'Email subject line',
173
+ label: 'Subject'
174
+ }
175
+ },
176
+ label: 'Sender & Receiver'
177
+ }
178
+ },
179
+ tabs: {
180
+ formFields: {
181
+ description: 'Configure fields for the form',
182
+ label: 'Form Fields'
183
+ },
184
+ messages: {
185
+ description: 'Messages and labels for the form',
186
+ label: 'Messages'
187
+ },
188
+ senderReceiver: {
189
+ description: 'Email settings for sender and receiver',
190
+ label: 'Sender & Receiver'
191
+ }
192
+ }
193
+ };
194
+
195
+ //# sourceMappingURL=en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/i18n/locales/en.ts"],"sourcesContent":["export const en = {\n collection: {\n description: 'Manage forms for your website',\n plural: 'Forms',\n singular: 'Form',\n },\n fields: {\n name: {\n description: 'Internal name of the form',\n label: 'Name',\n },\n },\n formFields: {\n description: 'Fields of the form',\n fallback: 'Field',\n fields: {\n autocomplete: {\n description: 'Browser autofill hint',\n label: 'Autocomplete',\n options: {\n name: 'Full Name',\n 'address-level2': 'City',\n country: 'Country',\n email: 'Email',\n 'family-name': 'Last Name',\n 'given-name': 'First Name',\n off: 'Off',\n organization: 'Company',\n 'postal-code': 'Postal Code',\n 'street-address': 'Street Address',\n tel: 'Phone',\n url: 'Website',\n },\n },\n condition: {\n description: 'Only show this field when another field has a specific value',\n field: { description: 'Field to check', label: 'Conditional Field' },\n label: 'Condition',\n value: { description: 'Value that triggers display', label: 'Conditional Value' },\n },\n default: { description: 'Default value for the field', label: 'Default Value' },\n description: { description: 'Additional description for the field', label: 'Description' },\n emptyDefault: { description: 'No option selected by default', label: 'Empty Default' },\n fieldType: {\n label: 'Field Type',\n options: {\n checkbox: 'Checkbox',\n date: 'Date',\n datetime: 'Date & Time',\n dropdown: 'Dropdown',\n email: 'Email',\n number: 'Number',\n radio: 'Radio Buttons',\n tel: 'Phone',\n text: 'Text',\n textarea: 'Textarea',\n time: 'Time',\n url: 'URL',\n },\n },\n label: { description: 'Label of the field', label: 'Label' },\n maxDate: { description: 'Latest allowed date', label: 'Max Date' },\n maxLength: { label: 'Max Length' },\n maxValue: { label: 'Max Value' },\n minDate: { description: 'Earliest allowed date', label: 'Min Date' },\n minLength: { label: 'Min Length' },\n minValue: { label: 'Min Value' },\n options: {\n description: 'Options for dropdown or radio fields',\n label: 'Options',\n optionLabel: { description: 'Display text for the option', label: 'Label' },\n value: { description: 'Value submitted with the form', label: 'Value' },\n },\n placeholder: { description: 'Placeholder text for the field', label: 'Placeholder' },\n required: { label: 'Required' },\n rows: { description: 'Number of rows for the textarea', label: 'Rows' },\n step: { description: 'Step increment (e.g. 0.01 for decimals)', label: 'Step' },\n width: { description: 'Width of the field in the form', label: 'Width' },\n },\n label: 'Form Fields',\n optionFallback: 'Option',\n plural: 'Fields',\n singular: 'Field',\n },\n groups: {\n messages: {\n description: 'Messages and labels for the form',\n fields: {\n errorMessage: {\n defaultValue: 'An error occurred. Please try again.',\n label: 'Error Message',\n },\n submitLabel: { defaultValue: 'Submit', label: 'Submit Button' },\n successMessage: { defaultValue: 'Thank you for your message!', label: 'Success Message' },\n },\n label: 'Messages',\n },\n senderReceiver: {\n description: 'Email settings for sender and receiver',\n fields: {\n receiver: { description: 'Receiver email address', label: 'Receiver' },\n senderMail: { description: 'Sender email address', label: 'Sender Email' },\n senderName: { description: 'Sender display name', label: 'Sender Name' },\n subject: { description: 'Email subject line', label: 'Subject' },\n },\n label: 'Sender & Receiver',\n },\n },\n tabs: {\n formFields: { description: 'Configure fields for the form', label: 'Form Fields' },\n messages: { description: 'Messages and labels for the form', label: 'Messages' },\n senderReceiver: {\n description: 'Email settings for sender and receiver',\n label: 'Sender & Receiver',\n },\n },\n} as const\n"],"names":["en","collection","description","plural","singular","fields","name","label","formFields","fallback","autocomplete","options","country","email","off","organization","tel","url","condition","field","value","default","emptyDefault","fieldType","checkbox","date","datetime","dropdown","number","radio","text","textarea","time","maxDate","maxLength","maxValue","minDate","minLength","minValue","optionLabel","placeholder","required","rows","step","width","optionFallback","groups","messages","errorMessage","defaultValue","submitLabel","successMessage","senderReceiver","receiver","senderMail","senderName","subject","tabs"],"mappings":"AAAA,OAAO,MAAMA,KAAK;IAChBC,YAAY;QACVC,aAAa;QACbC,QAAQ;QACRC,UAAU;IACZ;IACAC,QAAQ;QACNC,MAAM;YACJJ,aAAa;YACbK,OAAO;QACT;IACF;IACAC,YAAY;QACVN,aAAa;QACbO,UAAU;QACVJ,QAAQ;YACNK,cAAc;gBACZR,aAAa;gBACbK,OAAO;gBACPI,SAAS;oBACPL,MAAM;o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ExC,aAAa;gBAAmCK,OAAO;YAAO;YACtEoC,MAAM;gBAAEzC,aAAa;gBAA2CK,OAAO;YAAO;YAC9EqC,OAAO;gBAAE1C,aAAa;gBAAkCK,OAAO;YAAQ;QACzE;QACAA,OAAO;QACPsC,gBAAgB;QAChB1C,QAAQ;QACRC,UAAU;IACZ;IACA0C,QAAQ;QACNC,UAAU;YACR7C,aAAa;YACbG,QAAQ;gBACN2C,cAAc;oBACZC,cAAc;oBACd1C,OAAO;gBACT;gBACA2C,aAAa;oBAAED,cAAc;oBAAU1C,OAAO;gBAAgB;gBAC9D4C,gBAAgB;oBAAEF,cAAc;oBAA+B1C,OAAO;gBAAkB;YAC1F;YACAA,OAAO;QACT;QACA6C,gBAAgB;YACdlD,aAAa;YACbG,QAAQ;gBACNgD,UAAU;oBAAEnD,aAAa;oBAA0BK,OAAO;gBAAW;gBACrE+C,YAAY;oBAAEpD,aAAa;oBAAwBK,OAAO;gBAAe;gBACzEgD,YAAY;oBAAErD,aAAa;oBAAuBK,OAAO;gBAAc;gBACvEiD,SAAS;oBAAEtD,aAAa;oBAAsBK,OAAO;gBAAU;YACjE;YACAA,OAAO;QACT;IACF;IACAkD,MAAM;QACJjD,YAAY;YAAEN,aAAa;YAAiCK,OAAO;QAAc;QACjFwC,UAAU;YAAE7C,aAAa;YAAoCK,OAAO;QAAW;QAC/E6C,gBAAgB;YACdlD,aAAa;YACbK,OAAO;QACT;IACF;AACF,EAAU"}
@@ -0,0 +1,193 @@
1
+ export declare const es: {
2
+ readonly collection: {
3
+ readonly description: "Gestionar formularios para su sitio web";
4
+ readonly plural: "Formularios";
5
+ readonly singular: "Formulario";
6
+ };
7
+ readonly fields: {
8
+ readonly name: {
9
+ readonly description: "Nombre interno del formulario";
10
+ readonly label: "Nombre";
11
+ };
12
+ };
13
+ readonly formFields: {
14
+ readonly description: "Campos del formulario";
15
+ readonly fallback: "Campo";
16
+ readonly fields: {
17
+ readonly autocomplete: {
18
+ readonly description: "Sugerencia de autocompletado del navegador";
19
+ readonly label: "Autocompletado";
20
+ readonly options: {
21
+ readonly name: "Nombre completo";
22
+ readonly 'address-level2': "Ciudad";
23
+ readonly country: "País";
24
+ readonly email: "Correo electrónico";
25
+ readonly 'family-name': "Apellido";
26
+ readonly 'given-name': "Nombre";
27
+ readonly off: "Desactivado";
28
+ readonly organization: "Empresa";
29
+ readonly 'postal-code': "Código postal";
30
+ readonly 'street-address': "Dirección";
31
+ readonly tel: "Teléfono";
32
+ readonly url: "Sitio web";
33
+ };
34
+ };
35
+ readonly condition: {
36
+ readonly description: "Mostrar este campo solo cuando otro campo tenga un valor específico";
37
+ readonly field: {
38
+ readonly description: "Campo a verificar";
39
+ readonly label: "Campo condicional";
40
+ };
41
+ readonly label: "Condición";
42
+ readonly value: {
43
+ readonly description: "Valor que activa la visualización";
44
+ readonly label: "Valor condicional";
45
+ };
46
+ };
47
+ readonly default: {
48
+ readonly description: "Valor predeterminado del campo";
49
+ readonly label: "Valor predeterminado";
50
+ };
51
+ readonly description: {
52
+ readonly description: "Descripción adicional del campo";
53
+ readonly label: "Descripción";
54
+ };
55
+ readonly emptyDefault: {
56
+ readonly description: "Sin opción seleccionada por defecto";
57
+ readonly label: "Valor predeterminado vacío";
58
+ };
59
+ readonly fieldType: {
60
+ readonly label: "Tipo de campo";
61
+ readonly options: {
62
+ readonly checkbox: "Casilla de verificación";
63
+ readonly date: "Fecha";
64
+ readonly datetime: "Fecha y hora";
65
+ readonly dropdown: "Desplegable";
66
+ readonly email: "Correo electrónico";
67
+ readonly number: "Número";
68
+ readonly radio: "Botones de opción";
69
+ readonly tel: "Teléfono";
70
+ readonly text: "Texto";
71
+ readonly textarea: "Área de texto";
72
+ readonly time: "Hora";
73
+ readonly url: "URL";
74
+ };
75
+ };
76
+ readonly label: {
77
+ readonly description: "Etiqueta del campo";
78
+ readonly label: "Etiqueta";
79
+ };
80
+ readonly maxDate: {
81
+ readonly description: "Fecha máxima permitida";
82
+ readonly label: "Fecha máxima";
83
+ };
84
+ readonly maxLength: {
85
+ readonly label: "Longitud máxima";
86
+ };
87
+ readonly maxValue: {
88
+ readonly label: "Valor máximo";
89
+ };
90
+ readonly minDate: {
91
+ readonly description: "Fecha mínima permitida";
92
+ readonly label: "Fecha mínima";
93
+ };
94
+ readonly minLength: {
95
+ readonly label: "Longitud mínima";
96
+ };
97
+ readonly minValue: {
98
+ readonly label: "Valor mínimo";
99
+ };
100
+ readonly options: {
101
+ readonly description: "Opciones para campos desplegables o de radio";
102
+ readonly label: "Opciones";
103
+ readonly optionLabel: {
104
+ readonly description: "Texto de visualización de la opción";
105
+ readonly label: "Etiqueta";
106
+ };
107
+ readonly value: {
108
+ readonly description: "Valor enviado con el formulario";
109
+ readonly label: "Valor";
110
+ };
111
+ };
112
+ readonly placeholder: {
113
+ readonly description: "Texto de marcador de posición";
114
+ readonly label: "Marcador de posición";
115
+ };
116
+ readonly required: {
117
+ readonly label: "Obligatorio";
118
+ };
119
+ readonly rows: {
120
+ readonly description: "Número de filas para el área de texto";
121
+ readonly label: "Filas";
122
+ };
123
+ readonly step: {
124
+ readonly description: "Incremento (ej. 0.01 para decimales)";
125
+ readonly label: "Incremento";
126
+ };
127
+ readonly width: {
128
+ readonly description: "Ancho del campo en el formulario";
129
+ readonly label: "Ancho";
130
+ };
131
+ };
132
+ readonly label: "Campos del formulario";
133
+ readonly optionFallback: "Opción";
134
+ readonly plural: "Campos";
135
+ readonly singular: "Campo";
136
+ };
137
+ readonly groups: {
138
+ readonly messages: {
139
+ readonly description: "Mensajes y etiquetas para el formulario";
140
+ readonly fields: {
141
+ readonly errorMessage: {
142
+ readonly defaultValue: "Ha ocurrido un error. Por favor, inténtelo de nuevo.";
143
+ readonly label: "Mensaje de error";
144
+ };
145
+ readonly submitLabel: {
146
+ readonly defaultValue: "Enviar";
147
+ readonly label: "Botón de envío";
148
+ };
149
+ readonly successMessage: {
150
+ readonly defaultValue: "¡Gracias por su mensaje!";
151
+ readonly label: "Mensaje de éxito";
152
+ };
153
+ };
154
+ readonly label: "Mensajes";
155
+ };
156
+ readonly senderReceiver: {
157
+ readonly description: "Configuración de correo electrónico para remitente y destinatario";
158
+ readonly fields: {
159
+ readonly receiver: {
160
+ readonly description: "Dirección de correo del destinatario";
161
+ readonly label: "Destinatario";
162
+ };
163
+ readonly senderMail: {
164
+ readonly description: "Dirección de correo del remitente";
165
+ readonly label: "Correo del remitente";
166
+ };
167
+ readonly senderName: {
168
+ readonly description: "Nombre del remitente";
169
+ readonly label: "Nombre del remitente";
170
+ };
171
+ readonly subject: {
172
+ readonly description: "Línea de asunto del correo";
173
+ readonly label: "Asunto";
174
+ };
175
+ };
176
+ readonly label: "Remitente y destinatario";
177
+ };
178
+ };
179
+ readonly tabs: {
180
+ readonly formFields: {
181
+ readonly description: "Configurar campos para el formulario";
182
+ readonly label: "Campos del formulario";
183
+ };
184
+ readonly messages: {
185
+ readonly description: "Mensajes y etiquetas para el formulario";
186
+ readonly label: "Mensajes";
187
+ };
188
+ readonly senderReceiver: {
189
+ readonly description: "Configuración de correo electrónico para remitente y destinatario";
190
+ readonly label: "Remitente y destinatario";
191
+ };
192
+ };
193
+ };
@@ -0,0 +1,195 @@
1
+ export const es = {
2
+ collection: {
3
+ description: 'Gestionar formularios para su sitio web',
4
+ plural: 'Formularios',
5
+ singular: 'Formulario'
6
+ },
7
+ fields: {
8
+ name: {
9
+ description: 'Nombre interno del formulario',
10
+ label: 'Nombre'
11
+ }
12
+ },
13
+ formFields: {
14
+ description: 'Campos del formulario',
15
+ fallback: 'Campo',
16
+ fields: {
17
+ autocomplete: {
18
+ description: 'Sugerencia de autocompletado del navegador',
19
+ label: 'Autocompletado',
20
+ options: {
21
+ name: 'Nombre completo',
22
+ 'address-level2': 'Ciudad',
23
+ country: 'País',
24
+ email: 'Correo electrónico',
25
+ 'family-name': 'Apellido',
26
+ 'given-name': 'Nombre',
27
+ off: 'Desactivado',
28
+ organization: 'Empresa',
29
+ 'postal-code': 'Código postal',
30
+ 'street-address': 'Dirección',
31
+ tel: 'Teléfono',
32
+ url: 'Sitio web'
33
+ }
34
+ },
35
+ condition: {
36
+ description: 'Mostrar este campo solo cuando otro campo tenga un valor específico',
37
+ field: {
38
+ description: 'Campo a verificar',
39
+ label: 'Campo condicional'
40
+ },
41
+ label: 'Condición',
42
+ value: {
43
+ description: 'Valor que activa la visualización',
44
+ label: 'Valor condicional'
45
+ }
46
+ },
47
+ default: {
48
+ description: 'Valor predeterminado del campo',
49
+ label: 'Valor predeterminado'
50
+ },
51
+ description: {
52
+ description: 'Descripción adicional del campo',
53
+ label: 'Descripción'
54
+ },
55
+ emptyDefault: {
56
+ description: 'Sin opción seleccionada por defecto',
57
+ label: 'Valor predeterminado vacío'
58
+ },
59
+ fieldType: {
60
+ label: 'Tipo de campo',
61
+ options: {
62
+ checkbox: 'Casilla de verificación',
63
+ date: 'Fecha',
64
+ datetime: 'Fecha y hora',
65
+ dropdown: 'Desplegable',
66
+ email: 'Correo electrónico',
67
+ number: 'Número',
68
+ radio: 'Botones de opción',
69
+ tel: 'Teléfono',
70
+ text: 'Texto',
71
+ textarea: 'Área de texto',
72
+ time: 'Hora',
73
+ url: 'URL'
74
+ }
75
+ },
76
+ label: {
77
+ description: 'Etiqueta del campo',
78
+ label: 'Etiqueta'
79
+ },
80
+ maxDate: {
81
+ description: 'Fecha máxima permitida',
82
+ label: 'Fecha máxima'
83
+ },
84
+ maxLength: {
85
+ label: 'Longitud máxima'
86
+ },
87
+ maxValue: {
88
+ label: 'Valor máximo'
89
+ },
90
+ minDate: {
91
+ description: 'Fecha mínima permitida',
92
+ label: 'Fecha mínima'
93
+ },
94
+ minLength: {
95
+ label: 'Longitud mínima'
96
+ },
97
+ minValue: {
98
+ label: 'Valor mínimo'
99
+ },
100
+ options: {
101
+ description: 'Opciones para campos desplegables o de radio',
102
+ label: 'Opciones',
103
+ optionLabel: {
104
+ description: 'Texto de visualización de la opción',
105
+ label: 'Etiqueta'
106
+ },
107
+ value: {
108
+ description: 'Valor enviado con el formulario',
109
+ label: 'Valor'
110
+ }
111
+ },
112
+ placeholder: {
113
+ description: 'Texto de marcador de posición',
114
+ label: 'Marcador de posición'
115
+ },
116
+ required: {
117
+ label: 'Obligatorio'
118
+ },
119
+ rows: {
120
+ description: 'Número de filas para el área de texto',
121
+ label: 'Filas'
122
+ },
123
+ step: {
124
+ description: 'Incremento (ej. 0.01 para decimales)',
125
+ label: 'Incremento'
126
+ },
127
+ width: {
128
+ description: 'Ancho del campo en el formulario',
129
+ label: 'Ancho'
130
+ }
131
+ },
132
+ label: 'Campos del formulario',
133
+ optionFallback: 'Opción',
134
+ plural: 'Campos',
135
+ singular: 'Campo'
136
+ },
137
+ groups: {
138
+ messages: {
139
+ description: 'Mensajes y etiquetas para el formulario',
140
+ fields: {
141
+ errorMessage: {
142
+ defaultValue: 'Ha ocurrido un error. Por favor, inténtelo de nuevo.',
143
+ label: 'Mensaje de error'
144
+ },
145
+ submitLabel: {
146
+ defaultValue: 'Enviar',
147
+ label: 'Botón de envío'
148
+ },
149
+ successMessage: {
150
+ defaultValue: '¡Gracias por su mensaje!',
151
+ label: 'Mensaje de éxito'
152
+ }
153
+ },
154
+ label: 'Mensajes'
155
+ },
156
+ senderReceiver: {
157
+ description: 'Configuración de correo electrónico para remitente y destinatario',
158
+ fields: {
159
+ receiver: {
160
+ description: 'Dirección de correo del destinatario',
161
+ label: 'Destinatario'
162
+ },
163
+ senderMail: {
164
+ description: 'Dirección de correo del remitente',
165
+ label: 'Correo del remitente'
166
+ },
167
+ senderName: {
168
+ description: 'Nombre del remitente',
169
+ label: 'Nombre del remitente'
170
+ },
171
+ subject: {
172
+ description: 'Línea de asunto del correo',
173
+ label: 'Asunto'
174
+ }
175
+ },
176
+ label: 'Remitente y destinatario'
177
+ }
178
+ },
179
+ tabs: {
180
+ formFields: {
181
+ description: 'Configurar campos para el formulario',
182
+ label: 'Campos del formulario'
183
+ },
184
+ messages: {
185
+ description: 'Mensajes y etiquetas para el formulario',
186
+ label: 'Mensajes'
187
+ },
188
+ senderReceiver: {
189
+ description: 'Configuración de correo electrónico para remitente y destinatario',
190
+ label: 'Remitente y destinatario'
191
+ }
192
+ }
193
+ };
194
+
195
+ //# sourceMappingURL=es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/i18n/locales/es.ts"],"sourcesContent":["export const es = {\n collection: {\n description: 'Gestionar formularios para su sitio web',\n plural: 'Formularios',\n singular: 'Formulario',\n },\n fields: {\n name: {\n description: 'Nombre interno del formulario',\n label: 'Nombre',\n },\n },\n formFields: {\n description: 'Campos del formulario',\n fallback: 'Campo',\n fields: {\n autocomplete: {\n description: 'Sugerencia de autocompletado del navegador',\n label: 'Autocompletado',\n options: {\n name: 'Nombre completo',\n 'address-level2': 'Ciudad',\n country: 'País',\n email: 'Correo electrónico',\n 'family-name': 'Apellido',\n 'given-name': 'Nombre',\n off: 'Desactivado',\n organization: 'Empresa',\n 'postal-code': 'Código postal',\n 'street-address': 'Dirección',\n tel: 'Teléfono',\n url: 'Sitio web',\n },\n },\n condition: {\n description: 'Mostrar este campo solo cuando otro campo tenga un valor específico',\n field: { description: 'Campo a verificar', label: 'Campo condicional' },\n label: 'Condición',\n value: { description: 'Valor que activa la visualización', label: 'Valor condicional' },\n },\n default: { description: 'Valor predeterminado del campo', label: 'Valor predeterminado' },\n description: { description: 'Descripción adicional del campo', label: 'Descripción' },\n emptyDefault: {\n description: 'Sin opción seleccionada por defecto',\n label: 'Valor predeterminado vacío',\n },\n fieldType: {\n label: 'Tipo de campo',\n options: {\n checkbox: 'Casilla de verificación',\n date: 'Fecha',\n datetime: 'Fecha y hora',\n dropdown: 'Desplegable',\n email: 'Correo electrónico',\n number: 'Número',\n radio: 'Botones de opción',\n tel: 'Teléfono',\n text: 'Texto',\n textarea: 'Área de texto',\n time: 'Hora',\n url: 'URL',\n },\n },\n label: { description: 'Etiqueta del campo', label: 'Etiqueta' },\n maxDate: { description: 'Fecha máxima permitida', label: 'Fecha máxima' },\n maxLength: { label: 'Longitud máxima' },\n maxValue: { label: 'Valor máximo' },\n minDate: { description: 'Fecha mínima permitida', label: 'Fecha mínima' },\n minLength: { label: 'Longitud mínima' },\n minValue: { label: 'Valor mínimo' },\n options: {\n description: 'Opciones para campos desplegables o de radio',\n label: 'Opciones',\n optionLabel: { description: 'Texto de visualización de la opción', label: 'Etiqueta' },\n value: { description: 'Valor enviado con el formulario', label: 'Valor' },\n },\n placeholder: { description: 'Texto de marcador de posición', label: 'Marcador de posición' },\n required: { label: 'Obligatorio' },\n rows: { description: 'Número de filas para el área de texto', label: 'Filas' },\n step: { description: 'Incremento (ej. 0.01 para decimales)', label: 'Incremento' },\n width: { description: 'Ancho del campo en el formulario', label: 'Ancho' },\n },\n label: 'Campos del formulario',\n optionFallback: 'Opción',\n plural: 'Campos',\n singular: 'Campo',\n },\n groups: {\n messages: {\n description: 'Mensajes y etiquetas para el formulario',\n fields: {\n errorMessage: {\n defaultValue: 'Ha ocurrido un error. Por favor, inténtelo de nuevo.',\n label: 'Mensaje de error',\n },\n submitLabel: { defaultValue: 'Enviar', label: 'Botón de envío' },\n successMessage: { defaultValue: '¡Gracias por su mensaje!', label: 'Mensaje de éxito' },\n },\n label: 'Mensajes',\n },\n senderReceiver: {\n description: 'Configuración de correo electrónico para remitente y destinatario',\n fields: {\n receiver: { description: 'Dirección de correo del destinatario', label: 'Destinatario' },\n senderMail: {\n description: 'Dirección de correo del remitente',\n label: 'Correo del remitente',\n },\n senderName: { description: 'Nombre del remitente', label: 'Nombre del remitente' },\n subject: { description: 'Línea de asunto del correo', label: 'Asunto' },\n },\n label: 'Remitente y destinatario',\n },\n },\n tabs: {\n formFields: {\n description: 'Configurar campos para el formulario',\n label: 'Campos del formulario',\n },\n messages: { description: 'Mensajes y etiquetas para el formulario', label: 'Mensajes' },\n senderReceiver: {\n description: 'Configuración de correo electrónico para remitente y destinatario',\n label: 'Remitente y destinatario',\n },\n },\n} as const\n"],"names":["es","collection","description","plural","singular","fields","name","label","formFields","fallback","autocomplete","options","country","email","off","organization","tel","url","condition","field","value","default","emptyDefault","fieldType","checkbox","date","datetime","dropdown","number","radio","text","textarea","time","maxDate","maxLength","maxValue","minDate","minLength","minValue","optionLabel","placeholder","required","rows","step","width","optionFallback","groups","messages","errorMessage","defaultValue","submitLabel","successMessage","senderReceiver","receiver","senderMail","senderName","subject","tabs"],"mappings":"AAAA,OAAO,MAAMA,KAAK;IAChBC,YAAY;QACVC,aAAa;QACbC,QAAQ;QACRC,UAAU;IACZ;IACAC,QAAQ;QACNC,MAAM;YACJJ,aAAa;YACbK,OAAO;QACT;IACF;IACAC,YAAY;QACVN,aAAa;QACbO,UAAU;QACVJ,QAAQ;YACNK,cAAc;gBACZR,aAAa;gBACbK,OAAO;gBACPI,SAAS;oBACPL,MAAM;oBACN,kBAAkB;oBAClBM,SAAS;oBACTC,OAAO;oBACP,eAAe;oBACf,cAAc;oBACdC,KAAK;oBACLC,cAAc;oBACd,eAAe;oBACf,kBAAkB;oBAClBC,KAAK;oBACLC,KAAK;gBACP;YACF;YACAC,WAAW;gBACThB,aAAa;gBACbiB,OAAO;oBAAEjB,aAAa;oBAAqBK,OAAO;gBAAoB;gBACtEA,OAAO;gBACPa,OAAO;oBAAElB,aAAa;oBAAqCK,OAAO;gBAAoB;YACxF;YACAc,SAAS;gBAAEnB,aAAa;gBAAkCK,OAAO;YAAuB;YACxFL,aAAa;gBAAEA,aAAa;gBAAmCK,OAAO;YAAc;YACpFe,cAAc;gBACZpB,aAAa;gBACbK,OAAO;YACT;YACAgB,WAAW;gBACThB,OAAO;gBACPI,SAAS;oBACPa,UAAU;oBACVC,MAAM;oBACNC,UAAU;oBACVC,UAAU;oBACVd,OAAO;oBACPe,QAAQ;oBACRC,OAAO;oBACPb,KAAK;oBACLc,MAAM;oBACNC,UAAU;oBACVC,MAAM;oBACNf,KAAK;gBACP;YACF;YACAV,OAAO;gBAAEL,aAAa;gBAAsBK,OAAO;YAAW;YAC9D0B,SAAS;gBAAE/B,aAAa;gBAA0BK,OAAO;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