@vixoniccom/footbal-score 1.4.6-dev.0 → 1.4.6-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.
@@ -4,13 +4,6 @@ object-assign
4
4
  @license MIT
5
5
  */
6
6
 
7
- /*!
8
- localForage -- Offline Storage, Improved
9
- Version 1.10.0
10
- https://localforage.github.io/localForage
11
- (c) 2013-2017 Mozilla, Apache License 2.0
12
- */
13
-
14
7
  /**
15
8
  * @license
16
9
  * Lodash <https://lodash.com/>
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "parameters": {
3
+ "footballService": { "id": "f7e3a1b2-c4d5-6789-abcd-ef0123456789" },
3
4
  "league": 1,
4
- "timeStart": "10 am",
5
- "timeEnd": "1 am",
5
+ "debugTimezone" : false,
6
6
  "matchesYesterday": false,
7
7
  "matchesTomorrow": false,
8
8
  "itemsPerPage": 2
@@ -0,0 +1,109 @@
1
+ {
2
+ "services": {
3
+ "f7e3a1b2-c4d5-6789-abcd-ef0123456789": {
4
+ "id": "f7e3a1b2-c4d5-6789-abcd-ef0123456789",
5
+ "data": {
6
+ "fixtures": [
7
+ {
8
+ "fixture": {
9
+ "id": 1001,
10
+ "date": "2026-06-22T18:00:00+00:00",
11
+ "status": { "long": "Match Finished", "short": "FT", "elapsed": 90 },
12
+ "venue": { "name": "Camp Nou", "city": "Barcelona" }
13
+ },
14
+ "league": {
15
+ "id": 140,
16
+ "name": "La Liga",
17
+ "country": "Spain",
18
+ "logo": "https://media.api-sports.io/football/leagues/140.png",
19
+ "round": "Regular Season - 38"
20
+ },
21
+ "teams": {
22
+ "home": { "id": 529, "name": "Barcelona", "logo": "https://media.api-sports.io/football/teams/529.png", "winner": true },
23
+ "away": { "id": 541, "name": "Real Madrid", "logo": "https://media.api-sports.io/football/teams/541.png", "winner": false }
24
+ },
25
+ "goals": { "home": 3, "away": 1 },
26
+ "score": {
27
+ "halftime": { "home": 1, "away": 0 },
28
+ "fulltime": { "home": 3, "away": 1 }
29
+ }
30
+ },
31
+ {
32
+ "fixture": {
33
+ "id": 1002,
34
+ "date": "2026-06-22T20:45:00+00:00",
35
+ "status": { "long": "Second Half", "short": "2H", "elapsed": 67 },
36
+ "venue": { "name": "Anfield", "city": "Liverpool" }
37
+ },
38
+ "league": {
39
+ "id": 39,
40
+ "name": "Premier League",
41
+ "country": "England",
42
+ "logo": "https://media.api-sports.io/football/leagues/39.png",
43
+ "round": "Regular Season - 38"
44
+ },
45
+ "teams": {
46
+ "home": { "id": 40, "name": "Liverpool", "logo": "https://media.api-sports.io/football/teams/40.png", "winner": null },
47
+ "away": { "id": 42, "name": "Arsenal", "logo": "https://media.api-sports.io/football/teams/42.png", "winner": null }
48
+ },
49
+ "goals": { "home": 2, "away": 2 },
50
+ "score": {
51
+ "halftime": { "home": 1, "away": 1 },
52
+ "fulltime": { "home": null, "away": null }
53
+ }
54
+ },
55
+ {
56
+ "fixture": {
57
+ "id": 1003,
58
+ "date": "2026-06-23T19:00:00+00:00",
59
+ "status": { "long": "Not Started", "short": "NS", "elapsed": null },
60
+ "venue": { "name": "Allianz Arena", "city": "Munich" }
61
+ },
62
+ "league": {
63
+ "id": 78,
64
+ "name": "Bundesliga",
65
+ "country": "Germany",
66
+ "logo": "https://media.api-sports.io/football/leagues/78.png",
67
+ "round": "Regular Season - 34"
68
+ },
69
+ "teams": {
70
+ "home": { "id": 157, "name": "Bayern Munich", "logo": "https://media.api-sports.io/football/teams/157.png", "winner": null },
71
+ "away": { "id": 165, "name": "Borussia Dortmund", "logo": "https://media.api-sports.io/football/teams/165.png", "winner": null }
72
+ },
73
+ "goals": { "home": null, "away": null },
74
+ "score": {
75
+ "halftime": { "home": null, "away": null },
76
+ "fulltime": { "home": null, "away": null }
77
+ }
78
+ },
79
+ {
80
+ "fixture": {
81
+ "id": 1004,
82
+ "date": "2026-06-22T17:30:00+00:00",
83
+ "status": { "long": "Match Finished", "short": "FT", "elapsed": 90 },
84
+ "venue": { "name": "San Siro", "city": "Milan" }
85
+ },
86
+ "league": {
87
+ "id": 135,
88
+ "name": "Serie A",
89
+ "country": "Italy",
90
+ "logo": "https://media.api-sports.io/football/leagues/135.png",
91
+ "round": "Regular Season - 38"
92
+ },
93
+ "teams": {
94
+ "home": { "id": 489, "name": "AC Milan", "logo": "https://media.api-sports.io/football/teams/489.png", "winner": false },
95
+ "away": { "id": 505, "name": "Inter", "logo": "https://media.api-sports.io/football/teams/505.png", "winner": true }
96
+ },
97
+ "goals": { "home": 0, "away": 2 },
98
+ "score": {
99
+ "halftime": { "home": 0, "away": 1 },
100
+ "fulltime": { "home": 0, "away": 2 }
101
+ }
102
+ }
103
+ ]
104
+ },
105
+ "updatedAt": 1750608000000,
106
+ "__typename": "FootballAppService"
107
+ }
108
+ }
109
+ }
package/build.zip CHANGED
Binary file
@@ -1,22 +1,12 @@
1
- import { Label, NumberInput, NumberRangeValue, SelectInput, Switch, TextFormat, TextInput } from '@vixoniccom/modules'
1
+ import { Label, NumberInput, NumberRangeValue, SelectInput, ServiceInput, Switch, TextFormat, TextInput } from '@vixoniccom/modules'
2
2
  import { ShowValidations, timeSelect } from '../utils'
3
3
 
4
4
  export const dataInputs = [
5
5
  new Label({ label: 'Datos' }),
6
- new SelectInput({
7
- id: 'league',
8
- label: 'Competencia',
9
- required: true,
10
- items: [
11
- { label: 'Mundial', value: '1' },
12
- { label: 'Copa América', value: '9' },
13
- { label: 'Euro Copa', value: '4' },
14
- { label: 'Copa Oro (Concacaf)', value: '22' },
15
- { label: 'Mundial de clubes', value: '15' },
16
- { label: 'Primera división Chile', value: '1220' },
17
- { label: 'Liga profesional Argentina', value: '128' },
18
- ],
19
- defaultValue: '9',
6
+ new ServiceInput({
7
+ id: 'footballService',
8
+ label: 'Servicio de fútbol',
9
+ serviceType: 'FootballService' as any,
20
10
  }),
21
11
  new Switch({
22
12
  id: 'matchesYesterday',
@@ -32,35 +22,6 @@ export const dataInputs = [
32
22
  displayOnFalse: 'No',
33
23
  defaultValue: false,
34
24
  }),
35
- new SelectInput({
36
- id: 'timeStart',
37
- label: 'Hora de inicio',
38
- required: true,
39
- items: [...timeSelect],
40
- defaultValue: '6am',
41
- }),
42
- new SelectInput({
43
- id: 'timeEnd',
44
- label: 'Hora Fin',
45
- required: true,
46
- items: [...timeSelect],
47
- defaultValue: '7pm',
48
- }),
49
- new SelectInput({
50
- id: 'updateTime',
51
- label: 'Actualización',
52
- required: true,
53
- items: [
54
- { label: '5 minutos', value: 300000 },
55
- { label: '10 minutos', value: 600000 },
56
- { label: '30 minutos', value: 1800000 },
57
- { label: '1 hora', value: 3600000 },
58
- { label: '6 horas', value: 21600000 },
59
- { label: '12 horas', value: 43200000 },
60
- { label: 'Diario', value: 86400000 },
61
- ],
62
- defaultValue: 300000,
63
- }),
64
25
  new Switch({
65
26
  id: 'titleEnabled',
66
27
  label: 'Título App',
@@ -10,41 +10,10 @@
10
10
  "label": "Datos"
11
11
  },
12
12
  {
13
- "id": "league",
14
- "label": "Competencia",
15
- "type": "select-input",
16
- "items": [
17
- {
18
- "label": "Mundial",
19
- "value": "1"
20
- },
21
- {
22
- "label": "Copa América",
23
- "value": "9"
24
- },
25
- {
26
- "label": "Euro Copa",
27
- "value": "4"
28
- },
29
- {
30
- "label": "Copa Oro (Concacaf)",
31
- "value": "22"
32
- },
33
- {
34
- "label": "Mundial de clubes",
35
- "value": "15"
36
- },
37
- {
38
- "label": "Primera división Chile",
39
- "value": "1220"
40
- },
41
- {
42
- "label": "Liga profesional Argentina",
43
- "value": "128"
44
- }
45
- ],
46
- "required": true,
47
- "defaultValue": "9"
13
+ "id": "footballService",
14
+ "label": "Servicio de fútbol",
15
+ "type": "service-input",
16
+ "serviceType": "FootballService"
48
17
  },
49
18
  {
50
19
  "id": "matchesYesterday",
@@ -62,253 +31,6 @@
62
31
  "displayOnTrue": "Si",
63
32
  "displayOnFalse": "No"
64
33
  },
65
- {
66
- "id": "timeStart",
67
- "label": "Hora de inicio",
68
- "type": "select-input",
69
- "items": [
70
- {
71
- "label": "12 am",
72
- "value": "12m"
73
- },
74
- {
75
- "label": "1 am",
76
- "value": "1m"
77
- },
78
- {
79
- "label": "2 am",
80
- "value": "2m"
81
- },
82
- {
83
- "label": "3 am",
84
- "value": "3m"
85
- },
86
- {
87
- "label": "4 am",
88
- "value": "4m"
89
- },
90
- {
91
- "label": "5 am",
92
- "value": "5m"
93
- },
94
- {
95
- "label": "6 am",
96
- "value": "6m"
97
- },
98
- {
99
- "label": "7 am",
100
- "value": "7m"
101
- },
102
- {
103
- "label": "8 am",
104
- "value": "8m"
105
- },
106
- {
107
- "label": "9 am",
108
- "value": "9m"
109
- },
110
- {
111
- "label": "10 am",
112
- "value": "10m"
113
- },
114
- {
115
- "label": "11 am",
116
- "value": "11m"
117
- },
118
- {
119
- "label": "12 pm",
120
- "value": "12pm"
121
- },
122
- {
123
- "label": "1 pm",
124
- "value": "1pm"
125
- },
126
- {
127
- "label": "2 pm",
128
- "value": "2pm"
129
- },
130
- {
131
- "label": "3 pm",
132
- "value": "3pm"
133
- },
134
- {
135
- "label": "4 pm",
136
- "value": "4pm"
137
- },
138
- {
139
- "label": "5 pm",
140
- "value": "5pm"
141
- },
142
- {
143
- "label": "6 pm",
144
- "value": "6pm"
145
- },
146
- {
147
- "label": "7 pm",
148
- "value": "7pm"
149
- },
150
- {
151
- "label": "8 pm",
152
- "value": "8pm"
153
- },
154
- {
155
- "label": "9 pm",
156
- "value": "9pm"
157
- },
158
- {
159
- "label": "10 pm",
160
- "value": "10pm"
161
- },
162
- {
163
- "label": "11 pm",
164
- "value": "11pm"
165
- }
166
- ],
167
- "required": true,
168
- "defaultValue": "6am"
169
- },
170
- {
171
- "id": "timeEnd",
172
- "label": "Hora Fin",
173
- "type": "select-input",
174
- "items": [
175
- {
176
- "label": "12 am",
177
- "value": "12m"
178
- },
179
- {
180
- "label": "1 am",
181
- "value": "1m"
182
- },
183
- {
184
- "label": "2 am",
185
- "value": "2m"
186
- },
187
- {
188
- "label": "3 am",
189
- "value": "3m"
190
- },
191
- {
192
- "label": "4 am",
193
- "value": "4m"
194
- },
195
- {
196
- "label": "5 am",
197
- "value": "5m"
198
- },
199
- {
200
- "label": "6 am",
201
- "value": "6m"
202
- },
203
- {
204
- "label": "7 am",
205
- "value": "7m"
206
- },
207
- {
208
- "label": "8 am",
209
- "value": "8m"
210
- },
211
- {
212
- "label": "9 am",
213
- "value": "9m"
214
- },
215
- {
216
- "label": "10 am",
217
- "value": "10m"
218
- },
219
- {
220
- "label": "11 am",
221
- "value": "11m"
222
- },
223
- {
224
- "label": "12 pm",
225
- "value": "12pm"
226
- },
227
- {
228
- "label": "1 pm",
229
- "value": "1pm"
230
- },
231
- {
232
- "label": "2 pm",
233
- "value": "2pm"
234
- },
235
- {
236
- "label": "3 pm",
237
- "value": "3pm"
238
- },
239
- {
240
- "label": "4 pm",
241
- "value": "4pm"
242
- },
243
- {
244
- "label": "5 pm",
245
- "value": "5pm"
246
- },
247
- {
248
- "label": "6 pm",
249
- "value": "6pm"
250
- },
251
- {
252
- "label": "7 pm",
253
- "value": "7pm"
254
- },
255
- {
256
- "label": "8 pm",
257
- "value": "8pm"
258
- },
259
- {
260
- "label": "9 pm",
261
- "value": "9pm"
262
- },
263
- {
264
- "label": "10 pm",
265
- "value": "10pm"
266
- },
267
- {
268
- "label": "11 pm",
269
- "value": "11pm"
270
- }
271
- ],
272
- "required": true,
273
- "defaultValue": "7pm"
274
- },
275
- {
276
- "id": "updateTime",
277
- "label": "Actualización",
278
- "type": "select-input",
279
- "items": [
280
- {
281
- "label": "5 minutos",
282
- "value": 300000
283
- },
284
- {
285
- "label": "10 minutos",
286
- "value": 600000
287
- },
288
- {
289
- "label": "30 minutos",
290
- "value": 1800000
291
- },
292
- {
293
- "label": "1 hora",
294
- "value": 3600000
295
- },
296
- {
297
- "label": "6 horas",
298
- "value": 21600000
299
- },
300
- {
301
- "label": "12 horas",
302
- "value": 43200000
303
- },
304
- {
305
- "label": "Diario",
306
- "value": 86400000
307
- }
308
- ],
309
- "required": true,
310
- "defaultValue": 300000
311
- },
312
34
  {
313
35
  "id": "titleEnabled",
314
36
  "label": "Título App",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/footbal-score",
3
3
  "alias": "Resultados Deportivos",
4
- "version": "1.4.6-dev.0",
4
+ "version": "1.4.6-dev.10",
5
5
  "description": "Muestra resultados en vivo de fútbol.",
6
6
  "main": "main.js",
7
7
  "author": "",
@@ -27,7 +27,7 @@
27
27
  "@types/react": "^17.0.0",
28
28
  "@types/react-dom": "^17.0.0",
29
29
  "@vixoniccom/module-packager": "^2.13.0",
30
- "@vixoniccom/modules": "^2.21.0",
30
+ "@vixoniccom/modules": "^2.25.0-dev.21",
31
31
  "standard-version": "^9.5.0"
32
32
  }
33
33
  }