@golstats/gsc-game-data 1.0.122 → 1.0.124
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-dc6b25de-CdawgDTp-4d9f4acf.js → FilterConditions-dc6b25de-CdawgDTp-c7691ca8.js} +1 -1
- package/dist/{FilterField-37ad154d-PFd8HpMJ-ff115184.js → FilterField-37ad154d-PFd8HpMJ-17bad539.js} +1 -1
- package/dist/{FilterSubcategories-a7b96423-Bs67-HFD-c697804f.js → FilterSubcategories-a7b96423-Bs67-HFD-0e5ac46f.js} +1 -1
- package/dist/gsc-game-data.js +1 -1
- package/dist/gsc-game-data.umd.cjs +2 -2
- package/dist/{index-8fa7a8a9.js → index-3f39144a.js} +17 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -11077,12 +11077,18 @@ const itt = {
|
|
|
11077
11077
|
headers: {
|
|
11078
11078
|
Authorization: `${this.token}`
|
|
11079
11079
|
}
|
|
11080
|
-
}).get(this.url + this.seasonSelected.id)
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11080
|
+
}).get(this.url + this.seasonSelected.id);
|
|
11081
|
+
let a = -1, c = -1;
|
|
11082
|
+
if (this.tournamentType != 1)
|
|
11083
|
+
a = e.data.data.findIndex(
|
|
11084
|
+
(p) => p.team_id === this.gameForAnalysis.home_team
|
|
11085
|
+
), c = e.data.data.findIndex(
|
|
11086
|
+
(p) => p.team_id === this.gameForAnalysis.visiting_team
|
|
11087
|
+
);
|
|
11088
|
+
else
|
|
11089
|
+
for (let p = 0; p < e.data.groups.length; p++)
|
|
11090
|
+
a == -1 && (a = e.data.groups[p].data.findIndex((r) => r.team_id === this.gameForAnalysis.home_team), a != -1 && (this.home = e.data.groups[p].data[a])), c == -1 && (c = e.data.groups[p].data.findIndex((r) => r.team_id === this.gameForAnalysis.visiting_team), c != -1 && (this.away = e.data.groups[p].data[c]));
|
|
11091
|
+
this.tournamentType != 1 && (this.home = e.data.data[a], this.away = e.data.data[c]);
|
|
11086
11092
|
} catch (t) {
|
|
11087
11093
|
console.error(t);
|
|
11088
11094
|
}
|
|
@@ -13136,7 +13142,7 @@ const prt = { class: "statistics-main" }, frt = { class: "statistics-main__heade
|
|
|
13136
13142
|
(yt(), Va(a2(tr(y).componentName), {
|
|
13137
13143
|
seasonSelected: { ...t.seasonSelected },
|
|
13138
13144
|
game: { ...t.game },
|
|
13139
|
-
"tournament-type": tr(c).getters["
|
|
13145
|
+
"tournament-type": tr(c).getters["gameGlobal/getTournamentType"],
|
|
13140
13146
|
"can-play-videos": t.canPlayVideos,
|
|
13141
13147
|
"play-videos-privileges": t.playVideosPrivileges,
|
|
13142
13148
|
onOpenmedia: l
|
|
@@ -13144,7 +13150,7 @@ const prt = { class: "statistics-main" }, frt = { class: "statistics-main__heade
|
|
|
13144
13150
|
]))
|
|
13145
13151
|
]));
|
|
13146
13152
|
}
|
|
13147
|
-
}), vrt = /* @__PURE__ */ eo(yrt, [["__scopeId", "data-v-
|
|
13153
|
+
}), vrt = /* @__PURE__ */ eo(yrt, [["__scopeId", "data-v-02c2f77c"]]);
|
|
13148
13154
|
function XR(t, e) {
|
|
13149
13155
|
return function() {
|
|
13150
13156
|
return t.apply(e, arguments);
|
|
@@ -85418,11 +85424,11 @@ const G1e = { class: "dropdown" }, W1e = { class: "selected-item" }, q1e = {
|
|
|
85418
85424
|
},
|
|
85419
85425
|
setup(t) {
|
|
85420
85426
|
const e = t, a = M3(
|
|
85421
|
-
() => import("./FilterSubcategories-a7b96423-Bs67-HFD-
|
|
85427
|
+
() => import("./FilterSubcategories-a7b96423-Bs67-HFD-0e5ac46f.js")
|
|
85422
85428
|
), c = M3(
|
|
85423
|
-
() => import("./FilterConditions-dc6b25de-CdawgDTp-
|
|
85429
|
+
() => import("./FilterConditions-dc6b25de-CdawgDTp-c7691ca8.js")
|
|
85424
85430
|
), p = M3(
|
|
85425
|
-
() => import("./FilterField-37ad154d-PFd8HpMJ-
|
|
85431
|
+
() => import("./FilterField-37ad154d-PFd8HpMJ-17bad539.js")
|
|
85426
85432
|
), r = [
|
|
85427
85433
|
{
|
|
85428
85434
|
name: "Sub categorías",
|