@golstats/gsc-relevant-data 1.0.14 → 1.0.16

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 (43) hide show
  1. package/README.md +2 -2
  2. package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +15 -11
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +79 -72
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +47 -40
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +40 -33
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +79 -72
  7. package/dist/CardIndividual1vs1-ayelgnf_-Dzunebe6.js +112 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +123 -119
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -111
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js} +131 -127
  12. package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +186 -182
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Ptz6THCG-BRqzfQcT.js} +39 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
  16. package/dist/CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js +107 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +47 -40
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +72 -68
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +36 -32
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js} +64 -60
  22. package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
  25. package/dist/css/fonts.css +145 -145
  26. package/dist/gsc-relevant-data.css +1 -1
  27. package/dist/gsc-relevant-data.js +306 -279
  28. package/dist/gsc-relevant-data.umd.cjs +5 -5
  29. package/dist/images/centers/cancha-centros-01.svg +31 -31
  30. package/dist/images/centers/cancha-centros-02.svg +31 -31
  31. package/dist/images/centers/cancha-centros-03.svg +31 -31
  32. package/dist/images/centers/icn-cronometro.svg +6 -6
  33. package/dist/images/fouls/cancha-faltas-recibidas-01.svg +33 -33
  34. package/dist/images/fouls/cancha-faltas-recibidas-02.svg +33 -33
  35. package/dist/images/fouls/cancha-faltas-recibidas-03.svg +33 -33
  36. package/dist/images/fouls/icn-faltas@3x.svg +13 -13
  37. package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
  38. package/package.json +42 -42
  39. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  40. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  41. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  42. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  43. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -1,168 +0,0 @@
1
- import { computed as d, openBlock as i, createElementBlock as n, normalizeClass as l, normalizeStyle as u, createCommentVNode as c, createElementVNode as s, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
2
- const f = (t, e) => {
3
- const r = t.__vccOpts || t;
4
- for (const [o, a] of e)
5
- r[o] = a;
6
- return r;
7
- }, h = (t) => (g("data-v-8675ac33"), t = t(), y(), t), b = {
8
- key: 0,
9
- class: "card-base__background-image"
10
- }, v = ["src"], m = {
11
- key: 1,
12
- class: "card-base__background-overlay"
13
- }, _ = { class: "card-base__slot" }, k = {
14
- key: 2,
15
- class: "card-base__play"
16
- }, w = /* @__PURE__ */ h(() => /* @__PURE__ */ s("svg", {
17
- width: "60",
18
- height: "60",
19
- viewBox: "0 0 60 60",
20
- fill: "none",
21
- xmlns: "http://www.w3.org/2000/svg"
22
- }, [
23
- /* @__PURE__ */ s("circle", {
24
- cx: "30",
25
- cy: "30",
26
- r: "30",
27
- fill: "#0E1E2A",
28
- "fill-opacity": ".96"
29
- }),
30
- /* @__PURE__ */ s("circle", {
31
- cx: "30",
32
- cy: "30",
33
- r: "26.6",
34
- stroke: "#757575",
35
- "stroke-width": ".8"
36
- }),
37
- /* @__PURE__ */ s("path", {
38
- 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",
39
- fill: "#CBEE6B"
40
- })
41
- ], -1)), S = [
42
- w
43
- ], C = {
44
- __name: "CardBase",
45
- props: {
46
- height: {
47
- type: String,
48
- default: "445px"
49
- },
50
- width: {
51
- type: String,
52
- default: "319px"
53
- },
54
- backgroundOverlayColor: {
55
- type: String,
56
- default: "#000000"
57
- },
58
- backgroundOverlayOpacity: {
59
- type: String,
60
- default: "0.8"
61
- },
62
- backgroundImageSrc: {
63
- type: String,
64
- default: ""
65
- },
66
- overflow: {
67
- type: String,
68
- default: "visible"
69
- },
70
- borderRadius: {
71
- type: String,
72
- default: "15px"
73
- },
74
- isPlayButtonVisible: {
75
- type: Boolean,
76
- default: !0
77
- },
78
- goldCardType: {
79
- type: Number,
80
- default: 0
81
- }
82
- },
83
- setup(t) {
84
- const e = t, r = d(() => ({
85
- "--height": e.height,
86
- "--width": e.width,
87
- "--background-overlay-color": e.backgroundOverlayColor,
88
- "--overflow": e.overflow,
89
- "--border-radius": e.borderRadius,
90
- "--background-overlay-opacity": e.backgroundOverlayOpacity,
91
- "--background-gold-size": `${e.width} ${e.height}`
92
- })), o = d(() => {
93
- const a = [];
94
- return e.goldCardType && (e.goldCardType === 1 ? a.push("gold-card-1") : e.goldCardType === 2 && a.push("gold-card-2")), a;
95
- });
96
- return (a, x) => (i(), n("div", {
97
- class: l(["card-base", o.value]),
98
- style: u(r.value)
99
- }, [
100
- t.goldCardType ? c("", !0) : (i(), n("div", b, [
101
- t.backgroundImageSrc ? (i(), n("img", {
102
- key: 0,
103
- src: t.backgroundImageSrc,
104
- alt: ""
105
- }, null, 8, v)) : c("", !0)
106
- ])),
107
- t.goldCardType ? c("", !0) : (i(), n("div", m)),
108
- s("div", _, [
109
- p(a.$slots, "default", {}, void 0, !0)
110
- ]),
111
- t.isPlayButtonVisible ? (i(), n("div", k, S)) : c("", !0)
112
- ], 6));
113
- }
114
- }, O = /* @__PURE__ */ f(C, [["__scopeId", "data-v-8675ac33"]]);
115
- function T(t = "") {
116
- const e = t.split("");
117
- let r = 1;
118
- return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
119
- }
120
- function z({ data: t, descriptionType: e }) {
121
- switch (e) {
122
- case 1:
123
- return t.finish_first_person_description;
124
- case 2:
125
- return t.first_person_description;
126
- case 3:
127
- return t.finish_third_person_description;
128
- case 4:
129
- return t.third_person_description;
130
- case 5:
131
- return t.finish_description;
132
- case 6:
133
- return t.description;
134
- }
135
- }
136
- function E(t) {
137
- return `https://az755631.vo.msecnd.net/teams-80/${t}.png`;
138
- }
139
- function I(t) {
140
- return `https://az755631.vo.msecnd.net/players-profile/${t}.png`;
141
- }
142
- function $(t) {
143
- return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
144
- }
145
- function V(t) {
146
- if (t.includes("*")) {
147
- let e = "";
148
- const r = t.match(/\*(.*?)\*/);
149
- return r && (e = r[1]), {
150
- title: e.trim(),
151
- subtitle: t.replace(/\*(.*?)\*/, "").trim()
152
- };
153
- }
154
- return {
155
- title: t,
156
- subtitle: ""
157
- };
158
- }
159
- export {
160
- V as $,
161
- $ as E,
162
- T as I,
163
- z as O,
164
- E as P,
165
- O as T,
166
- f as h,
167
- I as z
168
- };