@golstats/gsc-landing 1.0.193 → 1.0.195

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 (37) hide show
  1. package/dist/{CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js → CardBaseAllIndividual-Din4dnnE-9r_ZQ2PD.js} +13 -12
  2. package/dist/CardGeneral-70CyP1c9-DZjdnAqP.js +127 -0
  3. package/dist/{CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js → CardGeneralIndividual-CFAG9SL3-BG4lUe_F.js} +83 -77
  4. package/dist/{CardGeneralTeams-CwKmM2ip-1ajycpU3.js → CardGeneralTeams-C1b59sT7-DG5cs-Tg.js} +151 -146
  5. package/dist/{CardIndividual-OuxjYR6m-BJwKI5HZ.js → CardIndividual-BVJEvLuq-_PhgZvaJ.js} +38 -37
  6. package/dist/CardIndividual1vs1-BEIdhWs1-BvsUVyut.js +109 -0
  7. package/dist/{CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js → CardIndividualAreas-T43vItFr-Ge11BS0-.js} +22 -21
  8. package/dist/{CardIndividualCenters-0K7CYu6z-C1If3cnK.js → CardIndividualCenters-fZNKbbXo-CBcfzVIG.js} +121 -120
  9. package/dist/{CardIndividualDistance-DPP7-JWN-CiCspi8H.js → CardIndividualDistance-CcU2Vbnx-BA0WjvGk.js} +32 -31
  10. package/dist/{CardIndividualFouls-CbvYRQjI-CVZKAmd3.js → CardIndividualFouls-BYcKqeFK-Cje2Mt8Z.js} +111 -110
  11. package/dist/CardIndividualGoalParticipation-yPoWp2QU-CzPvpOTY.js +112 -0
  12. package/dist/{CardIndividualGoals-no1WpbpS-DaNagxNS.js → CardIndividualGoals-C69mSV2s-D6_1_Ya_.js} +181 -180
  13. package/dist/CardIndividualGold-BxCrvpoF-DAinsnlx.js +117 -0
  14. package/dist/{CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js → CardIndividualNoGoalReceived-CqVz1A2y-2wvhoRRn.js} +56 -55
  15. package/dist/CardIndividualPerformance-JjUTmJQy-BKKJWuAj.js +104 -0
  16. package/dist/{CardIndividualSaves-DboDAV9z-DW3t5zbf.js → CardIndividualSaves-DEvTL6Uw-ExU597Jv.js} +70 -65
  17. package/dist/{CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js → CardIndividualShotsOnGoal-BxwPL-4b-CjB-aDIc.js} +55 -54
  18. package/dist/{CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js → CardIndividualStatistics-DQRVwOUb-BM8QzAyt.js} +35 -34
  19. package/dist/{CardPromTournament-BbjTP9KD-CWu7JvYP.js → CardPromTournament-HcWvduRV-DarShqZA.js} +28 -27
  20. package/dist/CardSuccessfulPasses-D9ZpWlLr-DVijdVau.js +92 -0
  21. package/dist/CardTheMostProductive-CNNFBK3--EbF2Re03.js +76 -0
  22. package/dist/{CircleWithDotsBig-EzIr2wuY-TMr2eIat.js → CircleWithDotsBig-DOPQy89I-DsMw07Qs.js} +1 -1
  23. package/dist/{Shield-Dnuj3Yd--DAk7-Zio.js → Shield-COMdrYaO-CimHKi7p.js} +60 -55
  24. package/dist/gsc-landing.js +2 -57546
  25. package/dist/gsc-landing.umd.cjs +64 -64
  26. package/dist/index-Cf6zNZxW.js +57599 -0
  27. package/dist/misc-CMAhmOsp-DhvMrB3p.js +163 -0
  28. package/dist/style.css +1 -1
  29. package/package.json +2 -2
  30. package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +0 -116
  31. package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +0 -487
  32. package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +0 -108
  33. package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +0 -112
  34. package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +0 -99
  35. package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +0 -426
  36. package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +0 -74
  37. package/dist/misc-CeQ5H5LP-DeaiNpCH.js +0 -168
@@ -1,74 +0,0 @@
1
- import { computed as d, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
2
- import { d as k } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
3
- import { H as C } from "./Shield-Dnuj3Yd--DAk7-Zio.js";
4
- import { h as I, E as p, I as P, O as w, P as B, z as T } from "./misc-CeQ5H5LP-DeaiNpCH.js";
5
- const z = (o) => (x("data-v-efb8de6b"), o = o(), S(), o), A = { class: "productive" }, D = /* @__PURE__ */ z(() => /* @__PURE__ */ m("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), E = {
6
- __name: "CardTheMostProductive",
7
- props: {
8
- height: {
9
- type: String,
10
- default: "445px"
11
- },
12
- width: {
13
- type: String,
14
- default: "319px"
15
- },
16
- data: {
17
- type: Object,
18
- default: () => null
19
- },
20
- descriptionType: {
21
- type: Number,
22
- default: 4
23
- }
24
- },
25
- setup(o) {
26
- const e = o, _ = d(() => {
27
- var a, t, r, l, n, u, c;
28
- return {
29
- height: e.height,
30
- width: e.width,
31
- footerHeight: "112px",
32
- cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
33
- backgroundImageSrc: p((l = (r = (t = (a = e.data) == null ? void 0 : a.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && l[0] ? e.data.thumbnails.images.background_player_in_action[0] : (c = (u = (n = e.data) == null ? void 0 : n.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? e.data.thumbnails.images.background_team : ""),
34
- footerBodyData: {
35
- description: P(w({ data: e.data, descriptionType: e.descriptionType })),
36
- textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
37
- }
38
- };
39
- }), i = d(() => {
40
- var a, t, r, l;
41
- const n = !!((l = (r = (t = (a = e.data) == null ? void 0 : a.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && l[0]);
42
- return {
43
- teamLogoUrl: B(e.data.team_id || ""),
44
- playerInActionSrc: n ? p(e.data.thumbnails.images.player_in_action[0]) : T(e.data.player_id || ""),
45
- shieldColor: (e.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
46
- translate: n ? "-42px -8px" : "-42px -30px"
47
- };
48
- }), g = d(() => ({
49
- "--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
50
- }));
51
- return (a, t) => (h(), b("div", A, [
52
- s(k, f(y(_.value)), {
53
- body: v(() => [
54
- m("div", {
55
- class: "productive__body",
56
- style: F(g.value)
57
- }, [
58
- D,
59
- s(C, {
60
- "team-logo-src": i.value.teamLogoUrl,
61
- "inner-image-src": i.value.playerInActionSrc,
62
- color: i.value.shieldColor,
63
- "inner-image-translate": i.value.translate
64
- }, null, 8, ["team-logo-src", "inner-image-src", "color", "inner-image-translate"])
65
- ], 4)
66
- ]),
67
- _: 1
68
- }, 16)
69
- ]));
70
- }
71
- }, H = /* @__PURE__ */ I(E, [["__scopeId", "data-v-efb8de6b"]]);
72
- export {
73
- H as default
74
- };
@@ -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
- }, b = (t) => (g("data-v-8463b3f6"), t = t(), y(), t), h = {
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__ */ b(() => /* @__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", h, [
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-8463b3f6"]]);
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
- };