@golstats/gsc-player-team-profile 1.0.168 → 1.0.170
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/{misc-D94RabGe-ab1821dc-e3585ac1.js → CardBase-Cdz1Kf2Y-5ad257e7-965930b2.js} +85 -76
- package/dist/{CardBaseAllIndividual-VdTcJTWG-5bd58209-e7ef8b30.js → CardBaseAllIndividual-4UzD6DNy-b2282b63-53b96aa1.js} +81 -67
- package/dist/{CardGeneral-C-VvuOx1-9c9da47b-c41c4a9a.js → CardGeneral-S_KAvDlx-44011968-c9bfa5ba.js} +36 -30
- package/dist/{CardGeneralIndividual-Dgeu5sRM-b9de65df-54564419.js → CardGeneralIndividual-gunYZ8wN-63ad1fe1-dcd710d9.js} +51 -45
- package/dist/{CardGeneralTeams-Bio2uWy5-0475b0d1-063873d8.js → CardGeneralTeams-Bj3R1N2K-88de07f6-a5414e39.js} +177 -169
- package/dist/{CardIndividual-C3vZnJKJ-8d596645-2c5c3d0b.js → CardIndividual-CAta1Gz8-30c1e8cd-f5d98a50.js} +46 -40
- package/dist/{CardIndividual1vs1-ayelgnf_-047b5f87-4b31d22e.js → CardIndividual1vs1-BBTmyvoG-97a187a7-b7815cdc.js} +49 -41
- package/dist/{CardIndividualAreas-Be04td4J-5f272232-8b8971d2.js → CardIndividualAreas-nTK9hrt6-bfa1708d-8ddf8ec2.js} +31 -23
- package/dist/{CardIndividualCenters-CY_VblPm-210b2bef-2a6c0a45.js → CardIndividualCenters-CdqVVRFq-5eb31261-3a0ed482.js} +136 -114
- package/dist/{CardIndividualDistance-BJMYJrZB-1c445a8e-7e11c5ae.js → CardIndividualDistance-CWym6UZH-62be7596-5d70c3bc.js} +31 -23
- package/dist/{CardIndividualFouls-CBm_fj6Z-75c44dc3-9760ad86.js → CardIndividualFouls-myIxjJbq-80ded0d0-db690c78.js} +30 -22
- package/dist/{CardIndividualGoalParticipation-dDcZFtIb-a60c40b4-43c2f192.js → CardIndividualGoalParticipation-CdWdjVqS-fd3d8459-692cfbe4.js} +31 -23
- package/dist/{CardIndividualGoals-Lu8PEJkR-39fad13e-68106bf3.js → CardIndividualGoals--ETgUgtx-b30e0cdc-f9e7aa2b.js} +209 -200
- package/dist/CardIndividualGold-D-nwk3m_-00672840-991d19ff.js +135 -0
- package/dist/{CardIndividualNoGoalReceived-kUSshVQ5-1c3283e7-df1ceb1f.js → CardIndividualNoGoalReceived-Cm-F1kVo-c9196847-281765d8.js} +40 -32
- package/dist/CardIndividualPerformance-CVGfEY1w-65d293c2-440a6ebe.js +115 -0
- package/dist/{CardIndividualSaves-DRGasLFI-7795ab29-562de2aa.js → CardIndividualSaves-B6dDdrcP-a3a39e21-7b4b1ce9.js} +48 -42
- package/dist/{CardIndividualShotsOnGoal-D9Dx66aR-2b9802bb-0b7f0776.js → CardIndividualShotsOnGoal-BQpNO90s-b71b9ee7-37e97894.js} +59 -60
- package/dist/{CardIndividualStatistics-QY2fzyFQ-af7f91f5-702ad3a7.js → CardIndividualStatistics-CbkYzsJT-3cba5590-c18f7547.js} +26 -18
- package/dist/CardPromTournament-CakSymRf-0a8788ae-d0e4a8f6.js +147 -0
- package/dist/{CardSuccessfulPasses-B3BQ72bh-fa61badd-1af329ea.js → CardSuccessfulPasses-CPs0cssa-c0441f48-a3bde4a7.js} +121 -113
- package/dist/{CardTheMostProductive-DhsxmRN2-62e55a2e-4d50460d.js → CardTheMostProductive-DX5tKsQ7-bc301932-0f7b5e8e.js} +29 -21
- package/dist/{CircleWithDotsBig-ayb1XwYk-cc492983-41c9efa6.js → CircleWithDotsBig-3igoV0fL-28d48020-a100b6ef.js} +1 -1
- package/dist/{FilterConditions-29c1d3c7-1c7730cf.js → FilterConditions-29c1d3c7-e76fd7bc.js} +1 -1
- package/dist/{FilterConditions-d16ec515-Cm8B52wI-db3379c5.js → FilterConditions-d16ec515-Cm8B52wI-4b84c1ab.js} +1 -1
- package/dist/{FilterField-6e36a3d5-v5j1AbSE-7fed6f66.js → FilterField-6e36a3d5-v5j1AbSE-8106fb4c.js} +1 -1
- package/dist/{FilterField-9ac5eaf1-c18db744.js → FilterField-9ac5eaf1-9b4a0322.js} +1 -1
- package/dist/{FilterSubcategories-51092d11-3bc1a765.js → FilterSubcategories-51092d11-5ecd4a23.js} +1 -1
- package/dist/{FilterSubcategories-95d712f2-zKq3PF5m-2cc1af42.js → FilterSubcategories-95d712f2-zKq3PF5m-cca1d51a.js} +1 -1
- package/dist/{Shield-DAT34Ykl-29070082-9418aac9.js → Shield-BV5mlG4I-d3ab3360-d59daa3a.js} +4 -4
- package/dist/TimeSvg-B3vSNjgQ-3291a198-e4cc2d61.js +56 -0
- package/dist/TimeSvg2-Cl28aqUW-698b95a8-3d1a1e27.js +56 -0
- package/dist/gsc-player-team-profile.js +1 -1
- package/dist/gsc-player-team-profile.umd.cjs +218 -218
- package/dist/{index-d513ff42.js → index-e2dbe9b8.js} +22733 -22554
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualGold-Ptz6THCG-80d254b5-45da335e.js +0 -124
- package/dist/CardIndividualPerformance-BUOn0sF1-3ce60d38-de472a41.js +0 -107
- package/dist/CardPromTournament-BScZREpO-42690b08-5cd15218.js +0 -136
- package/dist/TimeSvg-Cxp_p6OH-5aec633c-d9ade37e.js +0 -95
|
@@ -1,19 +1,61 @@
|
|
|
1
|
-
import { computed as c, openBlock as
|
|
2
|
-
|
|
1
|
+
import { computed as c, openBlock as s, createElementBlock as n, normalizeClass as p, normalizeStyle as u, createCommentVNode as l, createElementVNode as d, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
|
|
2
|
+
import { i as h } from "./index-e2dbe9b8.js";
|
|
3
|
+
function E(e = "") {
|
|
4
|
+
const r = e.split("");
|
|
5
|
+
let t = 1;
|
|
6
|
+
return r.reduce((o, a) => (a === "*" ? (t % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', t++) : o += a, o), "");
|
|
7
|
+
}
|
|
8
|
+
function I({ data: e, descriptionType: r }) {
|
|
9
|
+
switch (r) {
|
|
10
|
+
case 1:
|
|
11
|
+
return e.finish_first_person_description;
|
|
12
|
+
case 2:
|
|
13
|
+
return e.first_person_description;
|
|
14
|
+
case 3:
|
|
15
|
+
return e.finish_third_person_description;
|
|
16
|
+
case 4:
|
|
17
|
+
return e.third_person_description;
|
|
18
|
+
case 5:
|
|
19
|
+
return e.finish_description;
|
|
20
|
+
case 6:
|
|
21
|
+
return e.description;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function O(e) {
|
|
25
|
+
return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
|
|
26
|
+
}
|
|
27
|
+
function V(e) {
|
|
28
|
+
return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
|
|
29
|
+
}
|
|
30
|
+
function $(e) {
|
|
31
|
+
return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
|
|
32
|
+
}
|
|
33
|
+
function A(e) {
|
|
34
|
+
if (e.includes("*")) {
|
|
35
|
+
let r = "";
|
|
36
|
+
const t = e.match(/\*(.*?)\*/);
|
|
37
|
+
return t && (r = t[1]), {
|
|
38
|
+
title: r.trim(),
|
|
39
|
+
subtitle: e.replace(/\*(.*?)\*/, "").trim()
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
title: e,
|
|
44
|
+
subtitle: ""
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const b = (e, r) => {
|
|
3
48
|
const t = e.__vccOpts || e;
|
|
4
49
|
for (const [o, a] of r)
|
|
5
50
|
t[o] = a;
|
|
6
51
|
return t;
|
|
7
|
-
},
|
|
52
|
+
}, m = (e) => (y("data-v-949a4643"), e = e(), f(), e), v = {
|
|
8
53
|
key: 0,
|
|
9
54
|
class: "card-base__background-image"
|
|
10
|
-
},
|
|
55
|
+
}, _ = ["src"], k = {
|
|
11
56
|
key: 1,
|
|
12
57
|
class: "card-base__background-overlay"
|
|
13
|
-
},
|
|
14
|
-
key: 2,
|
|
15
|
-
class: "card-base__play"
|
|
16
|
-
}, w = /* @__PURE__ */ h(() => /* @__PURE__ */ d("svg", {
|
|
58
|
+
}, w = { class: "card-base__slot" }, S = /* @__PURE__ */ m(() => /* @__PURE__ */ d("svg", {
|
|
17
59
|
width: "60",
|
|
18
60
|
height: "60",
|
|
19
61
|
viewBox: "0 0 60 60",
|
|
@@ -38,9 +80,9 @@ const f = (e, r) => {
|
|
|
38
80
|
d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
|
|
39
81
|
fill: "#CBEE6B"
|
|
40
82
|
})
|
|
41
|
-
], -1)),
|
|
42
|
-
|
|
43
|
-
],
|
|
83
|
+
], -1)), C = [
|
|
84
|
+
S
|
|
85
|
+
], x = {
|
|
44
86
|
__name: "CardBase",
|
|
45
87
|
props: {
|
|
46
88
|
height: {
|
|
@@ -82,6 +124,10 @@ const f = (e, r) => {
|
|
|
82
124
|
showVideos: {
|
|
83
125
|
type: Boolean,
|
|
84
126
|
default: !0
|
|
127
|
+
},
|
|
128
|
+
idAux: {
|
|
129
|
+
type: String,
|
|
130
|
+
default: ""
|
|
85
131
|
}
|
|
86
132
|
},
|
|
87
133
|
setup(e) {
|
|
@@ -94,79 +140,42 @@ const f = (e, r) => {
|
|
|
94
140
|
"--background-overlay-opacity": r.backgroundOverlayOpacity,
|
|
95
141
|
"--background-gold-size": `${r.width} ${r.height}`
|
|
96
142
|
})), o = c(() => {
|
|
97
|
-
const
|
|
98
|
-
return r.goldCardType && (r.goldCardType === 1 ?
|
|
143
|
+
const i = [];
|
|
144
|
+
return r.goldCardType && (r.goldCardType === 1 ? i.push("gold-card-1") : r.goldCardType === 2 && i.push("gold-card-2")), i;
|
|
99
145
|
});
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
146
|
+
function a() {
|
|
147
|
+
h.emit(r.idAux);
|
|
148
|
+
}
|
|
149
|
+
return (i, B) => (s(), n("div", {
|
|
150
|
+
class: p(["card-base", o.value]),
|
|
151
|
+
style: u(t.value)
|
|
103
152
|
}, [
|
|
104
|
-
e.goldCardType ?
|
|
105
|
-
e.backgroundImageSrc ? (
|
|
153
|
+
e.goldCardType ? l("", !0) : (s(), n("div", v, [
|
|
154
|
+
e.backgroundImageSrc ? (s(), n("img", {
|
|
106
155
|
key: 0,
|
|
107
156
|
src: e.backgroundImageSrc,
|
|
108
157
|
alt: ""
|
|
109
|
-
}, null, 8,
|
|
158
|
+
}, null, 8, _)) : l("", !0)
|
|
110
159
|
])),
|
|
111
|
-
e.goldCardType ?
|
|
112
|
-
d("div",
|
|
113
|
-
|
|
160
|
+
e.goldCardType ? l("", !0) : (s(), n("div", k)),
|
|
161
|
+
d("div", w, [
|
|
162
|
+
g(i.$slots, "default", {}, void 0, !0)
|
|
114
163
|
]),
|
|
115
|
-
e.isPlayButtonVisible && e.showVideos ? (
|
|
164
|
+
e.isPlayButtonVisible && e.showVideos ? (s(), n("div", {
|
|
165
|
+
key: 2,
|
|
166
|
+
class: "card-base__play",
|
|
167
|
+
onClick: a
|
|
168
|
+
}, C)) : l("", !0)
|
|
116
169
|
], 6));
|
|
117
170
|
}
|
|
118
|
-
},
|
|
119
|
-
function T(e = "") {
|
|
120
|
-
const r = e.split("");
|
|
121
|
-
let t = 1;
|
|
122
|
-
return r.reduce((o, a) => (a === "*" ? (t % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', t++) : o += a, o), "");
|
|
123
|
-
}
|
|
124
|
-
function V({ data: e, descriptionType: r }) {
|
|
125
|
-
switch (r) {
|
|
126
|
-
case 1:
|
|
127
|
-
return e.finish_first_person_description;
|
|
128
|
-
case 2:
|
|
129
|
-
return e.first_person_description;
|
|
130
|
-
case 3:
|
|
131
|
-
return e.finish_third_person_description;
|
|
132
|
-
case 4:
|
|
133
|
-
return e.third_person_description;
|
|
134
|
-
case 5:
|
|
135
|
-
return e.finish_description;
|
|
136
|
-
case 6:
|
|
137
|
-
return e.description;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
function z(e) {
|
|
141
|
-
return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
|
|
142
|
-
}
|
|
143
|
-
function E(e) {
|
|
144
|
-
return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
|
|
145
|
-
}
|
|
146
|
-
function I(e) {
|
|
147
|
-
return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
|
|
148
|
-
}
|
|
149
|
-
function $(e) {
|
|
150
|
-
if (e.includes("*")) {
|
|
151
|
-
let r = "";
|
|
152
|
-
const t = e.match(/\*(.*?)\*/);
|
|
153
|
-
return t && (r = t[1]), {
|
|
154
|
-
title: r.trim(),
|
|
155
|
-
subtitle: e.replace(/\*(.*?)\*/, "").trim()
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
return {
|
|
159
|
-
title: e,
|
|
160
|
-
subtitle: ""
|
|
161
|
-
};
|
|
162
|
-
}
|
|
171
|
+
}, N = /* @__PURE__ */ b(x, [["__scopeId", "data-v-949a4643"]]);
|
|
163
172
|
export {
|
|
164
|
-
$,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
V,
|
|
170
|
-
|
|
171
|
-
z
|
|
173
|
+
E as $,
|
|
174
|
+
A,
|
|
175
|
+
O as E,
|
|
176
|
+
$ as I,
|
|
177
|
+
N,
|
|
178
|
+
V as T,
|
|
179
|
+
b,
|
|
180
|
+
I as z
|
|
172
181
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as H, withCtx as w, renderSlot as D, createElementVNode as r, createCommentVNode as l, normalizeClass as T, toDisplayString as n, Fragment as b, createVNode as m } from "vue";
|
|
2
|
+
import { b as k, N as P } from "./CardBase-Cdz1Kf2Y-5ad257e7-965930b2.js";
|
|
3
|
+
const L = { class: "circle__total" }, $ = { class: "total" }, N = { class: "suffix" }, z = ["width", "height", "viewBox"], U = ["stroke"], A = ["stroke"], I = ["stop-color"], M = ["stop-color"], V = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
6
6
|
height: {
|
|
@@ -37,45 +37,45 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
setup(e) {
|
|
40
|
-
const t = e,
|
|
40
|
+
const t = e, f = i(() => `0 0 ${t.width} ${t.height}`), s = i(() => ({
|
|
41
41
|
"--width": `${t.width}px`,
|
|
42
42
|
"--height": `${t.height}px`,
|
|
43
43
|
"--value-font-size": `${t.valueFontSize}px`,
|
|
44
44
|
"--suffix-font-size": `${t.suffixFontSize}px`,
|
|
45
45
|
"--color": t.textColor
|
|
46
|
-
})),
|
|
46
|
+
})), c = `linear-gradient-${Date.now()}`;
|
|
47
47
|
return (y, d) => (o(), a("div", {
|
|
48
48
|
class: "circle",
|
|
49
|
-
style: p(
|
|
49
|
+
style: p(s.value)
|
|
50
50
|
}, [
|
|
51
|
-
r("div",
|
|
52
|
-
r("span", $,
|
|
53
|
-
r("span",
|
|
51
|
+
r("div", L, [
|
|
52
|
+
r("span", $, n(e.value), 1),
|
|
53
|
+
r("span", N, n(e.suffix), 1)
|
|
54
54
|
]),
|
|
55
55
|
(o(), a("svg", {
|
|
56
|
-
width:
|
|
57
|
-
height:
|
|
58
|
-
viewBox:
|
|
56
|
+
width: s.value["--width"],
|
|
57
|
+
height: s.value["--height"],
|
|
58
|
+
viewBox: f.value,
|
|
59
59
|
preserveAspectRatio: "xMidYMid meet",
|
|
60
60
|
fill: "none",
|
|
61
61
|
xmlns: "http://www.w3.org/2000/svg"
|
|
62
62
|
}, [
|
|
63
63
|
r("path", {
|
|
64
64
|
d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
|
|
65
|
-
stroke: `url(#${
|
|
65
|
+
stroke: `url(#${c})`,
|
|
66
66
|
"stroke-width": "3.14",
|
|
67
67
|
"stroke-linecap": "round"
|
|
68
|
-
}, null, 8,
|
|
68
|
+
}, null, 8, U),
|
|
69
69
|
r("path", {
|
|
70
70
|
d: "M34.4996 6.63965C38.0926 6.63965 41.6504 7.34734 44.9699 8.72231C48.2893 10.0973 51.3055 12.1126 53.8461 14.6532C56.3867 17.1938 58.402 20.21 59.777 23.5294C61.152 26.8489 61.8597 30.4067 61.8596 33.9997C61.8596 37.5926 61.152 41.1504 59.777 44.4699C58.402 47.7893 56.3867 50.8055 53.8461 53.3461C51.3055 55.8867 48.2893 57.902 44.9699 59.277C41.6504 60.652 38.0926 61.3597 34.4996 61.3596C30.9067 61.3596 27.3489 60.652 24.0294 59.277C20.71 57.902 17.6938 55.8867 15.1532 53.3461C12.6126 50.8055 10.5973 47.7893 9.2223 44.4699C7.84733 41.1504 7.13965 37.5926 7.13965 33.9996C7.13965 30.4067 7.84734 26.8489 9.22231 23.5294C10.5973 20.2099 12.6126 17.1938 15.1532 14.6532C17.6938 12.1126 20.71 10.0973 24.0294 8.7223C27.3489 7.34733 30.9067 6.63965 34.4997 6.63965L34.4996 6.63965Z",
|
|
71
71
|
stroke: e.color,
|
|
72
72
|
"stroke-width": "0.380952",
|
|
73
73
|
"stroke-linecap": "round",
|
|
74
74
|
"stroke-dasharray": "0 0.19 2.61 0 0.19 2.61"
|
|
75
|
-
}, null, 8,
|
|
75
|
+
}, null, 8, A),
|
|
76
76
|
r("defs", null, [
|
|
77
77
|
r("linearGradient", {
|
|
78
|
-
id:
|
|
78
|
+
id: c,
|
|
79
79
|
x1: "34.5",
|
|
80
80
|
y1: "2",
|
|
81
81
|
x2: "34.5",
|
|
@@ -89,43 +89,46 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
89
89
|
}, null, 8, M)
|
|
90
90
|
])
|
|
91
91
|
])
|
|
92
|
-
], 8,
|
|
92
|
+
], 8, z))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
},
|
|
95
|
+
}, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-b9adcb76"]]), O = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, E = ["src"], R = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
|
-
},
|
|
101
|
+
}, j = ["src"], Z = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "card-base-individual__content__footer__header"
|
|
104
|
-
},
|
|
104
|
+
}, G = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "card-base-individual__content__footer__header__title-and-sub ts"
|
|
107
|
-
},
|
|
107
|
+
}, W = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "card-base-individual__content__footer__header__title"
|
|
110
|
-
},
|
|
110
|
+
}, Y = {
|
|
111
|
+
key: 0,
|
|
112
|
+
class: "subtitle-same-line"
|
|
113
|
+
}, q = {
|
|
111
114
|
key: 1,
|
|
112
115
|
class: "card-base-individual__content__footer__header__subtitle"
|
|
113
|
-
},
|
|
116
|
+
}, J = {
|
|
114
117
|
key: 0,
|
|
115
118
|
class: "th"
|
|
116
|
-
},
|
|
119
|
+
}, K = {
|
|
117
120
|
key: 1,
|
|
118
121
|
class: "total th"
|
|
119
|
-
},
|
|
122
|
+
}, Q = {
|
|
120
123
|
key: 1,
|
|
121
124
|
class: "card-base-individual__content__footer__body"
|
|
122
|
-
},
|
|
125
|
+
}, X = ["innerHTML"], tt = {
|
|
123
126
|
key: 0,
|
|
124
127
|
class: "total-b"
|
|
125
|
-
},
|
|
128
|
+
}, et = {
|
|
126
129
|
key: 1,
|
|
127
130
|
class: "total total-b"
|
|
128
|
-
},
|
|
131
|
+
}, ot = { class: "card-base-individual__content__body" }, at = {
|
|
129
132
|
__name: "CardBaseAllIndividual",
|
|
130
133
|
props: {
|
|
131
134
|
height: {
|
|
@@ -142,6 +145,8 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
142
145
|
* {
|
|
143
146
|
* title: string,
|
|
144
147
|
* subtitle: string,
|
|
148
|
+
* areTitleSubtitleSameLine: boolean,
|
|
149
|
+
* titleFontSize: string,
|
|
145
150
|
* total: [string, number],
|
|
146
151
|
* isTotalLeft: boolean,
|
|
147
152
|
* isTotalPercentage: boolean,
|
|
@@ -218,12 +223,16 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
218
223
|
showVideos: {
|
|
219
224
|
type: Boolean,
|
|
220
225
|
default: !0
|
|
226
|
+
},
|
|
227
|
+
idAux: {
|
|
228
|
+
type: String,
|
|
229
|
+
default: ""
|
|
221
230
|
}
|
|
222
231
|
},
|
|
223
232
|
setup(e) {
|
|
224
|
-
const t = e,
|
|
225
|
-
var d, u, h, g, _, v;
|
|
226
|
-
const
|
|
233
|
+
const t = e, f = i(() => {
|
|
234
|
+
var d, u, h, g, _, v, C;
|
|
235
|
+
const F = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, x = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
|
|
227
236
|
return {
|
|
228
237
|
"--height": t.height,
|
|
229
238
|
"--width": t.width,
|
|
@@ -233,24 +242,26 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
233
242
|
"--footer-header-text-color": ((u = t.footerHeaderData) == null ? void 0 : u.textColor) || "#FFFFFF",
|
|
234
243
|
"--total-border": `1.6px solid ${((h = t.footerBodyData) == null ? void 0 : h.totalBorderColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalBorderColor) || "#FFFFFF"}`,
|
|
235
244
|
"--footer-height": t.footerHeight,
|
|
236
|
-
"--footer-width": t.goldCardType ? "
|
|
245
|
+
"--footer-width": t.goldCardType ? "312px" : "auto",
|
|
237
246
|
"--footer-padding": t.footerPadding,
|
|
238
247
|
"--total-color": t.goldCardType ? "#FFFFFF" : ((_ = t.footerBodyData) == null ? void 0 : _.totalTextColor) || ((v = t.footerHeaderData) == null ? void 0 : v.totalTextColor) || "#FFFFFF",
|
|
239
|
-
"--
|
|
240
|
-
"--
|
|
241
|
-
"--footer-
|
|
242
|
-
"--footer-header-
|
|
248
|
+
"--footer-header-title-font-size": ((C = t.footerHeaderData) == null ? void 0 : C.titleFontSize) || "27px",
|
|
249
|
+
"--description-text-align": F || t.footerHeaderData ? "left" : "center",
|
|
250
|
+
"--footer-body-template-columns": F ? "1fr min-content" : "1fr",
|
|
251
|
+
"--footer-header-template-columns": x ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
|
|
252
|
+
"--footer-header-grid-areas": x ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
|
|
243
253
|
"--player-photo-position-top": t.playerPhotoPositionTop,
|
|
244
254
|
"--player-photo-position-left": t.playerPhotoPositionLeft,
|
|
245
255
|
"--player-photo-position-right": t.playerPhotoPositionRight,
|
|
246
256
|
"--player-photo-height": t.playerPhotoHeight
|
|
247
257
|
};
|
|
248
|
-
}),
|
|
258
|
+
}), s = i(() => ({
|
|
249
259
|
backgroundOverlayColor: t.cardColor,
|
|
250
260
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
251
261
|
isPlayButtonVisible: t.showVideos,
|
|
262
|
+
idAux: t.idAux,
|
|
252
263
|
goldCardType: t.goldCardType
|
|
253
|
-
})),
|
|
264
|
+
})), c = i(() => ({}));
|
|
254
265
|
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
255
266
|
const y = i(() => {
|
|
256
267
|
const d = [];
|
|
@@ -258,66 +269,69 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
258
269
|
});
|
|
259
270
|
return (d, u) => (o(), a("div", {
|
|
260
271
|
class: "card-base-individual",
|
|
261
|
-
style: p(
|
|
272
|
+
style: p(f.value)
|
|
262
273
|
}, [
|
|
263
|
-
|
|
274
|
+
s.value ? (o(), B(P, H({ key: 0 }, s.value, { width: e.width }), {
|
|
264
275
|
default: w(() => [
|
|
265
|
-
|
|
266
|
-
|
|
276
|
+
D(d.$slots, "default", {}, () => [
|
|
277
|
+
c.value ? (o(), a("div", {
|
|
267
278
|
key: 0,
|
|
268
|
-
style: p(
|
|
279
|
+
style: p(f.value),
|
|
269
280
|
class: "card-base-individual__content"
|
|
270
281
|
}, [
|
|
271
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
282
|
+
e.playerPhotoUrl ? (o(), a("div", O, [
|
|
272
283
|
r("div", null, [
|
|
273
284
|
r("img", {
|
|
274
285
|
src: e.playerPhotoUrl,
|
|
275
286
|
alt: "player"
|
|
276
|
-
}, null, 8,
|
|
287
|
+
}, null, 8, E)
|
|
277
288
|
])
|
|
278
289
|
])) : l("", !0),
|
|
279
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
290
|
+
e.teamLogoUrl ? (o(), a("div", R, [
|
|
280
291
|
r("img", {
|
|
281
292
|
src: e.teamLogoUrl,
|
|
282
293
|
alt: "team"
|
|
283
|
-
}, null, 8,
|
|
294
|
+
}, null, 8, j)
|
|
284
295
|
])) : l("", !0),
|
|
285
296
|
r("div", {
|
|
286
|
-
class:
|
|
297
|
+
class: T(["card-base-individual__content__footer", y.value])
|
|
287
298
|
}, [
|
|
288
|
-
e.footerHeaderData ? (o(), a("div",
|
|
289
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
290
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
291
|
-
|
|
299
|
+
e.footerHeaderData ? (o(), a("div", Z, [
|
|
300
|
+
e.footerHeaderData.title ? (o(), a("div", G, [
|
|
301
|
+
e.footerHeaderData.title ? (o(), a("div", W, [
|
|
302
|
+
r("span", null, n(e.footerHeaderData.title), 1),
|
|
303
|
+
e.footerHeaderData.areTitleSubtitleSameLine ? (o(), a("span", Y, n(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
304
|
+
])) : l("", !0),
|
|
305
|
+
e.footerHeaderData.title && !e.footerHeaderData.areTitleSubtitleSameLine ? (o(), a("div", q, n(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
292
306
|
])) : l("", !0),
|
|
293
|
-
e.footerHeaderData.total ? (o(), a(
|
|
294
|
-
e.footerHeaderData.isTotalPercentage ? (o(), a("div",
|
|
295
|
-
|
|
307
|
+
e.footerHeaderData.total ? (o(), a(b, { key: 1 }, [
|
|
308
|
+
e.footerHeaderData.isTotalPercentage ? (o(), a("div", J, [
|
|
309
|
+
m(S, {
|
|
296
310
|
value: e.footerHeaderData.total,
|
|
297
311
|
"text-color": e.footerBodyData.totalTextColor,
|
|
298
312
|
color: e.footerBodyData.totalCircleColor
|
|
299
313
|
}, null, 8, ["value", "text-color", "color"])
|
|
300
|
-
])) : (o(), a("div",
|
|
314
|
+
])) : (o(), a("div", K, n(e.footerHeaderData.total), 1))
|
|
301
315
|
], 64)) : l("", !0)
|
|
302
316
|
])) : l("", !0),
|
|
303
|
-
e.footerBodyData ? (o(), a("div",
|
|
317
|
+
e.footerBodyData ? (o(), a("div", Q, [
|
|
304
318
|
r("div", {
|
|
305
319
|
class: "card-base-individual__content__footer__body__description",
|
|
306
320
|
innerHTML: e.footerBodyData.description
|
|
307
|
-
}, null, 8,
|
|
308
|
-
e.footerBodyData.total ? (o(), a(
|
|
309
|
-
e.footerBodyData.isTotalPercentage ? (o(), a("div",
|
|
310
|
-
|
|
321
|
+
}, null, 8, X),
|
|
322
|
+
e.footerBodyData.total ? (o(), a(b, { key: 0 }, [
|
|
323
|
+
e.footerBodyData.isTotalPercentage ? (o(), a("div", tt, [
|
|
324
|
+
m(S, {
|
|
311
325
|
value: e.footerBodyData.total,
|
|
312
326
|
"text-color": e.footerBodyData.totalTextColor,
|
|
313
327
|
color: e.footerBodyData.totalCircleColor
|
|
314
328
|
}, null, 8, ["value", "text-color", "color"])
|
|
315
|
-
])) : (o(), a("div",
|
|
329
|
+
])) : (o(), a("div", et, n(e.footerBodyData.total), 1))
|
|
316
330
|
], 64)) : l("", !0)
|
|
317
331
|
])) : l("", !0)
|
|
318
332
|
], 2),
|
|
319
|
-
r("div",
|
|
320
|
-
|
|
333
|
+
r("div", ot, [
|
|
334
|
+
D(d.$slots, "body", {}, void 0, !0)
|
|
321
335
|
])
|
|
322
336
|
], 4)) : l("", !0)
|
|
323
337
|
], !0)
|
|
@@ -326,7 +340,7 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
326
340
|
}, 16, ["width"])) : l("", !0)
|
|
327
341
|
], 4));
|
|
328
342
|
}
|
|
329
|
-
},
|
|
343
|
+
}, dt = /* @__PURE__ */ k(at, [["__scopeId", "data-v-f5d6a13d"]]);
|
|
330
344
|
export {
|
|
331
|
-
|
|
345
|
+
dt as d
|
|
332
346
|
};
|