@vixoniccom/birthdays 0.7.13-dev.1 → 0.7.13-dev.10

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 CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.7.13-dev.10](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.9...v0.7.13-dev.10) (2026-06-19)
6
+
7
+ ### [0.7.13-dev.9](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.8...v0.7.13-dev.9) (2026-06-18)
8
+
9
+ ### [0.7.13-dev.8](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.7...v0.7.13-dev.8) (2026-06-18)
10
+
11
+ ### [0.7.13-dev.7](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.6...v0.7.13-dev.7) (2026-06-18)
12
+
13
+ ### [0.7.13-dev.6](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.5...v0.7.13-dev.6) (2026-06-18)
14
+
15
+ ### [0.7.13-dev.5](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.4...v0.7.13-dev.5) (2026-06-17)
16
+
17
+ ### [0.7.13-dev.4](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.3...v0.7.13-dev.4) (2026-06-17)
18
+
19
+ ### [0.7.13-dev.3](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.2...v0.7.13-dev.3) (2026-06-17)
20
+
21
+ ### [0.7.13-dev.2](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.1...v0.7.13-dev.2) (2026-06-17)
22
+
5
23
  ### [0.7.13-dev.1](https://github.com/Vixonic/store-birthdays/compare/v0.7.13-dev.0...v0.7.13-dev.1) (2026-06-17)
6
24
 
7
25
  ### [0.7.13-dev.0](https://github.com/Vixonic/store-birthdays/compare/v0.7.8...v0.7.13-dev.0) (2026-06-17)
package/build.zip CHANGED
Binary file
@@ -7,6 +7,7 @@ import {
7
7
  Switch,
8
8
  TextInput,
9
9
  } from '@vixoniccom/modules'
10
+ import { ShowValidations } from '../utils'
10
11
 
11
12
  export const appearanceInputs = [
12
13
  new Label({ label: 'Tema predefinido' }),
@@ -21,7 +22,7 @@ export const appearanceInputs = [
21
22
  { label: 'Preset 3', value: 'preset3' },
22
23
  ],
23
24
  }),
24
- new Label({ label: 'Orientación' }),
25
+ new Label({ label: 'Orientación', show: ShowValidations.personalizado }),
25
26
  new SelectInput({
26
27
  id: 'orientation',
27
28
  required: true,
@@ -31,9 +32,10 @@ export const appearanceInputs = [
31
32
  { label: 'Vertical', value: 'v' },
32
33
  ],
33
34
  defaultValue: 'h',
35
+ show: ShowValidations.personalizado,
34
36
  }),
35
37
 
36
- new Label({ label: 'Animación' }),
38
+ new Label({ label: 'Animación', show: ShowValidations.personalizado }),
37
39
  new SelectInput({
38
40
  id: 'animationMode',
39
41
  required: true,
@@ -44,7 +46,8 @@ export const appearanceInputs = [
44
46
  { label: 'Derecha - izquierda', value: 'slideLeft' },
45
47
  ],
46
48
  defaultValue: 'fade',
47
- description: 'Por defecto, Fundido.'
49
+ description: 'Por defecto, Fundido.',
50
+ show: ShowValidations.personalizado,
48
51
  }),
49
52
  new SelectInput({
50
53
  id: 'animationSpeed',
@@ -55,6 +58,7 @@ export const appearanceInputs = [
55
58
  { label: 'Rápida', value: 1 },
56
59
  ],
57
60
  defaultValue: 1.5,
61
+ show: ShowValidations.personalizado,
58
62
  }),
