@vixoniccom/news-internal 0.4.21-dev.7 → 0.4.21-dev.9
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 +4 -0
- package/build.zip +0 -0
- package/configuration/newsGroup/newsInputs.ts +1 -1
- package/configuration.json +13 -14
- package/package.json +1 -1
- package/src/parameters.d.ts +74 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.4.21-dev.9](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.8...v0.4.21-dev.9) (2026-01-12)
|
|
6
|
+
|
|
7
|
+
### [0.4.21-dev.8](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.7...v0.4.21-dev.8) (2026-01-12)
|
|
8
|
+
|
|
5
9
|
### [0.4.21-dev.7](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.6...v0.4.21-dev.7) (2026-01-12)
|
|
6
10
|
|
|
7
11
|
### [0.4.21-dev.6](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.5...v0.4.21-dev.6) (2026-01-12)
|
package/build.zip
CHANGED
|
Binary file
|
package/configuration.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"type": "text-input",
|
|
14
14
|
"required": true,
|
|
15
15
|
"pattern": "^(?!\\s*$).+",
|
|
16
|
-
"range": "[1:25
|
|
16
|
+
"range": "[1:25]"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"id": "title",
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
|
|
22
22
|
"type": "text-input",
|
|
23
23
|
"required": true,
|
|
24
|
-
"pattern": "^(?!\\s*$).+"
|
|
25
|
-
"range": "[1:40:]"
|
|
24
|
+
"pattern": "^(?!\\s*$).+"
|
|
26
25
|
},
|
|
27
26
|
{
|
|
28
27
|
"id": "title",
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
"type": "text-input",
|
|
32
31
|
"required": true,
|
|
33
32
|
"pattern": "^(?!\\s*$).+",
|
|
34
|
-
"range": "[1:50
|
|
33
|
+
"range": "[1:50]"
|
|
35
34
|
},
|
|
36
35
|
{
|
|
37
36
|
"id": "title",
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
"type": "text-input",
|
|
41
40
|
"required": true,
|
|
42
41
|
"pattern": "^(?!\\s*$).+",
|
|
43
|
-
"range": "[1:70
|
|
42
|
+
"range": "[1:70]"
|
|
44
43
|
},
|
|
45
44
|
{
|
|
46
45
|
"id": "description",
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
"type": "text-area",
|
|
50
49
|
"required": true,
|
|
51
50
|
"pattern": "^(?!\\s*$).+",
|
|
52
|
-
"range": "[1:80
|
|
51
|
+
"range": "[1:80]",
|
|
53
52
|
"html": true
|
|
54
53
|
},
|
|
55
54
|
{
|
|
@@ -59,7 +58,7 @@
|
|
|
59
58
|
"type": "text-area",
|
|
60
59
|
"required": true,
|
|
61
60
|
"pattern": "^(?!\\s*$).+",
|
|
62
|
-
"range": "[1:180
|
|
61
|
+
"range": "[1:180]",
|
|
63
62
|
"html": true
|
|
64
63
|
},
|
|
65
64
|
{
|
|
@@ -69,7 +68,7 @@
|
|
|
69
68
|
"type": "text-area",
|
|
70
69
|
"required": true,
|
|
71
70
|
"pattern": "^(?!\\s*$).+",
|
|
72
|
-
"range": "[1:350
|
|
71
|
+
"range": "[1:350]",
|
|
73
72
|
"html": true
|
|
74
73
|
},
|
|
75
74
|
{
|
|
@@ -79,7 +78,7 @@
|
|
|
79
78
|
"type": "text-area",
|
|
80
79
|
"required": true,
|
|
81
80
|
"pattern": "^(?!\\s*$).+",
|
|
82
|
-
"range": "[1:500
|
|
81
|
+
"range": "[1:500]",
|
|
83
82
|
"html": true
|
|
84
83
|
},
|
|
85
84
|
{
|
|
@@ -187,7 +186,7 @@
|
|
|
187
186
|
"id": "showTime",
|
|
188
187
|
"label": "Persistencia",
|
|
189
188
|
"type": "number-input",
|
|
190
|
-
"range": "[5:9999
|
|
189
|
+
"range": "[5:9999]",
|
|
191
190
|
"description": "Tiempo en segundos por noticia. Por defecto 10"
|
|
192
191
|
},
|
|
193
192
|
{
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
"label": "Altura de línea",
|
|
272
271
|
"show": "{{titleEnabled}} === true",
|
|
273
272
|
"type": "number-input",
|
|
274
|
-
"range": "[0.8:100
|
|
273
|
+
"range": "[0.8:100]"
|
|
275
274
|
},
|
|
276
275
|
{
|
|
277
276
|
"id": "descriptionEnabled",
|
|
@@ -290,7 +289,7 @@
|
|
|
290
289
|
"label": "Altura de línea",
|
|
291
290
|
"show": "{{descriptionEnabled}} === true",
|
|
292
291
|
"type": "number-input",
|
|
293
|
-
"range": "[0.8:100
|
|
292
|
+
"range": "[0.8:100]"
|
|
294
293
|
},
|
|
295
294
|
{
|
|
296
295
|
"id": "textSeparation",
|
|
@@ -337,7 +336,7 @@
|
|
|
337
336
|
"label": "Tamaño personalizado",
|
|
338
337
|
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false ) && ( {{imageSize}} === 'custom' )",
|
|
339
338
|
"type": "number-input",
|
|
340
|
-
"range": "[1:100
|
|
339
|
+
"range": "[1:100]",
|
|
341
340
|
"description": "En porcentaje.",
|
|
342
341
|
"required": true
|
|
343
342
|
},
|
|
@@ -443,7 +442,7 @@
|
|
|
443
442
|
"label": "Porcentje de degradado",
|
|
444
443
|
"show": "{{template}} === 'gradient'",
|
|
445
444
|
"type": "number-input",
|
|
446
|
-
"range": "[1:100
|
|
445
|
+
"range": "[1:100]",
|
|
447
446
|
"description": "Por defecto 50"
|
|
448
447
|
},
|
|
449
448
|
{
|
package/package.json
CHANGED
package/src/parameters.d.ts
CHANGED
|
@@ -1,9 +1,80 @@
|
|
|
1
1
|
declare type VixonicData = {
|
|
2
2
|
downloadsPath: string
|
|
3
|
-
services: { [key: string]: { data?: any
|
|
3
|
+
services: { [key: string]: { data?: any; updatedAt?: number } }
|
|
4
4
|
parameters: VixonicParameters
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare type VixonicParameters = Partial<{
|
|
8
|
-
news: {
|
|
9
|
-
|
|
8
|
+
news: {
|
|
9
|
+
title: string | string | string | string
|
|
10
|
+
description: string | string | string | string
|
|
11
|
+
image: { id?: string; filename?: string; extension?: string }
|
|
12
|
+
qrCodeUrl: string
|
|
13
|
+
qrCodeTitle: string
|
|
14
|
+
expirationDate: string
|
|
15
|
+
__id: string | undefined
|
|
16
|
+
}[]
|
|
17
|
+
newsSizeSelect: 'short' | 'medium' | 'large' | 'extra-large'
|
|
18
|
+
template: 'standard' | 'gallery' | 'gradient'
|
|
19
|
+
showTime: number
|
|
20
|
+
animationSpeed: number
|
|
21
|
+
animationType: 'fade' | 'crossFade'
|
|
22
|
+
textAlignment: 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'space-between'
|
|
23
|
+
titleEnabled: boolean
|
|
24
|
+
titleFormat: {
|
|
25
|
+
fontSize?: number
|
|
26
|
+
fontColor?: string
|
|
27
|
+
alignment?: { horizontal?: 'left' | 'right' | 'center' }
|
|
28
|
+
font?: { filename: string; id: string; __isAsset: true }
|
|
29
|
+
}
|
|
30
|
+
titleLineHeight: number
|
|
31
|
+
descriptionEnabled: boolean
|
|
32
|
+
descriptionFormat: {
|
|
33
|
+
fontSize?: number
|
|
34
|
+
fontColor?: string
|
|
35
|
+
alignment?: { horizontal?: 'left' | 'right' | 'center' }
|
|
36
|
+
font?: { filename: string; id: string; __isAsset: true }
|
|
37
|
+
}
|
|
38
|
+
descriptionLineHeight: number
|
|
39
|
+
textSeparation: number
|
|
40
|
+
imageEnabled: boolean
|
|
41
|
+
imageSize: 'small' | 'medium' | 'large' | 'custom'
|
|
42
|
+
imageCustomSize: number
|
|
43
|
+
imagePosition: 'top' | 'right' | 'bottom' | 'left'
|
|
44
|
+
imageMode: 'contain' | 'cover' | 'fill' | 'none'
|
|
45
|
+
imageStyle: 'normal' | 'rounded' | 'circle' | 'hex'
|
|
46
|
+
imageSeparation: number
|
|
47
|
+
gradientBackgroundColor: string
|
|
48
|
+
gradientRate: number
|
|
49
|
+
gradientOrientation: 'left' | 'right'
|
|
50
|
+
gradientTitleEnabled: boolean
|
|
51
|
+
gradientTitle: string
|
|
52
|
+
gradientTitlePositionX: number
|
|
53
|
+
gradientTitlePositionY: number
|
|
54
|
+
gradientTitleFormat: {
|
|
55
|
+
fontSize?: number
|
|
56
|
+
fontColor?: string
|
|
57
|
+
alignment?: { horizontal?: 'left' | 'right' | 'center' }
|
|
58
|
+
font?: { filename: string; id: string; __isAsset: true }
|
|
59
|
+
}
|
|
60
|
+
barSize: 'small' | 'medium' | 'big'
|
|
61
|
+
barColor: string
|
|
62
|
+
barOpacity: number
|
|
63
|
+
iconVisible: boolean
|
|
64
|
+
iconColor: string
|
|
65
|
+
qrCodeEnabled: boolean
|
|
66
|
+
qrCodeWidth: number
|
|
67
|
+
qrCodeHeight: number
|
|
68
|
+
qrCodePositionX: number
|
|
69
|
+
qrCodePositionY: number
|
|
70
|
+
qrCodeBackgroundColor: string
|
|
71
|
+
qrCodeColor: string
|
|
72
|
+
QrCodeTitleFormat: {
|
|
73
|
+
fontSize?: number
|
|
74
|
+
fontColor?: string
|
|
75
|
+
alignment?: { horizontal?: 'left' | 'right' | 'center' }
|
|
76
|
+
font?: { filename: string; id: string; __isAsset: true }
|
|
77
|
+
}
|
|
78
|
+
background: { id?: string; filename?: string; extension?: string }
|
|
79
|
+
padding: string
|
|
80
|
+
}>
|