@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
@@ -1,6 +1,7 @@
1
- import { useCssVars as O, computed as s, ref as P, openBlock as d, createElementBlock as m, normalizeStyle as i, createBlock as I, mergeProps as B, withCtx as C, createElementVNode as a, toDisplayString as c, createVNode as R, unref as _, Fragment as D, renderList as E, normalizeClass as M, createCommentVNode as N } from "vue";
2
- import { h as S, E as y, T as V, O as F } from "./misc-BpbriWn--Bd_IQoHZ.js";
3
- import { N as H } from "./Shield-DzbSNLIW-B-twHEDg.js";
1
+ import { useCssVars as O, computed as d, ref as P, openBlock as c, createElementBlock as m, normalizeStyle as i, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as u, createVNode as R, unref as _, Fragment as C, renderList as H, normalizeClass as D, createCommentVNode as E } from "vue";
2
+ import { b as M, E as N } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
3
+ import { N as S } from "./Shield-DrqywZtU-FXKCGenl.js";
4
+ import { H as w, R as F } from "./index-SSELSqE0.js";
4
5
  const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { class: "main-content" }, j = { class: "title-separator" }, A = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "-38px 35px", K = {
5
6
  __name: "CardPromTournament",
6
7
  props: {
@@ -12,6 +13,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
12
13
  type: String,
13
14
  default: "319px"
14
15
  },
16
+ showVideos: {
17
+ type: Boolean,
18
+ default: !0
19
+ },
15
20
  data: {
16
21
  type: Object,
17
22
  default: () => null
@@ -21,11 +26,11 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
21
26
  default: 0
22
27
  }
23
28
  },
24
- setup(u) {
29
+ setup(s) {
25
30
  O((t) => ({
26
- "0759972a": u.data.thumbnails.colors.background_color
31
+ "3e3c7fa0": s.data.thumbnails.colors.background_color
27
32
  }));
28
- const e = u, w = s(() => ({
33
+ const e = s, y = d(() => ({
29
34
  "--height": e.height,
30
35
  "--width": e.width,
31
36
  "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
@@ -36,45 +41,48 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
36
41
  right: "-8px",
37
42
  innerImageWidth: "39px",
38
43
  innerImageHeight: "39px"
39
- }), p = s(() => {
40
- var t, l, n, r;
44
+ }), p = d(() => {
45
+ var t, l, o, r;
41
46
  return !e.data || !e.data.thumbnails ? null : {
42
47
  backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
43
- backgroundImageSrc: (r = (n = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.player_in_action) != null && r[0] ? y(e.data.thumbnails.images.player_in_action[0]) : "",
44
- isPlayButtonVisible: !0
48
+ backgroundImageSrc: (r = (o = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : o.player_in_action) != null && r[0] ? w(e.data.thumbnails.images.player_in_action[0]) : "",
49
+ isPlayButtonVisible: e.showVideos
45
50
  };
46
- }), h = s(() => {
47
- var t, l, n;
51
+ }), h = d(() => {
52
+ var t, l, o;
48
53
  if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
49
54
  const r = e.data.title.split("*").filter(Boolean);
50
55
  return {
51
56
  mainTitle: ((l = r[0]) == null ? void 0 : l.trim()) || "",
52
- sidebarTitle: ((n = r[1]) == null ? void 0 : n.trim()) || "PROMEDIO POR PARTIDO"
57
+ sidebarTitle: ((o = r[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
53
58
  };
54
- }), T = s(() => {
59
+ }), T = d(() => {
55
60
  var t;
56
61
  return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
57
62
  });
58
- return (t, l) => (d(), m("div", {
63
+ return (t, l) => (c(), m("div", {
59
64
  class: "card-general",
60
- style: i(w.value)
65
+ style: i(y.value)
61
66
  }, [
62
- p.value ? (d(), I(V, B({ key: 0 }, p.value, { width: u.width }), {
63
- default: C(() => {
64
- var n, r, g, f;
67
+ p.value ? (c(), I(N, V({ key: 0 }, p.value, {
68
+ width: s.width,
69
+ "show-videos": s.showVideos
70
+ }), {
71
+ default: B(() => {
72
+ var o, r, g, f;
65
73
  return [
66
74
  a("div", z, [
67
75
  a("div", L, [
68
76
  a("div", $, [
69
77
  a("h1", {
70
78
  class: "main-title",
71
- style: i({ color: ((n = e.data) == null ? void 0 : n.thumbnails.colors.font_color_header) || "white" })
72
- }, c(h.value.mainTitle), 5),
79
+ style: i({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
80
+ }, u(h.value.mainTitle), 5),
73
81
  a("div", j, [
74
- R(H, {
82
+ R(S, {
75
83
  "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
76
84
  width: 105,
77
- "inner-image-src": _(y)(e.data.thumbnails.images.player_in_action[0]),
85
+ "inner-image-src": _(w)(e.data.thumbnails.images.player_in_action[0]),
78
86
  "team-logo-circle-props": x.value,
79
87
  "inner-image-translate": J
80
88
  }, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
@@ -91,25 +99,25 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
91
99
  a("div", {
92
100
  class: "sidebar-header",
93
101
  style: i({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
94
- }, c(h.value.sidebarTitle), 5),
102
+ }, u(h.value.sidebarTitle), 5),
95
103
  a("div", G, [
96
- (d(!0), m(D, null, E((f = e.data) == null ? void 0 : f.averages, (o, k) => {
104
+ (c(!0), m(C, null, H((f = e.data) == null ? void 0 : f.averages, (n, k) => {
97
105
  var v, b;
98
- return d(), m("div", {
106
+ return c(), m("div", {
99
107
  key: k,
100
- class: M(["season-row", {
101
- highlighted: o.highlighted,
102
- "max-value": parseFloat(o.average) === T.value
108
+ class: D(["season-row", {
109
+ highlighted: n.highlighted,
110
+ "max-value": parseFloat(n.average) === T.value
103
111
  }])
104
112
  }, [
105
113
  a("div", {
106
114
  class: "season-value-box",
107
115
  style: i({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
108
- }, c(o.average), 5),
116
+ }, u(n.average), 5),
109
117
  a("div", {
110
118
  class: "season-label",
111
119
  style: i({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
112
- }, c(o.season), 5)
120
+ }, u(n.season), 5)
113
121
  ], 2);
114
122
  }), 128))
115
123
  ])
@@ -119,10 +127,10 @@ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { cla
119
127
  ];
120
128
  }),
121
129
  _: 1
122
- }, 16, ["width"])) : N("", !0)
130
+ }, 16, ["width", "show-videos"])) : E("", !0)
123
131
  ], 4));
124
132
  }
125
- }, X = /* @__PURE__ */ S(K, [["__scopeId", "data-v-fbc2d0d9"]]);
133
+ }, Z = /* @__PURE__ */ M(K, [["__scopeId", "data-v-9d5bd784"]]);
126
134
  export {
127
- X as default
135
+ Z as default
128
136
  };