@golstats/gsc-landing 1.0.213 → 1.0.215
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-ChDCLySs-BnJ37O3_.js +181 -0
- package/dist/{CardBaseAllIndividual-MZU9YVGl-CP107tbU.js → CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js} +22 -16
- package/dist/CardGeneral-BOFU3ewp-vla0R6ar.js +714 -0
- package/dist/{CardGeneralIndividual-Cr4vkSx7-CJJdrLMj.js → CardGeneralIndividual-uQTtFW4U-BkHnaPPD.js} +122 -95
- package/dist/{CardGeneralTeams-Dbs9m7rY-DkjTHx_b.js → CardGeneralTeams-BP3La-Ld-Xyq_L5uX.js} +64 -60
- package/dist/{CardIndividual-BWKDE_dT-DBY7KxMm.js → CardIndividual-DMMRmSi2-BqN7gmFv.js} +65 -60
- package/dist/CardIndividual1vs1-Bv8b5IIG-Ch9qSDIz.js +119 -0
- package/dist/{CardIndividualAreas-B0ER1yDk-BXA3kkP-.js → CardIndividualAreas-CvTLzhDe-CxZqYbA3.js} +32 -26
- package/dist/{CardIndividualCenters-Ds8JCDfK-BDqdw3CH.js → CardIndividualCenters-CrYHyQxu-cIdiMvOc.js} +91 -85
- package/dist/{CardIndividualDistance-DybnqaN1-pWNr0r-3.js → CardIndividualDistance-CWDDIJ83-wq3ChNSO.js} +42 -34
- package/dist/{CardIndividualFouls-BSZw6Irw-DHoHyyuo.js → CardIndividualFouls-BOBPG76o-Cr7zPQ-k.js} +47 -41
- package/dist/{CardIndividualGoalParticipation-D0jx0mKO-CmyYljBx.js → CardIndividualGoalParticipation-BDxpFsvg-Bxe8LNLj.js} +38 -33
- package/dist/{CardIndividualGoals-k1HYTdnr-DwdImXmD.js → CardIndividualGoals-DVDdbBfi-3pxFdVek.js} +397 -247
- package/dist/{CardIndividualGold-BoE9YjMT-BTGXOE5O.js → CardIndividualGold-CLwqSmhY-DQxNX96O.js} +45 -39
- package/dist/{CardIndividualNoGoalReceived-T1szlu3u-BsDem5g0.js → CardIndividualNoGoalReceived-BdnMEYLP-BmH2Q3hB.js} +42 -37
- package/dist/CardIndividualPerformance-9Cgxb8AH-CKHPoagm.js +113 -0
- package/dist/{CardIndividualSaves-rWMesrlG-DthInp2-.js → CardIndividualSaves-DxroAo6u-DjwSYz7p.js} +40 -36
- package/dist/{CardIndividualShotsOnGoal-DCl0FEKe-D1LFguJT.js → CardIndividualShotsOnGoal-DJkETXaD-DC6DZtaf.js} +57 -51
- package/dist/{CardIndividualStatistics-D5JBvozg-0Gq27kWI.js → CardIndividualStatistics-Bci82FbX-_u70bydD.js} +36 -30
- package/dist/CardPromTournament-DBsGq2Rt-BiIeMZAU.js +145 -0
- package/dist/{CardSuccessfulPasses-BdWMHjtx-C7yqLEWL.js → CardSuccessfulPasses-38zySsbp-CjINypSW.js} +30 -24
- package/dist/CardTheMostProductive-B1UOywJ1-CDybX3LK.js +87 -0
- package/dist/PlayerProfileCircle-Dfaw_14p-WaOYxU8Q.js +41 -0
- package/dist/{Shield-DPZx9qP3-BCn1KwjE.js → Shield-T4ZGXEnI-Csqj5bz2.js} +3 -3
- package/dist/gsc-landing.js +1 -1
- package/dist/gsc-landing.umd.cjs +54 -54
- package/dist/{index-C-oaQYT0.js → index-Clf4kqRY.js} +5177 -5238
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardBase-D3YCZX4b-DGnwZ1-j.js +0 -127
- package/dist/CardGeneral-C9IYdx36-DpuRuCM2.js +0 -686
- package/dist/CardIndividual1vs1-fcFN4SBW-0yRvkJ62.js +0 -113
- package/dist/CardIndividualPerformance-BZmpXMyI-Cn3RFU3S.js +0 -108
- package/dist/CardPromTournament-DaUtBS2s-DYPh6beM.js +0 -141
- package/dist/CardTheMostProductive-DTnPP64--C47kK7xA.js +0 -81
- package/dist/CircleWithDotsBig-DD6iMX6w-DjUWhXAM.js +0 -151
package/dist/{CardIndividualGold-BoE9YjMT-BTGXOE5O.js → CardIndividualGold-CLwqSmhY-DQxNX96O.js}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { d as I } from "./CardBaseAllIndividual-
|
|
3
|
-
import { N } from "./Shield-
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const z = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
|
|
1
|
+
import { ref as b, computed as d, openBlock as c, createElementBlock as p, createVNode as g, mergeProps as w, withCtx as F, createElementVNode as n, normalizeClass as S, normalizeStyle as C, toDisplayString as _ } from "vue";
|
|
2
|
+
import { d as I } from "./CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js";
|
|
3
|
+
import { N as z } from "./Shield-T4ZGXEnI-Csqj5bz2.js";
|
|
4
|
+
import { m as N, P as T, A as $, E, z as V, V as k } from "./CardBase-ChDCLySs-BnJ37O3_.js";
|
|
5
|
+
const A = { class: "gold-card" }, B = { class: "gold-card__body__title" }, D = {
|
|
7
6
|
key: 0,
|
|
8
7
|
class: "gold-card__body__shield"
|
|
9
|
-
},
|
|
8
|
+
}, H = {
|
|
10
9
|
key: 1,
|
|
11
10
|
class: "gold-card__body__player-photo"
|
|
12
|
-
},
|
|
11
|
+
}, L = ["src"], P = { class: "gold-card__body__sub-title" }, G = {
|
|
13
12
|
__name: "CardIndividualGold",
|
|
14
13
|
props: {
|
|
15
14
|
height: {
|
|
@@ -31,10 +30,14 @@ const z = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
|
|
|
31
30
|
showVideos: {
|
|
32
31
|
type: Boolean,
|
|
33
32
|
default: !0
|
|
33
|
+
},
|
|
34
|
+
idAux: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: ""
|
|
34
37
|
}
|
|
35
38
|
},
|
|
36
|
-
setup(
|
|
37
|
-
const t =
|
|
39
|
+
setup(s) {
|
|
40
|
+
const t = s, h = /* @__PURE__ */ new Set([
|
|
38
41
|
"85-i",
|
|
39
42
|
"91-i",
|
|
40
43
|
"97-i",
|
|
@@ -53,55 +56,58 @@ const z = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
|
|
|
53
56
|
"175-i",
|
|
54
57
|
"179-i",
|
|
55
58
|
"185-i"
|
|
56
|
-
]), y =
|
|
59
|
+
]), y = b({
|
|
57
60
|
width: "50px",
|
|
58
61
|
height: "50px",
|
|
59
62
|
bottom: "34px",
|
|
60
63
|
right: "-8px",
|
|
61
64
|
innerImageWidth: "39px",
|
|
62
65
|
innerImageHeight: "39px"
|
|
63
|
-
}),
|
|
66
|
+
}), o = d(() => h.has(t.data.id) ? 1 : 2), v = d(() => ({
|
|
64
67
|
height: t.height,
|
|
65
68
|
width: t.width,
|
|
66
69
|
footerHeight: "137px",
|
|
67
|
-
teamLogoUrl:
|
|
70
|
+
teamLogoUrl: o.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
|
|
68
71
|
footerBodyData: {
|
|
69
|
-
description: T(
|
|
72
|
+
description: T($({ data: t.data, descriptionType: t.descriptionType })),
|
|
70
73
|
total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
|
|
71
74
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
72
75
|
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
73
76
|
totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim(),
|
|
74
77
|
isTotalPercentage: t.data.footer.show_percentage
|
|
75
78
|
},
|
|
76
|
-
goldCardType:
|
|
77
|
-
})), e =
|
|
78
|
-
var a,
|
|
79
|
-
const { title:
|
|
79
|
+
goldCardType: o.value
|
|
80
|
+
})), e = d(() => {
|
|
81
|
+
var a, i, l, r;
|
|
82
|
+
const { title: u, subtitle: x } = E(t.data.title), m = !!((r = (l = (i = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : l.player_in_action) != null && r[0]);
|
|
80
83
|
return {
|
|
81
|
-
title:
|
|
82
|
-
subtitle:
|
|
83
|
-
innerImageSrc: m ? V(t.data.thumbnails.images.player_in_action[0]) :
|
|
84
|
+
title: u,
|
|
85
|
+
subtitle: x,
|
|
86
|
+
innerImageSrc: m ? V(t.data.thumbnails.images.player_in_action[0]) : k(t.data.player_id || ""),
|
|
84
87
|
tournamentLogoSrc: `https://az755631.vo.msecnd.net/todoelfut/${t.data.tournament_id}.png`,
|
|
85
88
|
translate: m ? "0 38px" : "0 21px"
|
|
86
89
|
};
|
|
87
|
-
}), f =
|
|
88
|
-
var a,
|
|
89
|
-
const
|
|
90
|
+
}), f = d(() => {
|
|
91
|
+
var a, i, l, r;
|
|
92
|
+
const u = !!((r = (l = (i = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : l.player_in_action) != null && r[0]);
|
|
90
93
|
return {
|
|
91
|
-
"--max-width-title":
|
|
92
|
-
"--player-image-width":
|
|
94
|
+
"--max-width-title": o.value === 2 ? "220px" : "100%",
|
|
95
|
+
"--player-image-width": u ? "230px" : "180px"
|
|
93
96
|
};
|
|
94
97
|
});
|
|
95
|
-
return (a,
|
|
96
|
-
g(I, w(v.value, {
|
|
98
|
+
return (a, i) => (c(), p("div", A, [
|
|
99
|
+
g(I, w(v.value, {
|
|
100
|
+
"show-videos": s.showVideos,
|
|
101
|
+
"id-aux": s.idAux
|
|
102
|
+
}), {
|
|
97
103
|
body: F(() => [
|
|
98
|
-
|
|
99
|
-
class: S(["gold-card__body", { "type-2":
|
|
104
|
+
n("div", {
|
|
105
|
+
class: S(["gold-card__body", { "type-2": o.value === 2 }]),
|
|
100
106
|
style: C(f.value)
|
|
101
107
|
}, [
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
g(
|
|
108
|
+
n("div", B, _(e.value.title), 1),
|
|
109
|
+
o.value === 1 ? (c(), p("div", D, [
|
|
110
|
+
g(z, {
|
|
105
111
|
"team-logo-src": e.value.tournamentLogoSrc,
|
|
106
112
|
width: 131,
|
|
107
113
|
"team-logo-circle-props": y.value,
|
|
@@ -109,20 +115,20 @@ const z = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
|
|
|
109
115
|
"inner-image-translate": e.value.translate,
|
|
110
116
|
"inner-image-src": e.value.innerImageSrc
|
|
111
117
|
}, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
|
|
112
|
-
])) : (c(), p("div",
|
|
113
|
-
|
|
118
|
+
])) : (c(), p("div", H, [
|
|
119
|
+
n("img", {
|
|
114
120
|
src: e.value.innerImageSrc,
|
|
115
121
|
alt: ""
|
|
116
|
-
}, null, 8,
|
|
122
|
+
}, null, 8, L)
|
|
117
123
|
])),
|
|
118
|
-
|
|
124
|
+
n("div", P, _(e.value.subtitle), 1)
|
|
119
125
|
], 6)
|
|
120
126
|
]),
|
|
121
127
|
_: 1
|
|
122
|
-
}, 16, ["show-videos"])
|
|
128
|
+
}, 16, ["show-videos", "id-aux"])
|
|
123
129
|
]));
|
|
124
130
|
}
|
|
125
|
-
}, W = /* @__PURE__ */
|
|
131
|
+
}, W = /* @__PURE__ */ N(G, [["__scopeId", "data-v-d08e403c"]]);
|
|
126
132
|
export {
|
|
127
133
|
W as default
|
|
128
134
|
};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { computed as C, openBlock as t, createElementBlock as e, normalizeStyle as w, createVNode as v, mergeProps as k, withCtx as M, createElementVNode as o, toDisplayString as g, createCommentVNode as s, unref as
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { a as j } from "./TimeSvg-B3vSNjgQ-BbQ6V9Cu.js";
|
|
7
|
-
const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" }, z = { class: "no-goal__body__title-sub__title" }, E = {
|
|
1
|
+
import { computed as C, openBlock as t, createElementBlock as e, normalizeStyle as w, createVNode as v, mergeProps as k, withCtx as M, createElementVNode as o, toDisplayString as g, createCommentVNode as s, unref as c, normalizeProps as Z, guardReactiveProps as x, createBlock as P } from "vue";
|
|
2
|
+
import { d as V, B as S } from "./CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js";
|
|
3
|
+
import { m as H, O as B, z, P as N, A as T, V as U } from "./CardBase-ChDCLySs-BnJ37O3_.js";
|
|
4
|
+
import { a as O } from "./TimeSvg-B3vSNjgQ-BbQ6V9Cu.js";
|
|
5
|
+
const A = { class: "no-goal__body" }, E = { class: "no-goal__body__title-sub" }, I = { class: "no-goal__body__title-sub__title" }, R = {
|
|
8
6
|
key: 0,
|
|
9
7
|
class: "no-goal__body__title-sub__sub"
|
|
10
|
-
},
|
|
8
|
+
}, $ = { class: "no-goal__body__data" }, j = {
|
|
11
9
|
key: 0,
|
|
12
10
|
class: "time-svg"
|
|
13
|
-
},
|
|
11
|
+
}, D = {
|
|
14
12
|
key: 1,
|
|
15
13
|
class: "player-img"
|
|
16
|
-
},
|
|
14
|
+
}, G = ["src"], q = {
|
|
17
15
|
key: 3,
|
|
18
16
|
class: "no-goal-svg"
|
|
19
17
|
}, J = {
|
|
@@ -22,7 +20,7 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
22
20
|
viewBox: "0 0 47 46",
|
|
23
21
|
fill: "none",
|
|
24
22
|
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
-
}, K = { "clip-path": "url(#clip0_153_11805)" }, Q = ["fill"], W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], a1 = ["fill"], t1 = ["fill"], e1 = ["fill"], i1 = ["fill"], C1 = ["fill"], r1 = ["fill"], n1 = ["fill"], d1 = { id: "clip0_153_11805" },
|
|
23
|
+
}, K = { "clip-path": "url(#clip0_153_11805)" }, Q = ["fill"], W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], a1 = ["fill"], t1 = ["fill"], e1 = ["fill"], i1 = ["fill"], C1 = ["fill"], r1 = ["fill"], n1 = ["fill"], d1 = { id: "clip0_153_11805" }, u1 = ["fill"], s1 = {
|
|
26
24
|
__name: "CardIndividualNoGoalReceived",
|
|
27
25
|
props: {
|
|
28
26
|
height: {
|
|
@@ -44,13 +42,17 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
44
42
|
showVideos: {
|
|
45
43
|
type: Boolean,
|
|
46
44
|
default: !0
|
|
45
|
+
},
|
|
46
|
+
idAux: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: ""
|
|
47
49
|
}
|
|
48
50
|
},
|
|
49
|
-
setup(
|
|
50
|
-
const l =
|
|
51
|
+
setup(r) {
|
|
52
|
+
const l = r, L = /* @__PURE__ */ new Set([
|
|
51
53
|
"64-i",
|
|
52
54
|
"29-e"
|
|
53
|
-
]),
|
|
55
|
+
]), n = /* @__PURE__ */ new Set([
|
|
54
56
|
"65-i",
|
|
55
57
|
"30-e"
|
|
56
58
|
]), b = /* @__PURE__ */ new Set([
|
|
@@ -61,24 +63,24 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
61
63
|
"31-e",
|
|
62
64
|
"32-e"
|
|
63
65
|
]), y = C(() => {
|
|
64
|
-
var
|
|
66
|
+
var d, u, p, h, m, f, _;
|
|
65
67
|
return {
|
|
66
68
|
height: l.height,
|
|
67
69
|
width: l.width,
|
|
68
70
|
footerHeight: "120px",
|
|
69
71
|
playerPhotoPositionTop: "24px",
|
|
70
|
-
teamLogoUrl:
|
|
72
|
+
teamLogoUrl: B(l.data.team_id || ""),
|
|
71
73
|
cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
72
|
-
backgroundImageSrc:
|
|
74
|
+
backgroundImageSrc: z((h = (p = (u = (d = l.data) == null ? void 0 : d.thumbnails) == null ? void 0 : u.images) == null ? void 0 : p.background_player_in_action) != null && h[0] ? l.data.thumbnails.images.background_player_in_action[0] : (_ = (f = (m = l.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && _.background_team ? l.data.thumbnails.images.background_team : ""),
|
|
73
75
|
footerBodyData: {
|
|
74
|
-
description:
|
|
76
|
+
description: N(T({ data: l.data, descriptionType: l.descriptionType })),
|
|
75
77
|
textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
76
78
|
}
|
|
77
79
|
};
|
|
78
80
|
}), a = C(() => ({
|
|
79
81
|
title: "sin gol recibido",
|
|
80
|
-
subtitle: L.has(i.value) ? "primeros tiempos" :
|
|
81
|
-
playerPhotoUrl:
|
|
82
|
+
subtitle: L.has(i.value) ? "primeros tiempos" : n.has(n) ? "segundos tiempos" : "",
|
|
83
|
+
playerPhotoUrl: U(l.data.player_id || ""),
|
|
82
84
|
iconColor: (l.data.thumbnails.colors.icon_color || l.data.thumbnails.colors.graphic_color || "#FFFFFF").trim(),
|
|
83
85
|
total: l.data.total,
|
|
84
86
|
totalCircleColor: (l.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
@@ -92,33 +94,36 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
92
94
|
"--title-color": (l.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
93
95
|
"--data-color": (l.data.thumbnails.colors.background_color || "#000000").trim()
|
|
94
96
|
}));
|
|
95
|
-
return (
|
|
97
|
+
return (d, u) => (t(), e("div", {
|
|
96
98
|
class: "no-goal",
|
|
97
99
|
style: w(F.value)
|
|
98
100
|
}, [
|
|
99
|
-
v(
|
|
101
|
+
v(V, k(y.value, {
|
|
102
|
+
"show-videos": r.showVideos,
|
|
103
|
+
"id-aux": r.idAux
|
|
104
|
+
}), {
|
|
100
105
|
body: M(() => [
|
|
101
|
-
o("div",
|
|
102
|
-
o("div",
|
|
103
|
-
o("div",
|
|
104
|
-
a.value.subtitle ? (t(), e("div",
|
|
106
|
+
o("div", A, [
|
|
107
|
+
o("div", E, [
|
|
108
|
+
o("div", I, g(a.value.title), 1),
|
|
109
|
+
a.value.subtitle ? (t(), e("div", R, g(a.value.subtitle), 1)) : s("", !0)
|
|
105
110
|
]),
|
|
106
|
-
o("div",
|
|
107
|
-
|
|
108
|
-
v(
|
|
111
|
+
o("div", $, [
|
|
112
|
+
c(b).has(i.value) ? s("", !0) : (t(), e("div", j, [
|
|
113
|
+
v(O, Z(x(a.value.timeSvgProps)), null, 16)
|
|
109
114
|
])),
|
|
110
|
-
a.value.playerPhotoUrl ? (t(), e("div",
|
|
115
|
+
a.value.playerPhotoUrl ? (t(), e("div", D, [
|
|
111
116
|
o("div", null, [
|
|
112
117
|
o("img", {
|
|
113
118
|
src: a.value.playerPhotoUrl,
|
|
114
119
|
alt: "player"
|
|
115
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, G)
|
|
116
121
|
])
|
|
117
122
|
])) : s("", !0),
|
|
118
|
-
|
|
123
|
+
c(L).has(i.value) || c(n).has(i.value) ? (t(), P(S, {
|
|
119
124
|
key: 2,
|
|
120
125
|
value: l.data.percentage
|
|
121
|
-
}, null, 8, ["value"])) : (t(), e("div",
|
|
126
|
+
}, null, 8, ["value"])) : (t(), e("div", q, [
|
|
122
127
|
(t(), e("svg", J, [
|
|
123
128
|
o("g", K, [
|
|
124
129
|
o("path", {
|
|
@@ -181,7 +186,7 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
181
186
|
height: "44.6446",
|
|
182
187
|
fill: a.value.iconColor,
|
|
183
188
|
transform: "translate(0.504883 0.677734)"
|
|
184
|
-
}, null, 8,
|
|
189
|
+
}, null, 8, u1)
|
|
185
190
|
])
|
|
186
191
|
])
|
|
187
192
|
]))
|
|
@@ -190,10 +195,10 @@ const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" },
|
|
|
190
195
|
])
|
|
191
196
|
]),
|
|
192
197
|
_: 1
|
|
193
|
-
}, 16, ["show-videos"])
|
|
198
|
+
}, 16, ["show-videos", "id-aux"])
|
|
194
199
|
], 4));
|
|
195
200
|
}
|
|
196
|
-
},
|
|
201
|
+
}, m1 = /* @__PURE__ */ H(s1, [["__scopeId", "data-v-2a96628a"]]);
|
|
197
202
|
export {
|
|
198
|
-
|
|
203
|
+
m1 as default
|
|
199
204
|
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { computed as i, openBlock as h, createElementBlock as v, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as o, toDisplayString as n, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
+
import { d as C, B as m } from "./CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js";
|
|
3
|
+
import { m as w, V as T, z as k, P as B, A as N, E as V } from "./CardBase-ChDCLySs-BnJ37O3_.js";
|
|
4
|
+
const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performance__body" }, E = { class: "performance__body__title-sub" }, I = { class: "performance__body__title-sub__title" }, $ = { class: "performance__body__title-sub__sub" }, z = { class: "performance__body__data" }, O = { class: "performance__body__data__total-season" }, D = { class: "performance__body__data__total-season__season" }, j = /* @__PURE__ */ P(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), H = { class: "performance__body__data__total-season" }, U = { class: "performance__body__data__total-season__season" }, q = {
|
|
5
|
+
__name: "CardIndividualPerformance",
|
|
6
|
+
props: {
|
|
7
|
+
height: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "445px"
|
|
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: 4
|
|
22
|
+
},
|
|
23
|
+
showVideos: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !0
|
|
26
|
+
},
|
|
27
|
+
idAux: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ""
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
setup(e) {
|
|
33
|
+
const a = e, b = i(() => {
|
|
34
|
+
var l, r, s, d, u, _, p;
|
|
35
|
+
return {
|
|
36
|
+
height: a.height,
|
|
37
|
+
width: a.width,
|
|
38
|
+
footerHeight: "fit-content",
|
|
39
|
+
playerPhotoPositionTop: "24px",
|
|
40
|
+
playerPhotoUrl: T(a.data.player_id || ""),
|
|
41
|
+
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
42
|
+
backgroundImageSrc: k((d = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && d[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && p.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
43
|
+
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
44
|
+
footerBodyData: {
|
|
45
|
+
description: B(N({ data: a.data, descriptionType: a.descriptionType })),
|
|
46
|
+
total: a.data.total,
|
|
47
|
+
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}), t = i(() => {
|
|
51
|
+
const { title: l, subtitle: r } = V(a.data.title), [s, d] = a.data.totals;
|
|
52
|
+
return {
|
|
53
|
+
title: l,
|
|
54
|
+
subtitle: r,
|
|
55
|
+
pastSeasonName: d.season,
|
|
56
|
+
currentSeasonName: s.season,
|
|
57
|
+
pastSeasonTotal: d.total,
|
|
58
|
+
currentSeasonTotal: s.total,
|
|
59
|
+
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
60
|
+
circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
|
|
61
|
+
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
i(() => a.data.id);
|
|
65
|
+
const f = i(() => ({
|
|
66
|
+
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
67
|
+
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
68
|
+
}));
|
|
69
|
+
return (l, r) => (h(), v("div", {
|
|
70
|
+
class: "performance",
|
|
71
|
+
style: y(f.value)
|
|
72
|
+
}, [
|
|
73
|
+
c(C, F(b.value, {
|
|
74
|
+
"show-videos": e.showVideos,
|
|
75
|
+
"id-aux": e.idAux
|
|
76
|
+
}), {
|
|
77
|
+
body: g(() => [
|
|
78
|
+
o("div", A, [
|
|
79
|
+
o("div", E, [
|
|
80
|
+
o("div", I, n(t.value.title), 1),
|
|
81
|
+
o("div", $, n(t.value.subtitle), 1)
|
|
82
|
+
]),
|
|
83
|
+
o("div", z, [
|
|
84
|
+
o("div", O, [
|
|
85
|
+
c(m, {
|
|
86
|
+
value: t.value.pastSeasonTotal,
|
|
87
|
+
suffix: "",
|
|
88
|
+
"text-color": t.value.textColor,
|
|
89
|
+
color: t.value.circleOneColor
|
|
90
|
+
}, null, 8, ["value", "text-color", "color"]),
|
|
91
|
+
o("div", D, n(t.value.pastSeasonName), 1)
|
|
92
|
+
]),
|
|
93
|
+
j,
|
|
94
|
+
o("div", H, [
|
|
95
|
+
c(m, {
|
|
96
|
+
value: t.value.currentSeasonTotal,
|
|
97
|
+
suffix: "",
|
|
98
|
+
"text-color": t.value.textColor,
|
|
99
|
+
color: t.value.circleTwoColor
|
|
100
|
+
}, null, 8, ["value", "text-color", "color"]),
|
|
101
|
+
o("div", U, n(t.value.currentSeasonName), 1)
|
|
102
|
+
])
|
|
103
|
+
])
|
|
104
|
+
])
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 16, ["show-videos", "id-aux"])
|
|
108
|
+
], 4));
|
|
109
|
+
}
|
|
110
|
+
}, J = /* @__PURE__ */ w(q, [["__scopeId", "data-v-6260a2ea"]]);
|
|
111
|
+
export {
|
|
112
|
+
J as default
|
|
113
|
+
};
|
package/dist/{CardIndividualSaves-rWMesrlG-DthInp2-.js → CardIndividualSaves-DxroAo6u-DjwSYz7p.js}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { useCssVars as y, computed as h, openBlock as l, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as
|
|
2
|
-
import { d as
|
|
3
|
-
import {
|
|
4
|
-
import { j as T, $ as V, H as z, B as D, R as I } from "./index-C-oaQYT0.js";
|
|
1
|
+
import { useCssVars as y, computed as h, openBlock as l, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as A, createElementVNode as e, toDisplayString as p, createCommentVNode as n, createVNode as C, pushScopeId as B, popScopeId as V } from "vue";
|
|
2
|
+
import { d as j } from "./CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js";
|
|
3
|
+
import { m as x, V as z, O as T, z as D, P as I, A as N } from "./CardBase-ChDCLySs-BnJ37O3_.js";
|
|
5
4
|
const m = {
|
|
6
5
|
props: {
|
|
7
6
|
position: {
|
|
@@ -23,27 +22,27 @@ const m = {
|
|
|
23
22
|
}));
|
|
24
23
|
}, _ = m.setup;
|
|
25
24
|
m.setup = _ ? (o, t) => (w(), _(o, t)) : w;
|
|
26
|
-
const r = (o) => (
|
|
25
|
+
const r = (o) => (B("data-v-d2968adb"), o = o(), V(), o), E = { class: "saves-element-container" }, O = { class: "saves-element-box" }, P = {
|
|
27
26
|
key: 0,
|
|
28
27
|
class: "small-box"
|
|
29
|
-
},
|
|
28
|
+
}, $ = {
|
|
30
29
|
key: 0,
|
|
31
30
|
width: "28",
|
|
32
31
|
height: "31",
|
|
33
32
|
viewBox: "0 0 28 31",
|
|
34
33
|
fill: "none",
|
|
35
34
|
xmlns: "http://www.w3.org/2000/svg"
|
|
36
|
-
},
|
|
35
|
+
}, q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
37
36
|
d: "M10.23.878h7.482",
|
|
38
37
|
stroke: "#fff",
|
|
39
38
|
"stroke-width": "1.746",
|
|
40
39
|
"stroke-linecap": "round"
|
|
41
|
-
}, null, -1)),
|
|
40
|
+
}, null, -1)), H = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
42
41
|
cx: "13.972",
|
|
43
42
|
cy: "17.089",
|
|
44
43
|
fill: "#DE2531",
|
|
45
44
|
r: "12.47"
|
|
46
|
-
}, null, -1)),
|
|
45
|
+
}, null, -1)), J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
47
46
|
d: "M26.442 17.09a12.47 12.47 0 0 0-12.47-12.47v12.47h12.47z",
|
|
48
47
|
fill: "#fff"
|
|
49
48
|
}, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
@@ -55,28 +54,28 @@ const r = (o) => (j("data-v-d2968adb"), o = o(), A(), o), N = { class: "saves-el
|
|
|
55
54
|
"stroke-linejoin": "round",
|
|
56
55
|
r: "12.47"
|
|
57
56
|
}, null, -1)), L = [
|
|
57
|
+
q,
|
|
58
|
+
H,
|
|
58
59
|
J,
|
|
59
|
-
P,
|
|
60
|
-
R,
|
|
61
60
|
U
|
|
62
|
-
],
|
|
61
|
+
], G = {
|
|
63
62
|
key: 1,
|
|
64
63
|
width: "28",
|
|
65
64
|
height: "31",
|
|
66
65
|
viewBox: "0 0 28 31",
|
|
67
66
|
fill: "none",
|
|
68
67
|
xmlns: "http://www.w3.org/2000/svg"
|
|
69
|
-
},
|
|
68
|
+
}, K = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
70
69
|
d: "M10.23.878h7.482",
|
|
71
70
|
stroke: "#fff",
|
|
72
71
|
"stroke-width": "1.746",
|
|
73
72
|
"stroke-linecap": "round"
|
|
74
|
-
}, null, -1)),
|
|
73
|
+
}, null, -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
75
74
|
cx: "13.972",
|
|
76
75
|
cy: "17.089",
|
|
77
76
|
fill: "#DE2531",
|
|
78
77
|
r: "12.47"
|
|
79
|
-
}, null, -1)),
|
|
78
|
+
}, null, -1)), R = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
80
79
|
d: "M1.502 17.09a12.47 12.47 0 0 0 12.47 12.47V17.09H1.502z",
|
|
81
80
|
fill: "#fff"
|
|
82
81
|
}, null, -1)), W = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
@@ -88,9 +87,9 @@ const r = (o) => (j("data-v-d2968adb"), o = o(), A(), o), N = { class: "saves-el
|
|
|
88
87
|
"stroke-linejoin": "round",
|
|
89
88
|
r: "12.47"
|
|
90
89
|
}, null, -1)), X = [
|
|
91
|
-
G,
|
|
92
90
|
K,
|
|
93
91
|
Q,
|
|
92
|
+
R,
|
|
94
93
|
W
|
|
95
94
|
], Y = { class: "inner-boxes-container" }, Z = { class: "inner-box icon" }, tt = {
|
|
96
95
|
width: "48",
|
|
@@ -100,11 +99,11 @@ const r = (o) => (j("data-v-d2968adb"), o = o(), A(), o), N = { class: "saves-el
|
|
|
100
99
|
xmlns: "http://www.w3.org/2000/svg"
|
|
101
100
|
}, et = ["stroke"], ot = ["stroke"], at = ["stroke"], lt = ["stroke"], rt = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), it = { class: "inner-box stat" };
|
|
102
101
|
function st(o, t, a, u, d, i) {
|
|
103
|
-
return l(), s("div",
|
|
104
|
-
e("div",
|
|
105
|
-
a.position === "first" || a.position === "second" ? (l(), s("div",
|
|
106
|
-
a.position == "first" ? (l(), s("svg",
|
|
107
|
-
a.position == "second" ? (l(), s("svg",
|
|
102
|
+
return l(), s("div", E, [
|
|
103
|
+
e("div", O, [
|
|
104
|
+
a.position === "first" || a.position === "second" ? (l(), s("div", P, [
|
|
105
|
+
a.position == "first" ? (l(), s("svg", $, L)) : n("", !0),
|
|
106
|
+
a.position == "second" ? (l(), s("svg", G, X)) : n("", !0)
|
|
108
107
|
])) : n("", !0),
|
|
109
108
|
e("div", Y, [
|
|
110
109
|
e("div", Z, [
|
|
@@ -177,34 +176,38 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
177
176
|
showVideos: {
|
|
178
177
|
type: Boolean,
|
|
179
178
|
default: !0
|
|
179
|
+
},
|
|
180
|
+
idAux: {
|
|
181
|
+
type: String,
|
|
182
|
+
default: ""
|
|
180
183
|
}
|
|
181
184
|
},
|
|
182
185
|
setup(o) {
|
|
183
186
|
y((i) => ({
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
"479bced4": (t.data.subtitle, "100%"),
|
|
188
|
+
bceb836a: t.data.thumbnails.colors.font_color_header,
|
|
189
|
+
c18d2c10: t.data.subtitle ? "100%" : "78%"
|
|
187
190
|
}));
|
|
188
191
|
const t = o, a = h(() => ({
|
|
189
192
|
"--height": t.height,
|
|
190
193
|
"--width": t.width,
|
|
191
194
|
"--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
|
|
192
195
|
})), u = h(() => {
|
|
193
|
-
var i, c, k, f, b,
|
|
196
|
+
var i, c, k, f, b, g, v;
|
|
194
197
|
return {
|
|
195
198
|
height: t.height,
|
|
196
199
|
width: t.width,
|
|
197
200
|
footerHeight: "137px",
|
|
198
|
-
playerPhotoUrl:
|
|
199
|
-
teamLogoUrl:
|
|
201
|
+
playerPhotoUrl: z(t.data.player_id || ""),
|
|
202
|
+
teamLogoUrl: T(t.data.team_id || "") || "",
|
|
200
203
|
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
201
|
-
backgroundImageSrc:
|
|
202
|
-
(f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (
|
|
204
|
+
backgroundImageSrc: D(
|
|
205
|
+
(f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (v = (g = (b = t.data) == null ? void 0 : b.thumbnails) == null ? void 0 : g.images) != null && v.background_team ? t.data.thumbnails.images.background_team : ""
|
|
203
206
|
),
|
|
204
207
|
textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
205
208
|
footerBodyData: {
|
|
206
209
|
textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
207
|
-
description:
|
|
210
|
+
description: I(N({ data: t.data, descriptionType: t.descriptionType })),
|
|
208
211
|
total: t.data.total,
|
|
209
212
|
totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
210
213
|
totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
@@ -224,18 +227,19 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
224
227
|
class: "card-general",
|
|
225
228
|
style: F(a.value)
|
|
226
229
|
}, [
|
|
227
|
-
u.value ? (l(), M(
|
|
230
|
+
u.value ? (l(), M(j, S({ key: 0 }, u.value, {
|
|
228
231
|
width: o.width,
|
|
229
|
-
"show-videos": o.showVideos
|
|
232
|
+
"show-videos": o.showVideos,
|
|
233
|
+
"id-aux": o.idAux
|
|
230
234
|
}), {
|
|
231
|
-
body:
|
|
235
|
+
body: A(() => [
|
|
232
236
|
e("div", dt, [
|
|
233
237
|
e("div", ct, [
|
|
234
238
|
d.value.title ? (l(), s("h2", ut, p(d.value.title), 1)) : n("", !0),
|
|
235
239
|
d.value.subtitle ? (l(), s("p", ht, p(d.value.subtitle), 1)) : n("", !0)
|
|
236
240
|
]),
|
|
237
241
|
e("div", pt, [
|
|
238
|
-
|
|
242
|
+
C(nt, {
|
|
239
243
|
color: t.data.thumbnails.colors.graphic_color,
|
|
240
244
|
position: o.data.header.show_icon == 1 ? o.data.header.icon : "",
|
|
241
245
|
stat: o.data.total
|
|
@@ -244,10 +248,10 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
244
248
|
])
|
|
245
249
|
]),
|
|
246
250
|
_: 1
|
|
247
|
-
}, 16, ["width", "show-videos"])) : n("", !0)
|
|
251
|
+
}, 16, ["width", "show-videos", "id-aux"])) : n("", !0)
|
|
248
252
|
], 4));
|
|
249
253
|
}
|
|
250
|
-
}, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-
|
|
254
|
+
}, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-45bb270c"]]);
|
|
251
255
|
export {
|
|
252
256
|
gt as default
|
|
253
257
|
};
|