@golstats/gsc-landing 1.0.200 → 1.0.202
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/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
- package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
- package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
- package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
- package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
- package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
- package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
- package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
- package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
- package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
- package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
- package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
- package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
- package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
- package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +200 -157
- package/dist/gsc-landing.umd.cjs +62 -62
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
- package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
- package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
- package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
- package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
- package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as O, computed as
|
|
2
|
-
import { h as
|
|
3
|
-
import { N as
|
|
4
|
-
const
|
|
1
|
+
import { useCssVars as O, computed as d, ref as P, openBlock as c, createElementBlock as m, normalizeStyle as r, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as u, createVNode as C, unref as _, Fragment as R, renderList as z, normalizeClass as D, createCommentVNode as M } from "vue";
|
|
2
|
+
import { h as N, z as w, T as S, O as E } from "./misc-D94RabGe-BRVOC8Yx.js";
|
|
3
|
+
import { N as F } from "./Shield-DAT34Ykl-aryfBwhm.js";
|
|
4
|
+
const H = { class: "card-content" }, $ = { class: "content-wrapper" }, L = { 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
5
|
__name: "CardPromTournament",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -12,6 +12,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
12
12
|
type: String,
|
|
13
13
|
default: "319px"
|
|
14
14
|
},
|
|
15
|
+
showVideos: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: !0
|
|
18
|
+
},
|
|
15
19
|
data: {
|
|
16
20
|
type: Object,
|
|
17
21
|
default: () => null
|
|
@@ -21,11 +25,11 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
21
25
|
default: 0
|
|
22
26
|
}
|
|
23
27
|
},
|
|
24
|
-
setup(
|
|
28
|
+
setup(s) {
|
|
25
29
|
O((t) => ({
|
|
26
|
-
"
|
|
30
|
+
"3e3c7fa0": s.data.thumbnails.colors.background_color
|
|
27
31
|
}));
|
|
28
|
-
const e =
|
|
32
|
+
const e = s, y = d(() => ({
|
|
29
33
|
"--height": e.height,
|
|
30
34
|
"--width": e.width,
|
|
31
35
|
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
@@ -36,80 +40,83 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
36
40
|
right: "-8px",
|
|
37
41
|
innerImageWidth: "39px",
|
|
38
42
|
innerImageHeight: "39px"
|
|
39
|
-
}), p =
|
|
40
|
-
var t, l,
|
|
43
|
+
}), p = d(() => {
|
|
44
|
+
var t, l, o, i;
|
|
41
45
|
return !e.data || !e.data.thumbnails ? null : {
|
|
42
46
|
backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
-
backgroundImageSrc: (
|
|
44
|
-
isPlayButtonVisible:
|
|
47
|
+
backgroundImageSrc: (i = (o = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : o.player_in_action) != null && i[0] ? w(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
48
|
+
isPlayButtonVisible: e.showVideos
|
|
45
49
|
};
|
|
46
|
-
}), h =
|
|
47
|
-
var t, l,
|
|
50
|
+
}), h = d(() => {
|
|
51
|
+
var t, l, o;
|
|
48
52
|
if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
49
|
-
const
|
|
53
|
+
const i = e.data.title.split("*").filter(Boolean);
|
|
50
54
|
return {
|
|
51
|
-
mainTitle: ((l =
|
|
52
|
-
sidebarTitle: ((
|
|
55
|
+
mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
|
|
56
|
+
sidebarTitle: ((o = i[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
|
|
53
57
|
};
|
|
54
|
-
}), T =
|
|
58
|
+
}), T = d(() => {
|
|
55
59
|
var t;
|
|
56
60
|
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
|
|
57
61
|
});
|
|
58
|
-
return (t, l) => (
|
|
62
|
+
return (t, l) => (c(), m("div", {
|
|
59
63
|
class: "card-general",
|
|
60
|
-
style:
|
|
64
|
+
style: r(y.value)
|
|
61
65
|
}, [
|
|
62
|
-
p.value ? (
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
p.value ? (c(), I(S, V({ key: 0 }, p.value, {
|
|
67
|
+
width: s.width,
|
|
68
|
+
"show-videos": s.showVideos
|
|
69
|
+
}), {
|
|
70
|
+
default: B(() => {
|
|
71
|
+
var o, i, g, f;
|
|
65
72
|
return [
|
|
66
|
-
a("div",
|
|
67
|
-
a("div",
|
|
68
|
-
a("div",
|
|
73
|
+
a("div", H, [
|
|
74
|
+
a("div", $, [
|
|
75
|
+
a("div", L, [
|
|
69
76
|
a("h1", {
|
|
70
77
|
class: "main-title",
|
|
71
|
-
style:
|
|
72
|
-
},
|
|
78
|
+
style: r({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
|
|
79
|
+
}, u(h.value.mainTitle), 5),
|
|
73
80
|
a("div", j, [
|
|
74
|
-
|
|
81
|
+
C(F, {
|
|
75
82
|
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
76
83
|
width: 105,
|
|
77
|
-
"inner-image-src": _(
|
|
84
|
+
"inner-image-src": _(w)(e.data.thumbnails.images.player_in_action[0]),
|
|
78
85
|
"team-logo-circle-props": x.value,
|
|
79
86
|
"inner-image-translate": J
|
|
80
87
|
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
81
88
|
]),
|
|
82
89
|
a("div", A, [
|
|
83
90
|
a("p", {
|
|
84
|
-
innerHTML: _(
|
|
91
|
+
innerHTML: _(E)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
|
|
85
92
|
class: "card-description",
|
|
86
|
-
style:
|
|
93
|
+
style: r({ color: ((i = e.data) == null ? void 0 : i.thumbnails.colors.font_color_description) || "white" })
|
|
87
94
|
}, null, 12, W)
|
|
88
95
|
])
|
|
89
96
|
]),
|
|
90
97
|
a("div", q, [
|
|
91
98
|
a("div", {
|
|
92
99
|
class: "sidebar-header",
|
|
93
|
-
style:
|
|
94
|
-
},
|
|
100
|
+
style: r({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
|
|
101
|
+
}, u(h.value.sidebarTitle), 5),
|
|
95
102
|
a("div", G, [
|
|
96
|
-
(
|
|
103
|
+
(c(!0), m(R, null, z((f = e.data) == null ? void 0 : f.averages, (n, k) => {
|
|
97
104
|
var v, b;
|
|
98
|
-
return
|
|
105
|
+
return c(), m("div", {
|
|
99
106
|
key: k,
|
|
100
|
-
class:
|
|
101
|
-
highlighted:
|
|
102
|
-
"max-value": parseFloat(
|
|
107
|
+
class: D(["season-row", {
|
|
108
|
+
highlighted: n.highlighted,
|
|
109
|
+
"max-value": parseFloat(n.average) === T.value
|
|
103
110
|
}])
|
|
104
111
|
}, [
|
|
105
112
|
a("div", {
|
|
106
113
|
class: "season-value-box",
|
|
107
|
-
style:
|
|
108
|
-
},
|
|
114
|
+
style: r({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
|
|
115
|
+
}, u(n.average), 5),
|
|
109
116
|
a("div", {
|
|
110
117
|
class: "season-label",
|
|
111
|
-
style:
|
|
112
|
-
},
|
|
118
|
+
style: r({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
|
|
119
|
+
}, u(n.season), 5)
|
|
113
120
|
], 2);
|
|
114
121
|
}), 128))
|
|
115
122
|
])
|
|
@@ -119,10 +126,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
|
|
|
119
126
|
];
|
|
120
127
|
}),
|
|
121
128
|
_: 1
|
|
122
|
-
}, 16, ["width"])) :
|
|
129
|
+
}, 16, ["width", "show-videos"])) : M("", !0)
|
|
123
130
|
], 4));
|
|
124
131
|
}
|
|
125
|
-
}, X = /* @__PURE__ */
|
|
132
|
+
}, X = /* @__PURE__ */ N(K, [["__scopeId", "data-v-9d5bd784"]]);
|
|
126
133
|
export {
|
|
127
134
|
X as default
|
|
128
135
|
};
|