@vixoniccom/birthdays 0.7.13-dev.0 → 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,26 @@
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
+
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)
24
+
5
25
  ### [0.7.13-dev.0](https://github.com/Vixonic/store-birthdays/compare/v0.7.8...v0.7.13-dev.0) (2026-06-17)
6
26
 
7
27
 
package/build.zip CHANGED
Binary file
@@ -7,21 +7,22 @@ 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' }),
13
14
  new SelectInput({
14
15
  id: 'themePreset',
15
16
  label: 'Tema',
16
- description: 'Selecciona un tema predefinido para aplicar estilos de forma automática. Si no seleccionas ninguno, se usarán los valores individuales de cada campo.',
17
+ description: 'Elige un tema para aplicar un estilo visual completo de forma automática. Selecciona Personalizado para configurar cada campo de estilo de forma individual.',
17
18
  items: [
19
+ { label: 'Personalizado', value: 'personalizado' },
18
20
  { label: 'Preset 1', value: 'preset1' },
19
21
  { label: 'Preset 2', value: 'preset2' },
20
22
  { label: 'Preset 3', value: 'preset3' },
21
23
  ],
22
24
  }),
23
-
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',
@@ -112,8 +112,12 @@
112
112
  "id": "themePreset",
113
113
  "label": "Tema",
114
114
  "type": "select-input",
