@golstats/gsc-relevant-data 1.0.15 → 1.0.17

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.
Files changed (36) hide show
  1. package/dist/CardBase-FI6JXGHQ-CIl1rArT.js +127 -0
  2. package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js} +20 -16
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-CA0zyzc5-hoalFeRn.js} +97 -89
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-CGvW_cNJ-Brc4719X.js} +54 -46
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-B2Mt_1ck-DGtGp0kz.js} +61 -53
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-CVuyIMNJ-DrLJnLyX.js} +109 -101
  7. package/dist/CardIndividual1vs1-CHGIwVW_-D_F1FbBt.js +113 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-CTSkG6vH-3wFR3TUs.js} +59 -54
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CtOymA-1-BTSaAuY0.js} +114 -109
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BEunwEvl-C_sM7SpW.js} +35 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-BZmy1C5v-BTMzgLW1.js} +131 -126
  12. package/dist/CardIndividualGoalParticipation-BfQRXmuo-vKrLnbqm.js +116 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-DG9vgQml-DWpZJnKo.js} +276 -220
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Rwil02C5-DYINqkd_.js} +40 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-DKrbZDyK-CM2EQxJ0.js} +62 -57
  16. package/dist/CardIndividualPerformance-BxmlC3DF-Lmt78Lsh.js +108 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-CpNX7tF6-AJJP0O8L.js} +50 -42
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-Bz2egr4P-Cu0PvN_8.js} +71 -66
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-SG4MGex_-DwyDsIaG.js} +34 -29
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-Crs0KmXt-jQlLG_tC.js} +42 -34
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-BCOa64Fb-D-vP5feB.js} +138 -133
  22. package/dist/CardTheMostProductive-BewV6KUX-B-aUc9v5.js +81 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-BXHW1pPv-D9k8N9rs.js} +8 -8
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DrqywZtU-FXKCGenl.js} +6 -6
  25. package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
  26. package/dist/gsc-relevant-data.css +1 -1
  27. package/dist/gsc-relevant-data.js +2 -5021
  28. package/dist/gsc-relevant-data.umd.cjs +6 -6
  29. package/dist/index-SSELSqE0.js +5207 -0
  30. package/package.json +2 -2
  31. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  32. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  33. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  34. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  35. package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
  36. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -0,0 +1,127 @@
