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