115
- "description": "Selecciona un tema predefinido para aplicar estilos de forma automática. Si no seleccionas ninguno, se usarán los valores individuales de cada campo.",
115
+ "description": "Elige un tema para aplicar un estilo visual completo de forma automática. Selecciona Personalizado para configurar cada campo de estilo de forma individual.",
116
116
  "items": [
117
+ {
118
+ "label": "Personalizado",
119
+ "value": "personalizado"
120
+ },
117
121
  {
118
122
  "label": "Preset 1",
119
123
  "value": "preset1"
@@ -130,11 +134,13 @@
130
134
  },
131
135
  {
132
136
  "type": "label",
133
- "label": "Orientación"
137
+ "label": "Orientación",
138
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
134
139
  },
135
140
  {
136
141
  "id": "orientation",
137
142
  "label": "Orientación",
143
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
138
144
  "type": "select-input",
139
145
  "items": [
140
146
  {
@@ -151,11 +157,13 @@
151
157
  },
152
158
  {
153
159
  "type": "label",
154
- "label": "Animación"
160
+ "label": "Animación",
161
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
155
162
  },
156
163
  {
157
164
  "id": "animationMode",
158
165
  "label": "Tipo de animación",
166
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
159
167
  "type": "select-input",
160
168
  "description": "Por defecto, Fundido.",
161
169
  "items": [
@@ -178,6 +186,7 @@
178
186
  {
179
187
  "id": "animationSpeed",
180
188
  "label": "Velocidad",
189
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
181
190
  "type": "select-input",
182
191
  "items": [
183
192
  {
@@ -198,6 +207,7 @@
198
207
  {
199
208
  "id": "animationTime",
200
209
  "label": "Tiempo",
210
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
201
211
  "type": "number-input",
202
212
  "range": "[1:9999:]",
203
213
  "description": "Duración de cada grupo de datos (en segundos).",
@@ -205,11 +215,13 @@
205
215
  },
206
216
  {
207
217
  "type": "label",
208
- "label": "Contenedor"
218
+ "label": "Contenedor",
219
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
209
220
  },
210
221
  {
211
222
  "id": "containerColumns",
212
223
  "label": "Columnas",
224
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
213
225
  "type": "number-input",
214
226
  "range": "[1:999:]",
215
227
  "description": "Cantidad de items horizontales. Por defecto, 1."
@@ -217,6 +229,7 @@
217
229
  {
218
230
  "id": "containerColumnsGap",
219
231
  "label": "Separador horizontal",
232
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
220
233
  "type": "number-input",
221
234
  "range": "[1:100:]",
222
235
  "description": "Espacio entre columnas (en porcentaje). Por defecto, 1%."
@@ -224,6 +237,7 @@
224
237
  {
225
238
  "id": "containerRows",
226
239
  "label": "Filas",
240
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
227
241
  "type": "number-input",
228
242
  "range": "[1:999:]",
229
243
  "description": "Cantidad de items verticales. Por defecto, 3."
@@ -231,6 +245,7 @@
231
245
  {
232
246
  "id": "containerRowsGap",
233
247
  "label": "Separador vertical",
248
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
234
249
  "type": "number-input",
235
250
  "range": "[1:100:]",
236
251
  "description": "Espacio entre filas (en porcentaje). Por defecto, 5%."
@@ -253,6 +268,7 @@
253
268
  {
254
269
  "id": "padding",
255
270
  "label": "Márgenes",
271
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
256
272
  "type": "text-input",
257
273
  "description": "CSS para dar espacio arriba/derecha/abajo/izquieda.",
258
274
  "required": false
@@ -278,11 +294,48 @@
278
294
  "items": [
279
295
  {
280
296
  "type": "label",
281
- "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}})"
282
334
  },
283
335
  {
284
336
  "id": "textPosition",
285
337
  "label": "Posición",
338
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
286
339
  "type": "select-input",
287
340
  "items": [
288
341
  {
@@ -303,6 +356,7 @@
303
356
  {
304
357
  "id": "textAlignment",
305
358
  "label": "Alineación",
359
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
306
360
  "type": "select-input",
307
361
  "items": [
308
362
  {
@@ -322,27 +376,32 @@
322
376
  },
323
377
  {
324
378
  "type": "label",
325
- "label": "Nombre"
379
+ "label": "Nombre",
380
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
326
381
  },
327
382
  {
328
383
  "id": "nameFormat",
329
384
  "label": "Formato",
385
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
330
386
  "type": "text-format"
331
387
  },
332
388
  {
333
389
  "id": "nameMaxChar",
334
390
  "label": "Caracteres máximos",
391
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
335
392
  "type": "number-input"
336
393
  },
337
394
  {
338
395
  "id": "textMargin",
339
396
  "label": "Margen",
397
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
340
398
  "type": "text-input",
341
399
  "description": "Margen derecho de los textos (en porcentaje). Por defecto 0%."
342
400
  },
343
401
  {
344
402
  "id": "descriptionEnabled",
345
403
  "label": "Descripción",
404
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
346
405
  "type": "switch",
347
406
  "defaultValue": true,
348
407
  "displayOnTrue": "habilitada",
@@ -351,23 +410,24 @@
351
410
  {
352
411
  "type": "label",
353
412
  "label": "Descripción",
354
- "show": "{{descriptionEnabled}} === true"
413
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true"
355
414
  },
356
415
  {
357
416
  "id": "descriptionFormat",
358
417
  "label": "Formato",
359
- "show": "{{descriptionEnabled}} === true",
418
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true",
360
419
  "type": "text-format"
361
420
  },
362
421
  {
363
422
  "id": "descriptionMaxChar",
364
423
  "label": "Caracteres máximos",
365
- "show": "{{descriptionEnabled}} === true",
424
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true",
366
425
  "type": "number-input"
367
426
  },
368
427
  {
369
428
  "id": "optionalEnabled",
370
429
  "label": "Campo opcional",
430
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
371
431
  "type": "switch",
372
432
  "defaultValue": true,
373
433
  "displayOnTrue": "habilitado",
@@ -376,25 +436,28 @@
376
436
  {
377
437
  "type": "label",
378
438
  "label": "Campo opcional",
379
- "show": "{{optionalEnabled}} === true"
439
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{optionalEnabled}} === true"
380
440
  },
381
441
  {
382
442
  "id": "optionalFormat",
383
443
  "label": "Formato",
384
- "show": "{{optionalEnabled}} === true",
444
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{optionalEnabled}} === true",
385
445
  "type": "text-format"
386
446
  },
387
447
  {
388
448
  "type": "label",
389
- "label": "Fotografía"
449
+ "label": "Fotografía",
450
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
390
451
  },
391
452
  {
392
453
  "type": "label",
393
- "label": "Imagen"
454
+ "label": "Imagen",
455
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
394
456
  },
395
457
  {
396
458
  "id": "imageEnabled",
397
459
  "label": "Imagen",
460
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
398
461
  "type": "switch",
399
462
  "defaultValue": true,
400
463
  "displayOnTrue": "habilitada",
@@ -403,7 +466,7 @@
403
466
  {
404
467
  "id": "imagePosition",
405
468
  "label": "Posición",
406
- "show": "{{imageEnabled}} === true",
469
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
407
470
  "type": "select-input",
408
471
  "items": [
409
472
  {
@@ -424,7 +487,7 @@
424
487
  {
425
488
  "id": "imageAlignment",
426
489
  "label": "Alineación",
427
- "show": "{{imageEnabled}} === true",
490
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
428
491
  "type": "select-input",
429
492
  "items": [
430
493
  {
@@ -445,7 +508,7 @@
445
508
  {
446
509
  "id": "imageStyle",
447
510
  "label": "Estilo",
448
- "show": "{{imageEnabled}} === true",
511
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
449
512
  "type": "select-input",
450
513
  "description": "Forma de enmarcar la fotografía.",
451
514
  "items": [
@@ -468,25 +531,27 @@
468
531
  {
469
532
  "id": "imageMargin",
470
533
  "label": "Margen",
471
- "show": "{{imageEnabled}} === true",
534
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
472
535
  "type": "text-input",
473
536
  "description": "Margen derecho de la imagen (en porcentaje). Por defecto 0%."
474
537
  },
475
538
  {
476
539
  "id": "imageSize",
477
540
  "label": "Tamaño",
478
- "show": "{{imageEnabled}} === true",
541
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{imageEnabled}} === true",
479
542
  "type": "number-input",
480
543
  "range": "[1:100:]",
481
544
  "description": "Tamaño de la imagen (en porcentaje)."
482
545
  },
483
546
  {
484
547
  "type": "label",
485
- "label": "Fecha"
548
+ "label": "Fecha",
549
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
486
550
  },
487
551
  {
488
552
  "id": "dateEnabled",
489
553
  "label": "Fecha",
554
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
490
555
  "type": "switch",
491
556
  "defaultValue": true,
492
557
  "displayOnTrue": "habilitada",
@@ -495,7 +560,7 @@
495
560
  {
496
561
  "id": "datePosition",
497
562
  "label": "Posición",
498
- "show": "{{dateEnabled}} === true",
563
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
499
564
  "type": "select-input",
500
565
  "items": [
501
566
  {
@@ -516,7 +581,7 @@
516
581
  {
517
582
  "id": "dateAlignment",
518
583
  "label": "Alineación",
519
- "show": "{{dateEnabled}} === true",
584
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
520
585
  "type": "select-input",
521
586
  "items": [
522
587
  {
@@ -537,7 +602,7 @@
537
602
  {
538
603
  "id": "dateStyle",
539
604
  "label": "Estilo",
540
- "show": "{{dateEnabled}} === true",
605
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
541
606
  "type": "select-input",
542
607
  "description": "Forma de enmarcar la fotografía.",
543
608
  "items": [
@@ -568,19 +633,19 @@
568
633
  {
569
634
  "id": "dateDayFormat",
570
635
  "label": "Formato del día",
571
- "show": "{{dateEnabled}} === true",
636
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
572
637
  "type": "text-format"
573
638
  },
574
639
  {
575
640
  "id": "dateMonthFormat",
576
641
  "label": "Formato del mes",
577
- "show": "{{dateEnabled}} === true",
642
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
578
643
  "type": "text-format"
579
644
  },
580
645
  {
581
646
  "id": "abbreviatedMonths",
582
647
  "label": "Meses",
583
- "show": "{{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1",
648
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true && ['calendarFlat', 'calendarText', 'outlines'].indexOf({{dateStyle}}) !== -1",
584
649
  "type": "switch",
585
650
  "defaultValue": false,
586
651
  "displayOnTrue": "abreviados",
@@ -589,24 +654,26 @@
589
654
  {
590
655
  "id": "datePrimaryColor",
591
656
  "label": "Color primario",
592
- "show": "({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)",
657
+ "show": "{{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1",
593
658
  "type": "color-picker",
594
659
  "output": "auto"
595
660
  },
596
661
  {
597
662
  "id": "dateMargin",
598
663
  "label": "Margen",
599
- "show": "{{dateEnabled}} === true",
664
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true",
600
665
  "type": "text-input",
601
666
  "description": "Margen derecho de la fecha (en porcentaje). Por defecto 0%."
602
667
  },
603
668
  {
604
669
  "type": "label",
605
- "label": "Separador"
670
+ "label": "Separador",
671
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})"
606
672
  },
607
673
  {
608
674
  "id": "separator",
609
675
  "label": "Separador",
676
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}})",
610
677
  "type": "switch",
611
678
  "defaultValue": true,
612
679
  "displayOnTrue": "habilitado",
@@ -615,20 +682,20 @@
615
682
  {
616
683
  "id": "separatorWidth",
617
684
  "label": "Ancho",
618
- "show": "{{separator}} === true",
685
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
619
686
  "type": "number-input"
620
687
  },
621
688
  {
622
689
  "id": "separatorColor",
623
690
  "label": "Color",
624
- "show": "{{separator}} === true",
691
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
625
692
  "type": "color-picker",
626
693
  "output": "auto"
627
694
  },
628
695
  {
629
696
  "id": "itemMargins",
630
697
  "label": "Márgenes",
631
- "show": "{{separator}} === true",
698
+ "show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{separator}} === true",
632
699
  "type": "text-input",
633
700
  "description": "Un CSS de longitud de uno o dos valores.",
634
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.0",
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",