@golstats/gsc-relevant-data 1.0.15 → 1.0.17
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/CardBase-FI6JXGHQ-CIl1rArT.js +127 -0
- package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js} +20 -16
- package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-CA0zyzc5-hoalFeRn.js} +97 -89
- package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-CGvW_cNJ-Brc4719X.js} +54 -46
- package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-B2Mt_1ck-DGtGp0kz.js} +61 -53
- package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-CVuyIMNJ-DrLJnLyX.js} +109 -101
- package/dist/CardIndividual1vs1-CHGIwVW_-D_F1FbBt.js +113 -0
- package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-CTSkG6vH-3wFR3TUs.js} +59 -54
- package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CtOymA-1-BTSaAuY0.js} +114 -109
- package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BEunwEvl-C_sM7SpW.js} +35 -30
- package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-BZmy1C5v-BTMzgLW1.js} +131 -126
- package/dist/CardIndividualGoalParticipation-BfQRXmuo-vKrLnbqm.js +116 -0
- package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-DG9vgQml-DWpZJnKo.js} +276 -220
- package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Rwil02C5-DYINqkd_.js} +40 -35
- package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-DKrbZDyK-CM2EQxJ0.js} +62 -57
- package/dist/CardIndividualPerformance-BxmlC3DF-Lmt78Lsh.js +108 -0
- package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-CpNX7tF6-AJJP0O8L.js} +50 -42
- package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-Bz2egr4P-Cu0PvN_8.js} +71 -66
- package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-SG4MGex_-DwyDsIaG.js} +34 -29
- package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-Crs0KmXt-jQlLG_tC.js} +42 -34
- package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-BCOa64Fb-D-vP5feB.js} +138 -133
- package/dist/CardTheMostProductive-BewV6KUX-B-aUc9v5.js +81 -0
- package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-BXHW1pPv-D9k8N9rs.js} +8 -8
- package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DrqywZtU-FXKCGenl.js} +6 -6
- package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +2 -5021
- package/dist/gsc-relevant-data.umd.cjs +6 -6
- package/dist/index-SSELSqE0.js +5207 -0
- package/package.json +2 -2
- package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
- package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
- package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
- package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
- package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
- package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-Crs0KmXt-jQlLG_tC.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { useCssVars as O, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { N as
|
|
1
|
+
import { useCssVars as O, computed as d, ref as P, openBlock as c, createElementBlock as m, normalizeStyle as i, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as u, createVNode as R, unref as _, Fragment as C, renderList as H, normalizeClass as D, createCommentVNode as E } from "vue";
|
|
2
|
+
import { b as M, E as N } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
|
|
3
|
+
import { N as S } from "./Shield-DrqywZtU-FXKCGenl.js";
|
|
4
|
+
import { H as w, R as F } from "./index-SSELSqE0.js";
|
|
4
5
|
const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { class: "main-content" }, j = { class: "title-separator" }, A = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "-38px 35px", K = {
|
|
5
6
|
__name: "CardPromTournament",
|
|
6
7
|
props: {
|
|
@@ -12,6 +13,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
12
13
|
type: String,
|
|
13
14
|
default: "319px"
|
|
14
15
|
},
|
|
16
|
+
showVideos: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
15
20
|
data: {
|
|
16
21
|
type: Object,
|
|
17
22
|
default: () => null
|
|
@@ -21,11 +26,11 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
21
26
|
default: 0
|
|
22
27
|
}
|
|
23
28
|
},
|
|
24
|
-
setup(
|
|
29
|
+
setup(s) {
|
|
25
30
|
O((t) => ({
|
|
26
|
-
"
|
|
31
|
+
"3e3c7fa0": s.data.thumbnails.colors.background_color
|
|
27
32
|
}));
|
|
28
|
-
const e =
|
|
33
|
+
const e = s, y = d(() => ({
|
|
29
34
|
"--height": e.height,
|
|
30
35
|
"--width": e.width,
|
|
31
36
|
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
@@ -36,45 +41,48 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
36
41
|
right: "-8px",
|
|
37
42
|
innerImageWidth: "39px",
|
|
38
43
|
innerImageHeight: "39px"
|
|
39
|
-
}), p =
|
|
40
|
-
var t, l,
|
|
44
|
+
}), p = d(() => {
|
|
45
|
+
var t, l, o, r;
|
|
41
46
|
return !e.data || !e.data.thumbnails ? null : {
|
|
42
47
|
backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
-
backgroundImageSrc: (r = (
|
|
44
|
-
isPlayButtonVisible:
|
|
48
|
+
backgroundImageSrc: (r = (o = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : o.player_in_action) != null && r[0] ? w(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
49
|
+
isPlayButtonVisible: e.showVideos
|
|
45
50
|
};
|
|
46
|
-
}), h =
|
|
47
|
-
var t, l,
|
|
51
|
+
}), h = d(() => {
|
|
52
|
+
var t, l, o;
|
|
48
53
|
if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
49
54
|
const r = e.data.title.split("*").filter(Boolean);
|
|
50
55
|
return {
|
|
51
56
|
mainTitle: ((l = r[0]) == null ? void 0 : l.trim()) || "",
|
|
52
|
-
sidebarTitle: ((
|
|
57
|
+
sidebarTitle: ((o = r[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
|
|
53
58
|
};
|
|
54
|
-
}), T =
|
|
59
|
+
}), T = d(() => {
|
|
55
60
|
var t;
|
|
56
61
|
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
|
|
57
62
|
});
|
|
58
|
-
return (t, l) => (
|
|
63
|
+
return (t, l) => (c(), m("div", {
|
|
59
64
|
class: "card-general",
|
|
60
|
-
style: i(
|
|
65
|
+
style: i(y.value)
|
|
61
66
|
}, [
|
|
62
|
-
p.value ? (
|
|
63
|
-
|
|
64
|
-
|
|
67
|
+
p.value ? (c(), I(N, V({ key: 0 }, p.value, {
|
|
68
|
+
width: s.width,
|
|
69
|
+
"show-videos": s.showVideos
|
|
70
|
+
}), {
|
|
71
|
+
default: B(() => {
|
|
72
|
+
var o, r, g, f;
|
|
65
73
|
return [
|
|
66
74
|
a("div", z, [
|
|
67
75
|
a("div", L, [
|
|
68
76
|
a("div", $, [
|
|
69
77
|
a("h1", {
|
|
70
78
|
class: "main-title",
|
|
71
|
-
style: i({ color: ((
|
|
72
|
-
},
|
|
79
|
+
style: i({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
|
|
80
|
+
}, u(h.value.mainTitle), 5),
|
|
73
81
|
a("div", j, [
|
|
74
|
-
R(
|
|
82
|
+
R(S, {
|
|
75
83
|
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
76
84
|
width: 105,
|
|
77
|
-
"inner-image-src": _(
|
|
85
|
+
"inner-image-src": _(w)(e.data.thumbnails.images.player_in_action[0]),
|
|
78
86
|
"team-logo-circle-props": x.value,
|
|
79
87
|
"inner-image-translate": J
|
|
80
88
|
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
@@ -91,25 +99,25 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
91
99
|
a("div", {
|
|
92
100
|
class: "sidebar-header",
|
|
93
101
|
style: i({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
|
|
94
|
-
},
|
|
102
|
+
}, u(h.value.sidebarTitle), 5),
|
|
95
103
|
a("div", G, [
|
|
96
|
-
(
|
|
104
|
+
(c(!0), m(C, null, H((f = e.data) == null ? void 0 : f.averages, (n, k) => {
|
|
97
105
|
var v, b;
|
|
98
|
-
return
|
|
106
|
+
return c(), m("div", {
|
|
99
107
|
key: k,
|
|
100
|
-
class:
|
|
101
|
-
highlighted:
|
|
102
|
-
"max-value": parseFloat(
|
|
108
|
+
class: D(["season-row", {
|
|
109
|
+
highlighted: n.highlighted,
|
|
110
|
+
"max-value": parseFloat(n.average) === T.value
|
|
103
111
|
}])
|
|
104
112
|
}, [
|
|
105
113
|
a("div", {
|
|
106
114
|
class: "season-value-box",
|
|
107
115
|
style: i({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
|
|
108
|
-
},
|
|
116
|
+
}, u(n.average), 5),
|
|
109
117
|
a("div", {
|
|
110
118
|
class: "season-label",
|
|
111
119
|
style: i({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
|
|
112
|
-
},
|
|
120
|
+
}, u(n.season), 5)
|
|
113
121
|
], 2);
|
|
114
122
|
}), 128))
|
|
115
123
|
])
|
|
@@ -119,10 +127,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
119
127
|
];
|
|
120
128
|
}),
|
|
121
129
|
_: 1
|
|
122
|
-
}, 16, ["width"])) :
|
|
130
|
+
}, 16, ["width", "show-videos"])) : E("", !0)
|
|
123
131
|
], 4));
|
|
124
132
|
}
|
|
125
|
-
},
|
|
133
|
+
}, Z = /* @__PURE__ */ M(K, [["__scopeId", "data-v-9d5bd784"]]);
|
|
126
134
|
export {
|
|
127
|
-
|
|
135
|
+
Z as default
|
|
128
136
|
};
|