@vixoniccom/birthdays 0.3.1 → 0.3.3-dev1

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.
@@ -1,592 +1,592 @@
1
- {
2
- "schema": [
3
- {
4
- "id": "dataGroup",
5
- "type": "group",
6
- "label": "Configuración",
7
- "description": "",
8
- "items": [
9
- {
10
- "type": "label",
11
- "label": "Datos"
12
- },
13
- {
14
- "id": "url",
15
- "type": "text-input",
16
- "required": true,
17
- "label": "Fuente",
18
- "description": "Ubicación de los datos."
19
- },
20
- {
21
- "type": "select-input",
22
- "id": "photosMode",
23
- "label": "Modo de fotos",
24
- "items": [
25
- {
26
- "label": "Zip",
27
- "value": "zip"
28
- },
29
- {
30
- "label": "En linea",
31
- "value": "online"
32
- }
33
- ],
34
- "defaultValue": "online"
35
- },
36
- {
37
- "id": "photosUrl",
38
- "type": "text-input",
39
- "required": false,
40
- "label": "Fotos",
41
- "description": "Ubicación donde se encuentran las fotos.",
42
- "show": "{{photosMode}} === 'online'"
43
- },
44
- {
45
- "type": "select-asset-kna-input",
46
- "id": "photosZip",
47
- "label": "Archivo Zip",
48
- "extensions": [
49
- "zip"
50
- ],
51
- "show": "{{photosMode}} === 'zip'"
52
- },
53
- {
54
- "id": "updateTime",
55
- "type": "select-input",
56
- "required": true,
57
- "label": "Actualización",
58
- "defaultValue": 600000,
59
- "items": [
60
- {
61
- "label": "10 minutos",
62
- "value": 600000
63
- },
64
- {
65
- "label": "30 minutos",
66
- "value": 1800000
67
- },
68
- {
69
- "label": "1 hora",
70
- "value": 3600000
71
- },
72
- {
73
- "label": "6 horas",
74
- "value": 21600000
75
- },
76
- {
77
- "label": "12 horas",
78
- "value": 43200000
79
- },
80
- {
81
- "label": "Diario",
82
- "value": 86400000
83
- },
84
- {
85
- "label": "Semanal",
86
- "value": 604800000
87
- }
88
- ]
89
- },
90
- {
91
- "type": "label",
92
- "label": "Funcionamiento"
93
- },
94
- {
95
- "id": "dataMode",
96
- "type": "select-input",
97
- "required": true,
98
- "label": "Modo",
99
- "defaultValue": "monthly",
100
- "items": [
101
- {
102
- "label": "Diario",
103
- "value": "daily"
104
- },
105
- {
106
- "label": "Semanal",
107
- "value": "weekly"
108
- },
109
- {
110
- "label": "Mensual",
111
- "value": "monthly"
112
- },
113
- {
114
- "label": "Anual",
115
- "value": "yearly"
116
- }
117
- ]
118
- },
119
- {
120
- "type": "switch",
121
- "id": "excludePast",
122
- "label": "Filtrar pasados",
123
- "description": "Los cumpleaños ya pasados no seran mostrados.",
124
- "defaultValue": true
125
- },
126
- {
127
- "type": "text-input",
128
- "id": "msj0",
129
- "label": "Sin cumpleaños",
130
- "description": "Mensaje que se muestra cuando no hay cumpleaños."
131
- }
132
- ]
133
- },
134
- {
135
- "id": "appearanceGroup",
136
- "type": "group",
137
- "label": "Apariencia",
138
- "description": "",
139
- "items": [
140
- {
141
- "type": "select-input",
142
- "id": "orientation",
143
- "required": true,
144
- "label": "Orientación",
145
- "defaultValue": "h",
146
- "items": [
147
- {
148
- "label": "Horizontal",
149
- "value": "h"
150
- },
151
- {
152
- "label": "Vertical",
153
- "value": "v"
154
- }
155
- ]
156
- },
157
- {
158
- "type": "label",
159
- "label": "Animación"
160
- },
161
- {
162
- "type": "select-input",
163
- "id": "animationMode",
164
- "label": "Modo",
165
- "items": [
166
- {
167
- "label": "Fundido",
168
- "value": "fade"
169
- },
170
- {
171
- "label": "Izquierda-derecha",
172
- "value": "slideRight"
173
- },
174
- {
175
- "label": "Derecha-izquierda",
176
- "value": "slideLeft"
177
- }
178
- ],
179
- "defaultValue": "fade"
180
- },
181
- {
182
- "type": "number-input",
183
- "id": "animationTime",
184
- "label": "Tiempo",
185
- "range":"[5:9999]",
186
- "required": true,
187
- "description": "Duracion de cada grupo de datos. En segundos."
188
- },
189
- {
190
- "type": "select-input",
191
- "id": "animationSpeed",
192
- "label": "Velocidad",
193
- "items": [
194
- {
195
- "label": "Lenta",
196
- "value": 2
197
- },
198
- {
199
- "label": "Normal",
200
- "value": 1.5
201
- },
202
- {
203
- "label": "Rápida",
204
- "value": 1
205
- }
206
- ],
207
- "defaultValue": 1.5
208
- },
209
- {
210
- "type": "switch",
211
- "id": "animationOrder",
212
- "label": "Orden",
213
- "displayOnTrue": "Invertido",
214
- "displayOnFalse": "Normal",
215
- "defaultValue": false
216
- },
217
- {
218
- "type": "label",
219
- "label": "Contenedor"
220
- },
221
- {
222
- "type": "number-input",
223
- "id": "containerColumns",
224
- "label": "Columnas",
225
- "description": "Cantidad de items horizontales.",
226
- "range": "[1:999]"
227
- },
228
- {
229
- "type": "number-input",
230
- "id": "containerColumnsGap",
231
- "label": "Separador horizontal",
232
- "description": "Espacio entre columnas en porcentaje.",
233
- "range": "[0:100]"
234
- },
235
- {
236
- "type": "number-input",
237
- "id": "containerRows",
238
- "label": "Filas",
239
- "description": "Cantidad de items verticales.",
240
- "range": "[1:999]"
241
- },
242
- {
243
- "type": "number-input",
244
- "id": "containerRowsGap",
245
- "label": "Separador vertical",
246
- "description": "Espacio entre filas en porcentaje.",
247
- "range": "[0:100]"
248
- },
249
- {
250
- "type": "label",
251
- "label": "Avanzado"
252
- },
253
- {
254
- "id": "backgroundImage",
255
- "type": "select-asset-kna-input",
256
- "required": false,
257
- "label": "Fondo",
258
- "extensions": [
259
- "jpg",
260
- "png"
261
- ]
262
- },
263
- {
264
- "id": "padding",
265
- "type": "text-input",
266
- "required": false,
267
- "label": "Márgenes",
268
- "description": "CSS para dar espacio arriba/derecha/abajo/izquieda."
269
- }
270
- ]
271
- },
272
- {
273
- "id": "standardGroup",
274
- "type": "group",
275
- "label": "Estilo",
276
- "description": "",
277
- "items": [
278
- {
279
- "type": "label",
280
- "label": "Textos"
281
- },
282
- {
283
- "type": "select-input",
284
- "id": "textPosition",
285
- "label": "Posición",
286
- "items": [
287
- {
288
- "label": "Inicio",
289
- "value": 1
290
- },
291
- {
292
- "label": "Centro",
293
- "value": 2
294
- },
295
- {
296
- "label": "Final",
297
- "value": 3
298
- }
299
- ],
300
- "defaultValue": 2
301
- },
302
- {
303
- "type": "select-input",
304
- "id": "textAlignment",
305
- "label": "Alineacion",
306
- "items": [
307
- {
308
- "label": "Inicio",
309
- "value": "start"
310
- },
311
- {
312
- "label": "Centro",
313
- "value": "center"
314
- },
315
- {
316
- "label": "Final",
317
- "value": "end"
318
- }
319
- ],
320
- "defaultValue": "center"
321
- },
322
- {
323
- "type": "text-format",
324
- "id": "nameFormat",
325
- "label": "Formato"
326
- },
327
- {
328
- "type": "number-input",
329
- "id": "nameMaxChar",
330
- "label": "Caracteres máximos"
331
- },
332
- {
333
- "type": "number-input",
334
- "id": "textMargin",
335
- "label": "Margen",
336
- "description": "Margen derecho de los textos en porcentaje. Por defecto 4%"
337
- },
338
- {
339
- "type": "switch",
340
- "id": "descriptionEnabled",
341
- "label": "Descripción",
342
- "defaultValue": true
343
- },
344
- {
345
- "type": "text-format",
346
- "id": "descriptionFormat",
347
- "label": "Formato",
348
- "show": "{{descriptionEnabled}} === true"
349
- },
350
- {
351
- "type": "number-input",
352
- "id": "descriptionMaxChar",
353
- "label": "Caracteres máximos",
354
- "show": "{{descriptionEnabled}} === true"
355
- },
356
- {
357
- "type": "label",
358
- "label": "Fotografía"
359
- },
360
- {
361
- "type": "switch",
362
- "id": "imageEnabled",
363
- "label": "Habilitada",
364
- "defaultValue": true
365
- },
366
- {
367
- "type": "select-input",
368
- "id": "imagePosition",
369
- "label": "Posición",
370
- "items": [
371
- {
372
- "label": "Inicio",
373
- "value": 1
374
- },
375
- {
376
- "label": "Centro",
377
- "value": 2
378
- },
379
- {
380
- "label": "Final",
381
- "value": 3
382
- }
383
- ],
384
- "defaultValue": 1,
385
- "show": "{{imageEnabled}} === true"
386
- },
387
- {
388
- "type": "select-input",
389
- "id": "imageAlignment",
390
- "label": "Alineacion",
391
- "items": [
392
- {
393
- "label": "Inicio",
394
- "value": "start"
395
- },
396
- {
397
- "label": "Centro",
398
- "value": "center"
399
- },
400
- {
401
- "label": "Final",
402
- "value": "end"
403
- }
404
- ],
405
- "defaultValue": "center",
406
- "show": "{{imageEnabled}} === true"
407
- },
408
- {
409
- "id": "imageStyle",
410
- "type": "select-input",
411
- "required": true,
412
- "label": "Estilo",
413
- "description": "Forma de enmarcar la fotografía.",
414
- "defaultValue": "normal",
415
- "items": [
416
- {
417
- "label": "Normal",
418
- "value": "normal"
419
- },
420
- {
421
- "label": "Redondeado",
422
- "value": "rounded"
423
- },
424
- {
425
- "label": "Círculo",
426
- "value": "circle"
427
- }
428
- ],
429
- "show": "{{imageEnabled}} === true"
430
- },
431
- {
432
- "type": "number-input",
433
- "id": "imageMargin",
434
- "label": "Margen",
435
- "description": "Margen derecho de la imagen en porcentaje. Por defecto 4%",
436
- "show": "{{imageEnabled}} === true"
437
- },
438
- {
439
- "type": "number-input",
440
- "id": "imageSize",
441
- "range": "[1:100]",
442
- "label": "Tamaño",
443
- "description": "Tamaño de la imagen en porcentaje.",
444
- "show": "{{imageEnabled}} === true"
445
- },
446
- {
447
- "type": "label",
448
- "label": "Fecha"
449
- },
450
- {
451
- "type": "switch",
452
- "id": "dateEnabled",
453
- "label": "Habilitada",
454
- "defaultValue": true
455
- },
456
- {
457
- "type": "select-input",
458
- "id": "datePosition",
459
- "label": "Posición",
460
- "items": [
461
- {
462
- "label": "Inicio",
463
- "value": 1
464
- },
465
- {
466
- "label": "Centro",
467
- "value": 2
468
- },
469
- {
470
- "label": "Final",
471
- "value": 3
472
- }
473
- ],
474
- "defaultValue": 3,
475
- "show": "{{dateEnabled}} === true"
476
- },
477
- {
478
- "type": "select-input",
479
- "id": "dateAlignment",
480
- "label": "Alineacion",
481
- "items": [
482
- {
483
- "label": "Inicio",
484
- "value": "start"
485
- },
486
- {
487
- "label": "Centro",
488
- "value": "center"
489
- },
490
- {
491
- "label": "Final",
492
- "value": "end"
493
- }
494
- ],
495
- "defaultValue": "center",
496
- "show": "{{dateEnabled}} === true"
497
- },
498
- {
499
- "type": "select-input",
500
- "id": "dateStyle",
501
- "required": true,
502
- "label": "Estilo",
503
- "defaultValue": "calendarFlat",
504
- "show": "{{dateEnabled}} === true",
505
- "items": [
506
- {
507
- "label": "Calendario simple",
508
- "value": "calendarFlat"
509
- },
510
- {
511
- "label": "Calendario texto",
512
- "value": "calendarText"
513
- },
514
- {
515
- "label": "Circular",
516
- "value": "circle"
517
- },
518
- {
519
- "label": "Texto",
520
- "value": "text"
521
- },
522
- {
523
- "label": "Lineas",
524
- "value": "outlines"
525
- }
526
- ]
527
- },
528
- {
529
- "type": "text-format",
530
- "id": "dateDayFormat",
531
- "label": "Formato del dia",
532
- "show": "{{dateEnabled}} === true"
533
- },
534
- {
535
- "type": "text-format",
536
- "id": "dateMonthFormat",
537
- "label": "Formato del mes",
538
- "show": "{{dateEnabled}} === true"
539
- },
540
- {
541
- "type": "switch",
542
- "id": "abbreviatedMonths",
543
- "label": "Meses abreviados",
544
- "show": "({{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1)",
545
- "defaultValue": false
546
- },
547
- {
548
- "type": "color-picker",
549
- "id": "datePrimaryColor",
550
- "label": "Color primario",
551
- "show": "({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)"
552
- },
553
- {
554
- "type": "number-input",
555
- "id": "dateMargin",
556
- "label": "Margen",
557
- "description": "Margen derecho de la fecha en porcentaje. Por defecto 4%",
558
- "show": "{{dateEnabled}} === true"
559
- },
560
- {
561
- "type": "label",
562
- "label": "Separador"
563
- },
564
- {
565
- "type": "switch",
566
- "id": "separator",
567
- "label": "Habilitado"
568
- },
569
- {
570
- "type": "number-input",
571
- "id": "separatorWidth",
572
- "label": "Ancho",
573
- "show": "{{separator}} === true"
574
- },
575
- {
576
- "type": "color-picker",
577
- "id": "separatorColor",
578
- "label": "Color",
579
- "show": "{{separator}} === true"
580
- },
581
- {
582
- "type": "text-input",
583
- "id": "itemMargins",
584
- "label": "Margenes",
585
- "description": "Un css de longitud de uno o dos valores",
586
- "pattern": "^(( )?[+-]?[0-9]+.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)){1,2}$",
587
- "show": "{{separator}} === true"
588
- }
589
- ]
590
- }
591
- ]
1
+ {
2
+ "schema": [
3
+ {
4
+ "id": "dataGroup",
5
+ "type": "group",
6
+ "label": "Configuración",
7
+ "description": "",
8
+ "items": [
9
+ {
10
+ "type": "label",
11
+ "label": "Datos"
12
+ },
13
+ {
14
+ "id": "url",
15
+ "type": "text-input",
16
+ "required": true,
17
+ "label": "Fuente",
18
+ "description": "Ubicación de los datos."
19
+ },
20
+ {
21
+ "type": "select-input",
22
+ "id": "photosMode",
23
+ "label": "Modo de fotos",
24
+ "items": [
25
+ {
26
+ "label": "Zip",
27
+ "value": "zip"
28
+ },
29
+ {
30
+ "label": "En linea",
31
+ "value": "online"
32
+ }
33
+ ],
34
+ "defaultValue": "online"
35
+ },
36
+ {
37
+ "id": "photosUrl",
38
+ "type": "text-input",
39
+ "required": false,
40
+ "label": "Fotos",
41
+ "description": "Ubicación donde se encuentran las fotos.",
42
+ "show": "{{photosMode}} === 'online'"
43
+ },
44
+ {
45
+ "type": "select-asset-kna-input",
46
+ "id": "photosZip",
47
+ "label": "Archivo Zip",
48
+ "extensions": [
49
+ "zip"
50
+ ],
51
+ "show": "{{photosMode}} === 'zip'"
52
+ },
53
+ {
54
+ "id": "updateTime",
55
+ "type": "select-input",
56
+ "required": true,
57
+ "label": "Actualización",
58
+ "defaultValue": 600000,
59
+ "items": [
60
+ {
61
+ "label": "10 minutos",
62
+ "value": 600000
63
+ },
64
+ {
65
+ "label": "30 minutos",
66
+ "value": 1800000
67
+ },
68
+ {
69
+ "label": "1 hora",
70
+ "value": 3600000
71
+ },
72
+ {
73
+ "label": "6 horas",
74
+ "value": 21600000
75
+ },
76
+ {
77
+ "label": "12 horas",
78
+ "value": 43200000
79
+ },
80
+ {
81
+ "label": "Diario",
82
+ "value": 86400000
83
+ },
84
+ {
85
+ "label": "Semanal",
86
+ "value": 604800000
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "type": "label",
92
+ "label": "Funcionamiento"
93
+ },
94
+ {
95
+ "id": "dataMode",
96
+ "type": "select-input",
97
+ "required": true,
98
+ "label": "Modo",
99
+ "defaultValue": "monthly",
100
+ "items": [
101
+ {
102
+ "label": "Diario",
103
+ "value": "daily"
104
+ },
105
+ {
106
+ "label": "Semanal",
107
+ "value": "weekly"
108
+ },
109
+ {
110
+ "label": "Mensual",
111
+ "value": "monthly"
112
+ },
113
+ {
114
+ "label": "Anual",
115
+ "value": "yearly"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "type": "switch",
121
+ "id": "excludePast",
122
+ "label": "Filtrar pasados",
123
+ "description": "Los cumpleaños ya pasados no seran mostrados.",
124
+ "defaultValue": true
125
+ },
126
+ {
127
+ "type": "text-input",
128
+ "id": "msj0",
129
+ "label": "Sin cumpleaños",
130
+ "description": "Mensaje que se muestra cuando no hay cumpleaños."
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "id": "appearanceGroup",
136
+ "type": "group",
137
+ "label": "Apariencia",
138
+ "description": "",
139
+ "items": [
140
+ {
141
+ "type": "select-input",
142
+ "id": "orientation",
143
+ "required": true,
144
+ "label": "Orientación",
145
+ "defaultValue": "h",
146
+ "items": [
147
+ {
148
+ "label": "Horizontal",
149
+ "value": "h"
150
+ },
151
+ {
152
+ "label": "Vertical",
153
+ "value": "v"
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "type": "label",
159
+ "label": "Animación"
160
+ },
161
+ {
162
+ "type": "select-input",
163
+ "id": "animationMode",
164
+ "label": "Modo",
165
+ "items": [
166
+ {
167
+ "label": "Fundido",
168
+ "value": "fade"
169
+ },
170
+ {
171
+ "label": "Izquierda-derecha",
172
+ "value": "slideRight"
173
+ },
174
+ {
175
+ "label": "Derecha-izquierda",
176
+ "value": "slideLeft"
177
+ }
178
+ ],
179
+ "defaultValue": "fade"
180
+ },
181
+ {
182
+ "type": "number-input",
183
+ "id": "animationTime",
184
+ "label": "Tiempo",
185
+ "range":"[5:9999]",
186
+ "required": true,
187
+ "description": "Duracion de cada grupo de datos. En segundos."
188
+ },
189
+ {
190
+ "type": "select-input",
191
+ "id": "animationSpeed",
192
+ "label": "Velocidad",
193
+ "items": [
194
+ {
195
+ "label": "Lenta",
196
+ "value": 2
197
+ },
198
+ {
199
+ "label": "Normal",
200
+ "value": 1.5
201
+ },
202
+ {
203
+ "label": "Rápida",
204
+ "value": 1
205
+ }
206
+ ],
207
+ "defaultValue": 1.5
208
+ },
209
+ {
210
+ "type": "switch",
211
+ "id": "animationOrder",
212
+ "label": "Orden",
213
+ "displayOnTrue": "Invertido",
214
+ "displayOnFalse": "Normal",
215
+ "defaultValue": false
216
+ },
217
+ {
218
+ "type": "label",
219
+ "label": "Contenedor"
220
+ },
221
+ {
222
+ "type": "number-input",
223
+ "id": "containerColumns",
224
+ "label": "Columnas",
225
+ "description": "Cantidad de items horizontales.",
226
+ "range": "[1:999]"
227
+ },
228
+ {
229
+ "type": "number-input",
230
+ "id": "containerColumnsGap",
231
+ "label": "Separador horizontal",
232
+ "description": "Espacio entre columnas en porcentaje.",
233
+ "range": "[0:100]"
234
+ },
235
+ {
236
+ "type": "number-input",
237
+ "id": "containerRows",
238
+ "label": "Filas",
239
+ "description": "Cantidad de items verticales.",
240
+ "range": "[1:999]"
241
+ },
242
+ {
243
+ "type": "number-input",
244
+ "id": "containerRowsGap",
245
+ "label": "Separador vertical",
246
+ "description": "Espacio entre filas en porcentaje.",
247
+ "range": "[0:100]"
248
+ },
249
+ {
250
+ "type": "label",
251
+ "label": "Avanzado"
252
+ },
253
+ {
254
+ "id": "backgroundImage",
255
+ "type": "select-asset-kna-input",
256
+ "required": false,
257
+ "label": "Fondo",
258
+ "extensions": [
259
+ "jpg",
260
+ "png"
261
+ ]
262
+ },
263
+ {
264
+ "id": "padding",
265
+ "type": "text-input",
266
+ "required": false,
267
+ "label": "Márgenes",
268
+ "description": "CSS para dar espacio arriba/derecha/abajo/izquieda."
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "id": "standardGroup",
274
+ "type": "group",
275
+ "label": "Estilo",
276
+ "description": "",
277
+ "items": [
278
+ {
279
+ "type": "label",
280
+ "label": "Textos"
281
+ },
282
+ {
283
+ "type": "select-input",
284
+ "id": "textPosition",
285
+ "label": "Posición",
286
+ "items": [
287
+ {
288
+ "label": "Inicio",
289
+ "value": 1
290
+ },
291
+ {
292
+ "label": "Centro",
293
+ "value": 2
294
+ },
295
+ {
296
+ "label": "Final",
297
+ "value": 3
298
+ }
299
+ ],
300
+ "defaultValue": 2
301
+ },
302
+ {
303
+ "type": "select-input",
304
+ "id": "textAlignment",
305
+ "label": "Alineacion",
306
+ "items": [
307
+ {
308
+ "label": "Inicio",
309
+ "value": "start"
310
+ },
311
+ {
312
+ "label": "Centro",
313
+ "value": "center"
314
+ },
315
+ {
316
+ "label": "Final",
317
+ "value": "end"
318
+ }
319
+ ],
320
+ "defaultValue": "center"
321
+ },
322
+ {
323
+ "type": "text-format",
324
+ "id": "nameFormat",
325
+ "label": "Formato"
326
+ },
327
+ {
328
+ "type": "number-input",
329
+ "id": "nameMaxChar",
330
+ "label": "Caracteres máximos"
331
+ },
332
+ {
333
+ "type": "number-input",
334
+ "id": "textMargin",
335
+ "label": "Margen",
336
+ "description": "Margen derecho de los textos en porcentaje. Por defecto 4%"
337
+ },
338
+ {
339
+ "type": "switch",
340
+ "id": "descriptionEnabled",
341
+ "label": "Descripción",
342
+ "defaultValue": true
343
+ },
344
+ {
345
+ "type": "text-format",
346
+ "id": "descriptionFormat",
347
+ "label": "Formato",
348
+ "show": "{{descriptionEnabled}} === true"
349
+ },
350
+ {
351
+ "type": "number-input",
352
+ "id": "descriptionMaxChar",
353
+ "label": "Caracteres máximos",
354
+ "show": "{{descriptionEnabled}} === true"
355
+ },
356
+ {
357
+ "type": "label",
358
+ "label": "Fotografía"
359
+ },
360
+ {
361
+ "type": "switch",
362
+ "id": "imageEnabled",
363
+ "label": "Habilitada",
364
+ "defaultValue": true
365
+ },
366
+ {
367
+ "type": "select-input",
368
+ "id": "imagePosition",
369
+ "label": "Posición",
370
+ "items": [
371
+ {
372
+ "label": "Inicio",
373
+ "value": 1
374
+ },
375
+ {
376
+ "label": "Centro",
377
+ "value": 2
378
+ },
379
+ {
380
+ "label": "Final",
381
+ "value": 3
382
+ }
383
+ ],
384
+ "defaultValue": 1,
385
+ "show": "{{imageEnabled}} === true"
386
+ },
387
+ {
388
+ "type": "select-input",
389
+ "id": "imageAlignment",
390
+ "label": "Alineacion",
391
+ "items": [
392
+ {
393
+ "label": "Inicio",
394
+ "value": "start"
395
+ },
396
+ {
397
+ "label": "Centro",
398
+ "value": "center"
399
+ },
400
+ {
401
+ "label": "Final",
402
+ "value": "end"
403
+ }
404
+ ],
405
+ "defaultValue": "center",
406
+ "show": "{{imageEnabled}} === true"
407
+ },
408
+ {
409
+ "id": "imageStyle",
410
+ "type": "select-input",
411
+ "required": true,
412
+ "label": "Estilo",
413
+ "description": "Forma de enmarcar la fotografía.",
414
+ "defaultValue": "normal",
415
+ "items": [
416
+ {
417
+ "label": "Normal",
418
+ "value": "normal"
419
+ },
420
+ {
421
+ "label": "Redondeado",
422
+ "value": "rounded"
423
+ },
424
+ {
425
+ "label": "Círculo",
426
+ "value": "circle"
427
+ }
428
+ ],
429
+ "show": "{{imageEnabled}} === true"
430
+ },
431
+ {
432
+ "type": "number-input",
433
+ "id": "imageMargin",
434
+ "label": "Margen",
435
+ "description": "Margen derecho de la imagen en porcentaje. Por defecto 4%",
436
+ "show": "{{imageEnabled}} === true"
437
+ },
438
+ {
439
+ "type": "number-input",
440
+ "id": "imageSize",
441
+ "range": "[1:100]",
442
+ "label": "Tamaño",
443
+ "description": "Tamaño de la imagen en porcentaje.",
444
+ "show": "{{imageEnabled}} === true"
445
+ },
446
+ {
447
+ "type": "label",
448
+ "label": "Fecha"
449
+ },
450
+ {
451
+ "type": "switch",
452
+ "id": "dateEnabled",
453
+ "label": "Habilitada",
454
+ "defaultValue": true
455
+ },
456
+ {
457
+ "type": "select-input",
458
+ "id": "datePosition",
459
+ "label": "Posición",
460
+ "items": [
461
+ {
462
+ "label": "Inicio",
463
+ "value": 1
464
+ },
465
+ {
466
+ "label": "Centro",
467
+ "value": 2
468
+ },
469
+ {
470
+ "label": "Final",
471
+ "value": 3
472
+ }
473
+ ],
474
+ "defaultValue": 3,
475
+ "show": "{{dateEnabled}} === true"
476
+ },
477
+ {
478
+ "type": "select-input",
479
+ "id": "dateAlignment",
480
+ "label": "Alineacion",
481
+ "items": [
482
+ {
483
+ "label": "Inicio",
484
+ "value": "start"
485
+ },
486
+ {
487
+ "label": "Centro",
488
+ "value": "center"
489
+ },
490
+ {
491
+ "label": "Final",
492
+ "value": "end"
493
+ }
494
+ ],
495
+ "defaultValue": "center",
496
+ "show": "{{dateEnabled}} === true"
497
+ },
498
+ {
499
+ "type": "select-input",
500
+ "id": "dateStyle",
501
+ "required": true,
502
+ "label": "Estilo",
503
+ "defaultValue": "calendarFlat",
504
+ "show": "{{dateEnabled}} === true",
505
+ "items": [
506
+ {
507
+ "label": "Calendario simple",
508
+ "value": "calendarFlat"
509
+ },
510
+ {
511
+ "label": "Calendario texto",
512
+ "value": "calendarText"
513
+ },
514
+ {
515
+ "label": "Circular",
516
+ "value": "circle"
517
+ },
518
+ {
519
+ "label": "Texto",
520
+ "value": "text"
521
+ },
522
+ {
523
+ "label": "Lineas",
524
+ "value": "outlines"
525
+ }
526
+ ]
527
+ },
528
+ {
529
+ "type": "text-format",
530
+ "id": "dateDayFormat",
531
+ "label": "Formato del dia",
532
+ "show": "{{dateEnabled}} === true"
533
+ },
534
+ {
535
+ "type": "text-format",
536
+ "id": "dateMonthFormat",
537
+ "label": "Formato del mes",
538
+ "show": "{{dateEnabled}} === true"
539
+ },
540
+ {
541
+ "type": "switch",
542
+ "id": "abbreviatedMonths",
543
+ "label": "Meses abreviados",
544
+ "show": "({{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1)",
545
+ "defaultValue": false
546
+ },
547
+ {
548
+ "type": "color-picker",
549
+ "id": "datePrimaryColor",
550
+ "label": "Color primario",
551
+ "show": "({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)"
552
+ },
553
+ {
554
+ "type": "number-input",
555
+ "id": "dateMargin",
556
+ "label": "Margen",
557
+ "description": "Margen derecho de la fecha en porcentaje. Por defecto 4%",
558
+ "show": "{{dateEnabled}} === true"
559
+ },
560
+ {
561
+ "type": "label",
562
+ "label": "Separador"
563
+ },
564
+ {
565
+ "type": "switch",
566
+ "id": "separator",
567
+ "label": "Habilitado"
568
+ },
569
+ {
570
+ "type": "number-input",
571
+ "id": "separatorWidth",
572
+ "label": "Ancho",
573
+ "show": "{{separator}} === true"
574
+ },
575
+ {
576
+ "type": "color-picker",
577
+ "id": "separatorColor",
578
+ "label": "Color",
579
+ "show": "{{separator}} === true"
580
+ },
581
+ {
582
+ "type": "text-input",
583
+ "id": "itemMargins",
584
+ "label": "Margenes",
585
+ "description": "Un css de longitud de uno o dos valores",
586
+ "pattern": "^(( )?[+-]?[0-9]+.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)){1,2}$",
587
+ "show": "{{separator}} === true"
588
+ }
589
+ ]
590
+ }
591
+ ]
592
592
  }