59
63
  new NumberInput({
60
64
  id: 'animationTime',
@@ -62,32 +66,37 @@ export const appearanceInputs = [
62
66
  description: 'Duración de cada grupo de datos (en segundos).',
63
67
  required: true,
64
68
  range: new NumberRangeValue(1, 9999),
69
+ show: ShowValidations.personalizado,
65
70
  }),
66
71
 
67
- new Label({ label: 'Contenedor' }),
72
+ new Label({ label: 'Contenedor', show: ShowValidations.personalizado }),
68
73
  new NumberInput({
69
74
  id: 'containerColumns',
70
75
  label: 'Columnas',
71
76
  description: 'Cantidad de items horizontales. Por defecto, 1.',
72
77
  range: new NumberRangeValue(1, 999),
78
+ show: ShowValidations.personalizado,
73
79
  }),
74
80
  new NumberInput({
75
81
  id: 'containerColumnsGap',
76
82
  label: 'Separador horizontal',
77
83
  description: 'Espacio entre columnas (en porcentaje). Por defecto, 1%.',
78
84
  range: new NumberRangeValue(1, 100),
85
+ show: ShowValidations.personalizado,
79
86
  }),
80
87
  new NumberInput({
81
88
  id: 'containerRows',
82
89
  label: 'Filas',
83
90
  description: 'Cantidad de items verticales. Por defecto, 3.',
84
91
  range: new NumberRangeValue(1, 999),
92
+ show: ShowValidations.personalizado,
85
93
  }),
86
94
  new NumberInput({
87
95
  id: 'containerRowsGap',
88
96
  label: 'Separador vertical',
89
97
  description: 'Espacio entre filas (en porcentaje). Por defecto, 5%.',
90
98
  range: new NumberRangeValue(1, 100),
99
+ show: ShowValidations.personalizado,
91
100
  }),
92
101
 
93
102
  new Label({ label: 'Avanzado' }),
@@ -102,6 +111,7 @@ export const appearanceInputs = [
102
111
  required: false,
103
112
  label: 'Márgenes',
104
113
  description: 'CSS para dar espacio arriba/derecha/abajo/izquieda.',
114
+ show: ShowValidations.personalizado,
105
115
  }),
106
116
 
107
117
  new Label({ label: 'Visualizador de error' }),
