@golstats/gsc-landing 1.0.200 → 1.0.202
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-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
- package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
- package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
- package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
- package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
- package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
- package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
- package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
- package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
- package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
- package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
- package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
- package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
- package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
- package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +200 -157
- package/dist/gsc-landing.umd.cjs +62 -62
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
- package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
- package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
- package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
- package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
- package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as
|
|
2
|
-
import { h as
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as w, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as H, toDisplayString as s, Fragment as D, createVNode as b } from "vue";
|
|
2
|
+
import { h as k, T } from "./misc-D94RabGe-BRVOC8Yx.js";
|
|
3
|
+
const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suffix" }, N = ["width", "height", "viewBox"], z = ["stroke"], U = ["stroke"], I = ["stop-color"], M = ["stop-color"], V = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
6
6
|
height: {
|
|
@@ -43,14 +43,14 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
43
43
|
"--value-font-size": `${t.valueFontSize}px`,
|
|
44
44
|
"--suffix-font-size": `${t.suffixFontSize}px`,
|
|
45
45
|
"--color": t.textColor
|
|
46
|
-
})),
|
|
46
|
+
})), f = `linear-gradient-${Date.now()}`;
|
|
47
47
|
return (y, d) => (o(), a("div", {
|
|
48
48
|
class: "circle",
|
|
49
49
|
style: p(n.value)
|
|
50
50
|
}, [
|
|
51
|
-
r("div",
|
|
52
|
-
r("span",
|
|
53
|
-
r("span",
|
|
51
|
+
r("div", P, [
|
|
52
|
+
r("span", $, s(e.value), 1),
|
|
53
|
+
r("span", L, s(e.suffix), 1)
|
|
54
54
|
]),
|
|
55
55
|
(o(), a("svg", {
|
|
56
56
|
width: n.value["--width"],
|
|
@@ -62,70 +62,70 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
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(#${f})`,
|
|
66
66
|
"stroke-width": "3.14",
|
|
67
67
|
"stroke-linecap": "round"
|
|
68
|
-
}, null, 8,
|
|
68
|
+
}, null, 8, z),
|
|
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, U),
|
|
76
76
|
r("defs", null, [
|
|
77
77
|
r("linearGradient", {
|
|
78
|
-
id:
|
|
78
|
+
id: f,
|
|
79
79
|
x1: "34.5",
|
|
80
80
|
y1: "2",
|
|
81
81
|
x2: "34.5",
|
|
82
82
|
y2: "66",
|
|
83
83
|
gradientUnits: "userSpaceOnUse"
|
|
84
84
|
}, [
|
|
85
|
-
r("stop", { "stop-color": e.color }, null, 8,
|
|
85
|
+
r("stop", { "stop-color": e.color }, null, 8, I),
|
|
86
86
|
r("stop", {
|
|
87
87
|
offset: "1",
|
|
88
88
|
"stop-color": e.color
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, M)
|
|
90
90
|
])
|
|
91
91
|
])
|
|
92
|
-
], 8,
|
|
92
|
+
], 8, N))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
},
|
|
95
|
+
}, m = /* @__PURE__ */ k(V, [["__scopeId", "data-v-b9adcb76"]]), O = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, A = ["src"], E = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
|
-
},
|
|
101
|
+
}, R = ["src"], j = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "card-base-individual__content__footer__header"
|
|
104
|
-
},
|
|
104
|
+
}, Z = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "card-base-individual__content__footer__header__title-and-sub ts"
|
|
107
|
-
},
|
|
107
|
+
}, G = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "card-base-individual__content__footer__header__title"
|
|
110
|
-
},
|
|
110
|
+
}, W = {
|
|
111
111
|
key: 1,
|
|
112
112
|
class: "card-base-individual__content__footer__header__subtitle"
|
|
113
|
-
},
|
|
113
|
+
}, Y = {
|
|
114
114
|
key: 0,
|
|
115
115
|
class: "th"
|
|
116
|
-
},
|
|
116
|
+
}, q = {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "total th"
|
|
119
|
-
},
|
|
119
|
+
}, J = {
|
|
120
120
|
key: 1,
|
|
121
121
|
class: "card-base-individual__content__footer__body"
|
|
122
|
-
},
|
|
122
|
+
}, K = ["innerHTML"], Q = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "total-b"
|
|
125
|
-
},
|
|
125
|
+
}, X = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "total total-b"
|
|
128
|
-
},
|
|
128
|
+
}, tt = { class: "card-base-individual__content__body" }, et = {
|
|
129
129
|
__name: "CardBaseAllIndividual",
|
|
130
130
|
props: {
|
|
131
131
|
height: {
|
|
@@ -146,6 +146,7 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
146
146
|
* isTotalLeft: boolean,
|
|
147
147
|
* isTotalPercentage: boolean,
|
|
148
148
|
* textColor: string,
|
|
149
|
+
* totalBorderColor: string,
|
|
149
150
|
* }
|
|
150
151
|
* */
|
|
151
152
|
default: () => null
|
|
@@ -161,6 +162,7 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
161
162
|
* totalTextColor: string,
|
|
162
163
|
* totalCircleColor: string,
|
|
163
164
|
* textColor: string,
|
|
165
|
+
* totalBorderColor: string,
|
|
164
166
|
* }
|
|
165
167
|
* */
|
|
166
168
|
default: () => null
|
|
@@ -212,27 +214,32 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
212
214
|
goldCardType: {
|
|
213
215
|
type: Number,
|
|
214
216
|
default: 0
|
|
217
|
+
},
|
|
218
|
+
showVideos: {
|
|
219
|
+
type: Boolean,
|
|
220
|
+
default: !0
|
|
215
221
|
}
|
|
216
222
|
},
|
|
217
223
|
setup(e) {
|
|
218
224
|
const t = e, u = i(() => {
|
|
219
|
-
var d,
|
|
220
|
-
const
|
|
225
|
+
var d, c, h, g, _, C;
|
|
226
|
+
const v = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, F = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
|
|
221
227
|
return {
|
|
222
228
|
"--height": t.height,
|
|
223
229
|
"--width": t.width,
|
|
224
230
|
"--footer-background-color": t.cardColor || "#000000",
|
|
225
231
|
"--text-color": t.goldCardType ? "#FFFFFF" : t.textColor || "#FFFFFF",
|
|
226
232
|
"--footer-body-text-color": t.goldCardType ? "#FFFFFF" : ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
|
|
227
|
-
"--footer-header-text-color": ((
|
|
233
|
+
"--footer-header-text-color": ((c = t.footerHeaderData) == null ? void 0 : c.textColor) || "#FFFFFF",
|
|
234
|
+
"--total-border": `1.6px solid ${((h = t.footerBodyData) == null ? void 0 : h.totalBorderColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalBorderColor) || "#FFFFFF"}`,
|
|
228
235
|
"--footer-height": t.footerHeight,
|
|
229
236
|
"--footer-width": t.goldCardType ? "263px" : "auto",
|
|
230
237
|
"--footer-padding": t.footerPadding,
|
|
231
|
-
"--total-color": t.goldCardType ? "#FFFFFF" : ((
|
|
232
|
-
"--description-text-align":
|
|
233
|
-
"--footer-body-template-columns":
|
|
234
|
-
"--footer-header-template-columns":
|
|
235
|
-
"--footer-header-grid-areas":
|
|
238
|
+
"--total-color": t.goldCardType ? "#FFFFFF" : ((_ = t.footerBodyData) == null ? void 0 : _.totalTextColor) || ((C = t.footerHeaderData) == null ? void 0 : C.totalTextColor) || "#FFFFFF",
|
|
239
|
+
"--description-text-align": v || t.footerHeaderData ? "left" : "center",
|
|
240
|
+
"--footer-body-template-columns": v ? "1fr min-content" : "1fr",
|
|
241
|
+
"--footer-header-template-columns": F ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
|
|
242
|
+
"--footer-header-grid-areas": F ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
|
|
236
243
|
"--player-photo-position-top": t.playerPhotoPositionTop,
|
|
237
244
|
"--player-photo-position-left": t.playerPhotoPositionLeft,
|
|
238
245
|
"--player-photo-position-right": t.playerPhotoPositionRight,
|
|
@@ -241,76 +248,76 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
241
248
|
}), n = i(() => ({
|
|
242
249
|
backgroundOverlayColor: t.cardColor,
|
|
243
250
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
244
|
-
isPlayButtonVisible:
|
|
251
|
+
isPlayButtonVisible: t.showVideos,
|
|
245
252
|
goldCardType: t.goldCardType
|
|
246
|
-
})),
|
|
253
|
+
})), f = i(() => ({}));
|
|
247
254
|
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
248
255
|
const y = i(() => {
|
|
249
256
|
const d = [];
|
|
250
257
|
return t.goldCardType && (t.goldCardType === 1 ? d.push("gold-card-1") : t.goldCardType === 2 && d.push("gold-card-2")), d;
|
|
251
258
|
});
|
|
252
|
-
return (d,
|
|
259
|
+
return (d, c) => (o(), a("div", {
|
|
253
260
|
class: "card-base-individual",
|
|
254
261
|
style: p(u.value)
|
|
255
262
|
}, [
|
|
256
|
-
n.value ? (o(),
|
|
257
|
-
default:
|
|
258
|
-
|
|
259
|
-
|
|
263
|
+
n.value ? (o(), B(T, S({ key: 0 }, n.value, { width: e.width }), {
|
|
264
|
+
default: w(() => [
|
|
265
|
+
x(d.$slots, "default", {}, () => [
|
|
266
|
+
f.value ? (o(), a("div", {
|
|
260
267
|
key: 0,
|
|
261
268
|
style: p(u.value),
|
|
262
269
|
class: "card-base-individual__content"
|
|
263
270
|
}, [
|
|
264
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
271
|
+
e.playerPhotoUrl ? (o(), a("div", O, [
|
|
265
272
|
r("div", null, [
|
|
266
273
|
r("img", {
|
|
267
274
|
src: e.playerPhotoUrl,
|
|
268
275
|
alt: "player"
|
|
269
|
-
}, null, 8,
|
|
276
|
+
}, null, 8, A)
|
|
270
277
|
])
|
|
271
278
|
])) : l("", !0),
|
|
272
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
279
|
+
e.teamLogoUrl ? (o(), a("div", E, [
|
|
273
280
|
r("img", {
|
|
274
281
|
src: e.teamLogoUrl,
|
|
275
282
|
alt: "team"
|
|
276
|
-
}, null, 8,
|
|
283
|
+
}, null, 8, R)
|
|
277
284
|
])) : l("", !0),
|
|
278
285
|
r("div", {
|
|
279
|
-
class:
|
|
286
|
+
class: H(["card-base-individual__content__footer", y.value])
|
|
280
287
|
}, [
|
|
281
|
-
e.footerHeaderData ? (o(), a("div",
|
|
282
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
283
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
284
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
288
|
+
e.footerHeaderData ? (o(), a("div", j, [
|
|
289
|
+
e.footerHeaderData.title ? (o(), a("div", Z, [
|
|
290
|
+
e.footerHeaderData.title ? (o(), a("div", G, s(e.footerHeaderData.title), 1)) : l("", !0),
|
|
291
|
+
e.footerHeaderData.title ? (o(), a("div", W, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
285
292
|
])) : l("", !0),
|
|
286
|
-
e.footerHeaderData.total ? (o(), a(
|
|
287
|
-
e.footerHeaderData.isTotalPercentage ? (o(), a("div",
|
|
288
|
-
|
|
293
|
+
e.footerHeaderData.total ? (o(), a(D, { key: 1 }, [
|
|
294
|
+
e.footerHeaderData.isTotalPercentage ? (o(), a("div", Y, [
|
|
295
|
+
b(m, {
|
|
289
296
|
value: e.footerHeaderData.total,
|
|
290
297
|
"text-color": e.footerBodyData.totalTextColor,
|
|
291
298
|
color: e.footerBodyData.totalCircleColor
|
|
292
299
|
}, null, 8, ["value", "text-color", "color"])
|
|
293
|
-
])) : (o(), a("div",
|
|
300
|
+
])) : (o(), a("div", q, s(e.footerHeaderData.total), 1))
|
|
294
301
|
], 64)) : l("", !0)
|
|
295
302
|
])) : l("", !0),
|
|
296
|
-
e.footerBodyData ? (o(), a("div",
|
|
303
|
+
e.footerBodyData ? (o(), a("div", J, [
|
|
297
304
|
r("div", {
|
|
298
305
|
class: "card-base-individual__content__footer__body__description",
|
|
299
306
|
innerHTML: e.footerBodyData.description
|
|
300
|
-
}, null, 8,
|
|
301
|
-
e.footerBodyData.total ? (o(), a(
|
|
302
|
-
e.footerBodyData.isTotalPercentage ? (o(), a("div",
|
|
303
|
-
|
|
307
|
+
}, null, 8, K),
|
|
308
|
+
e.footerBodyData.total ? (o(), a(D, { key: 0 }, [
|
|
309
|
+
e.footerBodyData.isTotalPercentage ? (o(), a("div", Q, [
|
|
310
|
+
b(m, {
|
|
304
311
|
value: e.footerBodyData.total,
|
|
305
312
|
"text-color": e.footerBodyData.totalTextColor,
|
|
306
313
|
color: e.footerBodyData.totalCircleColor
|
|
307
314
|
}, null, 8, ["value", "text-color", "color"])
|
|
308
|
-
])) : (o(), a("div",
|
|
315
|
+
])) : (o(), a("div", X, s(e.footerBodyData.total), 1))
|
|
309
316
|
], 64)) : l("", !0)
|
|
310
317
|
])) : l("", !0)
|
|
311
318
|
], 2),
|
|
312
|
-
r("div",
|
|
313
|
-
|
|
319
|
+
r("div", tt, [
|
|
320
|
+
x(d.$slots, "body", {}, void 0, !0)
|
|
314
321
|
])
|
|
315
322
|
], 4)) : l("", !0)
|
|
316
323
|
], !0)
|
|
@@ -319,7 +326,7 @@ const T = { class: "circle__total" }, w = { class: "total" }, P = { class: "suff
|
|
|
319
326
|
}, 16, ["width"])) : l("", !0)
|
|
320
327
|
], 4));
|
|
321
328
|
}
|
|
322
|
-
},
|
|
329
|
+
}, rt = /* @__PURE__ */ k(et, [["__scopeId", "data-v-c55bb714"]]);
|
|
323
330
|
export {
|
|
324
|
-
|
|
331
|
+
rt as r
|
|
325
332
|
};
|