@golstats/gsc-relevant-data 1.0.6 → 1.0.9

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 (33) hide show
  1. package/dist/{CardBaseAllIndividual-Din4dnnE-ClvswX2H.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +68 -69
  2. package/dist/CardGeneral-CzD9BfTs-D1qozgj2.js +678 -0
  3. package/dist/{CardGeneralIndividual-CFAG9SL3-Cm2WMulY.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +22 -23
  4. package/dist/{CardGeneralTeams-C1b59sT7-DKIH3pKd.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +35 -36
  5. package/dist/{CardIndividual-BVJEvLuq-DNLGRnJn.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +69 -70
  6. package/dist/{CardIndividual1vs1-BEIdhWs1-CmX-Dpme.js → CardIndividual1vs1-CwWPZ1jp-By52KIVf.js} +9 -10
  7. package/dist/{CardIndividualAreas-T43vItFr-GlwzP3pQ.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -56
  8. package/dist/{CardIndividualCenters-fZNKbbXo-CvIgTyZn.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +108 -108
  9. package/dist/{CardIndividualDistance-CcU2Vbnx-DlR0hivB.js → CardIndividualDistance-Dq2calI2-Ibl6uHbE.js} +14 -15
  10. package/dist/{CardIndividualFouls-BYcKqeFK-BGZfrm52.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +119 -119
  11. package/dist/{CardIndividualGoalParticipation-yPoWp2QU-DpNpWdqc.js → CardIndividualGoalParticipation-BC_F7PdP-IXEeZoV4.js} +41 -42
  12. package/dist/{CardIndividualGoals-C69mSV2s-CBAHkKBm.js → CardIndividualGoals-BBu5FY5j-CBMS5ssK.js} +178 -178
  13. package/dist/{CardIndividualGold-BxCrvpoF-BEc0OJ86.js → CardIndividualGold-BMKxc3r9-De2Anuon.js} +33 -33
  14. package/dist/{CardIndividualNoGoalReceived-CqVz1A2y-Bkyl-TxG.js → CardIndividualNoGoalReceived-I-e5vsG7-CEzJIp_l.js} +18 -19
  15. package/dist/CardIndividualPerformance-DaQseH4c-DQdCn0VP.js +103 -0
  16. package/dist/{CardIndividualSaves-DEvTL6Uw-_tm_oIfl.js → CardIndividualSaves-CCaV8HU6-wv9lT0tB.js} +17 -18
  17. package/dist/{CardIndividualShotsOnGoal-BxwPL-4b-8RHeYE0k.js → CardIndividualShotsOnGoal-CwzjHXK9-CdK_9OTp.js} +68 -59
  18. package/dist/{CardIndividualStatistics-DQRVwOUb-Cq_TJCc_.js → CardIndividualStatistics-C_z-rRXF-DGbkpB-m.js} +14 -15
  19. package/dist/{CardPromTournament-HcWvduRV-BAoQc2Cb.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +31 -32
  20. package/dist/{CardSuccessfulPasses-D9ZpWlLr-u3HOsral.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +9 -10
  21. package/dist/{CardTheMostProductive-CNNFBK3--DOPfJcMr.js → CardTheMostProductive-CDDFIo-I-LQ50NbB5.js} +14 -15
  22. package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
  23. package/dist/{Shield-COMdrYaO-CAc0Epy_.js → Shield-0VkASyDI-Cm8rtKBS.js} +1 -1
  24. package/dist/gsc-relevant-data.css +1 -1
  25. package/dist/gsc-relevant-data.js +4949 -2
  26. package/dist/gsc-relevant-data.umd.cjs +6 -6
  27. package/dist/misc-BbzSgyER-2p2XKW1m.js +168 -0
  28. package/package.json +2 -2
  29. package/dist/CardGeneral-70CyP1c9-DzGLKPLW.js +0 -127
  30. package/dist/CardIndividualPerformance-JjUTmJQy-8qdezjEh.js +0 -104
  31. package/dist/CircleWithDotsBig-DOPQy89I-Cv_-f5J6.js +0 -91
  32. package/dist/index-Cb9m7Z8V.js +0 -4933
  33. package/dist/misc-CMAhmOsp-CuP1bOXh.js +0 -163
@@ -1,163 +0,0 @@
1
- import { computed as l, openBlock as i, createElementBlock as d, normalizeClass as c, normalizeStyle as u, createCommentVNode as s, createElementVNode as n, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
2
- import { h as b } from "./index-Cb9m7Z8V.js";
3
- const f = (e) => (g("data-v-2ba19cd1"), e = e(), y(), e), h = {
4
- key: 0,
5
- class: "card-base__background-image"
6
- }, m = ["src"], v = {
7
- key: 1,
8
- class: "card-base__background-overlay"
9
- }, _ = { class: "card-base__slot" }, k = {
10
- key: 2,
11
- class: "card-base__play"
12
- }, w = /* @__PURE__ */ f(() => /* @__PURE__ */ n("svg", {
13
- width: "60",
14
- height: "60",
15
- viewBox: "0 0 60 60",
16
- fill: "none",
17
- xmlns: "http://www.w3.org/2000/svg"
18
- }, [
19
- /* @__PURE__ */ n("circle", {
20
- cx: "30",
21
- cy: "30",
22
- r: "30",
23
- fill: "#0E1E2A",
24
- "fill-opacity": ".96"
25
- }),
26
- /* @__PURE__ */ n("circle", {
27
- cx: "30",
28
- cy: "30",
29
- r: "26.6",
30
- stroke: "#757575",
31
- "stroke-width": ".8"
32
- }),
33
- /* @__PURE__ */ n("path", {
34
- 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",
35
- fill: "#CBEE6B"
36
- })
37
- ], -1)), S = [
38
- w
39
- ], C = {
40
- __name: "CardBase",
41
- props: {
42
- height: {
43
- type: String,
44
- default: "445px"
45
- },
46
- width: {
47
- type: String,
48
- default: "319px"
49
- },
50
- backgroundOverlayColor: {
51
- type: String,
52
- default: "#000000"
53
- },
54
- backgroundOverlayOpacity: {
55
- type: String,
56
- default: "0.8"
57
- },
58
- backgroundImageSrc: {
59
- type: String,
60
- default: ""
61
- },
62
- overflow: {
63
- type: String,
64
- default: "visible"
65
- },
66
- borderRadius: {
67
- type: String,
68
- default: "15px"
69
- },
70
- isPlayButtonVisible: {
71
- type: Boolean,
72
- default: !0
73
- },
74
- goldCardType: {
75
- type: Number,
76
- default: 0
77
- }
78
- },
79
- setup(e) {
80
- const t = e, a = l(() => ({
81
- "--height": t.height,
82
- "--width": t.width,
83
- "--background-overlay-color": t.backgroundOverlayColor,
84
- "--overflow": t.overflow,
85
- "--border-radius": t.borderRadius,
86
- "--background-overlay-opacity": t.backgroundOverlayOpacity,
87
- "--background-gold-size": `${t.width} ${t.height}`
88
- })), o = l(() => {
89
- const r = [];
90
- return t.goldCardType && (t.goldCardType === 1 ? r.push("gold-card-1") : t.goldCardType === 2 && r.push("gold-card-2")), r;
91
- });
92
- return (r, x) => (i(), d("div", {
93
- class: c(["card-base", o.value]),
94
- style: u(a.value)
95
- }, [
96
- e.goldCardType ? s("", !0) : (i(), d("div", h, [
97
- e.backgroundImageSrc ? (i(), d("img", {
98
- key: 0,
99
- src: e.backgroundImageSrc,
100
- alt: ""
101
- }, null, 8, m)) : s("", !0)
102
- ])),
103
- e.goldCardType ? s("", !0) : (i(), d("div", v)),
104
- n("div", _, [
105
- p(r.$slots, "default", {}, void 0, !0)
106
- ]),
107
- e.isPlayButtonVisible ? (i(), d("div", k, S)) : s("", !0)
108
- ], 6));
109
- }
110
- }, E = /* @__PURE__ */ b(C, [["__scopeId", "data-v-2ba19cd1"]]);
111
- function I(e = "") {
112
- const t = e.split("");
113
- let a = 1;
114
- return t.reduce((o, r) => (r === "*" ? (a % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', a++) : o += r, o), "");
115
- }
116
- function O({ data: e, descriptionType: t }) {
117
- switch (t) {
118
- case 1:
119
- return e.finish_first_person_description;
120
- case 2:
121
- return e.first_person_description;
122
- case 3:
123
- return e.finish_third_person_description;
124
- case 4:
125
- return e.third_person_description;
126
- case 5:
127
- return e.finish_description;
128
- case 6:
129
- return e.description;
130
- }
131
- }
132
- function T(e) {
133
- return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
134
- }
135
- function $(e) {
136
- return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
137
- }
138
- function V(e) {
139
- return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
140
- }
141
- function N(e) {
142
- if (e.includes("*")) {
143
- let t = "";
144
- const a = e.match(/\*(.*?)\*/);
145
- return a && (t = a[1]), {
146
- title: t.trim(),
147
- subtitle: e.replace(/\*(.*?)\*/, "").trim()
148
- };
149
- }
150
- return {
151
- title: e,
152
- subtitle: ""
153
- };
154
- }
155
- export {
156
- V as $,
157
- N as A,
158
- T as E,
159
- E as I,
160
- $ as O,
161
- I as P,
162
- O as z
163
- };