@golstats/gsc-landing 1.0.199 → 1.0.200

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 (23) hide show
  1. package/dist/{CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js → CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js} +16 -16
  2. package/dist/{CardIndividual-B5YHR_4X-DC-zfHLx.js → CardIndividual-DPKW-YpP-Dnc0EEj0.js} +13 -13
  3. package/dist/{CardIndividual1vs1-CwWPZ1jp-By52KIVf.js → CardIndividual1vs1-BRtGgXM7-CedeR8el.js} +8 -8
  4. package/dist/{CardIndividualAreas-D9mHXjfS-DrA6YV1T.js → CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js} +1 -1
  5. package/dist/{CardIndividualCenters-DeGyy9wB-BftpRpCL.js → CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js} +1 -1
  6. package/dist/{CardIndividualDistance-Dq2calI2-Ibl6uHbE.js → CardIndividualDistance-C226QSwL-R--LlcPz.js} +1 -1
  7. package/dist/{CardIndividualFouls-DF0AvPys-C61mrpb7.js → CardIndividualFouls-ycmte1YE-DyR9GrTc.js} +1 -1
  8. package/dist/{CardIndividualGoalParticipation-BC_F7PdP-IXEeZoV4.js → CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js} +1 -1
  9. package/dist/{CardIndividualGoals-BBu5FY5j-CBMS5ssK.js → CardIndividualGoals-BVMarvFd-DL29nvxj.js} +1 -1
  10. package/dist/{CardIndividualGold-BMKxc3r9-De2Anuon.js → CardIndividualGold-Df7Raasl-Byue4uk-.js} +1 -1
  11. package/dist/{CardIndividualNoGoalReceived-I-e5vsG7-CEzJIp_l.js → CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js} +1 -1
  12. package/dist/{CardIndividualPerformance-DaQseH4c-DQdCn0VP.js → CardIndividualPerformance-DyczUumz-BaHTtZS4.js} +1 -1
  13. package/dist/{CardIndividualSaves-CCaV8HU6-wv9lT0tB.js → CardIndividualSaves-CC91zpjd-CAQ8vR7-.js} +1 -1
  14. package/dist/{CardIndividualShotsOnGoal-CwzjHXK9-CdK_9OTp.js → CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js} +1 -1
  15. package/dist/{CardIndividualStatistics-C_z-rRXF-DGbkpB-m.js → CardIndividualStatistics-CBd679p9-itsHFDEL.js} +1 -1
  16. package/dist/CardPromTournament-BKH4VcBp-D784umYN.js +128 -0
  17. package/dist/{CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js → CardSuccessfulPasses-DKetowpu-B12McLj4.js} +1 -1
  18. package/dist/{CardTheMostProductive-CDDFIo-I-LQ50NbB5.js → CardTheMostProductive-CoGLtVYs-BZcw_blj.js} +23 -23
  19. package/dist/gsc-landing.js +24 -24
  20. package/dist/gsc-landing.umd.cjs +31 -31
  21. package/dist/style.css +1 -1
  22. package/package.json +2 -2
  23. package/dist/CardPromTournament-DMe6axFO-DWI8msi-.js +0 -113
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-landing",
3
- "version": "1.0.199",
3
+ "version": "1.0.200",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -24,7 +24,7 @@
24
24
  "@golstats/gsc-button": "^1.0.14",
25
25
  "@golstats/gsc-calendar-by-game": "^1.0.79",
26
26
  "@golstats/gsc-carousel": "^1.0.15",
27
- "@golstats/gsc-data-cards": "^1.0.6",
27
+ "@golstats/gsc-data-cards": "^1.0.7",
28
28
  "@golstats/gsc-general-table": "^1.0.52",
29
29
  "@golstats/gsc-mosaic-the-best": "^1.0.14",
30
30
  "@golstats/gsc-player-team-game": "^1.1.71",
