@vixoniccom/news-internal 0.4.4-dev.3 → 0.4.4-dev.5

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,14 @@
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.4-dev.5](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4-dev.4...v0.4.4-dev.5) (2021-06-30)
6
+
7
+
8
+
9
+ ## [0.4.4-dev.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4-dev.3...v0.4.4-dev.4) (2021-06-30)
10
+
11
+
12
+
5
13
  ## [0.4.4-dev.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4-dev.1...v0.4.4-dev.3) (2021-06-25)
6
14
 
7
15
 
package/build.zip CHANGED
Binary file
@@ -8,7 +8,6 @@ const newsList = new List({
8
8
  description: 'Lista de noticias',
9
9
  sortable: true,
10
10
  itemSchema: [
11
-
12
11
  new TextInput({
13
12
  id: 'title',
14
13
  label: 'Título corto',
@@ -51,11 +50,10 @@ const newsList = new List({
51
50
  id: 'description',
52
51
  label: 'Descripción larga',
53
52
  required: true,
54
- show: ShowValidations.mediumDescriptionEnabled,
53
+ show: ShowValidations.largeDescriptionEnabled,
55
54
  range: new NumberRangeValue(1, 650)
56
55
  }),
57
56
 
58
-
59
57
  new SelectAssetKna({ id: 'image', label: 'Imágen', required: true,
60
58
  extensions: ['jpg', 'jpeg', 'png', 'svg'], show: ShowValidations.imageEnabled})
61
59
  ],
@@ -7,13 +7,13 @@ const galleryIconEnabled = `${isGallery} && ({{iconVisible}} === true)`
7
7
  const isCustomSize = `${isNotGallery} && ( {{imageSize}} === 'custom' )`
8
8
  const titleAndDescription = `${titleEnabled} && ${descriptionEnabled}`
9
9
 
10
- const shortTitleEnabled = ` ${titleEnabled} && ({{newsSizeSelect}} === 'short')`
11
- const mediumTitleEnabled = ` ${titleEnabled} && ({{newsSizeSelect}} === 'medium')`
12
- const largeTitleEnabled = ` ${titleEnabled} && ({{newsSizeSelect}} === 'large')`
10
+ const shortTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'short')`
11
+ const mediumTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'medium')`
12
+ const largeTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'large')`
13
13
 
14
- const shortDescriptionEnabled = ` ${descriptionEnabled} && ({{newsSizeSelect}} === 'short')`
15
- const mediumDescriptionEnabled = ` ${descriptionEnabled} && ({{newsSizeSelect}} === 'medium')`
16
- const largeDescriptionEnabled = ` ${descriptionEnabled} && ({{newsSizeSelect}} === 'large')`
14
+ const shortDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'short')`
15
+ const mediumDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'medium')`
16
+ const largeDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'large')`
17
17
 
18
18
  export const ShowValidations = {
19
19
  titleEnabled,
@@ -10,49 +10,49 @@
10
10
  "type": "text-input",
11
11
  "id": "title",
12
12
  "label": "Título corto",
13
- "show": " {{titleEnabled}} === true && ({{newsSizeSelect}} === 'short')",
13
+ "show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'short')",
14
14
  "required": true,
15
- "range": "[1:20:]"
15
+ "range": "[1:20]"
16
16
  },
17
17
  {
18
18
  "type": "text-input",
19
19
  "id": "title",
20
20
  "label": "Título mediano",
21
- "show": " {{titleEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
21
+ "show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
22
22
  "required": true,
23
- "range": "[1:50:]"
23
+ "range": "[1:50]"
24
24
  },
25
25
  {
26
26
  "type": "text-input",
27
27
  "id": "title",
28
28
  "label": "Título largo",
29
- "show": " {{titleEnabled}} === true && ({{newsSizeSelect}} === 'large')",
29
+ "show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'large')",
30
30
  "required": true,
31
- "range": "[1:80:]"
31
+ "range": "[1:80]"
32
32
  },
33
33
  {
34
34
  "type": "text-area",
35
35
  "id": "description",
36
36
  "label": "Descripción corta",
37
- "show": " {{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
37
+ "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
38
38
  "required": true,
39
- "range": "[1:80:]"
39
+ "range": "[1:80]"
40
40
  },
41
41
  {
42
42
  "type": "text-area",
43
43
  "id": "description",
44
44
  "label": "Descripción mediana",
45
- "show": " {{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
45
+ "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
46
46
  "required": true,
47
- "range": "[1:350:]"
47
+ "range": "[1:350]"
48
48
  },
49
49
  {
50
50
  "type": "text-area",
51
51
  "id": "description",
52
52
  "label": "Descripción larga",
53
- "show": " {{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
53
+ "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'large')",
54
54
  "required": true,
55
- "range": "[1:650:]"
55
+ "range": "[1:650]"
56
56
  },
57
57
  {
58
58
  "type": "select-asset-kna-input",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "author": {
8
8
  "name": ""
9
9
  },
10
- "version": "0.4.4-dev.3",
10
+ "version": "0.4.4-dev.5",
11
11
  "scripts": {
12
12
  "prepublishOnly": "vixonic-module-packager --mode=build",
13
13
  "watch": "vixonic-module-packager --mode=watch",