@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
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { computed as l, openBlock as n, createElementBlock as s, normalizeClass as u, normalizeStyle as p, createCommentVNode as c, createElementVNode as d, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
|
|
2
|
+
import { q as h } from "./index-Clf4kqRY.js";
|
|
3
|
+
function z(t = "") {
|
|
4
|
+
const e = t.split("");
|
|
5
|
+
let r = 1;
|
|
6
|
+
return e.reduce((a, o) => (o === "*" ? (r % 2 === 0 ? a += "</span>" : a += '<span class="text-bold">', r++) : a += o, a), "");
|
|
7
|
+
}
|
|
8
|
+
function E({ data: t, descriptionType: e }) {
|
|
9
|
+
switch (e) {
|
|
10
|
+
case 1:
|
|
11
|
+
return t.finish_first_person_description;
|
|
12
|
+
case 2:
|
|
13
|
+
return t.first_person_description;
|
|
14
|
+
case 3:
|
|
15
|
+
return t.finish_third_person_description;
|
|
16
|
+
case 4:
|
|
17
|
+
return t.third_person_description;
|
|
18
|
+
case 5:
|
|
19
|
+
return t.finish_description;
|
|
20
|
+
case 6:
|
|
21
|
+
return t.description;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function T(t) {
|
|
25
|
+
return `https://az755631.vo.msecnd.net/teams-80/${t}.png`;
|
|
26
|
+
}
|
|
27
|
+
function $(t) {
|
|
28
|
+
return `https://az755631.vo.msecnd.net/players-profile/${t}.png`;
|
|
29
|
+
}
|
|
30
|
+
function I(t) {
|
|
31
|
+
return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
|
|
32
|
+
}
|
|
33
|
+
function A(t) {
|
|
34
|
+
if (t.includes("*")) {
|
|
35
|
+
let e = "";
|
|
36
|
+
const r = t.match(/\*(.*?)\*/);
|
|
37
|
+
return r && (e = r[1]), {
|
|
38
|
+
title: e.trim(),
|
|
39
|
+
subtitle: t.replace(/\*(.*?)\*/, "").trim()
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
title: t,
|
|
44
|
+
subtitle: ""
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const b = (t, e) => {
|
|
48
|
+
const r = t.__vccOpts || t;
|
|
49
|
+
for (const [a, o] of e)
|
|
50
|
+
r[a] = o;
|
|
51
|
+
return r;
|
|
52
|
+
}, m = (t) => (y("data-v-03a48352"), t = t(), f(), t), v = {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "card-base__background-image"
|
|
55
|
+
}, _ = ["src"], k = {
|
|
56
|
+
key: 1,
|
|
57
|
+
class: "card-base__background-overlay"
|
|
58
|
+
}, w = { class: "card-base__slot" }, S = /* @__PURE__ */ m(() => /* @__PURE__ */ d("svg", {
|
|
59
|
+
width: "60",
|
|
60
|
+
height: "60",
|
|
61
|
+
viewBox: "0 0 60 60",
|
|
62
|
+
fill: "none",
|
|
63
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
64
|
+
}, [
|
|
65
|
+
/* @__PURE__ */ d("circle", {
|
|
66
|
+
cx: "30",
|
|
67
|
+
cy: "30",
|
|
68
|
+
r: "30",
|
|
69
|
+
fill: "#0E1E2A",
|
|
70
|
+
"fill-opacity": ".96"
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ d("circle", {
|
|
73
|
+
cx: "30",
|
|
74
|
+
cy: "30",
|
|
75
|
+
r: "26.6",
|
|
76
|
+
stroke: "#757575",
|
|
77
|
+
"stroke-width": ".8"
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ d("path", {
|
|
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",
|
|
81
|
+
fill: "#CBEE6B"
|
|
82
|
+
})
|
|
83
|
+
], -1)), C = [
|
|
84
|
+
S
|
|
85
|
+
], x = {
|
|
86
|
+
__name: "CardBase",
|
|
87
|
+
props: {
|
|
88
|
+
height: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: "445px"
|
|
91
|
+
},
|
|
92
|
+
width: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: "319px"
|
|
95
|
+
},
|
|
96
|
+
backgroundOverlayColor: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: "#000000"
|
|
99
|
+
},
|
|
100
|
+
backgroundOverlayOpacity: {
|
|
101
|
+
type: String,
|
|
102
|
+
default: "0.8"
|
|
103
|
+
},
|
|
104
|
+
backgroundImageSrc: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: ""
|
|
107
|
+
},
|
|
108
|
+
overflow: {
|
|
109
|
+
type: String,
|
|
110
|
+
default: "visible"
|
|
111
|
+
},
|
|
112
|
+
borderRadius: {
|
|
113
|
+
type: String,
|
|
114
|
+
default: "15px"
|
|
115
|
+
},
|
|
116
|
+
isPlayButtonVisible: {
|
|
117
|
+
type: Boolean,
|
|
118
|
+
default: !0
|
|
119
|
+
},
|
|
120
|
+
goldCardType: {
|
|
121
|
+
type: Number,
|
|
122
|
+
default: 0
|
|
123
|
+
},
|
|
124
|
+
showVideos: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: !0
|
|
127
|
+
},
|
|
128
|
+
idAux: {
|
|
129
|
+
type: String,
|
|
130
|
+
default: ""
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
setup(t) {
|
|
134
|
+
const e = t, r = l(() => ({
|
|
135
|
+
"--height": e.height,
|
|
136
|
+
"--width": e.width,
|
|
137
|
+
"--background-overlay-color": e.backgroundOverlayColor,
|
|
138
|
+
"--overflow": e.overflow,
|
|
139
|
+
"--border-radius": e.borderRadius,
|
|
140
|
+
"--background-overlay-opacity": e.backgroundOverlayOpacity,
|
|
141
|
+
"--background-gold-size": `${e.width} ${e.height}`
|
|
142
|
+
})), a = l(() => {
|
|
143
|
+
const i = [];
|
|
144
|
+
return e.goldCardType && (e.goldCardType === 1 ? i.push("gold-card-1") : e.goldCardType === 2 && i.push("gold-card-2")), i;
|
|
145
|
+
});
|
|
146
|
+
function o() {
|
|
147
|
+
h.emit(e.idAux);
|
|
148
|
+
}
|
|
149
|
+
return (i, B) => (n(), s("div", {
|
|
150
|
+
class: u(["card-base", a.value]),
|
|
151
|
+
style: p(r.value)
|
|
152
|
+
}, [
|
|
153
|
+
t.goldCardType ? c("", !0) : (n(), s("div", v, [
|
|
154
|
+
t.backgroundImageSrc ? (n(), s("img", {
|
|
155
|
+
key: 0,
|
|
156
|
+
src: t.backgroundImageSrc,
|
|
157
|
+
alt: ""
|
|
158
|
+
}, null, 8, _)) : c("", !0)
|
|
159
|
+
])),
|
|
160
|
+
t.goldCardType ? c("", !0) : (n(), s("div", k)),
|
|
161
|
+
d("div", w, [
|
|
162
|
+
g(i.$slots, "default", {}, void 0, !0)
|
|
163
|
+
]),
|
|
164
|
+
t.isPlayButtonVisible && t.showVideos ? (n(), s("div", {
|
|
165
|
+
key: 2,
|
|
166
|
+
class: "card-base__play",
|
|
167
|
+
onClick: o
|
|
168
|
+
}, C)) : c("", !0)
|
|
169
|
+
], 6));
|
|
170
|
+
}
|
|
171
|
+
}, N = /* @__PURE__ */ b(x, [["__scopeId", "data-v-03a48352"]]);
|
|
172
|
+
export {
|
|
173
|
+
N as $,
|
|
174
|
+
E as A,
|
|
175
|
+
A as E,
|
|
176
|
+
T as O,
|
|
177
|
+
z as P,
|
|
178
|
+
$ as V,
|
|
179
|
+
b as m,
|
|
180
|
+
I as z
|
|
181
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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,
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createElementVNode as r, toDisplayString as n, createBlock as B, mergeProps as H, withCtx as w, renderSlot as D, createCommentVNode as l, normalizeClass as T, Fragment as m, createVNode as b } from "vue";
|
|
2
|
+
import { m as k, $ as P } from "./CardBase-ChDCLySs-BnJ37O3_.js";
|
|
3
|
+
const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suffix" }, N = ["width", "height", "viewBox"], U = ["stroke"], A = ["stroke"], I = ["stop-color"], M = ["stop-color"], V = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
6
6
|
height: {
|
|
@@ -48,8 +48,8 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
48
48
|
class: "circle",
|
|
49
49
|
style: p(s.value)
|
|
50
50
|
}, [
|
|
51
|
-
r("div",
|
|
52
|
-
r("span",
|
|
51
|
+
r("div", $, [
|
|
52
|
+
r("span", L, n(e.value), 1),
|
|
53
53
|
r("span", z, n(e.suffix), 1)
|
|
54
54
|
]),
|
|
55
55
|
(o(), a("svg", {
|
|
@@ -72,7 +72,7 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
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
78
|
id: f,
|
|
@@ -82,20 +82,20 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
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
92
|
], 8, N))
|
|
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 = {
|
|
@@ -223,6 +223,10 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
223
223
|
showVideos: {
|
|
224
224
|
type: Boolean,
|
|
225
225
|
default: !0
|
|
226
|
+
},
|
|
227
|
+
idAux: {
|
|
228
|
+
type: String,
|
|
229
|
+
default: ""
|
|
226
230
|
}
|
|
227
231
|
},
|
|
228
232
|
setup(e) {
|
|
@@ -255,6 +259,7 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
255
259
|
backgroundOverlayColor: t.cardColor,
|
|
256
260
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
257
261
|
isPlayButtonVisible: t.showVideos,
|
|
262
|
+
idAux: t.idAux,
|
|
258
263
|
goldCardType: t.goldCardType
|
|
259
264
|
})), f = i(() => ({}));
|
|
260
265
|
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
@@ -279,7 +284,7 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
279
284
|
r("img", {
|
|
280
285
|
src: e.playerPhotoUrl,
|
|
281
286
|
alt: "player"
|
|
282
|
-
}, null, 8,
|
|
287
|
+
}, null, 8, E)
|
|
283
288
|
])
|
|
284
289
|
])) : l("", !0),
|
|
285
290
|
e.teamLogoUrl ? (o(), a("div", R, [
|
|
@@ -299,9 +304,9 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
299
304
|
])) : l("", !0),
|
|
300
305
|
e.footerHeaderData.title && !e.footerHeaderData.areTitleSubtitleSameLine ? (o(), a("div", q, n(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
301
306
|
])) : l("", !0),
|
|
302
|
-
e.footerHeaderData.total ? (o(), a(
|
|
307
|
+
e.footerHeaderData.total ? (o(), a(m, { key: 1 }, [
|
|
303
308
|
e.footerHeaderData.isTotalPercentage ? (o(), a("div", J, [
|
|
304
|
-
|
|
309
|
+
b(S, {
|
|
305
310
|
value: e.footerHeaderData.total,
|
|
306
311
|
"text-color": e.footerBodyData.totalTextColor,
|
|
307
312
|
color: e.footerBodyData.totalCircleColor
|
|
@@ -314,9 +319,9 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
314
319
|
class: "card-base-individual__content__footer__body__description",
|
|
315
320
|
innerHTML: e.footerBodyData.description
|
|
316
321
|
}, null, 8, X),
|
|
317
|
-
e.footerBodyData.total ? (o(), a(
|
|
322
|
+
e.footerBodyData.total ? (o(), a(m, { key: 0 }, [
|
|
318
323
|
e.footerBodyData.isTotalPercentage ? (o(), a("div", tt, [
|
|
319
|
-
|
|
324
|
+
b(S, {
|
|
320
325
|
value: e.footerBodyData.total,
|
|
321
326
|
"text-color": e.footerBodyData.totalTextColor,
|
|
322
327
|
color: e.footerBodyData.totalCircleColor
|
|
@@ -335,7 +340,8 @@ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suff
|
|
|
335
340
|
}, 16, ["width"])) : l("", !0)
|
|
336
341
|
], 4));
|
|
337
342
|
}
|
|
338
|
-
}, dt = /* @__PURE__ */
|
|
343
|
+
}, dt = /* @__PURE__ */ k(at, [["__scopeId", "data-v-f5d6a13d"]]);
|
|
339
344
|
export {
|
|
345
|
+
S as B,
|
|
340
346
|
dt as d
|
|
341
347
|
};
|