@golstats/gsc-relevant-data 1.1.2 → 1.1.4
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-cG4UK8zU-D0uCjRqB.js → CardBase-LHalf2V1-BkjBJOoZ.js} +31 -31
- package/dist/{CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js → CardBaseAllIndividual-CWBagEwG-WYeZjIka.js} +10 -10
- package/dist/{CardGeneral-BlZEnnEb-DdWkGjzN.js → CardGeneral-eo3knIIA-DUPE1Dfb.js} +138 -134
- package/dist/{CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js → CardGeneralIndividual-CAzGqXtP-BdBJFQ09.js} +90 -86
- package/dist/{CardGeneralTeams-C3Y4CKGP-D4IEguSo.js → CardGeneralTeams-uDvy9Z7o-CfDpI2Jy.js} +228 -224
- package/dist/{CardIndividual-BPMbVI3t-C0RFgnSH.js → CardIndividual-BKTMzciS-bAkDqbEx.js} +29 -29
- package/dist/{CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js → CardIndividual1vs1-DnPVKDmp-D8zIkP0F.js} +37 -37
- package/dist/{CardIndividualAreas-CfLiKrts-CIunuyhE.js → CardIndividualAreas-D5l7k_ww-ZI9FlDw7.js} +13 -13
- package/dist/{CardIndividualCenters-QiXO05sk-DZ22hl82.js → CardIndividualCenters-BqtSPfOh-gVhYSRFZ.js} +26 -26
- package/dist/{CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js → CardIndividualDistance-DjbQVGp0-BTHxRu7C.js} +15 -15
- package/dist/{CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js → CardIndividualFouls-C-mzTK7G-CMnZRtUN.js} +14 -14
- package/dist/{CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js → CardIndividualGoalParticipation-DvGAjbsL-C6qgax00.js} +13 -13
- package/dist/{CardIndividualGoals-DEKwqMXc-DoK7uxe9.js → CardIndividualGoals-CMC_PTbH-D3rE6MxM.js} +29 -29
- package/dist/{CardIndividualGold-Bz4E-z_--pKerDgFk.js → CardIndividualGold-D_-tb2Tk-D9w5Yg_j.js} +28 -24
- package/dist/{CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js → CardIndividualNoGoalReceived-DQSO9Yd2-DuHshlTl.js} +20 -20
- package/dist/{CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js → CardIndividualPerformance-zyTJ5UCy-spLlL8Pd.js} +24 -20
- package/dist/{CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js → CardIndividualSaves-BecZ6U_G-Bwby7fUk.js} +49 -48
- package/dist/{CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js → CardIndividualShotsOnGoal-C7aZbXYB-DQJKzLam.js} +43 -43
- package/dist/{CardIndividualStatistics-CY-nNio--abAYZXmG.js → CardIndividualStatistics-C20JRZ7J-BvOMIun9.js} +14 -14
- package/dist/{CardPromTournament-D7NIcgIG-Dpd3s5PV.js → CardPromTournament-BuPsC06q-Dp1iTQ06.js} +38 -38
- package/dist/{CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js → CardSuccessfulPasses-BlTLO_xO-CYzXmOio.js} +63 -63
- package/dist/{CardTheMostProductive-DYe73XmH-BxAK64X0.js → CardTheMostProductive-CSBkS-Z_-DtpW0WrL.js} +19 -19
- package/dist/{PlayerProfileCircle-B34lIhjM-CdecVB_6.js → PlayerProfileCircle-DPjdqyyS-CLRVPbbe.js} +6 -6
- package/dist/{Shield-CPIaGlGA-CpfYAOhz.js → Shield-CfA9mcrj-CjVso2r4.js} +8 -8
- package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
- package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +9 -6
- package/dist/{index-DkBoHrcA.js → index-Dxh1q8_z.js} +2615 -2011
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computed as r,
|
|
2
|
-
import { d as B } from "./CardBaseAllIndividual-
|
|
3
|
-
import { w, A as S,
|
|
4
|
-
const n = (a) => (L("data-v-
|
|
1
|
+
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as m, createVNode as F, mergeProps as v, withCtx as C, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as L, popScopeId as x } from "vue";
|
|
2
|
+
import { d as B } from "./CardBaseAllIndividual-CWBagEwG-WYeZjIka.js";
|
|
3
|
+
import { w, A as S, O as k, z as I, E as V, H as A, V as G } from "./CardBase-LHalf2V1-BkjBJOoZ.js";
|
|
4
|
+
const n = (a) => (L("data-v-eb31e2bd"), a = a(), x(), a), M = { class: "statistics__body__title-sub" }, U = { class: "statistics__body__title-sub__title" }, O = { class: "statistics__body__data" }, D = { class: "shield-svg" }, E = { class: "team-logo" }, H = ["src"], N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
|
|
5
5
|
/* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
|
|
6
6
|
/* @__PURE__ */ t("span", { class: "number" }, "1")
|
|
7
7
|
], -1)), T = { class: "subtitle" }, $ = {
|
|
@@ -151,18 +151,18 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
setup(a) {
|
|
154
|
-
const e = a,
|
|
154
|
+
const e = a, b = r(() => {
|
|
155
155
|
var l, i, c, p, _, f, h;
|
|
156
156
|
return {
|
|
157
157
|
height: e.height,
|
|
158
158
|
width: e.width,
|
|
159
159
|
footerHeight: "137px",
|
|
160
160
|
playerPhotoPositionTop: "24px",
|
|
161
|
-
playerPhotoUrl: V(e.data.player_id || ""),
|
|
161
|
+
playerPhotoUrl: V(e.data.player_id || "", e.providerId),
|
|
162
162
|
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
163
|
-
backgroundImageSrc:
|
|
163
|
+
backgroundImageSrc: I((p = (c = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? e.data.thumbnails.images.background_player_in_action[0] : (h = (f = (_ = e.data) == null ? void 0 : _.thumbnails) == null ? void 0 : f.images) != null && h.background_team ? e.data.thumbnails.images.background_team : "", e.providerId),
|
|
164
164
|
footerBodyData: {
|
|
165
|
-
description: S(
|
|
165
|
+
description: S(k({ data: e.data, descriptionType: e.descriptionType })),
|
|
166
166
|
total: e.data.total,
|
|
167
167
|
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
168
168
|
totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
@@ -170,7 +170,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}), o = r(() => {
|
|
173
|
-
const { title: l, subtitle: i } =
|
|
173
|
+
const { title: l, subtitle: i } = A(e.data.title);
|
|
174
174
|
return {
|
|
175
175
|
title: l,
|
|
176
176
|
subtitle: i,
|
|
@@ -185,11 +185,11 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
185
185
|
"--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
|
|
186
186
|
"--border": `1px solid ${e.data.thumbnails.colors.graphic_color || "#FFFFFF"}`
|
|
187
187
|
}));
|
|
188
|
-
return (l, i) => (
|
|
188
|
+
return (l, i) => (s(), d("div", {
|
|
189
189
|
class: "statistics",
|
|
190
190
|
style: m(u.value)
|
|
191
191
|
}, [
|
|
192
|
-
|
|
192
|
+
F(B, v(b.value, {
|
|
193
193
|
"show-videos": a.showVideos,
|
|
194
194
|
"id-aux": a.idAux
|
|
195
195
|
}), {
|
|
@@ -204,7 +204,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
204
204
|
t("div", O, [
|
|
205
205
|
t("div", D, [
|
|
206
206
|
t("div", E, [
|
|
207
|
-
o.value.teamLogoUrl ? (
|
|
207
|
+
o.value.teamLogoUrl ? (s(), d("img", {
|
|
208
208
|
key: 0,
|
|
209
209
|
src: o.value.teamLogoUrl,
|
|
210
210
|
alt: ""
|
|
@@ -212,7 +212,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
212
212
|
]),
|
|
213
213
|
N,
|
|
214
214
|
t("div", T, g(o.value.subtitle), 1),
|
|
215
|
-
(
|
|
215
|
+
(s(), d("svg", $, [
|
|
216
216
|
z,
|
|
217
217
|
t("g", P, [
|
|
218
218
|
t("path", {
|
|
@@ -232,7 +232,7 @@ const n = (a) => (L("data-v-39506314"), a = a(), x(), a), M = { class: "statisti
|
|
|
232
232
|
}, 16, ["show-videos", "id-aux"])
|
|
233
233
|
], 4));
|
|
234
234
|
}
|
|
235
|
-
}, K = /* @__PURE__ */ w(j, [["__scopeId", "data-v-
|
|
235
|
+
}, K = /* @__PURE__ */ w(j, [["__scopeId", "data-v-eb31e2bd"]]);
|
|
236
236
|
export {
|
|
237
237
|
K as default
|
|
238
238
|
};
|
package/dist/{CardPromTournament-D7NIcgIG-Dpd3s5PV.js → CardPromTournament-BuPsC06q-Dp1iTQ06.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as C, computed as d, ref as
|
|
2
|
-
import { w as z, z as
|
|
3
|
-
import { N as
|
|
4
|
-
const
|
|
1
|
+
import { useCssVars as C, computed as d, ref as B, openBlock as c, createElementBlock as m, normalizeStyle as i, createBlock as R, mergeProps as N, withCtx as S, createElementVNode as e, toDisplayString as u, createVNode as A, unref as p, Fragment as D, renderList as E, normalizeClass as M, createCommentVNode as F } from "vue";
|
|
2
|
+
import { w as z, z as v, R as H, E as L, V as j, O as q } from "./CardBase-LHalf2V1-BkjBJOoZ.js";
|
|
3
|
+
import { N as G } from "./Shield-CfA9mcrj-CjVso2r4.js";
|
|
4
|
+
const J = { class: "card-content" }, K = { class: "content-wrapper" }, Q = { class: "main-content" }, U = { class: "title-separator" }, W = { class: "footer-text" }, X = ["innerHTML"], Y = { class: "seasons-sidebar" }, Z = { class: "seasons-list" }, $ = "1px 54px", aa = {
|
|
5
5
|
__name: "CardPromTournament",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -37,29 +37,29 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
|
|
|
37
37
|
C((o) => {
|
|
38
38
|
var t;
|
|
39
39
|
return {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"26476d4c": s.data.thumbnails.colors.background_color,
|
|
41
|
+
"2012fe3e": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
|
|
42
42
|
};
|
|
43
43
|
});
|
|
44
|
-
const a = s,
|
|
44
|
+
const a = s, T = d(() => ({
|
|
45
45
|
"--height": a.height,
|
|
46
46
|
"--width": a.width,
|
|
47
47
|
"--footer-background-color": a.data.thumbnails.colors.background_color || "#000000"
|
|
48
|
-
})), O =
|
|
48
|
+
})), O = B({
|
|
49
49
|
width: "50px",
|
|
50
50
|
height: "50px",
|
|
51
51
|
bottom: "34px",
|
|
52
52
|
right: "-8px",
|
|
53
53
|
innerImageWidth: "39px",
|
|
54
54
|
innerImageHeight: "39px"
|
|
55
|
-
}),
|
|
55
|
+
}), h = d(() => {
|
|
56
56
|
var o, t, l, r;
|
|
57
57
|
return !a.data || !a.data.thumbnails ? null : {
|
|
58
58
|
backgroundOverlayColor: a.data.thumbnails.colors.background_color || "#000000",
|
|
59
|
-
backgroundImageSrc: (r = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && r[0] ?
|
|
59
|
+
backgroundImageSrc: (r = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && r[0] ? v(a.data.thumbnails.images.background_player_in_action[0], a.providerId) : v(a.data.thumbnails.images.background_team, a.providerId),
|
|
60
60
|
isPlayButtonVisible: a.showVideos
|
|
61
61
|
};
|
|
62
|
-
}),
|
|
62
|
+
}), g = d(() => {
|
|
63
63
|
var o, t, l;
|
|
64
64
|
if (!((o = a.data) != null && o.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
65
65
|
const r = a.data.title.split("*").filter(Boolean);
|
|
@@ -71,54 +71,54 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
|
|
|
71
71
|
var o;
|
|
72
72
|
return (o = a.data) != null && o.averages ? Math.max(...a.data.averages.map((t) => parseFloat(t.average))) : 0;
|
|
73
73
|
});
|
|
74
|
-
return (o, t) => (c(),
|
|
74
|
+
return (o, t) => (c(), m("div", {
|
|
75
75
|
class: "card-general",
|
|
76
|
-
style: i(
|
|
76
|
+
style: i(T.value)
|
|
77
77
|
}, [
|
|
78
|
-
|
|
78
|
+
h.value ? (c(), R(H, N({ key: 0 }, h.value, {
|
|
79
79
|
width: s.width,
|
|
80
80
|
"show-videos": s.showVideos,
|
|
81
81
|
"id-aux": s.idAux
|
|
82
82
|
}), {
|
|
83
|
-
default:
|
|
83
|
+
default: S(() => {
|
|
84
84
|
var l, r, b, _, f, y, w, x;
|
|
85
85
|
return [
|
|
86
|
-
e("div",
|
|
87
|
-
e("div",
|
|
88
|
-
e("div",
|
|
86
|
+
e("div", J, [
|
|
87
|
+
e("div", K, [
|
|
88
|
+
e("div", Q, [
|
|
89
89
|
e("h1", {
|
|
90
90
|
class: "main-title",
|
|
91
91
|
style: i({ color: ((l = a.data) == null ? void 0 : l.thumbnails.colors.font_color_header) || "white" })
|
|
92
|
-
}, u(
|
|
93
|
-
e("div",
|
|
94
|
-
|
|
95
|
-
"team-logo-src":
|
|
92
|
+
}, u(g.value.mainTitle), 5),
|
|
93
|
+
e("div", U, [
|
|
94
|
+
A(G, {
|
|
95
|
+
"team-logo-src": p(j)(a.data.team_id, a.providerId),
|
|
96
96
|
width: 105,
|
|
97
97
|
color: a.data.thumbnails.colors.graphic_color,
|
|
98
|
-
"inner-image-src": (f = (_ = (b = (r = a.data) == null ? void 0 : r.thumbnails) == null ? void 0 : b.images) == null ? void 0 : _.background_player_in_action) != null && f[0] ?
|
|
98
|
+
"inner-image-src": (f = (_ = (b = (r = a.data) == null ? void 0 : r.thumbnails) == null ? void 0 : b.images) == null ? void 0 : _.background_player_in_action) != null && f[0] ? p(v)(a.data.thumbnails.images.player_in_action[0], a.providerId) : p(L)(a.data.player_id, a.providerId),
|
|
99
99
|
"team-logo-circle-props": O.value,
|
|
100
|
-
"inner-image-translate":
|
|
100
|
+
"inner-image-translate": $
|
|
101
101
|
}, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
|
|
102
102
|
]),
|
|
103
|
-
e("div",
|
|
103
|
+
e("div", W, [
|
|
104
104
|
e("p", {
|
|
105
|
-
innerHTML:
|
|
105
|
+
innerHTML: p(q)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
|
|
106
106
|
class: "card-description",
|
|
107
107
|
style: i({ color: ((y = a.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
|
|
108
|
-
}, null, 12,
|
|
108
|
+
}, null, 12, X)
|
|
109
109
|
])
|
|
110
110
|
]),
|
|
111
|
-
e("div",
|
|
111
|
+
e("div", Y, [
|
|
112
112
|
e("div", {
|
|
113
113
|
class: "sidebar-header",
|
|
114
114
|
style: i({ color: ((w = a.data) == null ? void 0 : w.thumbnails.colors.font_color_description) || "white" })
|
|
115
|
-
}, u(
|
|
116
|
-
e("div",
|
|
117
|
-
(c(!0),
|
|
118
|
-
var k,
|
|
119
|
-
return c(),
|
|
115
|
+
}, u(g.value.sidebarTitle), 5),
|
|
116
|
+
e("div", Z, [
|
|
117
|
+
(c(!0), m(D, null, E((x = a.data) == null ? void 0 : x.averages, (n, V) => {
|
|
118
|
+
var k, I;
|
|
119
|
+
return c(), m("div", {
|
|
120
120
|
key: V,
|
|
121
|
-
class:
|
|
121
|
+
class: M(["season-row", {
|
|
122
122
|
highlighted: n.highlighted,
|
|
123
123
|
"max-value": parseFloat(n.average) === P.value
|
|
124
124
|
}])
|
|
@@ -129,7 +129,7 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
|
|
|
129
129
|
}, u(n.average), 5),
|
|
130
130
|
e("div", {
|
|
131
131
|
class: "season-label",
|
|
132
|
-
style: i({ color: ((
|
|
132
|
+
style: i({ color: ((I = a.data) == null ? void 0 : I.thumbnails.colors.font_color_stats) || "white" })
|
|
133
133
|
}, u(n.season), 5)
|
|
134
134
|
], 2);
|
|
135
135
|
}), 128))
|
|
@@ -140,10 +140,10 @@ const q = { class: "card-content" }, G = { class: "content-wrapper" }, J = { cla
|
|
|
140
140
|
];
|
|
141
141
|
}),
|
|
142
142
|
_: 1
|
|
143
|
-
}, 16, ["width", "show-videos", "id-aux"])) :
|
|
143
|
+
}, 16, ["width", "show-videos", "id-aux"])) : F("", !0)
|
|
144
144
|
], 4));
|
|
145
145
|
}
|
|
146
|
-
},
|
|
146
|
+
}, la = /* @__PURE__ */ z(aa, [["__scopeId", "data-v-2f0ea731"]]);
|
|
147
147
|
export {
|
|
148
|
-
|
|
148
|
+
la as default
|
|
149
149
|
};
|