@vixoniccom/news-internal 0.4.21-dev.1 → 0.4.21-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.4.21-dev.10](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.9...v0.4.21-dev.10) (2026-01-12)
6
+
7
+ ### [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)
8
+
9
+ ### [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)
10
+
11
+ ### [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)
12
+
13
+ ### [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)
14
+
15
+ ### [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)
16
+
17
+ ### [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)
18
+
19
+ ### [0.4.21-dev.3](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.2...v0.4.21-dev.3) (2026-01-12)
20
+
21
+ ### [0.4.21-dev.2](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.1...v0.4.21-dev.2) (2026-01-12)
22
+
5
23
  ### [0.4.21-dev.1](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.0...v0.4.21-dev.1) (2026-01-12)
6
24
 
7
25
  ### [0.4.21-dev.0](https://github.com/Vixonic/store-news-internal/compare/v0.4.20...v0.4.21-dev.0) (2026-01-12)
package/build.zip CHANGED
Binary file
@@ -1,4 +1,4 @@
1
- import { List } from '@vixoniccom/modules'
1
+ import { List, NumberRangeValue } from '@vixoniccom/modules'
2
2
  import { newsInputs } from './newsInputs'
3
3
 
4
4
  export const newsGroup = new List({
@@ -7,6 +7,7 @@ export const newsGroup = new List({
7
7
  description: 'Lista de noticias',
8
8
  sortable: true,
9
9
  itemSchema: [...newsInputs],
10
+ range: new NumberRangeValue(1, 100),
10
11
  itemDisplayClass: '2-lines',
11
12
  itemDisplayAttributes: {
12
13
  title: 'title',
@@ -15,7 +15,7 @@ export const newsInputs = [
15
15
  label: 'Título mediano',
16
16
  required: true,
17
17
  show: ShowValidations.mediumTitleEnabled,
18
- // range: new NumberRangeValue(1, 40),
18
+ range: new NumberRangeValue(1, 40),
19
19
  pattern: '^(?!\\s*$).+',
20
20
  }),
21
21
  new TextInput({
@@ -95,7 +95,7 @@ export const newsInputs = [
95
95
  new TextInput({
96
96
  id: 'qrCodeTitle',
97
97
  label: 'Título código QR',
98
- required: true,
98
+ required: false,
99
99
  show: ShowValidations.qrCodeEnabled,
100
100
  pattern: '^(?!\\s*$).+',
101
101
  }),
@@ -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",
@@ -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
  {
@@ -119,6 +119,7 @@
119
119
  }
120
120
  ],
121
121
  "description": "Lista de noticias",
122
+ "range": "[1:100:]",
122
123
  "itemDisplayClass": "2-lines",
123
124
  "itemDisplayAttributes": {
124
125
  "title": "title",
@@ -187,7 +188,7 @@
187
188
  "id": "showTime",
188
189
  "label": "Persistencia",
189
190
  "type": "number-input",
190
- "range": "[5:9999]",
191
+ "range": "[5:9999:]",
191
192
  "description": "Tiempo en segundos por noticia. Por defecto 10"
192
193
  },
193
194
  {
@@ -271,7 +272,7 @@
271
272
  "label": "Altura de línea",
272
273
  "show": "{{titleEnabled}} === true",
273
274
  "type": "number-input",
274
- "range": "[0.8:100]"
275
+ "range": "[0.8:100:]"
275
276
  },
276
277
  {
277
278
  "id": "descriptionEnabled",
@@ -290,7 +291,7 @@
290
291
  "label": "Altura de línea",
291
292
  "show": "{{descriptionEnabled}} === true",
292
293
  "type": "number-input",
293
- "range": "[0.8:100]"
294
+ "range": "[0.8:100:]"
294
295
  },
295
296
  {
296
297
  "id": "textSeparation",
@@ -337,7 +338,7 @@
337
338
  "label": "Tamaño personalizado",
338
339
  "show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false ) && ( {{imageSize}} === 'custom' )",
339
340
  "type": "number-input",
340
- "range": "[1:100]",
341
+ "range": "[1:100:]",
341
342
  "description": "En porcentaje.",
342
343
  "required": true
343
344
  },
@@ -443,7 +444,7 @@
443
444
  "label": "Porcentje de degradado",
444
445
  "show": "{{template}} === 'gradient'",
445
446
  "type": "number-input",
446
- "range": "[1:100]",
447
+ "range": "[1:100:]",
447
448
  "description": "Por defecto 50"
448
449
  },
449
450
  {
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "author": {
9
9
  "name": ""
10
10
  },
11
- "version": "0.4.21-dev.1",
11
+ "version": "0.4.21-dev.10",
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
+ }>