@golstats/gsc-game-data 1.0.312 → 1.0.314
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/dist/{FilterConditions-29c1d3c7-24d977cd.js → FilterConditions-29c1d3c7-a6352a0b.js} +1 -1
- package/dist/{FilterConditions-d16ec515-Cm8B52wI-93ed36a1.js → FilterConditions-d16ec515-Cm8B52wI-38b759da.js} +1 -1
- package/dist/{FilterField-6e36a3d5-v5j1AbSE-c319d337.js → FilterField-6e36a3d5-v5j1AbSE-d751afc9.js} +1 -1
- package/dist/{FilterField-9ac5eaf1-5e44aab1.js → FilterField-9ac5eaf1-dbf7bc73.js} +1 -1
- package/dist/{FilterSubcategories-51092d11-55b2f38d.js → FilterSubcategories-51092d11-7dbba810.js} +1 -1
- package/dist/{FilterSubcategories-95d712f2-zKq3PF5m-cd27532e.js → FilterSubcategories-95d712f2-zKq3PF5m-a73b54b3.js} +1 -1
- package/dist/gsc-game-data.js +1 -1
- package/dist/gsc-game-data.umd.cjs +1 -1
- package/dist/{index-19cd65f3.js → index-bea9949b.js} +27 -13
- package/package.json +2 -2
|
@@ -29597,6 +29597,20 @@ const Vve = {
|
|
|
29597
29597
|
}
|
|
29598
29598
|
},
|
|
29599
29599
|
watch: {
|
|
29600
|
+
/*'homeTeam.acronym': {
|
|
29601
|
+
handler(newValue) {
|
|
29602
|
+
|
|
29603
|
+
this.homeTeamAbrev = newValue;
|
|
29604
|
+
},
|
|
29605
|
+
immediate: true
|
|
29606
|
+
},
|
|
29607
|
+
'visitingTeam.acronym': {
|
|
29608
|
+
handler(newValue) {
|
|
29609
|
+
this.awayTeamAbrev = newValue;
|
|
29610
|
+
|
|
29611
|
+
},
|
|
29612
|
+
immediate: true
|
|
29613
|
+
},*/
|
|
29600
29614
|
selectOptMenuheader: {
|
|
29601
29615
|
immediate: !0,
|
|
29602
29616
|
async handler(e, h) {
|
|
@@ -30078,7 +30092,7 @@ const Vve = {
|
|
|
30078
30092
|
}).get(this.url + e);
|
|
30079
30093
|
if (!u || !u.data)
|
|
30080
30094
|
throw new Error("There is not lineups for this game.");
|
|
30081
|
-
if (u.data.home_team.team_id == this.gameInfoheader.home_team) {
|
|
30095
|
+
if (this.homeTeamAbrev = this.gameInfoheader.home_team_abbreviation, u.data.home_team.team_id == this.gameInfoheader.home_team) {
|
|
30082
30096
|
this.gameInfoheader.home_team == this.homeTeam.team_id && (this.homeTeamAbrev = this.homeTeam.acronym), this.gameInfoheader.home_team == this.visitingTeam.team_id && (this.homeTeamAbrev = this.visitingTeam.acronym), this.dataPlayersHome = u.data.home_team.players, u.data.home_team.starting_lineup[0].lineup.sort(
|
|
30083
30097
|
(f, y) => f.position_id > y.position_id ? 1 : y.position_id > f.position_id ? -1 : 0
|
|
30084
30098
|
);
|
|
@@ -30356,7 +30370,7 @@ const Vve = {
|
|
|
30356
30370
|
}).get(this.url + e);
|
|
30357
30371
|
if (!o || !o.data)
|
|
30358
30372
|
throw new Error("There is not lineups for this game.");
|
|
30359
|
-
if (o.data.home_team.team_id == this.gameInfoheader.away_team) {
|
|
30373
|
+
if (this.awayTeamAbrev = this.gameInfoheader.away_team_abbreviation, o.data.home_team.team_id == this.gameInfoheader.away_team) {
|
|
30360
30374
|
this.dataPlayersAway = o.data.home_team.players, this.gameInfoheader.away_team == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym), this.gameInfoheader.away_team == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym);
|
|
30361
30375
|
for (let u = 0; u < o.data.home_team.starting_lineup[0].lineup.length; u++) {
|
|
30362
30376
|
this.away_team_id = o.data.home_team.team_id, this.imageExists(
|
|
@@ -30599,7 +30613,7 @@ const Vve = {
|
|
|
30599
30613
|
async changeCarouselItemRecent(e) {
|
|
30600
30614
|
if (e.selectedItem) {
|
|
30601
30615
|
var h = { season_id: e.selectedItem.season_id, game_id: e.selectedItem.id };
|
|
30602
|
-
this.homeTeam.
|
|
30616
|
+
this.homeTeam.acronymrecientes = e.selectedItem.home_team_abbreviation, this.visitingTeam.acronymrecientes = e.selectedItem.away_team_abbreviation, this.cleaneData(), await this.getLineUp(h.game_id), this.lastGetGame = h.game_id;
|
|
30603
30617
|
}
|
|
30604
30618
|
},
|
|
30605
30619
|
async getHeaderInfo(e, h = null) {
|
|
@@ -30867,7 +30881,7 @@ const Vve = {
|
|
|
30867
30881
|
idSubstitution: 0,
|
|
30868
30882
|
isbench: !1,
|
|
30869
30883
|
id_team: z.data.home_team.team_id
|
|
30870
|
-
}), this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.home_team.team_id + ".png", this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.home_team.team_id + ".png", this.selectOptMenuheader == "Historicos"
|
|
30884
|
+
}), this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.home_team.team_id + ".png", this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.home_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (z.data.home_team.team_id == this.homeTeam.team_id && (this.homeTeamAbrev = this.homeTeam.acronym), z.data.home_team.team_id == this.visitingTeam.team_id && (this.homeTeamAbrev = this.visitingTeam.acronym)) : this.homeTeamAbrev = this.homeTeam.acronymrecientes;
|
|
30871
30885
|
}
|
|
30872
30886
|
if (this.playersHome.sort(
|
|
30873
30887
|
(V, $) => V.position_id > $.position_id ? 1 : $.position_id > V.position_id ? -1 : 0
|
|
@@ -30973,7 +30987,7 @@ const Vve = {
|
|
|
30973
30987
|
idSubstitution: 0,
|
|
30974
30988
|
isbench: !1,
|
|
30975
30989
|
id_team: z.data.away_team.team_id
|
|
30976
|
-
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.away_team.team_id + ".png", this.selectOptMenuheader == "Historicos"
|
|
30990
|
+
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + z.data.away_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (z.data.away_team.team_id == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym), z.data.away_team.team_id == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym)) : this.awayTeamAbrev = this.visitingTeam.acronymrecientes;
|
|
30977
30991
|
}
|
|
30978
30992
|
if (this.playersAway.sort(
|
|
30979
30993
|
(V, $) => V.position_id > $.position_id ? 1 : $.position_id > V.position_id ? -1 : 0
|
|
@@ -31424,7 +31438,7 @@ function r_e(e, h, p, R, Y, w) {
|
|
|
31424
31438
|
width: "28"
|
|
31425
31439
|
}, null, 8, B2e)) : ar("", !0)
|
|
31426
31440
|
]),
|
|
31427
|
-
xe("div", null, cr(Y.
|
|
31441
|
+
xe("div", null, cr(Y.homeTeamAbrev), 1)
|
|
31428
31442
|
], 4),
|
|
31429
31443
|
xe("div", {
|
|
31430
31444
|
class: "header-lineup-shield-team away",
|
|
@@ -31434,7 +31448,7 @@ function r_e(e, h, p, R, Y, w) {
|
|
|
31434
31448
|
]),
|
|
31435
31449
|
onClick: h[2] || (h[2] = (_) => w.viewLineupTeam("away"))
|
|
31436
31450
|
}, [
|
|
31437
|
-
xe("div", null, cr(Y.
|
|
31451
|
+
xe("div", null, cr(Y.awayTeamAbrev), 1),
|
|
31438
31452
|
xe("div", N2e, [
|
|
31439
31453
|
Y.awayTeamLogo != "" ? (st(), ct("img", {
|
|
31440
31454
|
key: 0,
|
|
@@ -67976,11 +67990,11 @@ const IYe = { class: "dropdown" }, PYe = { class: "selected-item" }, LYe = {
|
|
|
67976
67990
|
},
|
|
67977
67991
|
setup(e) {
|
|
67978
67992
|
const h = e, p = ky(
|
|
67979
|
-
() => import("./FilterSubcategories-51092d11-
|
|
67993
|
+
() => import("./FilterSubcategories-51092d11-7dbba810.js")
|
|
67980
67994
|
), R = ky(
|
|
67981
|
-
() => import("./FilterConditions-29c1d3c7-
|
|
67995
|
+
() => import("./FilterConditions-29c1d3c7-a6352a0b.js")
|
|
67982
67996
|
), Y = ky(
|
|
67983
|
-
() => import("./FilterField-9ac5eaf1-
|
|
67997
|
+
() => import("./FilterField-9ac5eaf1-dbf7bc73.js")
|
|
67984
67998
|
), w = [
|
|
67985
67999
|
{
|
|
67986
68000
|
name: "Sub categorías",
|
|
@@ -204286,11 +204300,11 @@ const Awt = { class: "dropdown" }, Cwt = { class: "selected-item" }, Mwt = {
|
|
|
204286
204300
|
},
|
|
204287
204301
|
setup(e) {
|
|
204288
204302
|
const h = e, p = ky(
|
|
204289
|
-
() => import("./FilterSubcategories-95d712f2-zKq3PF5m-
|
|
204303
|
+
() => import("./FilterSubcategories-95d712f2-zKq3PF5m-a73b54b3.js")
|
|
204290
204304
|
), R = ky(
|
|
204291
|
-
() => import("./FilterConditions-d16ec515-Cm8B52wI-
|
|
204305
|
+
() => import("./FilterConditions-d16ec515-Cm8B52wI-38b759da.js")
|
|
204292
204306
|
), Y = ky(
|
|
204293
|
-
() => import("./FilterField-6e36a3d5-v5j1AbSE-
|
|
204307
|
+
() => import("./FilterField-6e36a3d5-v5j1AbSE-d751afc9.js")
|
|
204294
204308
|
), w = [
|
|
204295
204309
|
{
|
|
204296
204310
|
name: "Sub categorías",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-game-data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.314",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@golstats/gsc-game-video": "^1.0.73",
|
|
32
32
|
"@golstats/gsc-highlights": "^1.0.41",
|
|
33
33
|
"@golstats/gsc-label": "^1.0.5",
|
|
34
|
-
"@golstats/gsc-lineups": "^1.0.
|
|
34
|
+
"@golstats/gsc-lineups": "^1.0.46",
|
|
35
35
|
"@golstats/gsc-menu": "^1.0.5",
|
|
36
36
|
"@golstats/gsc-radio-button": "^1.0.1",
|
|
37
37
|
"@golstats/gsc-season-select": "^1.0.9",
|