@golstats/gsc-relevant-data 1.0.0 → 1.0.1
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-CpLwmpxV-Bc8VFXza.js → CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js} +75 -67
- package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +116 -0
- package/dist/{CardGeneralIndividual-f2u4-O5z-C8qSk2ZP.js → CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js} +6 -6
- package/dist/{CardGeneralTeams-BugMltuL-jAVCLYwc.js → CardGeneralTeams-CwKmM2ip-1ajycpU3.js} +10 -10
- package/dist/{CardIndividual-Djao6vh9-DiEv-R-x.js → CardIndividual-OuxjYR6m-BJwKI5HZ.js} +2 -2
- package/dist/{CardIndividual1vs1-DxmYXrZt-VWRE1Jnn.js → CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js} +2 -2
- package/dist/{CardIndividualAreas-DCEyaPFO-CV19-ED0.js → CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js} +125 -125
- package/dist/{CardIndividualCenters-CZ6R6CQC-BbZdDIG4.js → CardIndividualCenters-0K7CYu6z-C1If3cnK.js} +2 -2
- package/dist/{CardIndividualDistance-BtzJn6DO-B9DmMKmb.js → CardIndividualDistance-DPP7-JWN-CiCspi8H.js} +30 -27
- package/dist/{CardIndividualFouls-DA2uUpkN-G063fivP.js → CardIndividualFouls-CbvYRQjI-CVZKAmd3.js} +2 -2
- package/dist/{CardIndividualGoalParticipation-C6N8YWZ7-BBDvF9qE.js → CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js} +3 -3
- package/dist/{CardIndividualGoals-BWKYR75U-CaM_xOCF.js → CardIndividualGoals-no1WpbpS-DaNagxNS.js} +3 -3
- package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +112 -0
- package/dist/{CardIndividualNoGoalReceived-DPpo0vXy-DIYbziTw.js → CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js} +5 -5
- package/dist/{CardIndividualPerformance-DY4TUCAR-Bjd3FXFD.js → CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js} +13 -13
- package/dist/{CardIndividualSaves-BletFHHX-CGXOSbuq.js → CardIndividualSaves-DboDAV9z-DW3t5zbf.js} +2 -2
- package/dist/{CardIndividualShotsOnGoal-0P73K_EQ-CfLpL58V.js → CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js} +7 -7
- package/dist/{CardIndividualStatistics-DVWc9DiK-BgvfrAmo.js → CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js} +17 -17
- package/dist/{CardPromTournament-eMFIArta-BcFoywcp.js → CardPromTournament-BbjTP9KD-CWu7JvYP.js} +17 -17
- package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +426 -0
- package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +74 -0
- package/dist/{CircleWithDotsBig-Cgc7uMsq-BSImM12y.js → CircleWithDotsBig-EzIr2wuY-TMr2eIat.js} +1 -1
- package/dist/Shield-Dnuj3Yd--DAk7-Zio.js +150 -0
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +98 -79
- package/dist/gsc-relevant-data.umd.cjs +6 -6
- package/dist/{misc-DLvOYaKK-DfIF8CUY.js → misc-CeQ5H5LP-DeaiNpCH.js} +57 -50
- package/package.json +1 -1
- package/dist/CardGeneral-D0BMiBmL-C0rR-Nqy.js +0 -117
- package/dist/CardIndividualGold-C_yvirGi-DYjhrhjN.js +0 -85
- package/dist/CardTheMostProductive-C7hYUshr-LYtT-N3v.js +0 -67
- package/dist/Shield-0GBj95uW-D49zz1Xd.js +0 -135
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { h as
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as f, createBlock as F, mergeProps as k, withCtx as S, renderSlot as v, createElementVNode as r, createCommentVNode as l, normalizeClass as B, toDisplayString as s, Fragment as x, createVNode as D, pushScopeId as H, popScopeId as P } from "vue";
|
|
2
|
+
import { h as b, T as w } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__total" }, $ = { class: "total" }, N = { class: "suffix" }, z = ["width", "height", "viewBox"], I = /* @__PURE__ */ T(() => /* @__PURE__ */ r("path", {
|
|
4
4
|
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",
|
|
5
5
|
stroke: "url(#paint0_linear_2182_6770)",
|
|
6
6
|
"stroke-width": "3.14",
|
|
7
7
|
"stroke-linecap": "round"
|
|
8
|
-
}, null, -1)),
|
|
8
|
+
}, null, -1)), U = ["stroke"], M = {
|
|
9
9
|
id: "paint0_linear_2182_6770",
|
|
10
10
|
x1: "34.5",
|
|
11
11
|
y1: "2",
|
|
12
12
|
x2: "34.5",
|
|
13
13
|
y2: "66",
|
|
14
14
|
gradientUnits: "userSpaceOnUse"
|
|
15
|
-
},
|
|
15
|
+
}, O = ["stop-color"], V = ["stop-color"], A = {
|
|
16
16
|
__name: "CircleWithDots",
|
|
17
17
|
props: {
|
|
18
18
|
height: {
|
|
@@ -49,83 +49,83 @@ const P = (e) => (S("data-v-8506632e"), e = e(), B(), e), w = { class: "circle__
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
setup(e) {
|
|
52
|
-
const t = e, u =
|
|
52
|
+
const t = e, u = i(() => `0 0 ${t.width} ${t.height}`), n = i(() => ({
|
|
53
53
|
"--width": `${t.width}px`,
|
|
54
54
|
"--height": `${t.height}px`,
|
|
55
55
|
"--value-font-size": `${t.valueFontSize}px`,
|
|
56
56
|
"--suffix-font-size": `${t.suffixFontSize}px`,
|
|
57
57
|
"--color": t.textColor
|
|
58
58
|
}));
|
|
59
|
-
return (p,
|
|
59
|
+
return (p, y) => (o(), a("div", {
|
|
60
60
|
class: "circle",
|
|
61
|
-
style: f(
|
|
61
|
+
style: f(n.value)
|
|
62
62
|
}, [
|
|
63
|
-
r("div",
|
|
64
|
-
r("span",
|
|
65
|
-
r("span",
|
|
63
|
+
r("div", L, [
|
|
64
|
+
r("span", $, s(e.value), 1),
|
|
65
|
+
r("span", N, s(e.suffix), 1)
|
|
66
66
|
]),
|
|
67
67
|
(o(), a("svg", {
|
|
68
|
-
width:
|
|
69
|
-
height:
|
|
68
|
+
width: n.value["--width"],
|
|
69
|
+
height: n.value["--height"],
|
|
70
70
|
viewBox: u.value,
|
|
71
71
|
preserveAspectRatio: "xMidYMid meet",
|
|
72
72
|
fill: "none",
|
|
73
73
|
xmlns: "http://www.w3.org/2000/svg"
|
|
74
74
|
}, [
|
|
75
|
-
|
|
75
|
+
I,
|
|
76
76
|
r("path", {
|
|
77
77
|
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",
|
|
78
78
|
stroke: e.color,
|
|
79
79
|
"stroke-width": "0.380952",
|
|
80
80
|
"stroke-linecap": "round",
|
|
81
81
|
"stroke-dasharray": "0 0.19 2.61 0 0.19 2.61"
|
|
82
|
-
}, null, 8,
|
|
82
|
+
}, null, 8, U),
|
|
83
83
|
r("defs", null, [
|
|
84
|
-
r("linearGradient",
|
|
85
|
-
r("stop", { "stop-color": e.color }, null, 8,
|
|
84
|
+
r("linearGradient", M, [
|
|
85
|
+
r("stop", { "stop-color": e.color }, null, 8, O),
|
|
86
86
|
r("stop", {
|
|
87
87
|
offset: "1",
|
|
88
88
|
"stop-color": e.color
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, V)
|
|
90
90
|
])
|
|
91
91
|
])
|
|
92
|
-
], 8,
|
|
92
|
+
], 8, z))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
},
|
|
95
|
+
}, m = /* @__PURE__ */ b(A, [["__scopeId", "data-v-8506632e"]]), E = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, R = ["src"], j = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
|
-
},
|
|
101
|
+
}, Z = ["src"], G = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "card-base-individual__content__footer__header"
|
|
104
|
-
},
|
|
104
|
+
}, W = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "card-base-individual__content__footer__header__title-and-sub ts"
|
|
107
|
-
},
|
|
107
|
+
}, Y = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "card-base-individual__content__footer__header__title"
|
|
110
|
-
},
|
|
110
|
+
}, q = {
|
|
111
111
|
key: 1,
|
|
112
112
|
class: "card-base-individual__content__footer__header__subtitle"
|
|
113
|
-
},
|
|
113
|
+
}, J = {
|
|
114
114
|
key: 0,
|
|
115
115
|
class: "th"
|
|
116
|
-
},
|
|
116
|
+
}, K = {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "total th"
|
|
119
|
-
},
|
|
119
|
+
}, Q = {
|
|
120
120
|
key: 1,
|
|
121
121
|
class: "card-base-individual__content__footer__body"
|
|
122
|
-
},
|
|
122
|
+
}, X = ["innerHTML"], tt = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "total-b"
|
|
125
|
-
},
|
|
125
|
+
}, et = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "total total-b"
|
|
128
|
-
},
|
|
128
|
+
}, ot = { class: "card-base-individual__content__body" }, at = {
|
|
129
129
|
__name: "CardBaseAllIndividual",
|
|
130
130
|
props: {
|
|
131
131
|
height: {
|
|
@@ -215,9 +215,9 @@ const P = (e) => (S("data-v-8506632e"), e = e(), B(), e), w = { class: "circle__
|
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
217
|
setup(e) {
|
|
218
|
-
const t = e, u =
|
|
219
|
-
var d, c,
|
|
220
|
-
const
|
|
218
|
+
const t = e, u = i(() => {
|
|
219
|
+
var d, c, h, _;
|
|
220
|
+
const g = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, C = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
|
|
221
221
|
return {
|
|
222
222
|
"--height": t.height,
|
|
223
223
|
"--width": t.width,
|
|
@@ -226,82 +226,90 @@ const P = (e) => (S("data-v-8506632e"), e = e(), B(), e), w = { class: "circle__
|
|
|
226
226
|
"--footer-body-text-color": ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
|
|
227
227
|
"--footer-header-text-color": ((c = t.footerHeaderData) == null ? void 0 : c.textColor) || "#FFFFFF",
|
|
228
228
|
"--footer-height": t.footerHeight,
|
|
229
|
+
"--footer-width": t.goldCardType ? "263px" : "auto",
|
|
229
230
|
"--footer-padding": t.footerPadding,
|
|
230
|
-
"--total-color": ((
|
|
231
|
-
"--description-text-align":
|
|
232
|
-
"--footer-body-template-columns":
|
|
233
|
-
"--footer-header-template-columns":
|
|
234
|
-
"--footer-header-grid-areas":
|
|
231
|
+
"--total-color": ((h = t.footerBodyData) == null ? void 0 : h.totalTextColor) || ((_ = t.footerHeaderData) == null ? void 0 : _.totalTextColor) || "#FFFFFF",
|
|
232
|
+
"--description-text-align": g || t.footerHeaderData ? "left" : "center",
|
|
233
|
+
"--footer-body-template-columns": g ? "1fr min-content" : "1fr",
|
|
234
|
+
"--footer-header-template-columns": C ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
|
|
235
|
+
"--footer-header-grid-areas": C ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
|
|
235
236
|
"--player-photo-position-top": t.playerPhotoPositionTop,
|
|
236
237
|
"--player-photo-position-left": t.playerPhotoPositionLeft,
|
|
237
238
|
"--player-photo-position-right": t.playerPhotoPositionRight,
|
|
238
239
|
"--player-photo-height": t.playerPhotoHeight
|
|
239
240
|
};
|
|
240
|
-
}),
|
|
241
|
+
}), n = i(() => ({
|
|
241
242
|
backgroundOverlayColor: t.cardColor,
|
|
242
243
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
243
244
|
isPlayButtonVisible: !0,
|
|
244
245
|
goldCardType: t.goldCardType
|
|
245
|
-
})), p =
|
|
246
|
-
|
|
246
|
+
})), p = i(() => ({}));
|
|
247
|
+
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
248
|
+
const y = i(() => {
|
|
249
|
+
const d = [];
|
|
250
|
+
return t.goldCardType && (t.goldCardType === 1 ? d.push("gold-card-1") : t.goldCardType === 2 && d.push("gold-card-2")), d;
|
|
251
|
+
});
|
|
252
|
+
return (d, c) => (o(), a("div", {
|
|
247
253
|
class: "card-base-individual",
|
|
248
254
|
style: f(u.value)
|
|
249
255
|
}, [
|
|
250
|
-
|
|
251
|
-
default:
|
|
256
|
+
n.value ? (o(), F(w, k({ key: 0 }, n.value, { width: e.width }), {
|
|
257
|
+
default: S(() => [
|
|
252
258
|
v(d.$slots, "default", {}, () => [
|
|
253
259
|
p.value ? (o(), a("div", {
|
|
254
260
|
key: 0,
|
|
255
261
|
style: f(u.value),
|
|
256
262
|
class: "card-base-individual__content"
|
|
257
263
|
}, [
|
|
258
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
264
|
+
e.playerPhotoUrl ? (o(), a("div", E, [
|
|
259
265
|
r("div", null, [
|
|
260
266
|
r("img", {
|
|
261
267
|
src: e.playerPhotoUrl,
|
|
262
268
|
alt: "player"
|
|
263
|
-
}, null, 8,
|
|
269
|
+
}, null, 8, R)
|
|
264
270
|
])
|
|
265
271
|
])) : l("", !0),
|
|
266
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
272
|
+
e.teamLogoUrl ? (o(), a("div", j, [
|
|
267
273
|
r("img", {
|
|
268
274
|
src: e.teamLogoUrl,
|
|
269
275
|
alt: "team"
|
|
270
|
-
}, null, 8,
|
|
276
|
+
}, null, 8, Z)
|
|
271
277
|
])) : l("", !0),
|
|
272
|
-
r("div",
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
278
|
+
r("div", {
|
|
279
|
+
class: B(["card-base-individual__content__footer", y.value])
|
|
280
|
+
}, [
|
|
281
|
+
e.footerHeaderData ? (o(), a("div", G, [
|
|
282
|
+
e.footerHeaderData.title ? (o(), a("div", W, [
|
|
283
|
+
e.footerHeaderData.title ? (o(), a("div", Y, s(e.footerHeaderData.title), 1)) : l("", !0),
|
|
284
|
+
e.footerHeaderData.title ? (o(), a("div", q, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
277
285
|
])) : l("", !0),
|
|
278
|
-
e.footerHeaderData.total ? (o(), a(
|
|
279
|
-
e.footerHeaderData.isTotalPercentage ? (o(), a("div",
|
|
280
|
-
|
|
286
|
+
e.footerHeaderData.total ? (o(), a(x, { key: 1 }, [
|
|
287
|
+
e.footerHeaderData.isTotalPercentage ? (o(), a("div", J, [
|
|
288
|
+
D(m, {
|
|
281
289
|
value: e.footerHeaderData.total,
|
|
282
290
|
"text-color": e.footerBodyData.totalTextColor,
|
|
283
291
|
color: e.footerBodyData.totalCircleColor
|
|
284
292
|
}, null, 8, ["value", "text-color", "color"])
|
|
285
|
-
])) : (o(), a("div",
|
|
293
|
+
])) : (o(), a("div", K, s(e.footerHeaderData.total), 1))
|
|
286
294
|
], 64)) : l("", !0)
|
|
287
295
|
])) : l("", !0),
|
|
288
|
-
e.footerBodyData ? (o(), a("div",
|
|
296
|
+
e.footerBodyData ? (o(), a("div", Q, [
|
|
289
297
|
r("div", {
|
|
290
298
|
class: "card-base-individual__content__footer__body__description",
|
|
291
299
|
innerHTML: e.footerBodyData.description
|
|
292
|
-
}, null, 8,
|
|
293
|
-
e.footerBodyData.total ? (o(), a(
|
|
294
|
-
e.footerBodyData.isTotalPercentage ? (o(), a("div",
|
|
295
|
-
|
|
300
|
+
}, null, 8, X),
|
|
301
|
+
e.footerBodyData.total ? (o(), a(x, { key: 0 }, [
|
|
302
|
+
e.footerBodyData.isTotalPercentage ? (o(), a("div", tt, [
|
|
303
|
+
D(m, {
|
|
296
304
|
value: e.footerBodyData.total,
|
|
297
305
|
"text-color": e.footerBodyData.totalTextColor,
|
|
298
306
|
color: e.footerBodyData.totalCircleColor
|
|
299
307
|
}, null, 8, ["value", "text-color", "color"])
|
|
300
|
-
])) : (o(), a("div",
|
|
308
|
+
])) : (o(), a("div", et, s(e.footerBodyData.total), 1))
|
|
301
309
|
], 64)) : l("", !0)
|
|
302
310
|
])) : l("", !0)
|
|
303
|
-
]),
|
|
304
|
-
r("div",
|
|
311
|
+
], 2),
|
|
312
|
+
r("div", ot, [
|
|
305
313
|
v(d.$slots, "body", {}, void 0, !0)
|
|
306
314
|
])
|
|
307
315
|
], 4)) : l("", !0)
|
|
@@ -311,7 +319,7 @@ const P = (e) => (S("data-v-8506632e"), e = e(), B(), e), w = { class: "circle__
|
|
|
311
319
|
}, 16, ["width"])) : l("", !0)
|
|
312
320
|
], 4));
|
|
313
321
|
}
|
|
314
|
-
},
|
|
322
|
+
}, dt = /* @__PURE__ */ b(at, [["__scopeId", "data-v-f78ea34f"]]);
|
|
315
323
|
export {
|
|
316
|
-
|
|
324
|
+
dt as d
|
|
317
325
|
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { computed as u, openBlock as t, createElementBlock as r, normalizeStyle as y, createBlock as S, mergeProps as w, withCtx as I, renderSlot as x, createCommentVNode as d, createElementVNode as l, toDisplayString as g, Fragment as F, renderList as L, pushScopeId as T, popScopeId as A } from "vue";
|
|
2
|
+
import { h as C, E as m, I as E, T as B } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
const v = (a) => (T("data-v-d5d56ba6"), a = a(), A(), a), H = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "card-general__content__player-img"
|
|
6
|
+
}, M = ["src"], N = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "card-general__content__team-img"
|
|
9
|
+
}, O = ["src"], V = /* @__PURE__ */ v(() => /* @__PURE__ */ l("div", { class: "card-general__content__body" }, null, -1)), $ = { class: "card-general__content__footer" }, j = { class: "card-general__content__footer__header" }, z = { class: "card-general__content__footer__header__team-logo" }, D = ["src"], P = { class: "card-general__content__footer__header__title" }, q = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "card-general__content__footer__header__total"
|
|
12
|
+
}, G = { class: "card-general__content__footer__body" }, J = ["innerHTML"], K = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "card-general__content__footer__body__sections"
|
|
15
|
+
}, Q = { class: "section__total" }, R = /* @__PURE__ */ v(() => /* @__PURE__ */ l("div", { class: "section__text" }, "PASES", -1)), U = {
|
|
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
|
+
},
|
|
31
|
+
setup(a) {
|
|
32
|
+
const e = a, p = u(() => ({
|
|
33
|
+
"--height": e.height,
|
|
34
|
+
"--width": e.width,
|
|
35
|
+
"--player-in-action-height": "410px",
|
|
36
|
+
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000",
|
|
37
|
+
"--text-color": e.data.thumbnails.colors.font_color || "#FFFFFF"
|
|
38
|
+
})), h = u(() => !e.data || !e.data.thumbnails ? null : {
|
|
39
|
+
backgroundOverlayColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
40
|
+
backgroundImageSrc: e.data.is_player ? m(e.data.thumbnails.images.background_player_in_action[0]) : m(e.data.thumbnails.images.background_team)
|
|
41
|
+
}), b = u(() => e.data ? E(e.data.description) : ""), n = u(() => {
|
|
42
|
+
if (!e.data) return null;
|
|
43
|
+
let _ = e.data.team_logo, c = e.data.sections;
|
|
44
|
+
_ && (_ = _.replace("-80", "-150")), c && (c = c.sort((o, s) => o[0] - s[0]));
|
|
45
|
+
let i = 0;
|
|
46
|
+
return c = c.reduce((o, [s, f], k) => (k % 4 === 0 && (o.push([]), i++), o[i - 1].push([s, f]), o), []).reverse().reduce((o, s) => (o.push(...s), o), []), {
|
|
47
|
+
playerInAction: e.data.thumbnails.images && e.data.thumbnails.images.player_in_action ? m(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
48
|
+
teamLogoSrc: _ || "",
|
|
49
|
+
sections: c || []
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
return (_, c) => (t(), r("div", {
|
|
53
|
+
class: "card-general",
|
|
54
|
+
style: y(p.value)
|
|
55
|
+
}, [
|
|
56
|
+
h.value ? (t(), S(B, w({ key: 0 }, h.value, { width: a.width }), {
|
|
57
|
+
default: I(() => [
|
|
58
|
+
x(_.$slots, "default", {}, () => [
|
|
59
|
+
n.value ? (t(), r("div", {
|
|
60
|
+
key: 0,
|
|
61
|
+
style: y(p.value),
|
|
62
|
+
class: "card-general__content"
|
|
63
|
+
}, [
|
|
64
|
+
a.data.is_player ? (t(), r("div", H, [
|
|
65
|
+
n.value.playerInAction ? (t(), r("img", {
|
|
66
|
+
key: 0,
|
|
67
|
+
src: n.value.playerInAction,
|
|
68
|
+
alt: "player"
|
|
69
|
+
}, null, 8, M)) : d("", !0)
|
|
70
|
+
])) : (t(), r("div", N, [
|
|
71
|
+
n.value.teamLogoSrc ? (t(), r("img", {
|
|
72
|
+
key: 0,
|
|
73
|
+
src: n.value.teamLogoSrc,
|
|
74
|
+
alt: "team"
|
|
75
|
+
}, null, 8, O)) : d("", !0)
|
|
76
|
+
])),
|
|
77
|
+
V,
|
|
78
|
+
l("div", $, [
|
|
79
|
+
l("div", j, [
|
|
80
|
+
l("div", z, [
|
|
81
|
+
a.data.team_logo ? (t(), r("img", {
|
|
82
|
+
key: 0,
|
|
83
|
+
src: a.data.team_logo,
|
|
84
|
+
alt: ""
|
|
85
|
+
}, null, 8, D)) : d("", !0)
|
|
86
|
+
]),
|
|
87
|
+
l("div", P, g(a.data.title), 1),
|
|
88
|
+
a.data.footer && a.data.footer.show_total ? (t(), r("div", q, g(a.data.total), 1)) : d("", !0)
|
|
89
|
+
]),
|
|
90
|
+
l("div", G, [
|
|
91
|
+
l("div", {
|
|
92
|
+
class: "card-general__content__footer__body__description",
|
|
93
|
+
innerHTML: b.value
|
|
94
|
+
}, null, 8, J),
|
|
95
|
+
n.value.sections && n.value.sections.length ? (t(), r("div", K, [
|
|
96
|
+
(t(!0), r(F, null, L(n.value.sections, ([i, o]) => (t(), r("div", {
|
|
97
|
+
key: i,
|
|
98
|
+
class: "section"
|
|
99
|
+
}, [
|
|
100
|
+
l("div", Q, g(o), 1),
|
|
101
|
+
R
|
|
102
|
+
]))), 128))
|
|
103
|
+
])) : d("", !0)
|
|
104
|
+
])
|
|
105
|
+
])
|
|
106
|
+
], 4)) : d("", !0)
|
|
107
|
+
], !0)
|
|
108
|
+
]),
|
|
109
|
+
_: 3
|
|
110
|
+
}, 16, ["width"])) : d("", !0)
|
|
111
|
+
], 4));
|
|
112
|
+
}
|
|
113
|
+
}, X = /* @__PURE__ */ C(U, [["__scopeId", "data-v-d5d56ba6"]]);
|
|
114
|
+
export {
|
|
115
|
+
X as default
|
|
116
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as S, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as P, mergeProps as T, withCtx as
|
|
2
|
-
import { h as
|
|
3
|
-
const z = (n) => (
|
|
1
|
+
import { useCssVars as S, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as P, mergeProps as T, withCtx as A, createElementVNode as a, createCommentVNode as s, toDisplayString as V, normalizeClass as q, pushScopeId as E, popScopeId as O } from "vue";
|
|
2
|
+
import { h as $, E as I, T as D } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
const z = (n) => (E("data-v-66deaa1d"), n = n(), O(), n), N = { class: "card-content" }, F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "side-title"
|
|
6
6
|
}, G = {
|
|
@@ -112,8 +112,8 @@ const z = (n) => (A("data-v-66deaa1d"), n = n(), O(), n), N = { class: "card-con
|
|
|
112
112
|
class: "card-general",
|
|
113
113
|
style: p(j.value)
|
|
114
114
|
}, [
|
|
115
|
-
k.value ? (e(), P(
|
|
116
|
-
default:
|
|
115
|
+
k.value ? (e(), P(D, T({ key: 0 }, k.value, { width: n.width }), {
|
|
116
|
+
default: A(() => {
|
|
117
117
|
var d, r, u, m, h, f, w, v, M, b, y, x, L, B, H;
|
|
118
118
|
return [
|
|
119
119
|
a("div", N, [
|
|
@@ -277,7 +277,7 @@ const z = (n) => (A("data-v-66deaa1d"), n = n(), O(), n), N = { class: "card-con
|
|
|
277
277
|
}, 16, ["width"])) : s("", !0)
|
|
278
278
|
], 4));
|
|
279
279
|
}
|
|
280
|
-
}, V1 = /* @__PURE__ */
|
|
280
|
+
}, V1 = /* @__PURE__ */ $(L1, [["__scopeId", "data-v-66deaa1d"]]);
|
|
281
281
|
export {
|
|
282
282
|
V1 as default
|
|
283
283
|
};
|
package/dist/{CardGeneralTeams-BugMltuL-jAVCLYwc.js → CardGeneralTeams-CwKmM2ip-1ajycpU3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCssVars as $, computed as m, openBlock as s, createElementBlock as n, normalizeStyle as p, createBlock as R, mergeProps as J, withCtx as K, createElementVNode as l, createCommentVNode as d, normalizeClass as I, toDisplayString as W, pushScopeId as Q, popScopeId as U } from "vue";
|
|
2
|
-
import { h as X,
|
|
2
|
+
import { h as X, E as Y, T as l2 } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
3
|
const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-content" }, t2 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "header-logo"
|
|
@@ -59,7 +59,7 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
59
59
|
d: "M27.875.522v22.185H30V.522h-2.125zm2.073 24.247 51.14-.26-.01-2.125-51.141.26.01 2.125zm53.192-2.322V.923h-2.125v21.524h2.125zm-2.052 2.062a2.062 2.062 0 0 0 2.052-2.062h-2.125c0-.034.028-.063.062-.063l.01 2.125zm-53.213-1.802c0 1.143.93 2.068 2.073 2.062l-.011-2.125c.035 0 .063.028.063.063h-2.125z",
|
|
60
60
|
fill: "#DFE3E2",
|
|
61
61
|
mask: "url(#5ohic8w7pe)"
|
|
62
|
-
}, null, -1)), x2 = ["stroke"], y2 = ["fill", "stroke"], Z2 = ["fill"],
|
|
62
|
+
}, null, -1)), x2 = ["stroke"], y2 = ["fill", "stroke"], Z2 = ["fill"], E2 = ["stroke"], V2 = {
|
|
63
63
|
key: 1,
|
|
64
64
|
width: "137",
|
|
65
65
|
height: "213",
|
|
@@ -239,9 +239,9 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
239
239
|
"fill-rule": "evenodd",
|
|
240
240
|
"clip-rule": "evenodd",
|
|
241
241
|
d: "M26.4072 0.47532L26.4072 20.674C26.4072 21.1785 26.8176 21.5868 27.3221 21.5842L73.8847 21.348C74.3856 21.3454 74.7903 20.9386 74.7903 20.4377L74.7903 0.840146"
|
|
242
|
-
}, null, -1)),
|
|
242
|
+
}, null, -1)), E1 = [
|
|
243
243
|
Z1
|
|
244
|
-
],
|
|
244
|
+
], V1 = ["fill"], F1 = ["stroke"], D1 = ["fill", "stroke"], q1 = ["fill"], H1 = {
|
|
245
245
|
key: 0,
|
|
246
246
|
width: "33",
|
|
247
247
|
height: "38",
|
|
@@ -319,7 +319,7 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
319
319
|
}, [
|
|
320
320
|
f.value ? (s(), R(l2, J({ key: 0 }, f.value, { width: c.width }), {
|
|
321
321
|
default: K(() => {
|
|
322
|
-
var e, h, u, k, L, g, v, z, M, C, w, _, b, x, y, Z,
|
|
322
|
+
var e, h, u, k, L, g, v, z, M, C, w, _, b, x, y, Z, E, V, F, D, q, H, B, S, j, T;
|
|
323
323
|
return [
|
|
324
324
|
l("div", a2, [
|
|
325
325
|
(h = (e = a.data) == null ? void 0 : e.categories) != null && h.some((r) => [2, 20].includes(r)) ? d("", !0) : (s(), n("div", t2, [
|
|
@@ -398,9 +398,9 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
398
398
|
d: "M46.94 86.447a5.13 5.13 0 1 1-10.262 0 5.13 5.13 0 0 1 10.262 0zM77.082 48.608a5.13 5.13 0 1 1-10.262 0 5.13 5.13 0 0 1 10.262 0zM77.082 130.059a5.131 5.131 0 1 1-10.263 0 5.131 5.131 0 0 1 10.263 0z",
|
|
399
399
|
stroke: a.data.thumbnails.colors.graphic_color,
|
|
400
400
|
"stroke-width": "1.283"
|
|
401
|
-
}, null, 8,
|
|
401
|
+
}, null, 8, E2)
|
|
402
402
|
])) : d("", !0),
|
|
403
|
-
(v = (g = a.data) == null ? void 0 : g.categories) != null && v.some((r) => [2, 20].includes(r)) ? (s(), n("svg",
|
|
403
|
+
(v = (g = a.data) == null ? void 0 : g.categories) != null && v.some((r) => [2, 20].includes(r)) ? (s(), n("svg", V2, [
|
|
404
404
|
l("path", {
|
|
405
405
|
opacity: ".6",
|
|
406
406
|
fill: a.data.thumbnails.colors.graphic_color_2,
|
|
@@ -524,12 +524,12 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
524
524
|
l("mask", {
|
|
525
525
|
id: "path-9-inside-5_4021_72345",
|
|
526
526
|
fill: a.data.thumbnails.colors.graphic_color
|
|
527
|
-
},
|
|
527
|
+
}, E1, 8, y1),
|
|
528
528
|
l("path", {
|
|
529
529
|
d: "M25.4398 0.47532L25.4398 20.674L27.3746 20.674L27.3746 0.47532L25.4398 0.47532ZM27.327 22.5516L73.8896 22.3153L73.8798 20.3806L27.3172 20.6168L27.327 22.5516ZM75.7577 20.4377L75.7577 0.840146L73.8229 0.840146L73.8229 20.4377L75.7577 20.4377ZM73.8896 22.3153C74.9228 22.3101 75.7577 21.471 75.7577 20.4377L73.8229 20.4377C73.8229 20.4063 73.8483 20.3807 73.8798 20.3806L73.8896 22.3153ZM25.4398 20.674C25.4398 21.7147 26.2863 22.5569 27.327 22.5516L27.3172 20.6168C27.3488 20.6167 27.3746 20.6423 27.3746 20.674L25.4398 20.674Z",
|
|
530
530
|
fill: a.data.thumbnails.colors.graphic_color,
|
|
531
531
|
mask: "url(#path-9-inside-5_4021_72345)"
|
|
532
|
-
}, null, 8,
|
|
532
|
+
}, null, 8, V1),
|
|
533
533
|
l("path", {
|
|
534
534
|
d: "M50.5949 57.0489C62.4737 57.0489 72.1035 66.679 72.1035 78.5585C72.1035 90.4379 62.4737 100.068 50.5949 100.068C38.716 100.068 29.0862 90.4379 29.0862 78.5585C29.0862 66.679 38.716 57.0489 50.5949 57.0489Z",
|
|
535
535
|
stroke: a.data.thumbnails.colors.graphic_color,
|
|
@@ -627,7 +627,7 @@ const t = (c) => (Q("data-v-1581c0df"), c = c(), U(), c), a2 = { class: "card-co
|
|
|
627
627
|
l("h2", {
|
|
628
628
|
class: "card-title",
|
|
629
629
|
style: p({
|
|
630
|
-
color: ((F = (
|
|
630
|
+
color: ((F = (V = (E = a.data) == null ? void 0 : E.thumbnails) == null ? void 0 : V.colors) == null ? void 0 : F.font_color_description) || "white"
|
|
631
631
|
})
|
|
632
632
|
}, W((D = a.data) == null ? void 0 : D.title), 5),
|
|
633
633
|
l("p", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as C, computed as p, openBlock as l, createElementBlock as c, normalizeStyle as F, createBlock as _, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as h, createCommentVNode as d, createTextVNode as D, pushScopeId as E, popScopeId as q } from "vue";
|
|
2
|
-
import { h as b,
|
|
3
|
-
import {
|
|
2
|
+
import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
import { d as O } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
|
|
4
4
|
const u = {
|
|
5
5
|
props: {
|
|
6
6
|
cancha: {
|
package/dist/{CardIndividual1vs1-DxmYXrZt-VWRE1Jnn.js → CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as d, openBlock as o, createElementBlock as l, normalizeStyle as M, createVNode as m, normalizeProps as Z, guardReactiveProps as w, withCtx as g, createElementVNode as t, toDisplayString as y, Fragment as c, pushScopeId as F, popScopeId as k } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { h as v,
|
|
2
|
+
import { d as x } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
|
|
3
|
+
import { h as v, z as H, P as b, E as V, I as S, O as B } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
4
4
|
const f = (a) => (F("data-v-c9351332"), a = a(), k(), a), E = { class: "onevsone__body" }, U = { class: "onevsone__body__title" }, O = { class: "contsvg" }, I = /* @__PURE__ */ f(() => /* @__PURE__ */ t("svg", {
|
|
5
5
|
width: "245",
|
|
6
6
|
height: "220",
|