@vixoniccom/bitly-news-internal 0.0.1-beta.0
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 +288 -0
- package/README.md +15 -0
- package/build.zip +0 -0
- package/configuration/appearanceGroup/elementsInputs.ts +102 -0
- package/configuration/appearanceGroup/generalInputs.ts +55 -0
- package/configuration/appearanceGroup/index.ts +12 -0
- package/configuration/index.ts +108 -0
- package/configuration/utils.ts +51 -0
- package/configuration.json +626 -0
- package/icon.png +0 -0
- package/package.json +41 -0
- package/tsconfig.json +37 -0
- package/tslint.json +5 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
### 0.0.1-beta.0 (2023-05-19)
|
|
6
|
+
|
|
7
|
+
### 0.0.2-beta.0 (2023-05-19)
|
|
8
|
+
|
|
9
|
+
### [0.4.13-beta.14](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.13...v0.4.13-beta.14) (2023-05-19)
|
|
10
|
+
|
|
11
|
+
### [0.4.13-beta.13](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.12...v0.4.13-beta.13) (2023-05-17)
|
|
12
|
+
|
|
13
|
+
### [0.4.13-beta.12](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.11...v0.4.13-beta.12) (2023-05-17)
|
|
14
|
+
|
|
15
|
+
### [0.4.13-beta.11](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.10...v0.4.13-beta.11) (2023-05-17)
|
|
16
|
+
|
|
17
|
+
### [0.4.13-beta.10](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.9...v0.4.13-beta.10) (2023-05-17)
|
|
18
|
+
|
|
19
|
+
### [0.4.13-beta.9](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.8...v0.4.13-beta.9) (2023-05-15)
|
|
20
|
+
|
|
21
|
+
### [0.4.13-beta.8](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.7...v0.4.13-beta.8) (2023-05-15)
|
|
22
|
+
|
|
23
|
+
### [0.4.13-beta.7](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.6...v0.4.13-beta.7) (2023-05-15)
|
|
24
|
+
|
|
25
|
+
### [0.4.13-beta.6](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.5...v0.4.13-beta.6) (2023-05-11)
|
|
26
|
+
|
|
27
|
+
### [0.4.13-beta.5](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.4...v0.4.13-beta.5) (2023-05-11)
|
|
28
|
+
|
|
29
|
+
### [0.4.13-beta.4](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.3...v0.4.13-beta.4) (2023-05-10)
|
|
30
|
+
|
|
31
|
+
### [0.4.13-beta.3](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.2...v0.4.13-beta.3) (2023-05-10)
|
|
32
|
+
|
|
33
|
+
### [0.4.13-beta.2](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.1...v0.4.13-beta.2) (2023-05-10)
|
|
34
|
+
|
|
35
|
+
### [0.4.13-beta.1](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.13-beta.0...v0.4.13-beta.1) (2023-05-10)
|
|
36
|
+
|
|
37
|
+
### [0.4.13-beta.0](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.11-beta.0...v0.4.13-beta.0) (2023-05-09)
|
|
38
|
+
|
|
39
|
+
### [0.4.11-beta.0](https://bitbucket.org/rexmas_cl/news-internal/compare/v0.4.10...v0.4.11-beta.0) (2023-05-09)
|
|
40
|
+
|
|
41
|
+
### [0.4.10](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-beta.4...v0.4.10) (2022-04-20)
|
|
42
|
+
|
|
43
|
+
### [0.4.9-beta.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9...v0.4.9-beta.4) (2022-04-01)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **release:** bitlyInput component was added to configuration ([c140ced](https://gitlab.com/mandomedio/vixonic/news-internal/commit/c140cede5b5fe32fe75cd37da71e0047443992cc))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* **release:** configuration.json was corrected ([ac0ec8e](https://gitlab.com/mandomedio/vixonic/news-internal/commit/ac0ec8eb52eb0dcf830ebe6fc3ba835917be147c))
|
|
54
|
+
* **release:** vixonicCom packages were updated and bitlyUrl was changed by bitlyLink ([7a86f7d](https://gitlab.com/mandomedio/vixonic/news-internal/commit/7a86f7dbbd563b19d78bfbb102a0f06003b2be71))
|
|
55
|
+
|
|
56
|
+
### [0.4.9-beta.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-beta.2...v0.4.9-beta.3) (2022-03-10)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* **release:** configuration.json was corrected ([6950c23](https://gitlab.com/mandomedio/vixonic/news-internal/commit/6950c2319214f90a23ba18ece2b951769f04f5ff))
|
|
62
|
+
|
|
63
|
+
### [0.4.9-beta.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-beta.1...v0.4.9-beta.2) (2022-03-10)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
|
|
68
|
+
* **release:** vixonicCom packages were updated and bitlyUrl was changed by bitlyLink ([b819989](https://gitlab.com/mandomedio/vixonic/news-internal/commit/b819989326df5c89ff99285a6fcc9228ecb2dc2f))
|
|
69
|
+
|
|
70
|
+
### [0.4.9-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-beta.0...v0.4.9-beta.1) (2022-03-01)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
* **release:** bitlyInput component was added to configuration ([dc40656](https://gitlab.com/mandomedio/vixonic/news-internal/commit/dc406560b1952a3b3770a42cb9da0509d927b73d))
|
|
76
|
+
|
|
77
|
+
### [0.4.9](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-dev.2...v0.4.9) (2022-03-25)
|
|
78
|
+
|
|
79
|
+
### [0.4.9-dev.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-dev.1...v0.4.9-dev.2) (2022-03-15)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* **release:** overflow property was removed from textContainer ([5386e64](https://gitlab.com/mandomedio/vixonic/news-internal/commit/5386e6479da21e7f68f9b106947030b1c034ba3d))
|
|
85
|
+
|
|
86
|
+
### [0.4.9-dev.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-dev.0...v0.4.9-dev.1) (2022-03-07)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* **release:** textAlign property was added to ql-editor tag ([86ec99d](https://gitlab.com/mandomedio/vixonic/news-internal/commit/86ec99d4fd5ea4d754b35899435698657017a6ce))
|
|
92
|
+
|
|
93
|
+
### [0.4.9-dev.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.9-beta.0...v0.4.9-dev.0) (2022-03-07)
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* **release:** overflow hidden was added to ql-editor div tag ([02e4020](https://gitlab.com/mandomedio/vixonic/news-internal/commit/02e4020b537445108080fa218fbf3493a67b207e))
|
|
98
|
+
|
|
99
|
+
### [0.4.9-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8...v0.4.9-beta.0) (2022-02-28)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Bug Fixes
|
|
103
|
+
|
|
104
|
+
* **release:** paading was corrected in ql-editor div ([b12f498](https://gitlab.com/mandomedio/vixonic/news-internal/commit/b12f49820b923530f369f8754f3460fd5cdc9fd6))
|
|
105
|
+
|
|
106
|
+
### [0.4.8](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8-beta.4...v0.4.8) (2021-12-07)
|
|
107
|
+
|
|
108
|
+
### [0.4.8-beta.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8-beta.3...v0.4.8-beta.4) (2021-12-02)
|
|
109
|
+
|
|
110
|
+
### [0.4.8-beta.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8-beta.2...v0.4.8-beta.3) (2021-12-02)
|
|
111
|
+
|
|
112
|
+
### [0.4.8-beta.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8-beta.1...v0.4.8-beta.2) (2021-11-30)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
* **release:** a fix was applied over configuration json ([cb8fe2e](https://gitlab.com/mandomedio/vixonic/news-internal/commit/cb8fe2e3abdc87f76c11a218a1c613963ff0b427))
|
|
118
|
+
|
|
119
|
+
### [0.4.8-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.8-beta.0...v0.4.8-beta.1) (2021-11-30)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* **release:** new internal-news categories were created ([f78e20f](https://gitlab.com/mandomedio/vixonic/news-internal/commit/f78e20fee95ce4f983873d1208b584b99e271f14))
|
|
125
|
+
|
|
126
|
+
### [0.4.8-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7...v0.4.8-beta.0) (2021-11-29)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### Bug Fixes
|
|
130
|
+
|
|
131
|
+
* **release:** max limit characters conditions were updated to titles and descriptions ([3b39797](https://gitlab.com/mandomedio/vixonic/news-internal/commit/3b39797689c48c7b27a0707aa934fe01a047e3d0))
|
|
132
|
+
|
|
133
|
+
### [0.4.7](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7-beta.4...v0.4.7) (2021-11-12)
|
|
134
|
+
|
|
135
|
+
### [0.4.7-beta.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7-beta.3...v0.4.7-beta.4) (2021-10-29)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Bug Fixes
|
|
139
|
+
|
|
140
|
+
* **release:** maxLenght variables were removed ([cbc1253](https://gitlab.com/mandomedio/vixonic/news-internal/commit/cbc12539ffa85e6bb735f93d8cccd7fb2acaadfa))
|
|
141
|
+
|
|
142
|
+
### [0.4.7-beta.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7-beta.2...v0.4.7-beta.3) (2021-10-29)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### Bug Fixes
|
|
146
|
+
|
|
147
|
+
* **release:** aligtext style was corrected in formattedHtmlText component (again) ([68ce4b6](https://gitlab.com/mandomedio/vixonic/news-internal/commit/68ce4b6fa0d2a3691e0a31f12fc2dff56d79dca6))
|
|
148
|
+
|
|
149
|
+
### [0.4.7-beta.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7-beta.1...v0.4.7-beta.2) (2021-10-29)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
* **release:** aligtext style was corrected in formattedHtmlText component ([4881aed](https://gitlab.com/mandomedio/vixonic/news-internal/commit/4881aed0dd041789cad05c1c33d04f2a7242d521))
|
|
155
|
+
|
|
156
|
+
### [0.4.7-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.7-beta.0...v0.4.7-beta.1) (2021-10-29)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
* **release:** span was replaced by a div in formattedHtmlText component ([39c6f5c](https://gitlab.com/mandomedio/vixonic/news-internal/commit/39c6f5c2baeda578a7b8e0fc35029779a5d0b93d))
|
|
162
|
+
|
|
163
|
+
### [0.4.7-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6...v0.4.7-beta.0) (2021-10-29)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Features
|
|
167
|
+
|
|
168
|
+
* **release:** react quill options were added to the app and also FormattedHtmlText component was created ([84e8113](https://gitlab.com/mandomedio/vixonic/news-internal/commit/84e81136f319f833bfd3db3ff0a2d08fe417c62f))
|
|
169
|
+
|
|
170
|
+
### [0.4.6](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.1...v0.4.6) (2021-10-22)
|
|
171
|
+
|
|
172
|
+
### [0.4.6-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.0...v0.4.6-beta.1) (2021-10-15)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Features
|
|
176
|
+
|
|
177
|
+
* **release:** gradient general title was added to app ([298f966](https://gitlab.com/mandomedio/vixonic/news-internal/commit/298f9667eb4f61889b6de4a54e2b6e5f20aa8612))
|
|
178
|
+
|
|
179
|
+
### [0.4.6-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5...v0.4.6-beta.0) (2021-10-13)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
* **release:** gradient mode was added to internal news app ([52173ff](https://gitlab.com/mandomedio/vixonic/news-internal/commit/52173ff88bf6aed44375fe5bb52d3deb931d9fca))
|
|
185
|
+
|
|
186
|
+
### [0.4.5](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5-beta.4...v0.4.5) (2021-09-03)
|
|
187
|
+
|
|
188
|
+
### [0.4.5-beta.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5-beta.3...v0.4.5-beta.4) (2021-08-30)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### Bug Fixes
|
|
192
|
+
|
|
193
|
+
* **release:** display, position and coordinates field were added to qrCodeContainer ([ede06fe](https://gitlab.com/mandomedio/vixonic/news-internal/commit/ede06feabbe226df38e3891cc322f19178f1ec83))
|
|
194
|
+
|
|
195
|
+
### [0.4.5-beta.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5-beta.2...v0.4.5-beta.3) (2021-08-30)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Bug Fixes
|
|
199
|
+
|
|
200
|
+
* **release:** units (px) were added in container ([378b392](https://gitlab.com/mandomedio/vixonic/news-internal/commit/378b3922bcd874f1b1fdf3bed73a9559a712ec9f))
|
|
201
|
+
|
|
202
|
+
### [0.4.5-beta.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5-beta.1...v0.4.5-beta.2) (2021-08-30)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### Bug Fixes
|
|
206
|
+
|
|
207
|
+
* **release:** some fixes were apply over QrCodeContainer ([7a5d6d1](https://gitlab.com/mandomedio/vixonic/news-internal/commit/7a5d6d16961b9ea703d6d8688113ecca3af5ee1c))
|
|
208
|
+
|
|
209
|
+
### [0.4.5-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5-beta.0...v0.4.5-beta.1) (2021-08-30)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
* **release:** confiuration.json was updated ([44fee34](https://gitlab.com/mandomedio/vixonic/news-internal/commit/44fee345d7502cd95a7c569151d7cde7778bb58e))
|
|
215
|
+
|
|
216
|
+
### [0.4.5-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4...v0.4.5-beta.0) (2021-08-30)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Features
|
|
220
|
+
|
|
221
|
+
* **release:** QrCodeContainer was created and implemented in standard and gallery mode ([3942acf](https://gitlab.com/mandomedio/vixonic/news-internal/commit/3942acfd803167765b420005b2f65f00abce4797))
|
|
222
|
+
* **release:** React QR code was added to news-internal app ([48ebd6e](https://gitlab.com/mandomedio/vixonic/news-internal/commit/48ebd6efecb777263e72e76987e57dcdf3e44845))
|
|
223
|
+
|
|
224
|
+
## [0.4.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4-dev.5...v0.4.4) (2021-07-09)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
## [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)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## [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)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## [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)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
## [0.4.4-dev.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.4-dev.0...v0.4.4-dev.2) (2021-06-25)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
## 0.4.4-dev.1 (2021-06-23)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## 0.4.4-dev.0 (2021-06-23)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## [0.4.2](https://bitbucket.org/vixonicmodules/news-internal/compare/v0.4.1...v0.4.2) (2019-04-03)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### Bug Fixes
|
|
256
|
+
|
|
257
|
+
* app starting timers during preload ([93ad98d](https://bitbucket.org/vixonicmodules/news-internal/commits/93ad98d))
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
## [0.4.1](https://bitbucket.org/vixonicmodules/news-internal/compare/v0.4.0...v0.4.1) (2019-03-25)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
### Bug Fixes
|
|
265
|
+
|
|
266
|
+
* negative image separation now working ([136ed10](https://bitbucket.org/vixonicmodules/news-internal/commits/136ed10))
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<a name="0.4.0"></a>
|
|
271
|
+
# 0.4.0 (2018-09-24)
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
### Bug Fixes
|
|
275
|
+
|
|
276
|
+
* image logic & custom size ([3a7a8d8](https://bitbucket.org/vixonicmodules/news-internal/commits/3a7a8d8))
|
|
277
|
+
* multiline texts ([829954c](https://bitbucket.org/vixonicmodules/news-internal/commits/829954c))
|
|
278
|
+
* only apply exitDelay in gallery mode. ([f0eb638](https://bitbucket.org/vixonicmodules/news-internal/commits/f0eb638))
|
|
279
|
+
* removed ellipsis due to malfunctioning. ([460611d](https://bitbucket.org/vixonicmodules/news-internal/commits/460611d))
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Features
|
|
283
|
+
|
|
284
|
+
* hex ([0c2722d](https://bitbucket.org/vixonicmodules/news-internal/commits/0c2722d))
|
|
285
|
+
* Image styles ([a702842](https://bitbucket.org/vixonicmodules/news-internal/commits/a702842))
|
|
286
|
+
* refactor to react ([27e2ea6](https://bitbucket.org/vixonicmodules/news-internal/commits/27e2ea6))
|
|
287
|
+
* release 0.1.1 ([4aa1044](https://bitbucket.org/vixonicmodules/news-internal/commits/4aa1044))
|
|
288
|
+
* update configuration ([b6bcdca](https://bitbucket.org/vixonicmodules/news-internal/commits/b6bcdca))
|
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# News internal
|
|
2
|
+
## Changelog
|
|
3
|
+
|
|
4
|
+
### [0.3.0]
|
|
5
|
+
#### Features
|
|
6
|
+
- Now works on web target.
|
|
7
|
+
|
|
8
|
+
### [0.2.2]
|
|
9
|
+
#### Fixes
|
|
10
|
+
- [A4007] Image disapears on electron 2 when no clip is set.
|
|
11
|
+
|
|
12
|
+
### [0.1.3] - 2017/07/20
|
|
13
|
+
#### Changed
|
|
14
|
+
- Updated news visualizer dependency to version [1.1.1].
|
|
15
|
+
- Fixed missing url quotes in background images and fonts.
|
package/build.zip
ADDED
|
Binary file
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Label, Switch, TextFormat, NumberInput, SelectInput } from '@vixoniccom/modules'
|
|
2
|
+
import { NumberRangeValue, ColorPicker, Slider, SelectAssetKna, TextInput } from '@vixoniccom/modules/dist/lib'
|
|
3
|
+
|
|
4
|
+
import { ShowValidations } from '../utils'
|
|
5
|
+
|
|
6
|
+
const createTextInputs = (scope: string, label: string, show: string) => {
|
|
7
|
+
return [
|
|
8
|
+
new Switch({ id: `${scope}Enabled`, label, defaultValue: true }),
|
|
9
|
+
new TextFormat({ id: `${scope}Format`, label: 'Formato', show }),
|
|
10
|
+
new NumberInput({ id: `${scope}LineHeight`, label: 'Altura de línea', range: new NumberRangeValue(.8, 100), show })
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const elementsInputs = [
|
|
15
|
+
new Label({ label: 'Elementos' }),
|
|
16
|
+
...createTextInputs('title', 'Título', ShowValidations.titleEnabled),
|
|
17
|
+
...createTextInputs('description', 'Descripción', ShowValidations.descriptionEnabled),
|
|
18
|
+
new NumberInput({ id: 'textSeparation', label: 'Separación de textos', description: 'En pixeles.',
|
|
19
|
+
show: ShowValidations.titleAndDescription }),
|
|
20
|
+
new Switch({ id: 'imageEnabled', label: 'Imagen', defaultValue: true, show: ShowValidations.isNotGradient }),
|
|
21
|
+
new SelectInput({ id: 'imageSize', required: true, label: 'Tamaño', description: 'Relación de tamaño entre la imagen y los textos.', items: [
|
|
22
|
+
{ label : 'Pequeña', value : 'small' },
|
|
23
|
+
{ label : 'Mediana', value : 'medium' },
|
|
24
|
+
{ label : 'Grande', value : 'large' },
|
|
25
|
+
{ label: 'Personalizado', value: 'custom' }
|
|
26
|
+
], show: ShowValidations.isNotGalleryNorGradient}),
|
|
27
|
+
new NumberInput({ id: 'imageCustomSize', label: 'Tamaño personalizado', required: true, description: 'En porcentaje.',
|
|
28
|
+
range: new NumberRangeValue(1, 100), show: ShowValidations.isCustomSize }),
|
|
29
|
+
new SelectInput({ id: 'imagePosition', required: true, label: 'Posición', description: 'Posición de la imagen respecto al texto.', defaultValue: 'left', items: [
|
|
30
|
+
{label : 'Arriba', value : 'top'},
|
|
31
|
+
{label : 'Derecha', value : 'right'},
|
|
32
|
+
{label : 'Abajo', value : 'bottom'},
|
|
33
|
+
{label : 'Izquierda', value : 'left'}
|
|
34
|
+
], show: ShowValidations.isNotGalleryNorGradient }),
|
|
35
|
+
new SelectInput({ id: 'imageMode', required : true, label : 'Modo', description : 'Modo de ajuste de la imagen.', defaultValue : 'contain',
|
|
36
|
+
items : [
|
|
37
|
+
{label : 'Ajustar', value : 'contain'},
|
|
38
|
+
{label : 'Cubrir', value : 'cover'},
|
|
39
|
+
{label : 'Estirar', value : 'fill'},
|
|
40
|
+
{label : 'No ajustar', value : 'none'}
|
|
41
|
+
],
|
|
42
|
+
show : ShowValidations.isNotGradient }),
|
|
43
|
+
new SelectInput({ id: 'imageStyle', label: 'Estilo', items: [
|
|
44
|
+
{label: 'Normal', value: 'normal'},
|
|
45
|
+
{label: 'Redondeado', value: 'rounded'},
|
|
46
|
+
{label: 'Circular', value: 'circle'},
|
|
47
|
+
{label: 'Hexagonal', value: 'hex'}
|
|
48
|
+
], show: ShowValidations.isNotGalleryNorGradient }),
|
|
49
|
+
new NumberInput({ label: 'Separación', id: 'imageSeparation', description: 'En pixeles. Por defecto 10.', show: ShowValidations.isNotGalleryNorGradient }),
|
|
50
|
+
new Label({ label: 'Degradado', show: ShowValidations.isGradient }),
|
|
51
|
+
new ColorPicker({
|
|
52
|
+
id: 'gradientBackgroundColor',
|
|
53
|
+
label: 'Color de degradado',
|
|
54
|
+
show: ShowValidations.isGradient
|
|
55
|
+
}),
|
|
56
|
+
new NumberInput({
|
|
57
|
+
id: 'gradientRate', label: 'Porcentje de degradado',
|
|
58
|
+
description: 'Por defecto 50',
|
|
59
|
+
range: new NumberRangeValue(1, 100),
|
|
60
|
+
show: ShowValidations.isGradient
|
|
61
|
+
}),
|
|
62
|
+
new SelectInput({
|
|
63
|
+
id: 'gradientOrientation', label: 'Dirección de degradado',
|
|
64
|
+
defaultValue: 'left',
|
|
65
|
+
items: [
|
|
66
|
+
{ label: 'Izquierda', value: 'left' },
|
|
67
|
+
{ label: 'Derecha', value: 'right' }
|
|
68
|
+
],
|
|
69
|
+
show: ShowValidations.isGradient
|
|
70
|
+
}),
|
|
71
|
+
new Switch({ id: 'gradientTitleEnabled', label: 'Título general modo degradado', defaultValue: false, show: ShowValidations.isGradient }),
|
|
72
|
+
new TextInput({
|
|
73
|
+
id: 'gradientTitle',
|
|
74
|
+
label: 'Título general',
|
|
75
|
+
required: true,
|
|
76
|
+
show: ShowValidations.gradientTitleEnabled
|
|
77
|
+
}),
|
|
78
|
+
new NumberInput({ id: 'gradientTitlePositionX', label: 'Posición eje X del título general', description: 'En pixeles. Por defecto 0.', show: ShowValidations.gradientTitleEnabled }),
|
|
79
|
+
new NumberInput({ id: 'gradientTitlePositionY', label: 'Posición eje Y del título general', description: 'En pixeles. Por defecto 0.', show: ShowValidations.gradientTitleEnabled }),
|
|
80
|
+
new TextFormat({ id: 'gradientTitleFormat', label: 'Formato título general', show: ShowValidations.gradientTitleEnabled }),
|
|
81
|
+
new Label({ label: 'Galeria', show: ShowValidations.isGallery }),
|
|
82
|
+
new SelectInput({ id: 'barSize', label: 'Tamaño de la barra', items: [
|
|
83
|
+
{ label: 'Pequeña', value: 'small' },
|
|
84
|
+
{ label: 'Mediana', value: 'medium' },
|
|
85
|
+
{ label: 'Grande', value: 'big' }
|
|
86
|
+
], show: ShowValidations.isGallery }),
|
|
87
|
+
new ColorPicker({ id: 'barColor', label: 'Color de la barra', show: ShowValidations.isGallery }),
|
|
88
|
+
new Slider({ id: 'barOpacity', label: 'Opacidad de la barra', min: 0, max: 1, step: 0.01, show: ShowValidations.isGallery }),
|
|
89
|
+
new Switch({ id: 'iconVisible', defaultValue: true, label: 'Ícono', show: ShowValidations.isGallery }),
|
|
90
|
+
new ColorPicker({ id: 'iconColor', label: 'Color del ícono', show: ShowValidations.galleryIconEnabled }),
|
|
91
|
+
new Switch({ id: 'qrCodeEnabled', label: 'Código QR', defaultValue: true }),
|
|
92
|
+
new NumberInput({ id: 'qrCodeWidth', label: 'Tamaño código QR', description: 'En pixeles. Por defecto 200.', show: ShowValidations.qrCodeEnabled }),
|
|
93
|
+
new NumberInput({ id: 'qrCodeHeight', label: 'Alto tarjeta de código QR', description: 'En pixeles. Por defecto 220.', show: ShowValidations.qrCodeEnabled }),
|
|
94
|
+
new NumberInput({ id: 'qrCodePositionX', label: 'Posición eje X de código QR', description: 'En pixeles. Por defecto 0.', show: ShowValidations.qrCodeEnabled }),
|
|
95
|
+
new NumberInput({ id: 'qrCodePositionY', label: 'Posición eje Y de código QR', description: 'En pixeles. Por defecto 0.', show: ShowValidations.qrCodeEnabled }),
|
|
96
|
+
new ColorPicker({ id: 'qrCodeBackgroundColor', label: 'Color fondo del código QR', show: ShowValidations.qrCodeEnabled }),
|
|
97
|
+
new ColorPicker({ id: 'qrCodeColor', label: 'Color del código QR', show: ShowValidations.qrCodeEnabled }),
|
|
98
|
+
new TextFormat({ id: 'QrCodeTitleFormat', label: 'Formato título código QR', show: ShowValidations.qrCodeEnabled }),
|
|
99
|
+
new Label({ label: 'Avanzado' }),
|
|
100
|
+
new SelectAssetKna({ id: 'background', label: 'Fondo', extensions: ['jpg', 'jpeg', 'png'] }),
|
|
101
|
+
new TextInput({ id: 'padding', required: false, label: 'Márgenes', description: 'CSS para dar espacio arriba/derecha/abajo/izquieda.' })
|
|
102
|
+
]
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Label, SelectInput, NumberInput } from '@vixoniccom/modules'
|
|
2
|
+
import { NumberRangeValue, Slider } from '@vixoniccom/modules/dist/lib'
|
|
3
|
+
|
|
4
|
+
export const generalInputs = [
|
|
5
|
+
new Label({ label: 'General' }),
|
|
6
|
+
|
|
7
|
+
new SelectInput({
|
|
8
|
+
id: 'newsSizeSelect',
|
|
9
|
+
label: 'Noticia:',
|
|
10
|
+
description: 'Tamaño de la noticia.',
|
|
11
|
+
required: true,
|
|
12
|
+
defaultValue: 'medium',
|
|
13
|
+
items: [
|
|
14
|
+
{ label: 'Corta', value: 'short' },
|
|
15
|
+
{ label: 'Mediana', value: 'medium' },
|
|
16
|
+
{ label: 'Larga', value: 'large' },
|
|
17
|
+
{ label: 'Extra larga', value: 'extra-large' }
|
|
18
|
+
]
|
|
19
|
+
}),
|
|
20
|
+
new SelectInput({ id: 'template', label: 'Modo', required: true, defaultValue: 'standard', items: [
|
|
21
|
+
{label: 'Estandar', value: 'standard'},
|
|
22
|
+
{label: 'Galeria', value: 'gallery'},
|
|
23
|
+
{label: 'Degradada', value: 'gradient'}
|
|
24
|
+
] }),
|
|
25
|
+
new NumberInput({
|
|
26
|
+
id: 'showTime', label: 'Persistencia',
|
|
27
|
+
description: 'Tiempo en segundos por noticia. Por defecto 10',
|
|
28
|
+
range: new NumberRangeValue(5, 9999)
|
|
29
|
+
}),
|
|
30
|
+
new Slider({
|
|
31
|
+
id: 'animationSpeed', label: 'Velocidad', required: true,
|
|
32
|
+
description: 'Rapidez de las transiciones',
|
|
33
|
+
min: 0.25, max: 3.25, step: 0.25, defaultValue: 1.75,
|
|
34
|
+
leftTip: 'Lento', rightTip: 'Rápido'
|
|
35
|
+
}),
|
|
36
|
+
new SelectInput({
|
|
37
|
+
id: 'animationType', label: 'Tipo de animación', required: true,
|
|
38
|
+
defaultValue: 'fade',
|
|
39
|
+
items: [
|
|
40
|
+
{label: 'Fundido', value: 'fade'},
|
|
41
|
+
{label: 'Fundido cruzado', value: 'crossFade'}
|
|
42
|
+
]
|
|
43
|
+
}),
|
|
44
|
+
new SelectInput({
|
|
45
|
+
id: 'textAlignment', label: 'Alineado vertical', description: 'La posición vertical de los textos.',
|
|
46
|
+
required: true, defaultValue: 'center',
|
|
47
|
+
items: [
|
|
48
|
+
{ label: 'Arriba', value: 'flex-start' },
|
|
49
|
+
{ label: 'Abajo', value: 'flex-end' },
|
|
50
|
+
{ label: 'Centrados', value: 'center' },
|
|
51
|
+
{ label: 'Distribuidos', value: 'space-around' },
|
|
52
|
+
{ label: 'Separados', value: 'space-between' }
|
|
53
|
+
]
|
|
54
|
+
})
|
|
55
|
+
]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Group } from '@vixoniccom/modules'
|
|
2
|
+
import { generalInputs } from './generalInputs'
|
|
3
|
+
import { elementsInputs } from './elementsInputs'
|
|
4
|
+
|
|
5
|
+
export const appereanceGroup = new Group({
|
|
6
|
+
id: 'appaeranceGroup',
|
|
7
|
+
label: 'Apariencia',
|
|
8
|
+
items: [
|
|
9
|
+
...generalInputs,
|
|
10
|
+
...elementsInputs
|
|
11
|
+
]
|
|
12
|
+
})
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Configuration, List, TextInput, SelectAssetKna, TextArea, NumberRangeValue, BitlyInput } from '@vixoniccom/modules'
|
|
2
|
+
import { appereanceGroup } from './appearanceGroup'
|
|
3
|
+
import { ShowValidations } from './utils'
|
|
4
|
+
|
|
5
|
+
const newsList = new List({
|
|
6
|
+
id: 'news',
|
|
7
|
+
label: 'Noticias',
|
|
8
|
+
description: 'Lista de noticias',
|
|
9
|
+
sortable: true,
|
|
10
|
+
itemSchema: [
|
|
11
|
+
new TextInput({
|
|
12
|
+
id: 'title',
|
|
13
|
+
label: 'Título corto',
|
|
14
|
+
required: true,
|
|
15
|
+
show: ShowValidations.shortTitleEnabled,
|
|
16
|
+
range: new NumberRangeValue(1, 25)
|
|
17
|
+
}),
|
|
18
|
+
new TextInput({
|
|
19
|
+
id: 'title',
|
|
20
|
+
label: 'Título mediano',
|
|
21
|
+
required: true,
|
|
22
|
+
show: ShowValidations.mediumTitleEnabled,
|
|
23
|
+
range: new NumberRangeValue(1, 40)
|
|
24
|
+
}),
|
|
25
|
+
new TextInput({
|
|
26
|
+
id: 'title',
|
|
27
|
+
label: 'Título largo',
|
|
28
|
+
required: true,
|
|
29
|
+
show: ShowValidations.largeTitleEnabled,
|
|
30
|
+
range: new NumberRangeValue(1, 50)
|
|
31
|
+
}),
|
|
32
|
+
|
|
33
|
+
new TextInput({
|
|
34
|
+
id: 'title',
|
|
35
|
+
label: 'Título extra largo',
|
|
36
|
+
required: true,
|
|
37
|
+
show: ShowValidations.extraLargeTitleEnabled,
|
|
38
|
+
range: new NumberRangeValue(1, 70)
|
|
39
|
+
}),
|
|
40
|
+
|
|
41
|
+
new TextArea({
|
|
42
|
+
id: 'description',
|
|
43
|
+
label: 'Descripción corta',
|
|
44
|
+
required: true,
|
|
45
|
+
show: ShowValidations.shortDescriptionEnabled,
|
|
46
|
+
range: new NumberRangeValue(1, 80),
|
|
47
|
+
html: true
|
|
48
|
+
}),
|
|
49
|
+
|
|
50
|
+
new TextArea({
|
|
51
|
+
id: 'description',
|
|
52
|
+
label: 'Descripción mediana',
|
|
53
|
+
required: true,
|
|
54
|
+
show: ShowValidations.mediumDescriptionEnabled,
|
|
55
|
+
range: new NumberRangeValue(1, 180),
|
|
56
|
+
html: true
|
|
57
|
+
}),
|
|
58
|
+
|
|
59
|
+
new TextArea({
|
|
60
|
+
id: 'description',
|
|
61
|
+
label: 'Descripción larga',
|
|
62
|
+
required: true,
|
|
63
|
+
show: ShowValidations.largeDescriptionEnabled,
|
|
64
|
+
range: new NumberRangeValue(1, 350),
|
|
65
|
+
html: true
|
|
66
|
+
}),
|
|
67
|
+
|
|
68
|
+
new TextArea({
|
|
69
|
+
id: 'description',
|
|
70
|
+
label: 'Descripción extra larga',
|
|
71
|
+
required: true,
|
|
72
|
+
show: ShowValidations.extraLargeDescriptionEnabled,
|
|
73
|
+
range: new NumberRangeValue(1, 500),
|
|
74
|
+
html: true
|
|
75
|
+
}),
|
|
76
|
+
|
|
77
|
+
new SelectAssetKna({ id: 'image', label: 'Imagen', required: true,
|
|
78
|
+
extensions: ['jpg', 'jpeg', 'png', 'svg'], show: (ShowValidations.imageForceEnabled)
|
|
79
|
+
}),
|
|
80
|
+
|
|
81
|
+
new BitlyInput({
|
|
82
|
+
id: 'qrCodeUrl',
|
|
83
|
+
label: 'URL código QR',
|
|
84
|
+
required: true,
|
|
85
|
+
show: ShowValidations.qrCodeEnabled
|
|
86
|
+
}),
|
|
87
|
+
|
|
88
|
+
new TextInput({
|
|
89
|
+
id: 'qrCodeTitle',
|
|
90
|
+
label: 'Título código QR',
|
|
91
|
+
required: false,
|
|
92
|
+
show: ShowValidations.qrCodeEnabled
|
|
93
|
+
})
|
|
94
|
+
],
|
|
95
|
+
itemDisplayClass: '2-lines',
|
|
96
|
+
itemDisplayAttributes: {
|
|
97
|
+
title: 'title',
|
|
98
|
+
subtitle: 'description'
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
export const configuration: Configuration = new Configuration({
|
|
103
|
+
durationFormula: `({{news}} && {{news}}.length || 1) * ({{showTime}} || 10)`,
|
|
104
|
+
schema: [
|
|
105
|
+
newsList,
|
|
106
|
+
appereanceGroup
|
|
107
|
+
]
|
|
108
|
+
})
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const titleEnabled = '{{titleEnabled}} === true'
|
|
2
|
+
const descriptionEnabled = '{{descriptionEnabled}} === true'
|
|
3
|
+
const imageEnabled = '{{imageEnabled}} === true'
|
|
4
|
+
const qrCodeEnabled = '{{qrCodeEnabled}} === true'
|
|
5
|
+
|
|
6
|
+
const isGradient = `{{template}} === 'gradient'`
|
|
7
|
+
const isNotGradient = `( ( ${isGradient} ) === false )`
|
|
8
|
+
const imageForceEnabled = `${imageEnabled} || ${isGradient}`
|
|
9
|
+
const gradientTitleEnabled = `${isGradient} && ({{gradientTitleEnabled}} === true)`
|
|
10
|
+
|
|
11
|
+
const isGallery = `{{template}} === 'gallery'`
|
|
12
|
+
const isNotGallery = `${imageEnabled} && ( ( ${isGallery} ) === false )`
|
|
13
|
+
const isNotGalleryNorGradient = `${isNotGallery} && ${isNotGradient}`
|
|
14
|
+
const galleryIconEnabled = `${isGallery} && ({{iconVisible}} === true)`
|
|
15
|
+
const isCustomSize = `${isNotGalleryNorGradient} && ( {{imageSize}} === 'custom' )`
|
|
16
|
+
const titleAndDescription = `${titleEnabled} && ${descriptionEnabled}`
|
|
17
|
+
|
|
18
|
+
const shortTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'short')`
|
|
19
|
+
const mediumTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'medium')`
|
|
20
|
+
const largeTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'large')`
|
|
21
|
+
const extraLargeTitleEnabled = `${titleEnabled} && ({{newsSizeSelect}} === 'extra-large')`
|
|
22
|
+
|
|
23
|
+
const shortDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'short')`
|
|
24
|
+
const mediumDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'medium')`
|
|
25
|
+
const largeDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'large')`
|
|
26
|
+
const extraLargeDescriptionEnabled = `${descriptionEnabled} && ({{newsSizeSelect}} === 'extra-large')`
|
|
27
|
+
|
|
28
|
+
export const ShowValidations = {
|
|
29
|
+
titleEnabled,
|
|
30
|
+
descriptionEnabled,
|
|
31
|
+
imageEnabled,
|
|
32
|
+
imageForceEnabled,
|
|
33
|
+
gradientTitleEnabled,
|
|
34
|
+
qrCodeEnabled,
|
|
35
|
+
isGradient,
|
|
36
|
+
isNotGradient,
|
|
37
|
+
isNotGalleryNorGradient,
|
|
38
|
+
isGallery,
|
|
39
|
+
galleryIconEnabled,
|
|
40
|
+
isNotGallery,
|
|
41
|
+
titleAndDescription,
|
|
42
|
+
isCustomSize,
|
|
43
|
+
shortTitleEnabled,
|
|
44
|
+
mediumTitleEnabled,
|
|
45
|
+
largeTitleEnabled,
|
|
46
|
+
extraLargeTitleEnabled,
|
|
47
|
+
shortDescriptionEnabled,
|
|
48
|
+
mediumDescriptionEnabled,
|
|
49
|
+
largeDescriptionEnabled,
|
|
50
|
+
extraLargeDescriptionEnabled
|
|
51
|
+
}
|
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
{
|
|
2
|
+
"durationFormula": "({{news}} && {{news}}.length || 1) * ({{showTime}} || 10)",
|
|
3
|
+
"schema": [
|
|
4
|
+
{
|
|
5
|
+
"id": "news",
|
|
6
|
+
"label": "Noticias",
|
|
7
|
+
"type": "list",
|
|
8
|
+
"itemSchema": [
|
|
9
|
+
{
|
|
10
|
+
"id": "title",
|
|
11
|
+
"label": "Título corto",
|
|
12
|
+
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'short')",
|
|
13
|
+
"type": "text-input",
|
|
14
|
+
"required": true,
|
|
15
|
+
"range": "[1:25]"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "title",
|
|
19
|
+
"label": "Título mediano",
|
|
20
|
+
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
|
|
21
|
+
"type": "text-input",
|
|
22
|
+
"required": true,
|
|
23
|
+
"range": "[1:40]"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "title",
|
|
27
|
+
"label": "Título largo",
|
|
28
|
+
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'large')",
|
|
29
|
+
"type": "text-input",
|
|
30
|
+
"required": true,
|
|
31
|
+
"range": "[1:50]"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "title",
|
|
35
|
+
"label": "Título extra largo",
|
|
36
|
+
"show": "{{titleEnabled}} === true && ({{newsSizeSelect}} === 'extra-large')",
|
|
37
|
+
"type": "text-input",
|
|
38
|
+
"required": true,
|
|
39
|
+
"range": "[1:70]"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "description",
|
|
43
|
+
"label": "Descripción corta",
|
|
44
|
+
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
|
|
45
|
+
"type": "text-area",
|
|
46
|
+
"required": true,
|
|
47
|
+
"range": "[1:80]",
|
|
48
|
+
"html": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "description",
|
|
52
|
+
"label": "Descripción mediana",
|
|
53
|
+
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
|
|
54
|
+
"type": "text-area",
|
|
55
|
+
"required": true,
|
|
56
|
+
"range": "[1:180]",
|
|
57
|
+
"html": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "description",
|
|
61
|
+
"label": "Descripción larga",
|
|
62
|
+
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'large')",
|
|
63
|
+
"type": "text-area",
|
|
64
|
+
"required": true,
|
|
65
|
+
"range": "[1:350]",
|
|
66
|
+
"html": true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "description",
|
|
70
|
+
"label": "Descripción extra larga",
|
|
71
|
+
"show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'extra-large')",
|
|
72
|
+
"type": "text-area",
|
|
73
|
+
"required": true,
|
|
74
|
+
"range": "[1:500]",
|
|
75
|
+
"html": true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "image",
|
|
79
|
+
"label": "Imagen",
|
|
80
|
+
"show": "{{imageEnabled}} === true || {{template}} === 'gradient'",
|
|
81
|
+
"type": "select-asset-kna-input",
|
|
82
|
+
"required": true,
|
|
83
|
+
"extensions": [
|
|
84
|
+
"jpg",
|
|
85
|
+
"jpeg",
|
|
86
|
+
"png",
|
|
87
|
+
"svg"
|
|
88
|
+
],
|
|
89
|
+
"multiple": false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "qrCodeUrl",
|
|
93
|
+
"label": "URL código QR",
|
|
94
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
95
|
+
"type": "bitly-input",
|
|
96
|
+
"required": true
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "qrCodeTitle",
|
|
100
|
+
"label": "Título código QR",
|
|
101
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
102
|
+
"type": "text-input",
|
|
103
|
+
"required": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "expirationDate",
|
|
107
|
+
"label": "Fecha de expiración Noticia",
|
|
108
|
+
"type": "date-input",
|
|
109
|
+
"required": false
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"description": "Lista de noticias",
|
|
114
|
+
"itemDisplayClass": "2-lines",
|
|
115
|
+
"itemDisplayAttributes": {
|
|
116
|
+
"title": "title",
|
|
117
|
+
"subtitle": "description",
|
|
118
|
+
"expirationDate": "expirationDate"
|
|
119
|
+
},
|
|
120
|
+
"sortable": true
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "appaeranceGroup",
|
|
124
|
+
"label": "Apariencia",
|
|
125
|
+
"type": "group",
|
|
126
|
+
"items": [
|
|
127
|
+
{
|
|
128
|
+
"type": "label",
|
|
129
|
+
"label": "General"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "newsSizeSelect",
|
|
133
|
+
"label": "Noticia:",
|
|
134
|
+
"type": "select-input",
|
|
135
|
+
"description": "Tamaño de la noticia.",
|
|
136
|
+
"items": [
|
|
137
|
+
{
|
|
138
|
+
"label": "Corta",
|
|
139
|
+
"value": "short"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"label": "Mediana",
|
|
143
|
+
"value": "medium"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"label": "Larga",
|
|
147
|
+
"value": "large"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"label": "Extra larga",
|
|
151
|
+
"value": "extra-large"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"required": true,
|
|
155
|
+
"defaultValue": "medium"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "template",
|
|
159
|
+
"label": "Modo",
|
|
160
|
+
"type": "select-input",
|
|
161
|
+
"items": [
|
|
162
|
+
{
|
|
163
|
+
"label": "Estandar",
|
|
164
|
+
"value": "standard"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"label": "Galeria",
|
|
168
|
+
"value": "gallery"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"label": "Degradada",
|
|
172
|
+
"value": "gradient"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"required": true,
|
|
176
|
+
"defaultValue": "standard"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "showTime",
|
|
180
|
+
"label": "Persistencia",
|
|
181
|
+
"type": "number-input",
|
|
182
|
+
"range": "[5:9999:]",
|
|
183
|
+
"description": "Tiempo en segundos por noticia. Por defecto 10"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "animationSpeed",
|
|
187
|
+
"label": "Velocidad",
|
|
188
|
+
"type": "slider",
|
|
189
|
+
"required": true,
|
|
190
|
+
"min": 0.25,
|
|
191
|
+
"max": 3.25,
|
|
192
|
+
"step": 0.25,
|
|
193
|
+
"defaultValue": 1.75,
|
|
194
|
+
"leftTip": "Lento",
|
|
195
|
+
"rightTip": "Rápido",
|
|
196
|
+
"description": "Rapidez de las transiciones"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "animationType",
|
|
200
|
+
"label": "Tipo de animación",
|
|
201
|
+
"type": "select-input",
|
|
202
|
+
"items": [
|
|
203
|
+
{
|
|
204
|
+
"label": "Fundido",
|
|
205
|
+
"value": "fade"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"label": "Fundido cruzado",
|
|
209
|
+
"value": "crossFade"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"required": true,
|
|
213
|
+
"defaultValue": "fade"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "textAlignment",
|
|
217
|
+
"label": "Alineado vertical",
|
|
218
|
+
"type": "select-input",
|
|
219
|
+
"description": "La posición vertical de los textos.",
|
|
220
|
+
"items": [
|
|
221
|
+
{
|
|
222
|
+
"label": "Arriba",
|
|
223
|
+
"value": "flex-start"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"label": "Abajo",
|
|
227
|
+
"value": "flex-end"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"label": "Centrados",
|
|
231
|
+
"value": "center"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"label": "Distribuidos",
|
|
235
|
+
"value": "space-around"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"label": "Separados",
|
|
239
|
+
"value": "space-between"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"required": true,
|
|
243
|
+
"defaultValue": "center"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "label",
|
|
247
|
+
"label": "Elementos"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "titleEnabled",
|
|
251
|
+
"label": "Título",
|
|
252
|
+
"type": "switch",
|
|
253
|
+
"defaultValue": true
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "titleFormat",
|
|
257
|
+
"label": "Formato",
|
|
258
|
+
"show": "{{titleEnabled}} === true",
|
|
259
|
+
"type": "text-format"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "titleLineHeight",
|
|
263
|
+
"label": "Altura de línea",
|
|
264
|
+
"show": "{{titleEnabled}} === true",
|
|
265
|
+
"type": "number-input",
|
|
266
|
+
"range": "[0.8:100:]"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"id": "descriptionEnabled",
|
|
270
|
+
"label": "Descripción",
|
|
271
|
+
"type": "switch",
|
|
272
|
+
"defaultValue": true
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "descriptionFormat",
|
|
276
|
+
"label": "Formato",
|
|
277
|
+
"show": "{{descriptionEnabled}} === true",
|
|
278
|
+
"type": "text-format"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "descriptionLineHeight",
|
|
282
|
+
"label": "Altura de línea",
|
|
283
|
+
"show": "{{descriptionEnabled}} === true",
|
|
284
|
+
"type": "number-input",
|
|
285
|
+
"range": "[0.8:100:]"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "textSeparation",
|
|
289
|
+
"label": "Separación de textos",
|
|
290
|
+
"show": "{{titleEnabled}} === true && {{descriptionEnabled}} === true",
|
|
291
|
+
"type": "number-input",
|
|
292
|
+
"description": "En pixeles."
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "imageEnabled",
|
|
296
|
+
"label": "Imagen",
|
|
297
|
+
"show": "( ( {{template}} === 'gradient' ) === false )",
|
|
298
|
+
"type": "switch",
|
|
299
|
+
"defaultValue": true
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "imageSize",
|
|
303
|
+
"label": "Tamaño",
|
|
304
|
+
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false )",
|
|
305
|
+
"type": "select-input",
|
|
306
|
+
"description": "Relación de tamaño entre la imagen y los textos.",
|
|
307
|
+
"items": [
|
|
308
|
+
{
|
|
309
|
+
"label": "Pequeña",
|
|
310
|
+
"value": "small"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"label": "Mediana",
|
|
314
|
+
"value": "medium"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"label": "Grande",
|
|
318
|
+
"value": "large"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"label": "Personalizado",
|
|
322
|
+
"value": "custom"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"required": true
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "imageCustomSize",
|
|
329
|
+
"label": "Tamaño personalizado",
|
|
330
|
+
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false ) && ( {{imageSize}} === 'custom' )",
|
|
331
|
+
"type": "number-input",
|
|
332
|
+
"range": "[1:100:]",
|
|
333
|
+
"description": "En porcentaje.",
|
|
334
|
+
"required": true
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "imagePosition",
|
|
338
|
+
"label": "Posición",
|
|
339
|
+
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false )",
|
|
340
|
+
"type": "select-input",
|
|
341
|
+
"description": "Posición de la imagen respecto al texto.",
|
|
342
|
+
"items": [
|
|
343
|
+
{
|
|
344
|
+
"label": "Arriba",
|
|
345
|
+
"value": "top"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"label": "Derecha",
|
|
349
|
+
"value": "right"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"label": "Abajo",
|
|
353
|
+
"value": "bottom"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"label": "Izquierda",
|
|
357
|
+
"value": "left"
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"required": true,
|
|
361
|
+
"defaultValue": "left"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": "imageMode",
|
|
365
|
+
"label": "Modo",
|
|
366
|
+
"show": "( ( {{template}} === 'gradient' ) === false )",
|
|
367
|
+
"type": "select-input",
|
|
368
|
+
"description": "Modo de ajuste de la imagen.",
|
|
369
|
+
"items": [
|
|
370
|
+
{
|
|
371
|
+
"label": "Ajustar",
|
|
372
|
+
"value": "contain"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"label": "Cubrir",
|
|
376
|
+
"value": "cover"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"label": "Estirar",
|
|
380
|
+
"value": "fill"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"label": "No ajustar",
|
|
384
|
+
"value": "none"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"required": true,
|
|
388
|
+
"defaultValue": "contain"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "imageStyle",
|
|
392
|
+
"label": "Estilo",
|
|
393
|
+
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false )",
|
|
394
|
+
"type": "select-input",
|
|
395
|
+
"items": [
|
|
396
|
+
{
|
|
397
|
+
"label": "Normal",
|
|
398
|
+
"value": "normal"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"label": "Redondeado",
|
|
402
|
+
"value": "rounded"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"label": "Circular",
|
|
406
|
+
"value": "circle"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"label": "Hexagonal",
|
|
410
|
+
"value": "hex"
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"id": "imageSeparation",
|
|
416
|
+
"label": "Separación",
|
|
417
|
+
"show": "{{imageEnabled}} === true && ( ( {{template}} === 'gallery' ) === false ) && ( ( {{template}} === 'gradient' ) === false )",
|
|
418
|
+
"type": "number-input",
|
|
419
|
+
"description": "En pixeles. Por defecto 10."
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"type": "label",
|
|
423
|
+
"label": "Degradado",
|
|
424
|
+
"show": "{{template}} === 'gradient'"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "gradientBackgroundColor",
|
|
428
|
+
"label": "Color de degradado",
|
|
429
|
+
"show": "{{template}} === 'gradient'",
|
|
430
|
+
"type": "color-picker",
|
|
431
|
+
"output": "auto"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"id": "gradientRate",
|
|
435
|
+
"label": "Porcentje de degradado",
|
|
436
|
+
"show": "{{template}} === 'gradient'",
|
|
437
|
+
"type": "number-input",
|
|
438
|
+
"range": "[1:100:]",
|
|
439
|
+
"description": "Por defecto 50"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"id": "gradientOrientation",
|
|
443
|
+
"label": "Dirección de degradado",
|
|
444
|
+
"show": "{{template}} === 'gradient'",
|
|
445
|
+
"type": "select-input",
|
|
446
|
+
"items": [
|
|
447
|
+
{
|
|
448
|
+
"label": "Izquierda",
|
|
449
|
+
"value": "left"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"label": "Derecha",
|
|
453
|
+
"value": "right"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"defaultValue": "left"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"id": "gradientTitleEnabled",
|
|
460
|
+
"label": "Título general modo degradado",
|
|
461
|
+
"show": "{{template}} === 'gradient'",
|
|
462
|
+
"type": "switch",
|
|
463
|
+
"defaultValue": false
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "gradientTitle",
|
|
467
|
+
"label": "Título general",
|
|
468
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
469
|
+
"type": "text-input",
|
|
470
|
+
"required": true
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "gradientTitlePositionX",
|
|
474
|
+
"label": "Posición eje X del título general",
|
|
475
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
476
|
+
"type": "number-input",
|
|
477
|
+
"description": "En pixeles. Por defecto 0."
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"id": "gradientTitlePositionY",
|
|
481
|
+
"label": "Posición eje Y del título general",
|
|
482
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
483
|
+
"type": "number-input",
|
|
484
|
+
"description": "En pixeles. Por defecto 0."
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"id": "gradientTitleFormat",
|
|
488
|
+
"label": "Formato título general",
|
|
489
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
490
|
+
"type": "text-format"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"type": "label",
|
|
494
|
+
"label": "Galeria",
|
|
495
|
+
"show": "{{template}} === 'gallery'"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"id": "barSize",
|
|
499
|
+
"label": "Tamaño de la barra",
|
|
500
|
+
"show": "{{template}} === 'gallery'",
|
|
501
|
+
"type": "select-input",
|
|
502
|
+
"items": [
|
|
503
|
+
{
|
|
504
|
+
"label": "Pequeña",
|
|
505
|
+
"value": "small"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"label": "Mediana",
|
|
509
|
+
"value": "medium"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"label": "Grande",
|
|
513
|
+
"value": "big"
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"id": "barColor",
|
|
519
|
+
"label": "Color de la barra",
|
|
520
|
+
"show": "{{template}} === 'gallery'",
|
|
521
|
+
"type": "color-picker",
|
|
522
|
+
"output": "auto"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "barOpacity",
|
|
526
|
+
"label": "Opacidad de la barra",
|
|
527
|
+
"show": "{{template}} === 'gallery'",
|
|
528
|
+
"type": "slider",
|
|
529
|
+
"min": 0,
|
|
530
|
+
"max": 1,
|
|
531
|
+
"step": 0.01
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"id": "iconVisible",
|
|
535
|
+
"label": "Ícono",
|
|
536
|
+
"show": "{{template}} === 'gallery'",
|
|
537
|
+
"type": "switch",
|
|
538
|
+
"defaultValue": true
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "iconColor",
|
|
542
|
+
"label": "Color del ícono",
|
|
543
|
+
"show": "{{template}} === 'gallery' && ({{iconVisible}} === true)",
|
|
544
|
+
"type": "color-picker",
|
|
545
|
+
"output": "auto"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"id": "qrCodeEnabled",
|
|
549
|
+
"label": "Código QR",
|
|
550
|
+
"type": "switch",
|
|
551
|
+
"defaultValue": true
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": "qrCodeWidth",
|
|
555
|
+
"label": "Tamaño código QR",
|
|
556
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
557
|
+
"type": "number-input",
|
|
558
|
+
"description": "En pixeles. Por defecto 200."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "qrCodeHeight",
|
|
562
|
+
"label": "Alto tarjeta de código QR",
|
|
563
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
564
|
+
"type": "number-input",
|
|
565
|
+
"description": "En pixeles. Por defecto 220."
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"id": "qrCodePositionX",
|
|
569
|
+
"label": "Posición eje X de código QR",
|
|
570
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
571
|
+
"type": "number-input",
|
|
572
|
+
"description": "En pixeles. Por defecto 0."
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "qrCodePositionY",
|
|
576
|
+
"label": "Posición eje Y de código QR",
|
|
577
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
578
|
+
"type": "number-input",
|
|
579
|
+
"description": "En pixeles. Por defecto 0."
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "qrCodeBackgroundColor",
|
|
583
|
+
"label": "Color fondo del código QR",
|
|
584
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
585
|
+
"type": "color-picker",
|
|
586
|
+
"output": "auto"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"id": "qrCodeColor",
|
|
590
|
+
"label": "Color del código QR",
|
|
591
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
592
|
+
"type": "color-picker",
|
|
593
|
+
"output": "auto"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"id": "QrCodeTitleFormat",
|
|
597
|
+
"label": "Formato título código QR",
|
|
598
|
+
"show": "{{qrCodeEnabled}} === true",
|
|
599
|
+
"type": "text-format"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"type": "label",
|
|
603
|
+
"label": "Avanzado"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"id": "background",
|
|
607
|
+
"label": "Fondo",
|
|
608
|
+
"type": "select-asset-kna-input",
|
|
609
|
+
"extensions": [
|
|
610
|
+
"jpg",
|
|
611
|
+
"jpeg",
|
|
612
|
+
"png"
|
|
613
|
+
],
|
|
614
|
+
"multiple": false
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"id": "padding",
|
|
618
|
+
"label": "Márgenes",
|
|
619
|
+
"type": "text-input",
|
|
620
|
+
"description": "CSS para dar espacio arriba/derecha/abajo/izquieda.",
|
|
621
|
+
"required": false
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
}
|
package/icon.png
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vixoniccom/bitly-news-internal",
|
|
3
|
+
"alias": "Noticias internas bitly",
|
|
4
|
+
"description": "Administre sus propias noticias.",
|
|
5
|
+
"color": "#D56A60",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"author": {
|
|
8
|
+
"name": ""
|
|
9
|
+
},
|
|
10
|
+
"version": "0.0.1-beta.0",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"prepublishOnly": "vixonic-module-packager --mode=build",
|
|
13
|
+
"watch": "vixonic-module-packager --mode=watch",
|
|
14
|
+
"run": "vixonic-module-packager --mode=run",
|
|
15
|
+
"configuration": "vixonic-module-packager --mode generate-configuration",
|
|
16
|
+
"configuration:validate": "vixonic-module-packager --mode validate-configuration",
|
|
17
|
+
"release": "standard-version",
|
|
18
|
+
"prerelease-beta": "standard-version --prerelease beta",
|
|
19
|
+
"prerelease-dev": "standard-version --prerelease dev"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@vixoniccom/module-packager": "^2.9.0",
|
|
23
|
+
"dayjs": "^1.11.7",
|
|
24
|
+
"react": "^16.14.0",
|
|
25
|
+
"react-dom": "^16.14.0",
|
|
26
|
+
"react-qr-code": "^2.0.2",
|
|
27
|
+
"react-quill": "^1.3.5",
|
|
28
|
+
"react-transition-group": "^4.4.2",
|
|
29
|
+
"uuid": "^8.3.2"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^12.20.29",
|
|
33
|
+
"@types/react": "^16.14.14",
|
|
34
|
+
"@types/react-dom": "^16.9.14",
|
|
35
|
+
"@types/react-transition-group": "^4.4.3",
|
|
36
|
+
"@types/uuid": "^8.3.1",
|
|
37
|
+
"@vixoniccom/module-packager": "^2.6.0-rc.0",
|
|
38
|
+
"@vixoniccom/modules": "^2.16.1-dev.1",
|
|
39
|
+
"standard-version": "^9.3.1"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2015",
|
|
4
|
+
"module": "es2015",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"jsx": "preserve",
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"checkJs": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"emitDecoratorMetadata": true,
|
|
11
|
+
"experimentalDecorators": true,
|
|
12
|
+
"downlevelIteration": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"noFallthroughCasesInSwitch": true,
|
|
16
|
+
"noImplicitReturns": true,
|
|
17
|
+
"noImplicitAny": true,
|
|
18
|
+
"noImplicitThis": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"sourceMap": true,
|
|
22
|
+
"keyofStringsOnly": true,
|
|
23
|
+
"types": [
|
|
24
|
+
"node"
|
|
25
|
+
],
|
|
26
|
+
"typeRoots": [
|
|
27
|
+
"./node_modules/@types",
|
|
28
|
+
"./src"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"include": [
|
|
32
|
+
"./src/**/*"
|
|
33
|
+
],
|
|
34
|
+
"exclude": [
|
|
35
|
+
"./node_modules/**/*"
|
|
36
|
+
]
|
|
37
|
+
}
|