desy-html 7.3.1 → 7.4.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.
- package/docs/_macro.example-render.njk +1 -1
- package/docs/index.html +4 -0
- package/package.json +1 -1
- package/src/templates/components/accordion/_examples.accordion.njk +108 -104
- package/src/templates/components/accordion-history/_examples.accordion-history.njk +116 -112
- package/src/templates/components/alert/_examples.alert.njk +10 -6
- package/src/templates/components/breadcrumbs/_examples.breadcrumbs.njk +52 -52
- package/src/templates/components/button/_examples.button.njk +71 -71
- package/src/templates/components/button-loader/_examples.button-loader.njk +72 -72
- package/src/templates/components/card/_examples.card.njk +43 -43
- package/src/templates/components/character-count/_examples.character-count.njk +35 -33
- package/src/templates/components/checkboxes/_examples.checkboxes.njk +200 -201
- package/src/templates/components/collapsible/_examples.collapsible.njk +24 -9
- package/src/templates/components/date-input/_examples.date-input.njk +14 -14
- package/src/templates/components/description-list/_examples.description-list.njk +45 -44
- package/src/templates/components/details/_examples.details.njk +17 -16
- package/src/templates/components/dialog/_examples.dialog.njk +5 -6
- package/src/templates/components/dropdown/_examples.dropdown.njk +34 -35
- package/src/templates/components/error-message/_examples.error-message.njk +8 -2
- package/src/templates/components/error-summary/_examples.error-summary.njk +19 -19
- package/src/templates/components/fieldset/_examples.fieldset.njk +27 -25
- package/src/templates/components/file-upload/_examples.file-upload.njk +7 -7
- package/src/templates/components/footer/_examples.footer.njk +24 -24
- package/src/templates/components/header/_examples.header.njk +12 -12
- package/src/templates/components/header-mini/_examples.header-mini.njk +5 -5
- package/src/templates/components/hint/_examples.hint.njk +4 -4
- package/src/templates/components/input/_examples.input.njk +66 -64
- package/src/templates/components/input-group/_examples.input-group.njk +15 -17
- package/src/templates/components/item/_examples.item.njk +21 -20
- package/src/templates/components/label/_examples.label.njk +11 -9
- package/src/templates/components/links-list/_examples.links-list.njk +34 -34
- package/src/templates/components/listbox/_examples.listbox.njk +146 -146
- package/src/templates/components/media-object/_examples.media-object.njk +7 -7
- package/src/templates/components/menu-horizontal/_examples.menu-horizontal.njk +54 -54
- package/src/templates/components/menu-navigation/_examples.menu-navigation.njk +65 -66
- package/src/templates/components/menu-vertical/_examples.menu-vertical.njk +71 -71
- package/src/templates/components/menubar/_examples.menubar.njk +42 -42
- package/src/templates/components/modal/_examples.modal.njk +21 -15
- package/src/templates/components/modal/_template.modal.njk +5 -5
- package/src/templates/components/nav/_examples.nav.njk +66 -66
- package/src/templates/components/notification/_examples.notification.njk +14 -13
- package/src/templates/components/pagination/_examples.pagination.njk +7 -6
- package/src/templates/components/pill/_examples.pill.njk +29 -29
- package/src/templates/components/radios/_examples.radios.njk +153 -142
- package/src/templates/components/searchbar/_examples.searchbar.njk +11 -11
- package/src/templates/components/select/_examples.select.njk +63 -63
- package/src/templates/components/skip-link/_examples.skip-link.njk +4 -4
- package/src/templates/components/spinner/_examples.spinner.njk +11 -11
- package/src/templates/components/status/_examples.status.njk +4 -4
- package/src/templates/components/status-item/_examples.status-item.njk +21 -21
- package/src/templates/components/table/_examples.table.njk +58 -56
- package/src/templates/components/table-advanced/_examples.table-advanced.njk +83 -83
- package/src/templates/components/tabs/_examples.tabs.njk +30 -29
- package/src/templates/components/textarea/_examples.textarea.njk +28 -27
- package/src/templates/components/toggle/_examples.toggle.njk +10 -11
- package/src/templates/components/tooltip/_examples.tooltip.njk +9 -9
- package/src/templates/components/tree/_examples.tree.njk +58 -57
|
@@ -1,59 +1,57 @@
|
|
|
1
1
|
{% from "components/input/_macro.input.njk" import componentInput %}
|
|
2
2
|
|
|
3
|
-
{%
|
|
4
|
-
|
|
5
|
-
{% set telefonoContent %}
|
|
3
|
+
{% macro telefonoContent(id='id') %}
|
|
6
4
|
{{ componentInput({
|
|
7
5
|
"label": {
|
|
8
6
|
"text": "Número de teléfono"
|
|
9
7
|
},
|
|
10
|
-
"id": "telefono-
|
|
11
|
-
"name": "telefono-name"
|
|
8
|
+
"id": "telefono-" + id,
|
|
9
|
+
"name": "telefono-name-" + id
|
|
12
10
|
}) }}
|
|
13
|
-
{%
|
|
11
|
+
{% endmacro %}
|
|
14
12
|
|
|
15
|
-
{%
|
|
13
|
+
{% macro mobileContent(id='id') %}
|
|
16
14
|
{{ componentInput({
|
|
17
15
|
"label": {
|
|
18
16
|
"text": "Número de teléfono móvil"
|
|
19
17
|
},
|
|
20
|
-
"id": "mobile-
|
|
21
|
-
"name": "mobile-name"
|
|
18
|
+
"id": "mobile-" + id,
|
|
19
|
+
"name": "mobile-name-" + id
|
|
22
20
|
}) }}
|
|
23
|
-
{%
|
|
21
|
+
{% endmacro %}
|
|
24
22
|
|
|
25
|
-
{%
|
|
23
|
+
{% macro mobileErrorContent(id='id') %}
|
|
26
24
|
{{ componentInput({
|
|
27
25
|
"label": {
|
|
28
26
|
"text": "Número de teléfono móvil"
|
|
29
27
|
},
|
|
30
|
-
"id": "input-with-error-message-
|
|
31
|
-
"name": "test-name",
|
|
28
|
+
"id": "input-with-error-message-" + id,
|
|
29
|
+
"name": "test-name-" + id,
|
|
32
30
|
"errorMessage": {
|
|
33
31
|
"text": "Error: Este campo no puede estar vacío"
|
|
34
32
|
}
|
|
35
33
|
}) }}
|
|
36
|
-
{%
|
|
37
|
-
|
|
34
|
+
{% endmacro %}
|
|
38
35
|
|
|
36
|
+
{% set exampleComponent = "radios" %}
|
|
39
37
|
{% set examples = [
|
|
40
38
|
{
|
|
41
|
-
"name": "
|
|
39
|
+
"name": "por defecto",
|
|
42
40
|
"data": {
|
|
43
41
|
"idPrefix": "default",
|
|
44
|
-
"name": "
|
|
42
|
+
"name": "por defecto",
|
|
45
43
|
"fieldset": {
|
|
46
44
|
"legend": {
|
|
47
|
-
"text": "
|
|
45
|
+
"text": "¿Quieres que te contactemos por correo electrónico?"
|
|
48
46
|
}
|
|
49
47
|
},
|
|
50
48
|
"hint": {
|
|
51
|
-
"text": "
|
|
49
|
+
"text": "Sólo puedes seleccionar un elemento."
|
|
52
50
|
},
|
|
53
51
|
"items": [
|
|
54
52
|
{
|
|
55
|
-
"value": "
|
|
56
|
-
"text": "
|
|
53
|
+
"value": "si",
|
|
54
|
+
"text": "Si"
|
|
57
55
|
},
|
|
58
56
|
{
|
|
59
57
|
"value": "no",
|
|
@@ -64,23 +62,23 @@
|
|
|
64
62
|
}
|
|
65
63
|
},
|
|
66
64
|
{
|
|
67
|
-
"name": "
|
|
65
|
+
"name": "En línea",
|
|
68
66
|
"data": {
|
|
69
67
|
"idPrefix": "inline",
|
|
70
68
|
"classes": "flex",
|
|
71
69
|
"name": "inline",
|
|
72
70
|
"fieldset": {
|
|
73
71
|
"legend": {
|
|
74
|
-
"text": "
|
|
72
|
+
"text": "¿Quieres que te contactemos por correo electrónico?"
|
|
75
73
|
}
|
|
76
74
|
},
|
|
77
75
|
"hint": {
|
|
78
|
-
"text": "
|
|
76
|
+
"text": "Sólo puedes seleccionar un elemento."
|
|
79
77
|
},
|
|
80
78
|
"items": [
|
|
81
79
|
{
|
|
82
|
-
"value": "
|
|
83
|
-
"text": "
|
|
80
|
+
"value": "si",
|
|
81
|
+
"text": "Si",
|
|
84
82
|
"classes": "mr-sm"
|
|
85
83
|
},
|
|
86
84
|
{
|
|
@@ -93,22 +91,22 @@
|
|
|
93
91
|
}
|
|
94
92
|
},
|
|
95
93
|
{
|
|
96
|
-
"name": "
|
|
94
|
+
"name": "Con deshabilitado",
|
|
97
95
|
"data": {
|
|
98
96
|
"idPrefix": "example-disabled",
|
|
99
97
|
"name": "example-disabled",
|
|
100
98
|
"fieldset": {
|
|
101
99
|
"legend": {
|
|
102
|
-
"text": "
|
|
100
|
+
"text": "¿Quieres que te contactemos por correo electrónico?"
|
|
103
101
|
}
|
|
104
102
|
},
|
|
105
103
|
"hint": {
|
|
106
|
-
"text": "
|
|
104
|
+
"text": "Sólo puedes seleccionar un elemento."
|
|
107
105
|
},
|
|
108
106
|
"items": [
|
|
109
107
|
{
|
|
110
|
-
"value": "
|
|
111
|
-
"text": "
|
|
108
|
+
"value": "si",
|
|
109
|
+
"text": "Si",
|
|
112
110
|
"disabled": true,
|
|
113
111
|
"checked": true
|
|
114
112
|
},
|
|
@@ -121,220 +119,233 @@
|
|
|
121
119
|
}
|
|
122
120
|
},
|
|
123
121
|
{
|
|
124
|
-
"name": "
|
|
125
|
-
"description": "
|
|
122
|
+
"name": "con un legend como encabezado",
|
|
123
|
+
"description": 'Usa el parámetro <code>"heading"</code> para añadir un encabezado asociado al componente. Usa el parámetro <code>"headingLevel"</code> para establecer el nivel del encabezado. Por ejemplo: <code>"headingLevel": 3</code> creará un encabezado <code><h3></code>.',
|
|
126
124
|
"data": {
|
|
127
125
|
"idPrefix": "legend-as-page-heading",
|
|
128
126
|
"name": "legend-as-page-heading",
|
|
129
127
|
"fieldset": {
|
|
130
128
|
"legend": {
|
|
131
|
-
"text": "
|
|
129
|
+
"text": "¿Cómo prefieres que te contactemos?",
|
|
132
130
|
"classes": "c-h2",
|
|
133
131
|
"isPageHeading": true
|
|
134
132
|
},
|
|
135
133
|
"headingLevel": 2
|
|
136
134
|
},
|
|
137
135
|
"hint": {
|
|
138
|
-
"text": "
|
|
136
|
+
"text": "Selecciona una de las opciones."
|
|
139
137
|
},
|
|
140
138
|
"items": [
|
|
141
139
|
{
|
|
142
140
|
"value": "part-2",
|
|
143
|
-
"
|
|
141
|
+
"text": "Por correo electrónico",
|
|
142
|
+
"hint": {
|
|
143
|
+
"text": "Asegúrate de que nuestros correos no lleguen a la bandeja de spam."
|
|
144
|
+
}
|
|
144
145
|
},
|
|
145
146
|
{
|
|
146
147
|
"value": "part-3",
|
|
147
|
-
"
|
|
148
|
+
"text": "Por correo postal",
|
|
149
|
+
"hint": {
|
|
150
|
+
"text": "Asegúrate de haber introducido correctamente tu dirección."
|
|
151
|
+
}
|
|
148
152
|
}
|
|
149
153
|
]
|
|
150
154
|
}
|
|
151
155
|
},
|
|
152
156
|
{
|
|
153
|
-
"name": "
|
|
157
|
+
"name": "con un legend del tamaño de un encabezado h2",
|
|
154
158
|
"data": {
|
|
155
159
|
"idPrefix": "medium-legend",
|
|
156
160
|
"name": "medium-legend",
|
|
157
161
|
"fieldset": {
|
|
158
162
|
"legend": {
|
|
159
|
-
"text": "
|
|
163
|
+
"text": "¿Cómo prefieres que te contactemos?",
|
|
160
164
|
"classes": "c-h2"
|
|
161
165
|
}
|
|
162
166
|
},
|
|
163
167
|
"hint": {
|
|
164
|
-
"text": "
|
|
168
|
+
"text": "Selecciona una de las opciones."
|
|
165
169
|
},
|
|
166
170
|
"items": [
|
|
167
171
|
{
|
|
168
172
|
"value": "part-2",
|
|
169
|
-
"
|
|
173
|
+
"text": "Por correo electrónico",
|
|
174
|
+
"hint": {
|
|
175
|
+
"text": "Asegúrate de que nuestros correos no lleguen a la bandeja de spam."
|
|
176
|
+
}
|
|
170
177
|
},
|
|
171
178
|
{
|
|
172
179
|
"value": "part-3",
|
|
173
|
-
"
|
|
180
|
+
"text": "Por correo postal",
|
|
181
|
+
"hint": {
|
|
182
|
+
"text": "Asegúrate de haber introducido correctamente tu dirección."
|
|
183
|
+
}
|
|
174
184
|
}
|
|
175
185
|
]
|
|
176
186
|
}
|
|
177
187
|
},
|
|
178
188
|
{
|
|
179
|
-
"name": "
|
|
189
|
+
"name": "con un divisor",
|
|
180
190
|
"data": {
|
|
181
191
|
"idPrefix": "example-divider",
|
|
182
192
|
"name": "example-divider",
|
|
183
193
|
"fieldset": {
|
|
184
194
|
"legend": {
|
|
185
|
-
"text": "
|
|
195
|
+
"text": "¿Cómo prefieres que te contactemos?"
|
|
186
196
|
}
|
|
187
197
|
},
|
|
188
198
|
"items": [
|
|
189
199
|
{
|
|
190
|
-
"value": "
|
|
191
|
-
"text": "
|
|
200
|
+
"value": "correo-electronico",
|
|
201
|
+
"text": "Correo electrónico"
|
|
192
202
|
},
|
|
193
203
|
{
|
|
194
|
-
"value": "
|
|
195
|
-
"text": "
|
|
204
|
+
"value": "correo-postal",
|
|
205
|
+
"text": "Correo postal"
|
|
196
206
|
},
|
|
197
207
|
{
|
|
198
|
-
"divider": "
|
|
208
|
+
"divider": "o bien"
|
|
199
209
|
},
|
|
200
210
|
{
|
|
201
|
-
"value": "
|
|
202
|
-
"text": "
|
|
211
|
+
"value": "telefono",
|
|
212
|
+
"text": "Teléfono"
|
|
203
213
|
}
|
|
204
214
|
]
|
|
205
215
|
}
|
|
206
216
|
},
|
|
207
217
|
{
|
|
208
|
-
"name": "
|
|
218
|
+
"name": "Con pistas en los items",
|
|
209
219
|
"data": {
|
|
210
220
|
"idPrefix": "hints-on-items",
|
|
211
221
|
"name": "hints-on-items",
|
|
212
222
|
"fieldset": {
|
|
213
223
|
"legend": {
|
|
214
|
-
"text": "
|
|
224
|
+
"text": "¿Cómo prefieres que te contactemos?",
|
|
215
225
|
"isPageHeading": true
|
|
216
226
|
}
|
|
217
227
|
},
|
|
218
228
|
"items": [
|
|
219
229
|
{
|
|
220
|
-
"value": "
|
|
221
|
-
"text": "
|
|
230
|
+
"value": "correo-electronico",
|
|
231
|
+
"text": "Correo electrónico",
|
|
222
232
|
"hint": {
|
|
223
|
-
"text": "
|
|
233
|
+
"text": "Asegúrate de que el correo no llega a la bandeja de spam."
|
|
224
234
|
}
|
|
225
235
|
},
|
|
226
236
|
{
|
|
227
|
-
"value": "
|
|
228
|
-
"text": "
|
|
237
|
+
"value": "correo-postal",
|
|
238
|
+
"text": "Correo postal",
|
|
229
239
|
"hint": {
|
|
230
|
-
"text": "
|
|
240
|
+
"text": "Asegúrate de haber introducido la dirección postal correctamente."
|
|
231
241
|
}
|
|
232
242
|
}
|
|
233
243
|
]
|
|
234
244
|
}
|
|
235
245
|
},
|
|
236
246
|
{
|
|
237
|
-
"name": "
|
|
247
|
+
"name": "con líneas divisorias",
|
|
238
248
|
"data": {
|
|
239
249
|
"idPrefix": "has-dividers",
|
|
240
250
|
"name": "has-dividers",
|
|
241
251
|
"fieldset": {
|
|
242
252
|
"legend": {
|
|
243
|
-
"text": "
|
|
253
|
+
"text": "¿Cómo prefieres que te contactemos?"
|
|
244
254
|
}
|
|
245
255
|
},
|
|
246
256
|
"hint": {
|
|
247
|
-
"text": "
|
|
257
|
+
"text": "Sólo puedes elegir un elemento."
|
|
248
258
|
},
|
|
249
259
|
"hasDividers": true,
|
|
250
260
|
"items": [
|
|
251
261
|
{
|
|
252
|
-
"value": "
|
|
253
|
-
"text": "
|
|
262
|
+
"value": "correo-electronico",
|
|
263
|
+
"text": "Correo electrónico",
|
|
254
264
|
"classes": "font-normal",
|
|
255
265
|
"hint": {
|
|
256
|
-
"text": "
|
|
266
|
+
"text": "Asegúrate de que el correo no llega a la bandeja de spam."
|
|
257
267
|
}
|
|
258
268
|
},
|
|
259
269
|
{
|
|
260
|
-
"value": "
|
|
261
|
-
"text": "
|
|
270
|
+
"value": "correo-postal",
|
|
271
|
+
"text": "Correo postal",
|
|
262
272
|
"hint": {
|
|
263
|
-
"text": "
|
|
273
|
+
"text": "Asegúrate de haber introducido la dirección postal correctamente."
|
|
264
274
|
}
|
|
265
275
|
}
|
|
266
276
|
]
|
|
267
277
|
}
|
|
268
278
|
},
|
|
269
279
|
{
|
|
270
|
-
"name": "
|
|
280
|
+
"name": "Con clases de CSS aplicadas",
|
|
281
|
+
"description": 'Los parámetros <code>classes</code> nos permiten aplicar clases de Tailwind CSS a nuestro componente.',
|
|
271
282
|
"data": {
|
|
272
283
|
"idPrefix": "classes",
|
|
273
284
|
"name": "classes",
|
|
274
285
|
"fieldset": {
|
|
275
286
|
"legend": {
|
|
276
|
-
"text": "
|
|
287
|
+
"text": "¿Cómo prefieres que te contactemos?",
|
|
277
288
|
"isPageHeading": true
|
|
278
289
|
}
|
|
279
290
|
},
|
|
280
291
|
"items": [
|
|
281
292
|
{
|
|
282
|
-
"value": "
|
|
283
|
-
"text": "
|
|
293
|
+
"value": "correo-electronico",
|
|
294
|
+
"text": "Correo electrónico",
|
|
284
295
|
"hint": {
|
|
285
|
-
"text": "
|
|
296
|
+
"text": "Asegúrate de que el correo no llega a la bandeja de spam."
|
|
286
297
|
},
|
|
287
|
-
"classes": "bg-
|
|
298
|
+
"classes": "bg-primary-light"
|
|
288
299
|
},
|
|
289
300
|
{
|
|
290
|
-
"value": "
|
|
291
|
-
"text": "
|
|
301
|
+
"value": "correo-postal",
|
|
302
|
+
"text": "Correo postal",
|
|
292
303
|
"hint": {
|
|
293
|
-
"text": "
|
|
304
|
+
"text": "Asegúrate de haber introducido la dirección postal correctamente."
|
|
294
305
|
},
|
|
295
|
-
"classes": "bg-neutral-
|
|
306
|
+
"classes": "bg-neutral-lighter"
|
|
296
307
|
}
|
|
297
308
|
]
|
|
298
309
|
}
|
|
299
310
|
},
|
|
300
311
|
{
|
|
301
|
-
"name": "
|
|
312
|
+
"name": "sin fieldset",
|
|
302
313
|
"data": {
|
|
303
314
|
"idPrefix": "without-fieldset",
|
|
304
315
|
"name": "without-fieldset",
|
|
305
316
|
"items": [
|
|
306
317
|
{
|
|
307
|
-
"value": "
|
|
308
|
-
"text": "
|
|
318
|
+
"value": "correo-electronico",
|
|
319
|
+
"text": "Correo electrónico"
|
|
309
320
|
},
|
|
310
321
|
{
|
|
311
|
-
"value": "
|
|
312
|
-
"text": "
|
|
322
|
+
"value": "correp-postal",
|
|
323
|
+
"text": "Correo postal"
|
|
313
324
|
},
|
|
314
325
|
{
|
|
315
|
-
"value": "
|
|
316
|
-
"text": "
|
|
326
|
+
"value": "telefono",
|
|
327
|
+
"text": "Teléfono"
|
|
317
328
|
}
|
|
318
329
|
]
|
|
319
330
|
}
|
|
320
331
|
},
|
|
321
332
|
{
|
|
322
|
-
"name": "
|
|
333
|
+
"name": "con fieldset y mensaje de error",
|
|
323
334
|
"data": {
|
|
324
335
|
"idPrefix": "fieldset-and-error",
|
|
325
336
|
"name": "fieldset-and-error",
|
|
326
337
|
"errorMessage": {
|
|
327
|
-
"text": "Error:
|
|
338
|
+
"text": "Error: Tienes que seleccionar al menos una opción"
|
|
328
339
|
},
|
|
329
340
|
"fieldset": {
|
|
330
341
|
"legend": {
|
|
331
|
-
"text": "
|
|
342
|
+
"text": "¿Quieres que te contactemos por correo electrónico?"
|
|
332
343
|
}
|
|
333
344
|
},
|
|
334
345
|
"items": [
|
|
335
346
|
{
|
|
336
|
-
"value": "
|
|
337
|
-
"text": "
|
|
347
|
+
"value": "si",
|
|
348
|
+
"text": "Si"
|
|
338
349
|
},
|
|
339
350
|
{
|
|
340
351
|
"value": "no",
|
|
@@ -345,7 +356,7 @@
|
|
|
345
356
|
}
|
|
346
357
|
},
|
|
347
358
|
{
|
|
348
|
-
"name": "
|
|
359
|
+
"name": "con un texto de item muy largo",
|
|
349
360
|
"data": {
|
|
350
361
|
"idPrefix": "very-long",
|
|
351
362
|
"name": "very-long",
|
|
@@ -377,119 +388,119 @@
|
|
|
377
388
|
}
|
|
378
389
|
},
|
|
379
390
|
{
|
|
380
|
-
"name": "
|
|
391
|
+
"name": "con items condicionales",
|
|
381
392
|
"data": {
|
|
382
393
|
"idPrefix": "conditional-items",
|
|
383
394
|
"name": "conditional-items",
|
|
384
395
|
"fieldset": {
|
|
385
396
|
"legend": {
|
|
386
|
-
"text": "
|
|
397
|
+
"text": "¿Cómo quieres que te contactemos?"
|
|
387
398
|
}
|
|
388
399
|
},
|
|
389
400
|
"items": [
|
|
390
401
|
{
|
|
391
|
-
"value": "
|
|
392
|
-
"text": "
|
|
393
|
-
"checked": true,
|
|
402
|
+
"value": "correo-electronico",
|
|
403
|
+
"text": "Correo electrónico",
|
|
394
404
|
"conditional": {
|
|
395
|
-
"html":
|
|
405
|
+
"html": mobileContent('1').val
|
|
396
406
|
}
|
|
397
407
|
},
|
|
398
408
|
{
|
|
399
|
-
"value": "
|
|
400
|
-
"text": "
|
|
409
|
+
"value": "telefono",
|
|
410
|
+
"text": "Teléfono",
|
|
411
|
+
"checked": true,
|
|
401
412
|
"conditional": {
|
|
402
|
-
"html":
|
|
413
|
+
"html": telefonoContent('2').val
|
|
403
414
|
}
|
|
404
415
|
},
|
|
405
416
|
{
|
|
406
|
-
"value": "
|
|
407
|
-
"text": "
|
|
417
|
+
"value": "mensaje-SMS",
|
|
418
|
+
"text": "Mensaje SMS",
|
|
408
419
|
"conditional": {
|
|
409
|
-
"html": mobileContent
|
|
420
|
+
"html": mobileContent('2').val
|
|
410
421
|
}
|
|
411
422
|
}
|
|
412
423
|
]
|
|
413
424
|
}
|
|
414
425
|
},
|
|
415
426
|
{
|
|
416
|
-
"name": "
|
|
427
|
+
"name": "en línea con items condicionales",
|
|
417
428
|
"data": {
|
|
418
429
|
"classes": "flex",
|
|
419
430
|
"idPrefix": "inline-with-conditional",
|
|
420
431
|
"name": "inline-with-conditional",
|
|
421
432
|
"fieldset": {
|
|
422
433
|
"legend": {
|
|
423
|
-
"text": "
|
|
434
|
+
"text": "¿Cómo quieres que te contactemos?"
|
|
424
435
|
}
|
|
425
436
|
},
|
|
426
437
|
"items": [
|
|
427
438
|
{
|
|
428
|
-
"value": "
|
|
429
|
-
"text": "
|
|
430
|
-
"checked": true,
|
|
439
|
+
"value": "correo-electronico",
|
|
440
|
+
"text": "Correo electrónico",
|
|
431
441
|
"classes": "mr-sm",
|
|
432
442
|
"conditional": {
|
|
433
|
-
"html": telefonoContent
|
|
443
|
+
"html": telefonoContent('3').val
|
|
434
444
|
}
|
|
435
445
|
},
|
|
436
446
|
{
|
|
437
|
-
"value": "
|
|
438
|
-
"text": "
|
|
447
|
+
"value": "telefono",
|
|
448
|
+
"text": "Teléfono",
|
|
439
449
|
"classes": "mr-sm",
|
|
450
|
+
"checked": true,
|
|
440
451
|
"conditional": {
|
|
441
|
-
"html": mobileContent
|
|
452
|
+
"html": mobileContent('3').val
|
|
442
453
|
}
|
|
443
454
|
},
|
|
444
455
|
{
|
|
445
|
-
"value": "
|
|
446
|
-
"text": "
|
|
456
|
+
"value": "mensaje-SMS",
|
|
457
|
+
"text": "Mensaje SMS",
|
|
447
458
|
"classes": "mr-sm",
|
|
448
459
|
"conditional": {
|
|
449
|
-
"html": mobileContent
|
|
460
|
+
"html": mobileContent('4').val
|
|
450
461
|
}
|
|
451
462
|
}
|
|
452
463
|
]
|
|
453
464
|
}
|
|
454
465
|
},
|
|
455
466
|
{
|
|
456
|
-
"name": "
|
|
467
|
+
"name": "con item condicional seleccionado",
|
|
457
468
|
"data": {
|
|
458
469
|
"idPrefix": "conditional-item-checked",
|
|
459
470
|
"name": "conditional-item-checked",
|
|
460
471
|
"fieldset": {
|
|
461
472
|
"legend": {
|
|
462
|
-
"text": "
|
|
473
|
+
"text": "¿Cómo quieres que te contactemos?"
|
|
463
474
|
}
|
|
464
475
|
},
|
|
465
476
|
"items": [
|
|
466
477
|
{
|
|
467
|
-
"value": "
|
|
468
|
-
"text": "
|
|
478
|
+
"value": "correo-electronico",
|
|
479
|
+
"text": "Correo electrónico",
|
|
469
480
|
"conditional": {
|
|
470
|
-
"html": telefonoContent
|
|
481
|
+
"html": telefonoContent('4').val
|
|
471
482
|
}
|
|
472
483
|
},
|
|
473
484
|
{
|
|
474
|
-
"value": "
|
|
475
|
-
"text": "
|
|
485
|
+
"value": "telefono",
|
|
486
|
+
"text": "Teléfono",
|
|
487
|
+
"checked": true,
|
|
476
488
|
"conditional": {
|
|
477
|
-
"html": mobileContent
|
|
489
|
+
"html": mobileContent('5').val
|
|
478
490
|
}
|
|
479
491
|
},
|
|
480
492
|
{
|
|
481
|
-
"value": "
|
|
482
|
-
"text": "
|
|
483
|
-
"checked": true,
|
|
493
|
+
"value": "mensaje-SMS",
|
|
494
|
+
"text": "Mensaje SMS",
|
|
484
495
|
"conditional": {
|
|
485
|
-
"html": mobileContent
|
|
496
|
+
"html": mobileContent('6').val
|
|
486
497
|
}
|
|
487
498
|
}
|
|
488
499
|
]
|
|
489
500
|
}
|
|
490
501
|
},
|
|
491
502
|
{
|
|
492
|
-
"name": "
|
|
503
|
+
"name": "con clases opcionales del form-group mostrando un error del grupo",
|
|
493
504
|
"data": {
|
|
494
505
|
"idPrefix": "classes-group-error",
|
|
495
506
|
"name": "classes-group-error",
|
|
@@ -498,45 +509,45 @@
|
|
|
498
509
|
},
|
|
499
510
|
"fieldset": {
|
|
500
511
|
"legend": {
|
|
501
|
-
"text": "
|
|
512
|
+
"text": "¿Cómo quieres que te contactemos?"
|
|
502
513
|
}
|
|
503
514
|
},
|
|
504
515
|
"items": [
|
|
505
516
|
{
|
|
506
|
-
"value": "
|
|
507
|
-
"text": "
|
|
517
|
+
"value": "correo-electronico",
|
|
518
|
+
"text": "Correo electrónico",
|
|
508
519
|
"conditional": {
|
|
509
|
-
"html": telefonoContent
|
|
520
|
+
"html": telefonoContent('5').val
|
|
510
521
|
}
|
|
511
522
|
},
|
|
512
523
|
{
|
|
513
|
-
"value": "
|
|
514
|
-
"text": "
|
|
524
|
+
"value": "telefono",
|
|
525
|
+
"text": "Teléfono",
|
|
515
526
|
"checked": true,
|
|
516
527
|
"conditional": {
|
|
517
|
-
"html": mobileErrorContent
|
|
528
|
+
"html": mobileErrorContent('1').val
|
|
518
529
|
}
|
|
519
530
|
},
|
|
520
531
|
{
|
|
521
|
-
"value": "
|
|
522
|
-
"text": "
|
|
532
|
+
"value": "mensaje-SMS",
|
|
533
|
+
"text": "Mensaje SMS",
|
|
523
534
|
"conditional": {
|
|
524
|
-
"html": mobileContent
|
|
535
|
+
"html": mobileContent('7').val
|
|
525
536
|
}
|
|
526
537
|
}
|
|
527
538
|
]
|
|
528
539
|
}
|
|
529
540
|
},
|
|
530
541
|
{
|
|
531
|
-
"name": "
|
|
542
|
+
"name": "peque",
|
|
532
543
|
"data": {
|
|
533
544
|
"idPrefix": "small",
|
|
534
|
-
"name": "
|
|
545
|
+
"name": "peque",
|
|
535
546
|
"classes": "c-radios--sm",
|
|
536
547
|
"items": [
|
|
537
548
|
{
|
|
538
|
-
"value": "
|
|
539
|
-
"text": "
|
|
549
|
+
"value": "si",
|
|
550
|
+
"text": "Si",
|
|
540
551
|
"classes": "-mt-base",
|
|
541
552
|
"label": {
|
|
542
553
|
"classes": "text-sm -mt-1"
|