@golstats/gsc-landing 1.0.193 → 1.0.195
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-DW2NMKgR-HgCTNwsl.js → CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js} +13 -12
- package/dist/CardGeneral-70CyP1c9-DZjdnAqP.js +127 -0
- package/dist/{CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js → CardGeneralIndividual-CFAG9SL3-BG4lUe_F.js} +83 -77
- package/dist/{CardGeneralTeams-CwKmM2ip-1ajycpU3.js → CardGeneralTeams-C1b59sT7-DG5cs-Tg.js} +151 -146
- package/dist/{CardIndividual-OuxjYR6m-BJwKI5HZ.js → CardIndividual-BVJEvLuq-_PhgZvaJ.js} +38 -37
- package/dist/CardIndividual1vs1-BEIdhWs1-BvsUVyut.js +109 -0
- package/dist/{CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js → CardIndividualAreas-T43vItFr-Ge11BS0-.js} +22 -21
- package/dist/{CardIndividualCenters-0K7CYu6z-C1If3cnK.js → CardIndividualCenters-fZNKbbXo-CBcfzVIG.js} +121 -120
- package/dist/{CardIndividualDistance-DPP7-JWN-CiCspi8H.js → CardIndividualDistance-CcU2Vbnx-BA0WjvGk.js} +32 -31
- package/dist/{CardIndividualFouls-CbvYRQjI-CVZKAmd3.js → CardIndividualFouls-BYcKqeFK-Cje2Mt8Z.js} +111 -110
- package/dist/CardIndividualGoalParticipation-yPoWp2QU-CzPvpOTY.js +112 -0
- package/dist/{CardIndividualGoals-no1WpbpS-DaNagxNS.js → CardIndividualGoals-C69mSV2s-D6_1_Ya_.js} +181 -180
- package/dist/CardIndividualGold-BxCrvpoF-DAinsnlx.js +117 -0
- package/dist/{CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js → CardIndividualNoGoalReceived-CqVz1A2y-2wvhoRRn.js} +56 -55
- package/dist/CardIndividualPerformance-JjUTmJQy-BKKJWuAj.js +104 -0
- package/dist/{CardIndividualSaves-DboDAV9z-DW3t5zbf.js → CardIndividualSaves-DEvTL6Uw-ExU597Jv.js} +70 -65
- package/dist/{CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js → CardIndividualShotsOnGoal-BxwPL-4b-CjB-aDIc.js} +55 -54
- package/dist/{CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js → CardIndividualStatistics-DQRVwOUb-BM8QzAyt.js} +35 -34
- package/dist/{CardPromTournament-BbjTP9KD-CWu7JvYP.js → CardPromTournament-HcWvduRV-DarShqZA.js} +28 -27
- package/dist/CardSuccessfulPasses-D9ZpWlLr-DVijdVau.js +92 -0
- package/dist/CardTheMostProductive-CNNFBK3--EbF2Re03.js +76 -0
- package/dist/{CircleWithDotsBig-EzIr2wuY-TMr2eIat.js → CircleWithDotsBig-DOPQy89I-DsMw07Qs.js} +1 -1
- package/dist/{Shield-Dnuj3Yd--DAk7-Zio.js → Shield-COMdrYaO-CimHKi7p.js} +60 -55
- package/dist/gsc-landing.js +2 -57546
- package/dist/gsc-landing.umd.cjs +64 -64
- package/dist/index-Cf6zNZxW.js +57599 -0
- package/dist/misc-CMAhmOsp-DhvMrB3p.js +163 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +0 -116
- package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +0 -487
- package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +0 -108
- package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +0 -112
- package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +0 -99
- package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +0 -426
- package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +0 -74
- package/dist/misc-CeQ5H5LP-DeaiNpCH.js +0 -168
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as b, createVNode as F, normalizeProps as C, guardReactiveProps as L, withCtx as v, createElementVNode as t, toDisplayString as m, createCommentVNode as y, pushScopeId as x, popScopeId as B } from "vue";
|
|
2
|
+
import { i as S } from "./CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js";
|
|
3
|
+
import { O as k, $ as w, P as A, z as I, A as M, E as U } from "./misc-CMAhmOsp-DhvMrB3p.js";
|
|
4
|
+
import { h as V } from "./index-Cf6zNZxW.js";
|
|
5
|
+
const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statistics__body" }, O = { class: "statistics__body__title-sub" }, $ = { class: "statistics__body__title-sub__title" }, D = { class: "statistics__body__data" }, E = { class: "shield-svg" }, P = { class: "team-logo" }, T = ["src"], z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
|
|
5
6
|
/* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
|
|
6
7
|
/* @__PURE__ */ t("span", { class: "number" }, "1")
|
|
7
|
-
], -1)),
|
|
8
|
+
], -1)), N = { class: "subtitle" }, H = {
|
|
8
9
|
width: "217",
|
|
9
10
|
height: "220",
|
|
10
11
|
viewBox: "0 0 217 220",
|
|
11
12
|
fill: "none",
|
|
12
13
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
-
},
|
|
14
|
+
}, R = /* @__PURE__ */ n(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_bd_4070_92224)" }, [
|
|
14
15
|
/* @__PURE__ */ t("path", {
|
|
15
16
|
d: "M108.503 50C115.166 50 121.88 50.4001 128.464 51.1939L129.734 51.3475L131.004 51.5012L131.73 52.5382L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L160.737 69.8288L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L109.597 161.345L108.5 161.796L107.403 161.345L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L56.2631 69.8288L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.2698 52.5382L85.996 51.5012L87.2659 51.3475L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50L108.503 50Z",
|
|
16
17
|
fill: "white",
|
|
17
18
|
"fill-opacity": "0.12",
|
|
18
19
|
"shape-rendering": "crispEdges"
|
|
19
20
|
})
|
|
20
|
-
], -1)),
|
|
21
|
+
], -1)), Z = { filter: "url(#filter1_bd_4070_92224)" }, j = ["fill"], q = /* @__PURE__ */ n(() => /* @__PURE__ */ t("defs", null, [
|
|
21
22
|
/* @__PURE__ */ t("filter", {
|
|
22
23
|
id: "filter0_bd_4070_92224",
|
|
23
24
|
x: "-37.6419",
|
|
@@ -118,7 +119,7 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
118
119
|
result: "shape"
|
|
119
120
|
})
|
|
120
121
|
])
|
|
121
|
-
], -1)),
|
|
122
|
+
], -1)), J = {
|
|
122
123
|
__name: "CardIndividualStatistics",
|
|
123
124
|
props: {
|
|
124
125
|
height: {
|
|
@@ -139,34 +140,34 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
139
140
|
}
|
|
140
141
|
},
|
|
141
142
|
setup(a) {
|
|
142
|
-
const e = a,
|
|
143
|
-
var i, l, u, c,
|
|
143
|
+
const e = a, h = r(() => {
|
|
144
|
+
var i, l, u, c, f, p, _;
|
|
144
145
|
return {
|
|
145
146
|
height: e.height,
|
|
146
147
|
width: e.width,
|
|
147
148
|
footerHeight: "137px",
|
|
148
149
|
playerPhotoPositionTop: "24px",
|
|
149
|
-
playerPhotoUrl:
|
|
150
|
+
playerPhotoUrl: k(e.data.player_id || ""),
|
|
150
151
|
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
151
|
-
backgroundImageSrc:
|
|
152
|
+
backgroundImageSrc: w((c = (u = (l = (i = e.data) == null ? void 0 : i.thumbnails) == null ? void 0 : l.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (_ = (p = (f = e.data) == null ? void 0 : f.thumbnails) == null ? void 0 : p.images) != null && _.background_tean ? e.data.thumbnails.images.background_team : ""),
|
|
152
153
|
footerBodyData: {
|
|
153
|
-
description:
|
|
154
|
+
description: A(I({ data: e.data, descriptionType: e.descriptionType })),
|
|
154
155
|
total: e.data.total,
|
|
155
156
|
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
156
157
|
totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
157
158
|
}
|
|
158
159
|
};
|
|
159
160
|
}), o = r(() => {
|
|
160
|
-
const { title: i, subtitle: l } =
|
|
161
|
+
const { title: i, subtitle: l } = M(e.data.title);
|
|
161
162
|
return {
|
|
162
163
|
title: i,
|
|
163
164
|
subtitle: l,
|
|
164
165
|
lineColor: (e.data.thumbnails.colors.line_color || "#FFFFFF").trim(),
|
|
165
|
-
teamLogoUrl:
|
|
166
|
+
teamLogoUrl: U(e.data.team_id || "")
|
|
166
167
|
};
|
|
167
168
|
});
|
|
168
169
|
r(() => e.data.id);
|
|
169
|
-
const
|
|
170
|
+
const g = r(() => ({
|
|
170
171
|
"--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
171
172
|
"--text-color": (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
172
173
|
"--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
|
|
@@ -174,36 +175,36 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
174
175
|
}));
|
|
175
176
|
return (i, l) => (s(), d("div", {
|
|
176
177
|
class: "statistics",
|
|
177
|
-
style:
|
|
178
|
+
style: b(g.value)
|
|
178
179
|
}, [
|
|
179
|
-
|
|
180
|
-
body:
|
|
181
|
-
t("div",
|
|
182
|
-
t("div",
|
|
183
|
-
t("div",
|
|
180
|
+
F(S, C(L(h.value)), {
|
|
181
|
+
body: v(() => [
|
|
182
|
+
t("div", G, [
|
|
183
|
+
t("div", O, [
|
|
184
|
+
t("div", $, m(o.value.title), 1)
|
|
184
185
|
]),
|
|
185
|
-
t("div",
|
|
186
|
-
t("div",
|
|
187
|
-
t("div",
|
|
186
|
+
t("div", D, [
|
|
187
|
+
t("div", E, [
|
|
188
|
+
t("div", P, [
|
|
188
189
|
o.value.teamLogoUrl ? (s(), d("img", {
|
|
189
190
|
key: 0,
|
|
190
191
|
src: o.value.teamLogoUrl,
|
|
191
192
|
alt: ""
|
|
192
|
-
}, null, 8,
|
|
193
|
+
}, null, 8, T)) : y("", !0)
|
|
193
194
|
]),
|
|
194
|
-
|
|
195
|
-
t("div",
|
|
196
|
-
(s(), d("svg",
|
|
197
|
-
|
|
198
|
-
t("g",
|
|
195
|
+
z,
|
|
196
|
+
t("div", N, m(o.value.subtitle), 1),
|
|
197
|
+
(s(), d("svg", H, [
|
|
198
|
+
R,
|
|
199
|
+
t("g", Z, [
|
|
199
200
|
t("path", {
|
|
200
201
|
"fill-rule": "evenodd",
|
|
201
202
|
"clip-rule": "evenodd",
|
|
202
203
|
d: "M85.996 51.5012L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50H108.503C115.166 50 121.88 50.4001 128.464 51.1939L131.004 51.5012L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L108.5 161.796L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.996 51.5012ZM56 71.9234L58.9253 71.3276C70.4237 68.9836 80.3979 62.9961 86.182 54.7224M86.1829 54.7211L87.1223 53.3795L88.7743 53.1796C95.2793 52.3986 101.918 52 108.497 52H108.503C115.086 52 121.721 52.3954 128.225 53.1795L129.878 53.3795L130.817 54.7211C136.601 62.9955 146.575 68.9834 158.074 71.3275L161 71.9234V83.6241C161 99.7894 156.188 115.445 147.072 128.907C137.958 142.371 125.119 152.794 109.933 159.044L108.5 159.634L107.067 159.044C91.881 152.794 79.0417 142.371 69.9284 128.908C60.8154 115.445 56 99.786 56 83.6241V71.9234",
|
|
203
204
|
fill: o.value.lineColor
|
|
204
|
-
}, null, 8,
|
|
205
|
+
}, null, 8, j)
|
|
205
206
|
]),
|
|
206
|
-
|
|
207
|
+
q
|
|
207
208
|
]))
|
|
208
209
|
])
|
|
209
210
|
])
|
|
@@ -213,7 +214,7 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
213
214
|
}, 16)
|
|
214
215
|
], 4));
|
|
215
216
|
}
|
|
216
|
-
}, X = /* @__PURE__ */
|
|
217
|
+
}, X = /* @__PURE__ */ V(J, [["__scopeId", "data-v-3f601ffb"]]);
|
|
217
218
|
export {
|
|
218
219
|
X as default
|
|
219
220
|
};
|
package/dist/{CardPromTournament-BbjTP9KD-CWu7JvYP.js → CardPromTournament-HcWvduRV-DarShqZA.js}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { useCssVars as _, computed as s, ref as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { useCssVars as _, computed as s, ref as w, openBlock as o, createElementBlock as c, normalizeStyle as h, createBlock as T, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as P, unref as m, Fragment as I, renderList as N, normalizeClass as C, createCommentVNode as R } from "vue";
|
|
2
|
+
import { $ as v, I as z, P as B, z as D } from "./misc-CMAhmOsp-DhvMrB3p.js";
|
|
3
|
+
import { h as E } from "./index-Cf6zNZxW.js";
|
|
4
|
+
import { N as M } from "./Shield-COMdrYaO-CimHKi7p.js";
|
|
5
|
+
const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { class: "main-content" }, H = { class: "main-title" }, L = { class: "title-separator" }, $ = { class: "footer-text" }, j = ["innerHTML"], A = { class: "seasons-sidebar" }, W = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = "-38px 35px", Q = {
|
|
5
6
|
__name: "CardPromTournament",
|
|
6
7
|
props: {
|
|
7
8
|
height: {
|
|
@@ -21,15 +22,15 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
21
22
|
default: 0
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
|
-
setup(
|
|
25
|
+
setup(u) {
|
|
25
26
|
_((t) => ({
|
|
26
|
-
|
|
27
|
+
"12b7ad86": u.data.thumbnails.colors.background_color
|
|
27
28
|
}));
|
|
28
|
-
const e =
|
|
29
|
+
const e = u, b = s(() => ({
|
|
29
30
|
"--height": e.height,
|
|
30
31
|
"--width": e.width,
|
|
31
32
|
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
32
|
-
})), f =
|
|
33
|
+
})), f = w({
|
|
33
34
|
width: "50px",
|
|
34
35
|
height: "50px",
|
|
35
36
|
bottom: "34px",
|
|
@@ -37,57 +38,57 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
37
38
|
innerImageWidth: "39px",
|
|
38
39
|
innerImageHeight: "39px"
|
|
39
40
|
}), p = s(() => {
|
|
40
|
-
var t,
|
|
41
|
+
var t, r, l, i;
|
|
41
42
|
return !e.data || !e.data.thumbnails ? null : {
|
|
42
43
|
backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
-
backgroundImageSrc: (i = (
|
|
44
|
+
backgroundImageSrc: (i = (l = (r = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : r.images) == null ? void 0 : l.player_in_action) != null && i[0] ? v(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
44
45
|
isPlayButtonVisible: !0
|
|
45
46
|
};
|
|
46
47
|
}), g = s(() => {
|
|
47
|
-
var t,
|
|
48
|
+
var t, r, l;
|
|
48
49
|
if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
49
50
|
const i = e.data.title.split("*").filter(Boolean);
|
|
50
51
|
return {
|
|
51
|
-
mainTitle: ((
|
|
52
|
-
sidebarTitle: ((
|
|
52
|
+
mainTitle: ((r = i[0]) == null ? void 0 : r.trim()) || "",
|
|
53
|
+
sidebarTitle: ((l = i[1]) == null ? void 0 : l.trim()) || "PROMEDIO POR PARTIDO"
|
|
53
54
|
};
|
|
54
55
|
}), y = s(() => {
|
|
55
56
|
var t;
|
|
56
|
-
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((
|
|
57
|
+
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((r) => parseFloat(r.average))) : 0;
|
|
57
58
|
});
|
|
58
|
-
return (t,
|
|
59
|
+
return (t, r) => (o(), c("div", {
|
|
59
60
|
class: "card-general",
|
|
60
61
|
style: h(b.value)
|
|
61
62
|
}, [
|
|
62
|
-
p.value ? (o(),
|
|
63
|
+
p.value ? (o(), T(z, k({ key: 0 }, p.value, { width: u.width }), {
|
|
63
64
|
default: O(() => {
|
|
64
|
-
var
|
|
65
|
+
var l, i;
|
|
65
66
|
return [
|
|
66
67
|
a("div", S, [
|
|
67
68
|
a("div", V, [
|
|
68
69
|
a("div", F, [
|
|
69
|
-
a("h1",
|
|
70
|
-
a("div",
|
|
71
|
-
|
|
70
|
+
a("h1", H, d(g.value.mainTitle), 1),
|
|
71
|
+
a("div", L, [
|
|
72
|
+
P(M, {
|
|
72
73
|
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
73
74
|
width: 105,
|
|
74
75
|
"inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
|
|
75
76
|
"team-logo-circle-props": f.value,
|
|
76
|
-
"inner-image-translate":
|
|
77
|
+
"inner-image-translate": K
|
|
77
78
|
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
78
79
|
]),
|
|
79
80
|
a("div", $, [
|
|
80
81
|
a("p", {
|
|
81
|
-
innerHTML: m(
|
|
82
|
+
innerHTML: m(B)(m(D)({ data: e.data, descriptionType: e.descriptionType })),
|
|
82
83
|
class: "card-description",
|
|
83
|
-
style: h({ color: ((
|
|
84
|
+
style: h({ color: ((l = e.data) == null ? void 0 : l.font_color) || "white" })
|
|
84
85
|
}, null, 12, j)
|
|
85
86
|
])
|
|
86
87
|
]),
|
|
87
88
|
a("div", A, [
|
|
88
89
|
a("div", W, d(g.value.sidebarTitle), 1),
|
|
89
90
|
a("div", q, [
|
|
90
|
-
(o(!0),
|
|
91
|
+
(o(!0), c(I, null, N((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), c("div", {
|
|
91
92
|
key: x,
|
|
92
93
|
class: C(["season-row", {
|
|
93
94
|
highlighted: n.highlighted,
|
|
@@ -104,10 +105,10 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
104
105
|
];
|
|
105
106
|
}),
|
|
106
107
|
_: 1
|
|
107
|
-
}, 16, ["width"])) :
|
|
108
|
+
}, 16, ["width"])) : R("", !0)
|
|
108
109
|
], 4));
|
|
109
110
|
}
|
|
110
|
-
},
|
|
111
|
+
}, ee = /* @__PURE__ */ E(Q, [["__scopeId", "data-v-5e073402"]]);
|
|
111
112
|
export {
|
|
112
|
-
|
|
113
|
+
ee as default
|
|
113
114
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
|
|
2
|
+
import { i as S } from "./CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js";
|
|
3
|
+
import { O as z, E, $ as I, P as O, z as T, A as w } from "./misc-CMAhmOsp-DhvMrB3p.js";
|
|
4
|
+
import { h as N } from "./index-Cf6zNZxW.js";
|
|
5
|
+
const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
|
|
6
|
+
__name: "CardSuccessfulPasses",
|
|
7
|
+
props: {
|
|
8
|
+
height: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "445px"
|
|
11
|
+
},
|
|
12
|
+
width: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "319px"
|
|
15
|
+
},
|
|
16
|
+
data: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: () => null
|
|
19
|
+
},
|
|
20
|
+
descriptionType: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 4
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(l) {
|
|
26
|
+
const t = l, b = c(() => {
|
|
27
|
+
var e, o, r, d, n, a, s;
|
|
28
|
+
return {
|
|
29
|
+
height: t.height,
|
|
30
|
+
width: t.width,
|
|
31
|
+
footerHeight: "113px",
|
|
32
|
+
playerPhotoPositionTop: "24px",
|
|
33
|
+
playerPhotoUrl: z(t.data.player_id || ""),
|
|
34
|
+
teamLogoUrl: E(t.data.team_id || ""),
|
|
35
|
+
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
36
|
+
backgroundImageSrc: I((d = (r = (o = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : o.images) == null ? void 0 : r.background_player_in_action) != null && d[0] ? t.data.thumbnails.images.background_player_in_action[0] : (s = (a = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : a.images) != null && s.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
37
|
+
footerBodyData: {
|
|
38
|
+
description: O(T({ data: t.data, descriptionType: t.descriptionType })),
|
|
39
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}), u = c(() => {
|
|
43
|
+
let e = t.data.sections || [];
|
|
44
|
+
e = e.sort((a, s) => a[0] - s[0]);
|
|
45
|
+
let o = 0;
|
|
46
|
+
const r = e.reduce((a, [s, h], F) => (F % 4 === 0 && (a.push([]), o++), a[o - 1].push([h]), a), []), { title: d, subtitle: n } = w(t.data.title);
|
|
47
|
+
return {
|
|
48
|
+
title: d,
|
|
49
|
+
subtitle: n,
|
|
50
|
+
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
51
|
+
total: t.data.total,
|
|
52
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
53
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
54
|
+
fieldObject: {
|
|
55
|
+
categoryIds: t.data.categories,
|
|
56
|
+
coordinatePoint: 3,
|
|
57
|
+
data: r,
|
|
58
|
+
isNegative: !1
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
});
|
|
62
|
+
c(() => t.data.id);
|
|
63
|
+
const _ = c(() => ({
|
|
64
|
+
"--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
65
|
+
"--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
66
|
+
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
67
|
+
}));
|
|
68
|
+
return (e, o) => (f(), g("div", {
|
|
69
|
+
class: "passes",
|
|
70
|
+
style: p(_.value)
|
|
71
|
+
}, [
|
|
72
|
+
y(S, v(k(b.value)), {
|
|
73
|
+
body: x(() => [
|
|
74
|
+
i("div", {
|
|
75
|
+
class: "passes__body",
|
|
76
|
+
style: p(_.value)
|
|
77
|
+
}, [
|
|
78
|
+
i("div", j, [
|
|
79
|
+
i("div", B, m(u.value.title), 1),
|
|
80
|
+
i("div", D, m(u.value.subtitle), 1)
|
|
81
|
+
]),
|
|
82
|
+
H
|
|
83
|
+
], 4)
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 16)
|
|
87
|
+
], 4));
|
|
88
|
+
}
|
|
89
|
+
}, R = /* @__PURE__ */ N(L, [["__scopeId", "data-v-2d0e60f5"]]);
|
|
90
|
+
export {
|
|
91
|
+
R as default
|
|
92
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { computed as d, openBlock as h, createElementBlock as f, createVNode as s, normalizeProps as b, guardReactiveProps as y, withCtx as v, createElementVNode as p, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
+
import { i as k } from "./CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js";
|
|
3
|
+
import { N as C } from "./Shield-COMdrYaO-CimHKi7p.js";
|
|
4
|
+
import { $ as m, P as I, z as P, E as w, O as B } from "./misc-CMAhmOsp-DhvMrB3p.js";
|
|
5
|
+
import { h as N } from "./index-Cf6zNZxW.js";
|
|
6
|
+
const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "productive" }, A = /* @__PURE__ */ T(() => /* @__PURE__ */ p("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), D = {
|
|
7
|
+
__name: "CardTheMostProductive",
|
|
8
|
+
props: {
|
|
9
|
+
height: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "445px"
|
|
12
|
+
},
|
|
13
|
+
width: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "319px"
|
|
16
|
+
},
|
|
17
|
+
data: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: () => null
|
|
20
|
+
},
|
|
21
|
+
descriptionType: {
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 4
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(o) {
|
|
27
|
+
const a = o, _ = d(() => {
|
|
28
|
+
var e, t, r, i, l, u, c;
|
|
29
|
+
return {
|
|
30
|
+
height: a.height,
|
|
31
|
+
width: a.width,
|
|
32
|
+
footerHeight: "112px",
|
|
33
|
+
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
34
|
+
backgroundImageSrc: m((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && i[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
35
|
+
footerBodyData: {
|
|
36
|
+
description: I(P({ data: a.data, descriptionType: a.descriptionType })),
|
|
37
|
+
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}), n = d(() => {
|
|
41
|
+
var e, t, r, i;
|
|
42
|
+
const l = !!((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && i[0]);
|
|
43
|
+
return {
|
|
44
|
+
teamLogoUrl: w(a.data.team_id || ""),
|
|
45
|
+
playerInActionSrc: l ? m(a.data.thumbnails.images.player_in_action[0]) : B(a.data.player_id || ""),
|
|
46
|
+
shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
47
|
+
translate: l ? "-40px -8px" : "-42px -30px"
|
|
48
|
+
};
|
|
49
|
+
}), g = d(() => ({
|
|
50
|
+
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
51
|
+
}));
|
|
52
|
+
return (e, t) => (h(), f("div", z, [
|
|
53
|
+
s(k, b(y(_.value)), {
|
|
54
|
+
body: v(() => [
|
|
55
|
+
p("div", {
|
|
56
|
+
class: "productive__body",
|
|
57
|
+
style: F(g.value)
|
|
58
|
+
}, [
|
|
59
|
+
A,
|
|
60
|
+
s(C, {
|
|
61
|
+
id: a.data.id,
|
|
62
|
+
"team-logo-src": n.value.teamLogoUrl,
|
|
63
|
+
"inner-image-src": n.value.playerInActionSrc,
|
|
64
|
+
color: n.value.shieldColor,
|
|
65
|
+
"inner-image-translate": n.value.translate
|
|
66
|
+
}, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
67
|
+
], 4)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 16)
|
|
71
|
+
]));
|
|
72
|
+
}
|
|
73
|
+
}, U = /* @__PURE__ */ N(D, [["__scopeId", "data-v-d26d27a2"]]);
|
|
74
|
+
export {
|
|
75
|
+
U as default
|
|
76
|
+
};
|
package/dist/{CircleWithDotsBig-EzIr2wuY-TMr2eIat.js → CircleWithDotsBig-DOPQy89I-DsMw07Qs.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as Z, openBlock as l, createElementBlock as M, normalizeStyle as u, createElementVNode as t, toDisplayString as L, createCommentVNode as a, pushScopeId as d, popScopeId as f } from "vue";
|
|
2
|
-
import { h as r } from "./
|
|
2
|
+
import { h as r } from "./index-Cf6zNZxW.js";
|
|
3
3
|
const i = (C) => (d("data-v-a4109b0b"), C = C(), f(), C), p = { class: "circle__total" }, n = { class: "total" }, s = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "suffix"
|