1
+ import { computed as u, openBlock as t, createElementBlock as o, normalizeClass as n, normalizeStyle as p, createCommentVNode as c, createElementVNode as l, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
2
+ import { M as b, z as v } from "./index-SSELSqE0.js";
3
+ const h = (e, r) => {
4
+ const d = e.__vccOpts || e;
5
+ for (const [i, s] of r)
6
+ d[i] = s;
7
+ return d;
8
+ }, k = (e) => (y("data-v-32f11850"), e = e(), f(), e), m = {
9
+ key: 0,
10
+ class: "card-base__background-image"
11
+ }, w = ["src"], S = {
12
+ key: 1,
13
+ class: "card-base__background-overlay"
14
+ }, _ = { class: "card-base__slot" }, C = /* @__PURE__ */ k(() => /* @__PURE__ */ l("svg", {
15
+ width: "60",
16
+ height: "60",
17
+ viewBox: "0 0 60 60",
18
+ fill: "none",
19
+ xmlns: "http://www.w3.org/2000/svg"
20
+ }, [
21
+ /* @__PURE__ */ l("circle", {
22
+ cx: "30",
23
+ cy: "30",
24
+ r: "30",
25
+ fill: "#0E1E2A",
26
+ "fill-opacity": ".96"
27
+ }),
28
+ /* @__PURE__ */ l("circle", {
29
+ cx: "30",
30
+ cy: "30",
31
+ r: "26.6",
32
+ stroke: "#757575",
33
+ "stroke-width": ".8"
34
+ }),
35
+ /* @__PURE__ */ l("path", {
36
+ 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",
37
+ fill: "#CBEE6B"
38
+ })
39
+ ], -1)), B = [
40
+ C
41
+ ], x = {
42
+ __name: "CardBase",
43
+ props: {
44
+ height: {
45
+ type: String,
46
+ default: "445px"
47
+ },
48
+ width: {
49
+ type: String,
50
+ default: "319px"
51
+ },
52
+ backgroundOverlayColor: {
53
+ type: String,
54
+ default: "#000000"
55
+ },
56
+ backgroundOverlayOpacity: {
57
+ type: String,
58
+ default: "0.8"
59
+ },
60
+ backgroundImageSrc: {
61
+ type: String,
62
+ default: ""
63
+ },
64
+ overflow: {
65
+ type: String,
66
+ default: "visible"
67
+ },
68
+ borderRadius: {
69
+ type: String,
70
+ default: "15px"
71
+ },
72
+ isPlayButtonVisible: {
73
+ type: Boolean,
74
+ default: !0
75
+ },
76
+ goldCardType: {
77
+ type: Number,
78
+ default: 0
79
+ },
80
+ showVideos: {
81
+ type: Boolean,
82
+ default: !0
83
+ }
84
+ },
85
+ setup(e) {
86
+ const r = e, d = u(() => ({
87
+ "--height": r.height,
88
+ "--width": r.width,
89
+ "--background-overlay-color": r.backgroundOverlayColor,
90
+ "--overflow": r.overflow,
91
+ "--border-radius": r.borderRadius,
92
+ "--background-overlay-opacity": r.backgroundOverlayOpacity,
93
+ "--background-gold-size": `${r.width} ${r.height}`
94
+ })), i = u(() => {
95
+ const a = [];
96
+ return r.goldCardType && (r.goldCardType === 1 ? a.push("gold-card-1") : r.goldCardType === 2 && a.push("gold-card-2")), a;
97
+ });
98
+ function s() {
99
+ b.emit(v());
100
+ }
101
+ return (a, E) => (t(), o("div", {
102
+ class: n(["card-base", i.value]),
103
+ style: p(d.value)
104
+ }, [
105
+ e.goldCardType ? c("", !0) : (t(), o("div", m, [
106
+ e.backgroundImageSrc ? (t(), o("img", {
107
+ key: 0,
108
+ src: e.backgroundImageSrc,
109
+ alt: ""
110
+ }, null, 8, w)) : c("", !0)
111
+ ])),
112
+ e.goldCardType ? c("", !0) : (t(), o("div", S)),
113
+ l("div", _, [
114
+ g(a.$slots, "default", {}, void 0, !0)
115
+ ]),
116
+ e.isPlayButtonVisible && e.showVideos ? (t(), o("div", {
117
+ key: 2,
118
+ class: "card-base__play",
119
+ onClick: s
120
+ }, B)) : c("", !0)
121
+ ], 6));
122
+ }
123
+ }, V = /* @__PURE__ */ h(x, [["__scopeId", "data-v-32f11850"]]);
124
+ export {
125
+ V as E,
126
+ h as b
127
+ };
@@ -1,6 +1,6 @@
1
- import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as H, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as w, toDisplayString as s, Fragment as D, createVNode as b } from "vue";
2
- import { h as k, T as P } from "./misc-BpbriWn--Bd_IQoHZ.js";
3
- const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suffix" }, N = ["width", "height", "viewBox"], z = ["stroke"], U = ["stroke"], I = ["stop-color"], M = ["stop-color"], O = {
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 b, createVNode as D } from "vue";
2
+ import { b as k, E as P } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
3
+ const T = { 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: {
@@ -92,10 +92,10 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
92
92
  ], 8, N))
93
93
  ], 4));
94
94
  }
95
- }, m = /* @__PURE__ */ k(O, [["__scopeId", "data-v-b9adcb76"]]), V = {
95
+ }, m = /* @__PURE__ */ k(V, [["__scopeId", "data-v-b9adcb76"]]), E = {
96
96
  key: 0,
97
97
  class: "card-base-individual__content__player-img"
98
- }, A = ["src"], E = {
98
+ }, O = ["src"], A = {
99
99
  key: 1,
100
100
  class: "card-base-individual__content__team-logo"
101
101
  }, R = ["src"], j = {
@@ -214,6 +214,10 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
214
214
  goldCardType: {
215
215
  type: Number,
216
216
  default: 0
217
+ },
218
+ showVideos: {
219
+ type: Boolean,
220
+ default: !0
217
221
  }
218
222
  },
