@vixoniccom/news-internal 0.4.21-dev.11 → 0.4.21-dev.13
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/index.ts +1 -2
- package/configuration/newsGroup/newsInputs.ts +7 -7
- package/configuration.json +19 -20
- package/package.json +1 -1
- package/src/parameters.d.ts +1 -1
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.13](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.12...v0.4.21-dev.13) (2026-01-12)
|
|
6
|
+
|
|
7
|
+
### [0.4.21-dev.12](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.11...v0.4.21-dev.12) (2026-01-12)
|
|
8
|
+
|
|
5
9
|
### [0.4.21-dev.11](https://github.com/Vixonic/store-news-internal/compare/v0.4.21-dev.10...v0.4.21-dev.11) (2026-01-12)
|
|
6
10
|
|
|
7
11
|
### [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)
|
package/build.zip
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { List
|
|
1
|
+
import { List } from '@vixoniccom/modules'
|
|
2
2
|
import { newsInputs } from './newsInputs'
|
|
3
3
|
|
|
4
4
|
export const newsGroup = new List({
|
|
@@ -7,7 +7,6 @@ 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),
|
|
11
10
|
itemDisplayClass: '2-lines',
|
|
12
11
|
itemDisplayAttributes: {
|
|
13
12
|
title: 'title',
|
|
@@ -11,7 +11,7 @@ export const newsInputs = [
|
|
|
11
11
|
pattern: '^(?!\\s*$).+',
|
|
12
12
|
}),
|
|
13
13
|
new TextInput({
|
|
14
|
-
id: '
|
|
14
|
+
id: 'titleMedium',
|
|
15
15
|
label: 'Título mediano',
|
|
16
16
|
required: true,
|
|
17
17
|
show: ShowValidations.mediumTitleEnabled,
|
|
@@ -19,7 +19,7 @@ export const newsInputs = [
|
|
|
19
19
|
pattern: '^(?!\\s*$).+',
|
|
20
20
|
}),
|
|
21
21
|
new TextInput({
|
|
22
|
-
id: '
|
|
22
|
+
id: 'titleLarge',
|
|
23
23
|
label: 'Título largo',
|
|
24
24
|
required: true,
|
|
25
25
|
show: ShowValidations.largeTitleEnabled,
|
|
@@ -28,7 +28,7 @@ export const newsInputs = [
|
|
|
28
28
|
}),
|
|
29
29
|
|
|
30
30
|
new TextInput({
|
|
31
|
-
id: '
|
|
31
|
+
id: 'titleExtraLarge',
|
|
32
32
|
label: 'Título extra largo',
|
|
33
33
|
required: true,
|
|
34
34
|
show: ShowValidations.extraLargeTitleEnabled,
|
|
@@ -37,7 +37,7 @@ export const newsInputs = [
|
|
|
37
37
|
}),
|
|
38
38
|
|
|
39
39
|
new TextArea({
|
|
40
|
-
id: '
|
|
40
|
+
id: 'descriptionShort',
|
|
41
41
|
label: 'Descripción corta',
|
|
42
42
|
required: true,
|
|
43
43
|
show: ShowValidations.shortDescriptionEnabled,
|
|
@@ -47,7 +47,7 @@ export const newsInputs = [
|
|
|
47
47
|
}),
|
|
48
48
|
|
|
49
49
|
new TextArea({
|
|
50
|
-
id: '
|
|
50
|
+
id: 'descriptionMedium',
|
|
51
51
|
label: 'Descripción mediana',
|
|
52
52
|
required: true,
|
|
53
53
|
show: ShowValidations.mediumDescriptionEnabled,
|
|
@@ -57,7 +57,7 @@ export const newsInputs = [
|
|
|
57
57
|
}),
|
|
58
58
|
|
|
59
59
|
new TextArea({
|
|
60
|
-
id: '
|
|
60
|
+
id: 'descriptionLarge',
|
|
61
61
|
label: 'Descripción larga',
|
|
62
62
|
required: true,
|
|
63
63
|
show: ShowValidations.largeDescriptionEnabled,
|
|
@@ -67,7 +67,7 @@ export const newsInputs = [
|
|
|
67
67
|
}),
|
|
68
68
|
|
|
69
69
|
new TextArea({
|
|
70
|
-
id: '
|
|
70
|
+
id: 'descriptionExtraLarge',
|
|
71
71
|
label: 'Descripción extra larga',
|
|
72
72
|
required: true,
|
|
73
73
|
show: ShowValidations.extraLargeDescriptionEnabled,
|
package/configuration.json
CHANGED
|
@@ -13,73 +13,73 @@
|
|
|
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
|
-
"id": "
|
|
19
|
+
"id": "titleMedium",
|
|
20
20
|
"label": "Título mediano",
|
|
21
21
|
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
|
|
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
|
-
"id": "
|
|
28
|
+
"id": "titleLarge",
|
|
29
29
|
"label": "Título largo",
|
|
30
30
|
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'large')",
|
|
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
|
-
"id": "
|
|
37
|
+
"id": "titleExtraLarge",
|
|
38
38
|
"label": "Título extra largo",
|
|
39
39
|
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'extra-large')",
|
|
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
|
-
"id": "
|
|
46
|
+
"id": "descriptionShort",
|
|
47
47
|
"label": "Descripción corta",
|
|
48
48
|
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
|
|
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
|
{
|
|
56
|
-
"id": "
|
|
56
|
+
"id": "descriptionMedium",
|
|
57
57
|
"label": "Descripción mediana",
|
|
58
58
|
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
|
|
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
|
{
|
|
66
|
-
"id": "
|
|
66
|
+
"id": "descriptionLarge",
|
|
67
67
|
"label": "Descripción larga",
|
|
68
68
|
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'large')",
|
|
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
|
{
|
|
76
|
-
"id": "
|
|
76
|
+
"id": "descriptionExtraLarge",
|
|
77
77
|
"label": "Descripción extra larga",
|
|
78
78
|
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'extra-large')",
|
|
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,7 +119,6 @@
|
|
|
119
119
|
}
|
|
120
120
|
],
|
|
121
121
|
"description": "Lista de noticias",
|
|
122
|
-
"range": "[1:100:]",
|
|
123
122
|
"itemDisplayClass": "2-lines",
|
|
124
123
|
"itemDisplayAttributes": {
|
|
125
124
|
"title": "title",
|
|
@@ -272,7 +271,7 @@
|
|
|
272
271
|
"label": "Altura de línea",
|
|
273
272
|
"show": "{{titleEnabled}} === true",
|
|
274
273
|
"type": "number-input",
|
|
275
|
-
"range": "[0.8:100
|
|
274
|
+
"range": "[0.8:100]"
|
|
276
275
|
},
|
|
277
276
|
{
|
|
278
277
|
"id": "descriptionEnabled",
|
|
@@ -291,7 +290,7 @@
|
|
|
291
290
|
"label": "Altura de línea",
|
|
292
291
|
"show": "{{descriptionEnabled}} === true",
|
|
293
292
|
"type": "number-input",
|
|
294
|
-
"range": "[0.8:100
|
|
293
|
+
"range": "[0.8:100]"
|
|
295
294
|
},
|
|
296
295
|
{
|
|
297
296
|
"id": "textSeparation",
|
|
@@ -338,7 +337,7 @@
|
|
|
338
337
|
"label": "Tamaño personalizado",
|
|
339
338
|
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false ) && ( {{imageSize}} === 'custom' )",
|
|
340
339
|
"type": "number-input",
|
|
341
|
-
"range": "[1:100
|
|
340
|
+
"range": "[1:100]",
|
|
342
341
|
"description": "En porcentaje.",
|
|
343
342
|
"required": true
|
|
344
343
|
},
|
|
@@ -444,7 +443,7 @@
|
|
|
444
443
|
"label": "Porcentje de degradado",
|
|
445
444
|
"show": "{{template}} === 'gradient'",
|
|
446
445
|
"type": "number-input",
|
|
447
|
-
"range": "[1:100
|
|
446
|
+
"range": "[1:100]",
|
|
448
447
|
"description": "Por defecto 50"
|
|
449
448
|
},
|
|
450
449
|
{
|
package/package.json
CHANGED
package/src/parameters.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ declare type VixonicData = {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare type VixonicParameters = Partial<{
|
|
8
|
-
news: {
|
|
8
|
+
news: {titleShort: string, titleMedium: string, titleLarge: string, titleExtraLarge: string, descriptionShort: string, descriptionMedium: string, descriptionLarge: string, descriptionExtraLarge: 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
9
|
}>
|