@@ -1,113 +0,0 @@
1
- import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as c, normalizeStyle as h, createBlock as w, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as I, unref as m, Fragment as P, renderList as E, normalizeClass as N, createCommentVNode as C } from "vue";
2
- import { h as R, E as v, T as B, I as D, O as M } from "./misc-BbzSgyER-2p2XKW1m.js";
3
- import { N as S } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
- const V = { class: "card-content" }, F = { class: "content-wrapper" }, H = { class: "main-content" }, L = { class: "main-title" }, z = { class: "title-separator" }, j = { class: "footer-text" }, A = ["innerHTML"], W = { class: "seasons-sidebar" }, $ = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = "-38px 35px", Q = {
5
- __name: "CardPromTournament",
6
- props: {
7
- height: {
8
- type: String,
9
- default: "568px"
10
- },
11
- width: {
12
- type: String,
13
- default: "319px"
14
- },
15
- data: {
16
- type: Object,
17
- default: () => null
18
- },
19
- descriptionType: {
20
- type: Number,
21
- default: 0
22
- }
23
- },
24
- setup(u) {
25
- _((t) => ({
26
- "12b7ad86": u.data.thumbnails.colors.background_color
27
- }));
28
- const e = u, b = s(() => ({
29
- "--height": e.height,
30
- "--width": e.width,
31
- "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
32
- })), f = T({
33
- width: "50px",
34
- height: "50px",
35
- bottom: "34px",
36
- right: "-8px",
37
- innerImageWidth: "39px",
38
- innerImageHeight: "39px"
39
- }), p = s(() => {
40
- var t, l, r, i;
41
- return !e.data || !e.data.thumbnails ? null : {
42
- backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
43
- backgroundImageSrc: (i = (r = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : r.player_in_action) != null && i[0] ? v(e.data.thumbnails.images.player_in_action[0]) : "",
44
- isPlayButtonVisible: !0
45
- };
46
- }), g = s(() => {
47
- var t, l, r;
48
- if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
49
- const i = e.data.title.split("*").filter(Boolean);
50
- return {
51
- mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
52
- sidebarTitle: ((r = i[1]) == null ? void 0 : r.trim()) || "PROMEDIO POR PARTIDO"
53
- };
54
- }), y = s(() => {
55
- var t;
56
- return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
57
- });
58
- return (t, l) => (o(), c("div", {
59
- class: "card-general",
60
- style: h(b.value)
61
- }, [
62
- p.value ? (o(), w(B, k({ key: 0 }, p.value, { width: u.width }), {
63
- default: O(() => {
64
- var r, i;
65
- return [
66
- a("div", V, [
67
- a("div", F, [
68
- a("div", H, [
69
- a("h1", L, d(g.value.mainTitle), 1),
70
- a("div", z, [
71
- I(S, {
72
- "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
73
- width: 105,
74
- "inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
75
- "team-logo-circle-props": f.value,
76
- "inner-image-translate": K
77
- }, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
78
- ]),
79
- a("div", j, [
80
- a("p", {
81
- innerHTML: m(D)(m(M)({ data: e.data, descriptionType: e.descriptionType })),
82
- class: "card-description",
83
- style: h({ color: ((r = e.data) == null ? void 0 : r.font_color) || "white" })
84
- }, null, 12, A)
85
- ])
86
- ]),
87
- a("div", W, [
88
- a("div", $, d(g.value.sidebarTitle), 1),
89
- a("div", q, [
90
- (o(!0), c(P, null, E((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), c("div", {
91
- key: x,
92
- class: N(["season-row", {
93
- highlighted: n.highlighted,
94
- "max-value": parseFloat(n.average) === y.value
95
- }])
96
- }, [
97
- a("div", G, d(n.average), 1),
98
- a("div", J, d(n.season), 1)
99
- ], 2))), 128))
100
- ])
101
- ])
102
- ])
103
- ])
104
- ];
105
- }),
106
- _: 1
107
- }, 16, ["width"])) : C("", !0)
108
- ], 4));
109
- }
110
- }, Z = /* @__PURE__ */ R(Q, [["__scopeId", "data-v-5e073402"]]);
111
- export {
112
- Z as default
113
- };