@golstats/gsc-landing 1.0.198 → 1.0.200
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-CNB7K2M0-nej9DJ8x.js → CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js} +16 -16
- package/dist/CardGeneral-CzD9BfTs-D1qozgj2.js +678 -0
- package/dist/{CardIndividual-B5YHR_4X-DC-zfHLx.js → CardIndividual-DPKW-YpP-Dnc0EEj0.js} +13 -13
- package/dist/{CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js → CardIndividual1vs1-BRtGgXM7-CedeR8el.js} +9 -9
- package/dist/{CardIndividualAreas-D9mHXjfS-DrA6YV1T.js → CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js} +1 -1
- package/dist/{CardIndividualCenters-DeGyy9wB-BftpRpCL.js → CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js} +1 -1
- package/dist/{CardIndividualDistance-jUf26hS9-BTaa0gSa.js → CardIndividualDistance-C226QSwL-R--LlcPz.js} +3 -3
- package/dist/{CardIndividualFouls-DF0AvPys-C61mrpb7.js → CardIndividualFouls-ycmte1YE-DyR9GrTc.js} +1 -1
- package/dist/{CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js → CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js} +28 -28
- package/dist/{CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js → CardIndividualGoals-BVMarvFd-DL29nvxj.js} +18 -18
- package/dist/{CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js → CardIndividualGold-Df7Raasl-Byue4uk-.js} +7 -6
- package/dist/{CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js → CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js} +3 -3
- package/dist/{CardIndividualPerformance-kbuWBDcK-CWDHQrku.js → CardIndividualPerformance-DyczUumz-BaHTtZS4.js} +29 -29
- package/dist/{CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js → CardIndividualSaves-CC91zpjd-CAQ8vR7-.js} +8 -8
- package/dist/{CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js → CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js} +4 -4
- package/dist/{CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js → CardIndividualStatistics-CBd679p9-itsHFDEL.js} +5 -5
- package/dist/CardPromTournament-BKH4VcBp-D784umYN.js +128 -0
- package/dist/{CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js → CardSuccessfulPasses-DKetowpu-B12McLj4.js} +1 -1
- package/dist/{CardTheMostProductive-CDDFIo-I-LQ50NbB5.js → CardTheMostProductive-CoGLtVYs-BZcw_blj.js} +23 -23
- package/dist/gsc-landing.js +27 -27
- package/dist/gsc-landing.umd.cjs +61 -61
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardGeneral-DyOdaEFZ-DVY9vI50.js +0 -126
- package/dist/CardPromTournament-DMe6axFO-DWI8msi-.js +0 -113
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-landing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.200",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@golstats/gsc-button": "^1.0.14",
|
|
25
25
|
"@golstats/gsc-calendar-by-game": "^1.0.79",
|
|
26
26
|
"@golstats/gsc-carousel": "^1.0.15",
|
|
27
|
-
"@golstats/gsc-data-cards": "^1.0.
|
|
27
|
+
"@golstats/gsc-data-cards": "^1.0.7",
|
|
28
28
|
"@golstats/gsc-general-table": "^1.0.52",
|
|
29
29
|
"@golstats/gsc-mosaic-the-best": "^1.0.14",
|
|
30
30
|
"@golstats/gsc-player-team-game": "^1.1.71",
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { computed as u, openBlock as e, createElementBlock as o, normalizeStyle as y, createBlock as k, mergeProps as S, withCtx as x, renderSlot as w, createCommentVNode as i, createElementVNode as l, toDisplayString as m, Fragment as I, renderList as C, pushScopeId as L, popScopeId as T } from "vue";
|
|
2
|
-
import { h as O, E as g, I as A, O as E, T as N } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
-
const F = (a) => (L("data-v-4e37e48c"), a = a(), T(), a), $ = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "card-general__content__player-img"
|
|
6
|
-
}, B = ["src"], H = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "card-general__content__team-img"
|
|
9
|
-
}, M = ["src"], V = /* @__PURE__ */ F(() => /* @__PURE__ */ l("div", { class: "card-general__content__body" }, null, -1)), j = { class: "card-general__content__footer" }, z = { class: "card-general__content__footer__header" }, G = { class: "card-general__content__footer__header__team-logo" }, P = ["src"], q = { class: "card-general__content__footer__header__title" }, D = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "card-general__content__footer__header__total"
|
|
12
|
-
}, J = { class: "card-general__content__footer__body" }, K = ["innerHTML"], Q = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "card-general__content__footer__body__sections"
|
|
15
|
-
}, R = { class: "section__total" }, U = /* @__PURE__ */ F(() => /* @__PURE__ */ l("div", { class: "section__text" }, "PASES", -1)), W = {
|
|
16
|
-
__name: "CardGeneral",
|
|
17
|
-
props: {
|
|
18
|
-
height: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "500px"
|
|
21
|
-
},
|
|
22
|
-
width: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: "319px"
|
|
25
|
-
},
|
|
26
|
-
data: {
|
|
27
|
-
type: Object,
|
|
28
|
-
default: () => null
|
|
29
|
-
},
|
|
30
|
-
descriptionType: {
|
|
31
|
-
type: Number,
|
|
32
|
-
default: 4
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
setup(a) {
|
|
36
|
-
const t = a, p = u(() => ({
|
|
37
|
-
"--height": t.height,
|
|
38
|
-
"--width": t.width,
|
|
39
|
-
"--player-in-action-height": "410px",
|
|
40
|
-
"--footer-background-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
41
|
-
"--text-color": (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
42
|
-
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
43
|
-
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
44
|
-
"--border": `1px dashed ${t.data.thumbnails.colors.graphic_color || "#000000"}`
|
|
45
|
-
})), h = u(() => !t.data || !t.data.thumbnails ? null : {
|
|
46
|
-
backgroundOverlayColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
47
|
-
backgroundImageSrc: t.data.is_player && t.data.thumbnails.images.background_player_in_action[0] ? g(t.data.thumbnails.images.background_player_in_action[0]) : g(t.data.thumbnails.images.background_team),
|
|
48
|
-
titleColor: (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
49
|
-
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
50
|
-
totalColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
51
|
-
}), v = u(() => t.data ? A(E({ data: t.data, descriptionType: t.descriptionType })) : ""), n = u(() => {
|
|
52
|
-
if (!t.data) return null;
|
|
53
|
-
let s = t.data.team_logo, c = t.data.sections;
|
|
54
|
-
s && (s = s.replace("-80", "-150")), c && (c = c.sort((r, d) => r[0] - d[0]));
|
|
55
|
-
let _ = 0;
|
|
56
|
-
return c = c.reduce((r, [d, b], f) => (f % 4 === 0 && (r.push([]), _++), r[_ - 1].push([d, b]), r), []).reverse().reduce((r, d) => (r.push(...d), r), []), {
|
|
57
|
-
playerInAction: t.data.thumbnails.images && t.data.thumbnails.images.player_in_action ? g(t.data.thumbnails.images.player_in_action[0]) : "",
|
|
58
|
-
teamLogoSrc: s || "",
|
|
59
|
-
sections: c || []
|
|
60
|
-
};
|
|
61
|
-
});
|
|
62
|
-
return (s, c) => (e(), o("div", {
|
|
63
|
-
class: "card-general",
|
|
64
|
-
style: y(p.value)
|
|
65
|
-
}, [
|
|
66
|
-
h.value ? (e(), k(N, S({ key: 0 }, h.value, { width: a.width }), {
|
|
67
|
-
default: x(() => [
|
|
68
|
-
w(s.$slots, "default", {}, () => [
|
|
69
|
-
n.value ? (e(), o("div", {
|
|
70
|
-
key: 0,
|
|
71
|
-
style: y(p.value),
|
|
72
|
-
class: "card-general__content"
|
|
73
|
-
}, [
|
|
74
|
-
a.data.is_player ? (e(), o("div", $, [
|
|
75
|
-
n.value.playerInAction ? (e(), o("img", {
|
|
76
|
-
key: 0,
|
|
77
|
-
src: n.value.playerInAction,
|
|
78
|
-
alt: "player"
|
|
79
|
-
}, null, 8, B)) : i("", !0)
|
|
80
|
-
])) : (e(), o("div", H, [
|
|
81
|
-
n.value.teamLogoSrc ? (e(), o("img", {
|
|
82
|
-
key: 0,
|
|
83
|
-
src: n.value.teamLogoSrc,
|
|
84
|
-
alt: "team"
|
|
85
|
-
}, null, 8, M)) : i("", !0)
|
|
86
|
-
])),
|
|
87
|
-
V,
|
|
88
|
-
l("div", j, [
|
|
89
|
-
l("div", z, [
|
|
90
|
-
l("div", G, [
|
|
91
|
-
a.data.team_logo ? (e(), o("img", {
|
|
92
|
-
key: 0,
|
|
93
|
-
src: a.data.team_logo,
|
|
94
|
-
alt: ""
|
|
95
|
-
}, null, 8, P)) : i("", !0)
|
|
96
|
-
]),
|
|
97
|
-
l("div", q, m(a.data.title), 1),
|
|
98
|
-
a.data.footer && a.data.footer.show_total ? (e(), o("div", D, m(a.data.total), 1)) : i("", !0)
|
|
99
|
-
]),
|
|
100
|
-
l("div", J, [
|
|
101
|
-
l("div", {
|
|
102
|
-
class: "card-general__content__footer__body__description",
|
|
103
|
-
innerHTML: v.value
|
|
104
|
-
}, null, 8, K),
|
|
105
|
-
n.value.sections && n.value.sections.length ? (e(), o("div", Q, [
|
|
106
|
-
(e(!0), o(I, null, C(n.value.sections, ([_, r]) => (e(), o("div", {
|
|
107
|
-
key: _,
|
|
108
|
-
class: "section"
|
|
109
|
-
}, [
|
|
110
|
-
l("div", R, m(r), 1),
|
|
111
|
-
U
|
|
112
|
-
]))), 128))
|
|
113
|
-
])) : i("", !0)
|
|
114
|
-
])
|
|
115
|
-
])
|
|
116
|
-
], 4)) : i("", !0)
|
|
117
|
-
], !0)
|
|
118
|
-
]),
|
|
119
|
-
_: 3
|
|
120
|
-
}, 16, ["width"])) : i("", !0)
|
|
121
|
-
], 4));
|
|
122
|
-
}
|
|
123
|
-
}, Z = /* @__PURE__ */ O(W, [["__scopeId", "data-v-4e37e48c"]]);
|
|
124
|
-
export {
|
|
125
|
-
Z as default
|
|
126
|
-
};
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as c, normalizeStyle as h, createBlock as w, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as I, unref as m, Fragment as P, renderList as E, normalizeClass as N, createCommentVNode as C } from "vue";
|
|
2
|
-
import { h as R, E as v, T as B, I as D, O as M } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
-
import { N as S } from "./Shield-0VkASyDI-Cm8rtKBS.js";
|
|
4
|
-
const V = { class: "card-content" }, F = { class: "content-wrapper" }, H = { class: "main-content" }, L = { class: "main-title" }, z = { class: "title-separator" }, j = { class: "footer-text" }, A = ["innerHTML"], W = { class: "seasons-sidebar" }, $ = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = "-38px 35px", Q = {
|
|
5
|
-
__name: "CardPromTournament",
|
|
6
|
-
props: {
|
|
7
|
-
height: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "568px"
|
|
10
|
-
},
|
|
11
|
-
width: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: "319px"
|
|
14
|
-
},
|
|
15
|
-
data: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default: () => null
|
|
18
|
-
},
|
|
19
|
-
descriptionType: {
|
|
20
|
-
type: Number,
|
|
21
|
-
default: 0
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(u) {
|
|
25
|
-
_((t) => ({
|
|
26
|
-
"12b7ad86": u.data.thumbnails.colors.background_color
|
|
27
|
-
}));
|
|
28
|
-
const e = u, b = s(() => ({
|
|
29
|
-
"--height": e.height,
|
|
30
|
-
"--width": e.width,
|
|
31
|
-
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
32
|
-
})), f = T({
|
|
33
|
-
width: "50px",
|
|
34
|
-
height: "50px",
|
|
35
|
-
bottom: "34px",
|
|
36
|
-
right: "-8px",
|
|
37
|
-
innerImageWidth: "39px",
|
|
38
|
-
innerImageHeight: "39px"
|
|
39
|
-
}), p = s(() => {
|
|
40
|
-
var t, l, r, i;
|
|
41
|
-
return !e.data || !e.data.thumbnails ? null : {
|
|
42
|
-
backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
-
backgroundImageSrc: (i = (r = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : r.player_in_action) != null && i[0] ? v(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
44
|
-
isPlayButtonVisible: !0
|
|
45
|
-
};
|
|
46
|
-
}), g = s(() => {
|
|
47
|
-
var t, l, r;
|
|
48
|
-
if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
49
|
-
const i = e.data.title.split("*").filter(Boolean);
|
|
50
|
-
return {
|
|
51
|
-
mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
|
|
52
|
-
sidebarTitle: ((r = i[1]) == null ? void 0 : r.trim()) || "PROMEDIO POR PARTIDO"
|
|
53
|
-
};
|
|
54
|
-
}), y = s(() => {
|
|
55
|
-
var t;
|
|
56
|
-
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
|
|
57
|
-
});
|
|
58
|
-
return (t, l) => (o(), c("div", {
|
|
59
|
-
class: "card-general",
|
|
60
|
-
style: h(b.value)
|
|
61
|
-
}, [
|
|
62
|
-
p.value ? (o(), w(B, k({ key: 0 }, p.value, { width: u.width }), {
|
|
63
|
-
default: O(() => {
|
|
64
|
-
var r, i;
|
|
65
|
-
return [
|
|
66
|
-
a("div", V, [
|
|
67
|
-
a("div", F, [
|
|
68
|
-
a("div", H, [
|
|
69
|
-
a("h1", L, d(g.value.mainTitle), 1),
|
|
70
|
-
a("div", z, [
|
|
71
|
-
I(S, {
|
|
72
|
-
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
73
|
-
width: 105,
|
|
74
|
-
"inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
|
|
75
|
-
"team-logo-circle-props": f.value,
|
|
76
|
-
"inner-image-translate": K
|
|
77
|
-
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
78
|
-
]),
|
|
79
|
-
a("div", j, [
|
|
80
|
-
a("p", {
|
|
81
|
-
innerHTML: m(D)(m(M)({ data: e.data, descriptionType: e.descriptionType })),
|
|
82
|
-
class: "card-description",
|
|
83
|
-
style: h({ color: ((r = e.data) == null ? void 0 : r.font_color) || "white" })
|
|
84
|
-
}, null, 12, A)
|
|
85
|
-
])
|
|
86
|
-
]),
|
|
87
|
-
a("div", W, [
|
|
88
|
-
a("div", $, d(g.value.sidebarTitle), 1),
|
|
89
|
-
a("div", q, [
|
|
90
|
-
(o(!0), c(P, null, E((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), c("div", {
|
|
91
|
-
key: x,
|
|
92
|
-
class: N(["season-row", {
|
|
93
|
-
highlighted: n.highlighted,
|
|
94
|
-
"max-value": parseFloat(n.average) === y.value
|
|
95
|
-
}])
|
|
96
|
-
}, [
|
|
97
|
-
a("div", G, d(n.average), 1),
|
|
98
|
-
a("div", J, d(n.season), 1)
|
|
99
|
-
], 2))), 128))
|
|
100
|
-
])
|
|
101
|
-
])
|
|
102
|
-
])
|
|
103
|
-
])
|
|
104
|
-
];
|
|
105
|
-
}),
|
|
106
|
-
_: 1
|
|
107
|
-
}, 16, ["width"])) : C("", !0)
|
|
108
|
-
], 4));
|
|
109
|
-
}
|
|
110
|
-
}, Z = /* @__PURE__ */ R(Q, [["__scopeId", "data-v-5e073402"]]);
|
|
111
|
-
export {
|
|
112
|
-
Z as default
|
|
113
|
-
};
|