219
223
  setup(e) {
@@ -244,7 +248,7 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
244
248
  }), n = i(() => ({
245
249
  backgroundOverlayColor: t.cardColor,
246
250
  backgroundImageSrc: t.backgroundImageSrc,
247
- isPlayButtonVisible: !0,
251
+ isPlayButtonVisible: t.showVideos,
248
252
  goldCardType: t.goldCardType
249
253
  })), f = i(() => ({}));
250
254
  i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
@@ -257,38 +261,38 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
257
261
  style: p(u.value)
258
262
  }, [
259
263
  n.value ? (o(), B(P, S({ key: 0 }, n.value, { width: e.width }), {
260
- default: H(() => [
264
+ default: w(() => [
261
265
  x(d.$slots, "default", {}, () => [
262
266
  f.value ? (o(), a("div", {
263
267
  key: 0,
264
268
  style: p(u.value),
265
269
  class: "card-base-individual__content"
266
270
  }, [
267
- e.playerPhotoUrl ? (o(), a("div", V, [
271
+ e.playerPhotoUrl ? (o(), a("div", E, [
268
272
  r("div", null, [
269
273
  r("img", {
270
274
  src: e.playerPhotoUrl,
271
275
  alt: "player"
272
- }, null, 8, A)
276
+ }, null, 8, O)
273
277
  ])
274
278
  ])) : l("", !0),
275
- e.teamLogoUrl ? (o(), a("div", E, [
279
+ e.teamLogoUrl ? (o(), a("div", A, [
276
280
  r("img", {
277
281
  src: e.teamLogoUrl,
278
282
  alt: "team"
279
283
  }, null, 8, R)
280
284
  ])) : l("", !0),
281
285
  r("div", {
282
- class: w(["card-base-individual__content__footer", y.value])
286
+ class: H(["card-base-individual__content__footer", y.value])
283
287
  }, [
284
288
  e.footerHeaderData ? (o(), a("div", j, [
285
289
  e.footerHeaderData.title ? (o(), a("div", Z, [
286
290
  e.footerHeaderData.title ? (o(), a("div", G, s(e.footerHeaderData.title), 1)) : l("", !0),
287
291
  e.footerHeaderData.title ? (o(), a("div", W, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
288
292
  ])) : l("", !0),
289
- e.footerHeaderData.total ? (o(), a(D, { key: 1 }, [
293
+ e.footerHeaderData.total ? (o(), a(b, { key: 1 }, [
290
294
  e.footerHeaderData.isTotalPercentage ? (o(), a("div", Y, [
291
- b(m, {
295
+ D(m, {
292
296
  value: e.footerHeaderData.total,
293
297
  "text-color": e.footerBodyData.totalTextColor,
294
298
  color: e.footerBodyData.totalCircleColor
@@ -301,9 +305,9 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
301
305
  class: "card-base-individual__content__footer__body__description",
302
306
  innerHTML: e.footerBodyData.description
303
307
  }, null, 8, K),
304
- e.footerBodyData.total ? (o(), a(D, { key: 0 }, [
308
+ e.footerBodyData.total ? (o(), a(b, { key: 0 }, [
305
309
  e.footerBodyData.isTotalPercentage ? (o(), a("div", Q, [
306
- b(m, {
310
+ D(m, {
307
311
  value: e.footerBodyData.total,
308
312
  "text-color": e.footerBodyData.totalTextColor,
309
313
  color: e.footerBodyData.totalCircleColor
@@ -322,7 +326,7 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
322
326
  }, 16, ["width"])) : l("", !0)
323
327
  ], 4));
324
328
  }
325
- }, rt = /* @__PURE__ */ k(et, [["__scopeId", "data-v-6a189308"]]);
329
+ }, rt = /* @__PURE__ */ k(et, [["__scopeId", "data-v-c55bb714"]]);
326
330
  export {
327
331
  rt as r
328
332
  };