@@ -27,7 +27,7 @@ export const dataInputs = [
27
27
  new ServiceInput({
28
28
  id: 'localService',
29
29
  label: 'Administración local',
30
- serviceType: 'LocalAppSheetsService',
30
+ serviceType: 'LocalAppSheetsService' as any,
31
31
  show: serviceEnabled.localAppSheetsServiceEnabled
32
32
  }),
33
33
  new ServiceInput({
@@ -10,8 +10,27 @@ import {
10
10
  } from '@vixoniccom/modules'
11
11
  import { ShowValidations } from '../utils'
12
12
 
13
+ const {
14
+ personalizado,
15
+ presetActive,
16
+ descriptionEnabled,
17
+ optionalEnabled,
18
+ imageEnabled,
19
+ dateEnabled,
20
+ abbreviatedMonthsCondition,
21
+ dateColorCondition,
22
+ separatorEnabled,
23
+ } = ShowValidations
24
+
13
25
  export const standardInputs = [
14
- new Label({ label: 'Textos' }),
26
+ new Label({ label: 'Fuentes', show: presetActive }),
27
+ new TextFormat({ id: 'nameFont', label: 'Fuente del nombre', show: presetActive }),
28
+ new TextFormat({ id: 'descriptionFont', label: 'Fuente de la descripción', show: presetActive }),
29
+ new TextFormat({ id: 'optionalFont', label: 'Fuente del campo opcional', show: presetActive }),
30
+ new TextFormat({ id: 'dateDayFont', label: 'Fuente del día', show: presetActive }),
31
+ new TextFormat({ id: 'dateMonthFont', label: 'Fuente del mes', show: presetActive }),
32
+
33
+ new Label({ label: 'Textos', show: personalizado }),
15
34
  new SelectInput({
16
35
  id: 'textPosition',
17
36
  label: 'Posición',
@@ -21,6 +40,7 @@ export const standardInputs = [
21
40
  { label: 'Final', value: 3 },
22
41
  ],
23
42
  defaultValue: 2,
43
+ show: personalizado,
24
44
  }),
25
45
  new SelectInput({
26
46
  id: 'textAlignment',
@@ -31,15 +51,17 @@ export const standardInputs = [
31
51
  { label: 'Final', value: 'end' },
32
52
  ],
33
53
  defaultValue: 'center',
54
+ show: personalizado,
34
55
  }),
35
56
 
36
- new Label({ label: 'Nombre' }),
37
- new TextFormat({ id: 'nameFormat', label: 'Formato' }),
38
- new NumberInput({ id: 'nameMaxChar', label: 'Caracteres máximos' }),
57
+ new Label({ label: 'Nombre', show: personalizado }),
58
+ new TextFormat({ id: 'nameFormat', label: 'Formato', show: personalizado }),
59
+ new NumberInput({ id: 'nameMaxChar', label: 'Caracteres máximos', show: personalizado }),
39
60
  new TextInput({
40
61
  id: 'textMargin',
41
62
  label: 'Margen',
42
63
  description: 'Margen derecho de los textos (en porcentaje). Por defecto 0%.',
64
+ show: personalizado,
43
65
  }),
44
66
 
45
67
  new Switch({
@@ -48,11 +70,12 @@ export const standardInputs = [
48
70
  displayOnTrue: 'habilitada',
49
71
  displayOnFalse: 'deshabilitada',
50
72
  defaultValue: true,
73
+ show: personalizado,
51
74
  }),
52
75
 
53
- new Label({ label: 'Descripción', show: ShowValidations.descriptionEnabled }),
54
- new TextFormat({ id: 'descriptionFormat', label: 'Formato', show: ShowValidations.descriptionEnabled }),
55
- new NumberInput({ id: 'descriptionMaxChar', label: 'Caracteres máximos', show: ShowValidations.descriptionEnabled }),
76
+ new Label({ label: 'Descripción', show: `${personalizado} && ${descriptionEnabled}` }),
77
+ new TextFormat({ id: 'descriptionFormat', label: 'Formato', show: `${personalizado} && ${descriptionEnabled}` }),
78
+ new NumberInput({ id: 'descriptionMaxChar', label: 'Caracteres máximos', show: `${personalizado} && ${descriptionEnabled}` }),
56
79
 
57
80
  new Switch({
58
81
  id: 'optionalEnabled',
@@ -60,20 +83,22 @@ export const standardInputs = [
60
83
  displayOnTrue: 'habilitado',
61
84
  displayOnFalse: 'deshabilitado',
62
85
  defaultValue: true,
86
+ show: personalizado,
63
87
  }),
64
88
 
65
- new Label({ label: 'Campo opcional', show: ShowValidations.optionalEnabled }),
66
- new TextFormat({ id: 'optionalFormat', label: 'Formato', show: ShowValidations.optionalEnabled }),
89
+ new Label({ label: 'Campo opcional', show: `${personalizado} && ${optionalEnabled}` }),
90
+ new TextFormat({ id: 'optionalFormat', label: 'Formato', show: `${personalizado} && ${optionalEnabled}` }),
67
91
 
68
- new Label({ label: 'Fotografía' }),
92
+ new Label({ label: 'Fotografía', show: personalizado }),
69
93
 
70
- new Label({ label: 'Imagen' }),
94
+ new Label({ label: 'Imagen', show: personalizado }),
71
95
  new Switch({
72
96
  id: 'imageEnabled',
73
97
  label: 'Imagen',
74
98
  displayOnTrue: 'habilitada',
75
99
  displayOnFalse: 'deshabilitada',
76
100
  defaultValue: true,
101
+ show: personalizado,
77
102
  }),
78
103
  new SelectInput({
79
104
  id: 'imagePosition',
@@ -84,7 +109,7 @@ export const standardInputs = [
84
109
  { label: 'Final', value: 3 },
85
110
  ],
86
111
  defaultValue: 2,
87
- show: ShowValidations.imageEnabled,
112
+ show: `${personalizado} && ${imageEnabled}`,
88
113
  }),
89
114
  new SelectInput({
90
115
  id: 'imageAlignment',
@@ -95,7 +120,7 @@ export const standardInputs = [
95
120
  { label: 'Final', value: 'end' },
96
121
  ],
97
122
  defaultValue: 'center',
98
- show: ShowValidations.imageEnabled,
123
+ show: `${personalizado} && ${imageEnabled}`,
99
124
  }),
100
125
  new SelectInput({
101
126
  id: 'imageStyle',
@@ -108,29 +133,30 @@ export const standardInputs = [
108
133
  { label: 'Círculo', value: 'circle' },
109
134
  ],
110
135
  defaultValue: 'normal',
111
- show: ShowValidations.imageEnabled,
136
+ show: `${personalizado} && ${imageEnabled}`,
112
137
  }),
113
138
  new TextInput({
114
139
  id: 'imageMargin',
115
140
  label: 'Margen',
116
141
  description: 'Margen derecho de la imagen (en porcentaje). Por defecto 0%.',
117
- show: ShowValidations.imageEnabled,
142
+ show: `${personalizado} && ${imageEnabled}`,
118
143
  }),
119
144
  new NumberInput({
120
145
  id: 'imageSize',
121
146
  label: 'Tamaño',
122
147
  description: 'Tamaño de la imagen (en porcentaje).',
123
148
  range: new NumberRangeValue(1, 100),
124
- show: ShowValidations.imageEnabled,
149
+ show: `${personalizado} && ${imageEnabled}`,
125
150
  }),
126
151
 
127
- new Label({ label: 'Fecha' }),
152
+ new Label({ label: 'Fecha', show: personalizado }),
128
153
  new Switch({
129
154
  id: 'dateEnabled',
130
155
  label: 'Fecha',
131
156
  displayOnTrue: 'habilitada',
132
157
  displayOnFalse: 'deshabilitada',
133
158
  defaultValue: true,
159
+ show: personalizado,
134
160
  }),
135
161
  new SelectInput({
136
162
  id: 'datePosition',
@@ -141,7 +167,7 @@ export const standardInputs = [
141
167
  { label: 'Final', value: 3 },
142
168
  ],
143
169
  defaultValue: 3,
144
- show: ShowValidations.dateEnabled,
170
+ show: `${personalizado} && ${dateEnabled}`,
145
171
  }),
146
172
  new SelectInput({
147
173
  id: 'dateAlignment',
@@ -152,7 +178,7 @@ export const standardInputs = [
152
178
  { label: 'Final', value: 'end' },
153
179
  ],
154
180
  defaultValue: 'center',
155
- show: ShowValidations.dateEnabled,
181
+ show: `${personalizado} && ${dateEnabled}`,
156
182
  }),
157
183
  new SelectInput({
158
184
  id: 'dateStyle',
@@ -167,45 +193,46 @@ export const standardInputs = [
167
193
  { label: 'Líneas', value: 'outlines' },
168
194
  ],
169
195
  defaultValue: 'calendarFlat',
170
- show: ShowValidations.dateEnabled,
196
+ show: `${personalizado} && ${dateEnabled}`,
171
197
  }),
172
- new TextFormat({ id: 'dateDayFormat', label: 'Formato del día', show: ShowValidations.dateEnabled }),
173
- new TextFormat({ id: 'dateMonthFormat', label: 'Formato del mes', show: ShowValidations.dateEnabled }),
198
+ new TextFormat({ id: 'dateDayFormat', label: 'Formato del día', show: `${personalizado} && ${dateEnabled}` }),
199
+ new TextFormat({ id: 'dateMonthFormat', label: 'Formato del mes', show: `${personalizado} && ${dateEnabled}` }),
174
200
  new Switch({
175
201
  id: 'abbreviatedMonths',
176
202
  label: 'Meses',
177
203
  displayOnTrue: 'abreviados',
178
204
  displayOnFalse: 'no abreviados',
179
205
  defaultValue: false,
180
- show: ShowValidations.abbreviatedMonthsCondition,
206
+ show: `${personalizado} && ${abbreviatedMonthsCondition}`,
181
207
  }),
182
208
  new ColorPicker({
183
209
  id: 'datePrimaryColor',
184
210
  label: 'Color primario',
185
- show: ShowValidations.dateColorCondition,
211
+ show: `${personalizado} && ${dateColorCondition}`,
186
212
  }),
187
213
  new TextInput({
188
214
  id: 'dateMargin',
189
215
  label: 'Margen',
190
216
  description: 'Margen derecho de la fecha (en porcentaje). Por defecto 0%.',
191
- show: ShowValidations.dateEnabled,
217
+ show: `${personalizado} && ${dateEnabled}`,
192
218
  }),
193
219
 
194
- new Label({ label: 'Separador' }),
220
+ new Label({ label: 'Separador', show: personalizado }),
195
221
  new Switch({
196
222
  id: 'separator',
197
223
  label: 'Separador',
198
224
  displayOnTrue: 'habilitado',
199
225
  displayOnFalse: 'deshabilitado',
200
226
  defaultValue: true,
227
+ show: personalizado,
201
228
  }),
202
- new NumberInput({ id: 'separatorWidth', label: 'Ancho', show: ShowValidations.separatorEnabled }),
203
- new ColorPicker({ id: 'separatorColor', label: 'Color', show: ShowValidations.separatorEnabled }),
229
+ new NumberInput({ id: 'separatorWidth', label: 'Ancho', show: `${personalizado} && ${separatorEnabled}` }),
230
+ new ColorPicker({ id: 'separatorColor', label: 'Color', show: `${personalizado} && ${separatorEnabled}` }),
204
231
  new TextInput({
205
232
  id: 'itemMargins',
206
233
  label: 'Márgenes',
207
234
  description: 'Un CSS de longitud de uno o dos valores.',
208
235
  pattern: '^(( )?[+-]?[0-9]+.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)){1,2}$',
209
- show: ShowValidations.separatorEnabled,
236
+ show: `${personalizado} && ${separatorEnabled}`,
210
237
  }),
211
238
  ]
@@ -1,4 +1,6 @@
1
1
  export const ShowValidations = {
2
+ personalizado: '({{themePreset}} === "personalizado" || !{{themePreset}})',
3
+ presetActive: '{{themePreset}} && {{themePreset}} !== "personalizado"',
2
4
  descriptionEnabled: '{{descriptionEnabled}} === true',
3
5
  optionalEnabled: '{{optionalEnabled}} === true',
4
6
  imageEnabled: '{{imageEnabled}} === true',
@@ -117,7 +117,7 @@
117
117
  {
118
118
  "label": "Personalizado",
119
119
  "value": "personalizado"
120
- },
120
+ },
121
121
  {
122
122
  "label": "Preset 1",
123
123
  "value": "preset1"
@@ -134,11 +134,13 @@
134
134
  },
135
135
  {
136
136
  "type": "label",
137
- "label": "Orientación"
137
+ "label": "Orientación",
138
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
138
139
  },
139
140
  {
140
141
  "id": "orientation",
141
142
  "label": "Orientación",
143
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
142
144
  "type": "select-input",
143
145
  "items": [
144
146
  {
@@ -155,11 +157,13 @@
155
157
  },
156
158
  {
157
159
  "type": "label",
158
- "label": "Animación"
160
+ "label": "Animación",
161
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
159
162
  },
160
163
  {
161
164
  "id": "animationMode",
162
165
  "label": "Tipo de animación",
166
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
163
167
  "type": "select-input",
164
168
  "description": "Por defecto, Fundido.",
165
169
  "items": [
@@ -182,6 +186,7 @@
182
186
  {
183
187
  "id": "animationSpeed",
184
188
  "label": "Velocidad",
189
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
185
190
  "type": "select-input",
186
191
  "items": [
187
192
  {
@@ -202,6 +207,7 @@
202
207
  {
203
208
  "id": "animationTime",
204
209
  "label": "Tiempo",
210
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
205
211
  "type": "number-input",
206
212
  "range": "[1:9999:]",
207
213
  "description": "Duración de cada grupo de datos (en segundos).",
@@ -209,11 +215,13 @@
209
215
  },
210
216
  {
211
217
  "type": "label",
212
- "label": "Contenedor"
218
+ "label": "Contenedor",
219
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
213
220
  },
214
221
  {
215
222
  "id": "containerColumns",
216
223
  "label": "Columnas",
224
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
217
225
  "type": "number-input",
218
226
  "range": "[1:999:]",
219
227
  "description": "Cantidad de items horizontales. Por defecto, 1."
@@ -221,6 +229,7 @@
221
229
  {
222
230
  "id": "containerColumnsGap",
223
231
  "label": "Separador horizontal",
232
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
224
233
  "type": "number-input",
225
234
  "range": "[1:100:]",
226
235
  "description": "Espacio entre columnas (en porcentaje). Por defecto, 1%."
@@ -228,6 +237,7 @@
228
237
  {
229
238
  "id": "containerRows",
230
239
  "label": "Filas",
240
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
231
241
  "type": "number-input",
232
242
  "range": "[1:999:]",
233
243
  "description": "Cantidad de items verticales. Por defecto, 3."
@@ -235,6 +245,7 @@
235
245
  {
236
246
  "id": "containerRowsGap",
237
247
  "label": "Separador vertical",
248
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
238
249
  "type": "number-input",
239
250
  "range": "[1:100:]",
240
251
  "description": "Espacio entre filas (en porcentaje). Por defecto, 5%."
@@ -257,6 +268,7 @@
257
268
  {
258
269
  "id": "padding",
259
270
  "label": "Márgenes",
271
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
260
272
  "type": "text-input",
261
273
  "description": "CSS para dar espacio arriba/derecha/abajo/izquieda.",
262
274
  "required": false
@@ -282,11 +294,48 @@
282
294
  "items": [
283
295
  {
284
296
  "type": "label",
285
- "label": "Textos"
297
+ "label": "Fuentes",
298
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\""
299
+ },
300
+ {
301
+ "id": "nameFont",
302
+ "label": "Fuente del nombre",
303
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\"",
304
+ "type": "text-format"
305
+ },
306
+ {
307
+ "id": "descriptionFont",
308
+ "label": "Fuente de la descripción",
309
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\"",
310
+ "type": "text-format"
311
+ },
312
+ {
313
+ "id": "optionalFont",
314
+ "label": "Fuente del campo opcional",
315
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\"",
316
+ "type": "text-format"
317
+ },
318
+ {
319
+ "id": "dateDayFont",
320
+ "label": "Fuente del día",
321
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\"",
322
+ "type": "text-format"
323
+ },
324
+ {
325
+ "id": "dateMonthFont",
326
+ "label": "Fuente del mes",
327
+ "show": "{{themePreset}} && {{themePreset}} !== \"personalizado\"",
328
+ "type": "text-format"
329
+ },
330
+ {
331
+ "type": "label",
332
+ "label": "Textos",
333
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
286
334
  },
287
335
  {
288
336
  "id": "textPosition",
289
337
  "label": "Posición",
338
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
290
339
  "type": "select-input",
291
340
  "items": [
292
341
  {
@@ -307,6 +356,7 @@
307
356
  {
308
357
  "id": "textAlignment",
309
358
  "label": "Alineación",
359
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
310
360
  "type": "select-input",
311
361
  "items": [
312
362
  {
@@ -326,27 +376,32 @@
326
376
  },
327
377
  {
328
378
  "type": "label",
329
- "label": "Nombre"
379
+ "label": "Nombre",
380
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
330
381
  },
331
382
  {
332
383
  "id": "nameFormat",
333
384
  "label": "Formato",
385
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
334
386
  "type": "text-format"
335
387
  },
336
388
  {
337
389
  "id": "nameMaxChar",
338
390
  "label": "Caracteres máximos",
391
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
339
392
  "type": "number-input"
340
393
  },
341
394
  {
342
395
  "id": "textMargin",
343
396
  "label": "Margen",
397
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
344
398
  "type": "text-input",
345
399
  "description": "Margen derecho de los textos (en porcentaje). Por defecto 0%."
346
400
  },
347
401
  {
348
402
  "id": "descriptionEnabled",
349
403
  "label": "Descripción",
404
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
350
405
  "type": "switch",
351
406
  "defaultValue": true,
352
407
  "displayOnTrue": "habilitada",
@@ -355,23 +410,24 @@
355
410
  {
356
411
  "type": "label",
357
412
  "label": "Descripción",
358
- "show": "{{descriptionEnabled}} === true"
413
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true"
359
414
  },
360
415
  {
361
416
  "id": "descriptionFormat",
362
417
  "label": "Formato",
363
- "show": "{{descriptionEnabled}} === true",
418
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true",
364
419
  "type": "text-format"
365
420
  },
366
421
  {
367
422
  "id": "descriptionMaxChar",
368
423
  "label": "Caracteres máximos",
369
- "show": "{{descriptionEnabled}} === true",
424
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true",
370
425
  "type": "number-input"
371
426
  },
372
427
  {
373
428
  "id": "optionalEnabled",
374
429
  "label": "Campo opcional",
430
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
375
431
  "type": "switch",
376
432
  "defaultValue": true,
377
433
  "displayOnTrue": "habilitado",
@@ -380,25 +436,28 @@
380
436
  {
381
437
  "type": "label",
382
438
  "label": "Campo opcional",
383
- "show": "{{optionalEnabled}} === true"
439
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{optionalEnabled}} === true"
384
440
  },
385
441
  {
386
442
  "id": "optionalFormat",
387
443
  "label": "Formato",
388
- "show": "{{optionalEnabled}} === true",
444
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{optionalEnabled}} === true",
389
445
  "type": "text-format"
390
446
  },
391
447
  {
392
448
  "type": "label",
393
- "label": "Fotografía"
449
+ "label": "Fotografía",
450
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
394
451
  },
395
452
  {
396
453
  "type": "label",
397
- "label": "Imagen"
454
+ "label": "Imagen",
455
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
398
456
  },
399
457
  {
400
458
  "id": "imageEnabled",
401
459
  "label": "Imagen",
460
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
402
461
  "type": "switch",
403
462
  "defaultValue": true,
404
463
  "displayOnTrue": "habilitada",
@@ -407,7 +466,7 @@
407
466
  {
408
467
  "id": "imagePosition",
409
468
  "label": "Posición",
410
- "show": "{{imageEnabled}} === true",
469
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
411
470
  "type": "select-input",
412
471
  "items": [
413
472
  {
@@ -428,7 +487,7 @@
428
487
  {
429
488
  "id": "imageAlignment",
430
489
  "label": "Alineación",
431
- "show": "{{imageEnabled}} === true",
490
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
432
491
  "type": "select-input",
433
492
  "items": [
434
493
  {
@@ -449,7 +508,7 @@
449
508
  {
450
509
  "id": "imageStyle",
451
510
  "label": "Estilo",
452
- "show": "{{imageEnabled}} === true",
511
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
453
512
  "type": "select-input",
454
513
  "description": "Forma de enmarcar la fotografía.",
455
514
  "items": [
@@ -472,25 +531,27 @@
472
531
  {
473
532
  "id": "imageMargin",
474
533
  "label": "Margen",
475
- "show": "{{imageEnabled}} === true",
534
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
476
535
  "type": "text-input",
477
536
  "description": "Margen derecho de la imagen (en porcentaje). Por defecto 0%."
478
537
  },
479
538
  {
480
539
  "id": "imageSize",
481
540
  "label": "Tamaño",
482
- "show": "{{imageEnabled}} === true",
541
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
483
542
  "type": "number-input",
484
543
  "range": "[1:100:]",
485
544
  "description": "Tamaño de la imagen (en porcentaje)."
486
545
  },
487
546
  {
488
547
  "type": "label",
489
- "label": "Fecha"
548
+ "label": "Fecha",
549
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
490
550
  },
491
551
  {
492
552
  "id": "dateEnabled",
493
553
  "label": "Fecha",
554
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
494
555
  "type": "switch",
495
556
  "defaultValue": true,
496
557
  "displayOnTrue": "habilitada",
@@ -499,7 +560,7 @@
499
560
  {
500
561
  "id": "datePosition",
501
562
  "label": "Posición",
502
- "show": "{{dateEnabled}} === true",
563
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
503
564
  "type": "select-input",
504
565
  "items": [
505
566
  {
@@ -520,7 +581,7 @@
520
581
  {
521
582
  "id": "dateAlignment",
522
583
  "label": "Alineación",
523
- "show": "{{dateEnabled}} === true",
584
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
524
585
  "type": "select-input",
525
586
  "items": [
526
587
  {
@@ -541,7 +602,7 @@
541
602
  {
542
603
  "id": "dateStyle",
543
604
  "label": "Estilo",
544
- "show": "{{dateEnabled}} === true",
605
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
545
606
  "type": "select-input",
546
607
  "description": "Forma de enmarcar la fotografía.",
547
608
  "items": [
@@ -572,19 +633,19 @@
572
633
  {
573
634
  "id": "dateDayFormat",
574
635
  "label": "Formato del día",
575
- "show": "{{dateEnabled}} === true",
636
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
576
637
  "type": "text-format"
577
638
  },
578
639
  {
579
640
  "id": "dateMonthFormat",
580
641
  "label": "Formato del mes",
581
- "show": "{{dateEnabled}} === true",
642
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
582
643
  "type": "text-format"
583
644
  },
584
645
  {
585
646
  "id": "abbreviatedMonths",
586
647
  "label": "Meses",
587
- "show": "{{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1",
648
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1",
588
649
  "type": "switch",
589
650
  "defaultValue": false,
590
651
  "displayOnTrue": "abreviados",
@@ -593,24 +654,26 @@
593
654
  {
594
655
  "id": "datePrimaryColor",
595
656
  "label": "Color primario",
596
- "show": "({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)",
657
+ "show": "{{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1",
597
658
  "type": "color-picker",
598
659
  "output": "auto"
599
660
  },
600
661
  {
601
662
  "id": "dateMargin",
602
663
  "label": "Margen",
603
- "show": "{{dateEnabled}} === true",
664
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
604
665
  "type": "text-input",
605
666
  "description": "Margen derecho de la fecha (en porcentaje). Por defecto 0%."
606
667
  },
607
668
  {
608
669
  "type": "label",
609
- "label": "Separador"
670
+ "label": "Separador",
671
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
610
672
  },
611
673
  {
612
674
  "id": "separator",
613
675
  "label": "Separador",
676
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
614
677
  "type": "switch",
615
678
  "defaultValue": true,
616
679
  "displayOnTrue": "habilitado",
@@ -619,20 +682,20 @@
619
682
  {
620
683
  "id": "separatorWidth",
621
684
  "label": "Ancho",
622
- "show": "{{separator}} === true",
685
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
623
686
  "type": "number-input"
624
687
  },
625
688
  {
626
689
  "id": "separatorColor",
627
690
  "label": "Color",
628
- "show": "{{separator}} === true",
691
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
629
692
  "type": "color-picker",
630
693
  "output": "auto"
631
694
  },
632
695
  {
633
696
  "id": "itemMargins",
634
697
  "label": "Márgenes",
635
- "show": "{{separator}} === true",
698
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
636
699
  "type": "text-input",
637
700
  "description": "Un CSS de longitud de uno o dos valores.",
638
701
  "pattern": "^(( )?[+-]?[0-9]+.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)){1,2}$"
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "author": {
9
9
  "name": "Lorenzo Alfaro Bravo"
10
10
  },
11
- "version": "0.7.13-dev.1",
11
+ "version": "0.7.13-dev.10",
12
12
  "scripts": {
13
13
  "prepublish": "vixonic-module-packager --mode=build",
14
14
  "watch": "vixonic-module-packager --mode=watch",