@vixoniccom/news-internal 0.4.21-dev.5 → 0.4.21-dev.7

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