@golstats/gsc-player-team-profile 1.1.12 → 1.1.13

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-BNBUZGU7-504a5383-8f417cca.js → CardBase-cG4UK8zU-c0829c3b-e94288b0.js} +48 -39
  2. package/dist/{CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js → CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js} +9 -9
  3. package/dist/{CardGeneral-DTteAML4-a53fa9da-5e8c24a6.js → CardGeneral-BlZEnnEb-cbc6874e-66671168.js} +19 -19
  4. package/dist/{CardGeneralIndividual-D-FKsjFO-13b3d0e8-a5f98162.js → CardGeneralIndividual-Bnc6oqkd-780995cc-1c3ec913.js} +17 -17
  5. package/dist/{CardGeneralTeams-C0Z5qzcM-b9b7bb96-44e66a28.js → CardGeneralTeams-C3Y4CKGP-0f745ef4-12f00bb9.js} +2 -2
  6. package/dist/{CardIndividual-BhPQqGlc-3204235e-aea42c9a.js → CardIndividual-BPMbVI3t-03397306-a8c66171.js} +49 -45
  7. package/dist/{CardIndividual1vs1-QeAXN4f--814c258b-3082e2d0.js → CardIndividual1vs1-CuR4WSxJ-9c36ee70-502ffae7.js} +29 -25
  8. package/dist/{CardIndividualAreas-CHLqS1mw-01af4a3a-a7bdd565.js → CardIndividualAreas-CfLiKrts-9b4f8888-9fd6023f.js} +64 -60
  9. package/dist/{CardIndividualCenters-hEROPxzH-d4453e88-201f3254.js → CardIndividualCenters-QiXO05sk-35c5ad0f-991aeed3.js} +46 -42
  10. package/dist/{CardIndividualDistance-BQ8zwHOn-14ccd061-8a1ef17f.js → CardIndividualDistance-7PJ6nX5x-a3ba37d7-cd8a5aac.js} +28 -24
  11. package/dist/{CardIndividualFouls-ChdbYcE_-a4c00968-69cb049d.js → CardIndividualFouls-BG7VCYOa-f04f0407-ce7423db.js} +37 -33
  12. package/dist/{CardIndividualGoalParticipation-B9xqQ51i-310a9b7f-33423e74.js → CardIndividualGoalParticipation-BWq87mgE-5656d35a-6398c7c3.js} +29 -25
  13. package/dist/{CardIndividualGoals-BtqVuDiw-c08936cb-792c2463.js → CardIndividualGoals-DEKwqMXc-6eafee68-33280feb.js} +65 -61
  14. package/dist/{CardIndividualGold-BLT3Mk27-6226a5fd-b1dfde16.js → CardIndividualGold-Bz4E-z_--ecf80898-a60de12a.js} +18 -18
  15. package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-6c58d132-4b2ca877.js → CardIndividualNoGoalReceived-B2BKqCnK-87d0c69d-3227a9da.js} +29 -25
  16. package/dist/{CardIndividualPerformance-lhPwEGlm-6daa64d3-a1f55a95.js → CardIndividualPerformance-BcqsLAAU-f763143a-12ff6a0e.js} +15 -15
  17. package/dist/{CardIndividualSaves-CVjR2-WK-398ffad9-da5d1888.js → CardIndividualSaves-BSDQdG6Y-313183ff-5b268e3d.js} +52 -48
  18. package/dist/{CardIndividualShotsOnGoal-BHHi894T-962e8079-3155ef9c.js → CardIndividualShotsOnGoal-CZl8akPo-4890a466-96ccdca7.js} +22 -18
  19. package/dist/{CardIndividualStatistics-C-kaGAYd-50b2876e-6f3da9dd.js → CardIndividualStatistics-CY-nNio--ffdcb381-0af8ea32.js} +24 -20
  20. package/dist/CardPromTournament-D7NIcgIG-e60d098a-e3b0158c.js +151 -0
  21. package/dist/{CardSuccessfulPasses-C_L5d6hy-8c7d1ece-92db0076.js → CardSuccessfulPasses-BmyugNe3-675317a5-908fdece.js} +10 -6
  22. package/dist/{CardTheMostProductive-BBt8B_sf-1c827b32-2ef7251d.js → CardTheMostProductive-DYe73XmH-10d6d5f1-0de7a638.js} +20 -16
  23. package/dist/{FilterConditions-00cc4a22-5e847557.js → FilterConditions-00cc4a22-0dc76eae.js} +1 -1
  24. package/dist/{FilterConditions-00cc4a22-DoZnt8Xz-25fabb65.js → FilterConditions-00cc4a22-DoZnt8Xz-54be4c63.js} +1 -1
  25. package/dist/{FilterField-957ae5b8-e7584381.js → FilterField-957ae5b8-0c08ea58.js} +1 -1
  26. package/dist/{FilterField-957ae5b8-CXUwZijf-d809366b.js → FilterField-957ae5b8-CXUwZijf-52d224e8.js} +1 -1
  27. package/dist/{FilterSubcategories-168d643a-CZMaUliX-62132d44.js → FilterSubcategories-168d643a-CZMaUliX-26c189af.js} +1 -1
  28. package/dist/{FilterSubcategories-168d643a-d5265a69.js → FilterSubcategories-168d643a-c040e0c2.js} +1 -1
  29. package/dist/{PlayerProfileCircle-CJTiOj5E-74e26a35-e0f712c5.js → PlayerProfileCircle-B34lIhjM-1fe33242-d65f3e4a.js} +1 -1
  30. package/dist/{Shield-If5I91AC-37a46ec8-282db335.js → Shield-CPIaGlGA-1c79a289-a1cff1e3.js} +6 -6
  31. package/dist/gsc-player-team-profile.js +1 -1
  32. package/dist/gsc-player-team-profile.umd.cjs +49 -49
  33. package/dist/{index-d1140626.js → index-8e98da8c.js} +54 -38
  34. package/dist/style.css +1 -1
  35. package/package.json +2 -2
  36. package/dist/CardPromTournament-BFRTPeVe-3cc9c4b5-774fa0b8.js +0 -147
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-player-team-profile",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -34,7 +34,7 @@
34
34
  "@golstats/gsc-players-and-teams-menu": "^1.1.4",
35
35
  "@golstats/gsc-slider": "^1.0.5",
36
36
  "@golstats/gsc-strengths": "^1.1.1",
37
- "@golstats/gsc-summary": "^1.1.6",
37
+ "@golstats/gsc-summary": "^1.1.7",
38
38
  "@golstats/gsc-switch-component": "^1.0.14",
39
39
  "@golstats/gsc-table-categories": "^1.0.12",
40
40
  "@golstats/gsc-tournament-select": "^1.0.23",
@@ -1,147 +0,0 @@
1
- import { useCssVars as V, computed as d, ref as B, openBlock as c, createElementBlock as m, normalizeStyle as r, createBlock as A, mergeProps as R, withCtx as S, createElementVNode as e, toDisplayString as u, createVNode as D, unref as T, Fragment as M, renderList as N, normalizeClass as E, createCommentVNode as F } from "vue";
2
- import { h as z, z as p, N as H, T as L } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
3
- import { A as j } from "./Shield-If5I91AC-37a46ec8-282db335.js";
4
- import "./index-d1140626.js";
5
- const $ = { class: "card-content" }, q = { class: "content-wrapper" }, G = { class: "main-content" }, J = { class: "title-separator" }, K = { class: "footer-text" }, Q = ["innerHTML"], U = { class: "seasons-sidebar" }, W = { class: "seasons-list" }, X = "1px 54px", Y = {
6
- __name: "CardPromTournament",
7
- props: {
8
- height: {
9
- type: String,
10
- default: "568px"
11
- },
12
- width: {
13
- type: String,
14
- default: "319px"
15
- },
16
- showVideos: {
17
- type: Boolean,
18
- default: !0
19
- },
20
- idAux: {
21
- type: String,
22
- default: ""
23
- },
24
- data: {
25
- type: Object,
26
- default: () => null
27
- },
28
- descriptionType: {
29
- type: Number,
30
- default: 0
31
- }
32
- },
33
- setup(s) {
34
- V((o) => {
35
- var t;
36
- return {
37
- d9678364: s.data.thumbnails.colors.background_color,
38
- "04caf132": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
39
- };
40
- });
41
- const a = s, O = d(() => ({
42
- "--height": a.height,
43
- "--width": a.width,
44
- "--footer-background-color": a.data.thumbnails.colors.background_color || "#000000"
45
- })), P = B({
46
- width: "50px",
47
- height: "50px",
48
- bottom: "34px",
49
- right: "-8px",
50
- innerImageWidth: "39px",
51
- innerImageHeight: "39px"
52
- }), h = d(() => {
53
- var o, t, l, i;
54
- return !a.data || !a.data.thumbnails ? null : {
55
- backgroundOverlayColor: a.data.thumbnails.colors.background_color || "#000000",
56
- backgroundImageSrc: (i = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && i[0] ? p(a.data.thumbnails.images.background_player_in_action[0]) : p(a.data.thumbnails.images.background_team),
57
- isPlayButtonVisible: a.showVideos
58
- };
59
- }), g = d(() => {
60
- var o, t, l;
61
- if (!((o = a.data) != null && o.title))
62
- return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
63
- const i = a.data.title.split("*").filter(Boolean);
64
- return {
65
- mainTitle: ((t = i[0]) == null ? void 0 : t.trim()) || "",
66
- sidebarTitle: ((l = i[1]) == null ? void 0 : l.trim()) || "PROMEDIO POR PARTIDO"
67
- };
68
- }), C = d(() => {
69
- var o;
70
- return (o = a.data) != null && o.averages ? Math.max(...a.data.averages.map((t) => parseFloat(t.average))) : 0;
71
- });
72
- return (o, t) => (c(), m("div", {
73
- class: "card-general",
74
- style: r(O.value)
75
- }, [
76
- h.value ? (c(), A(H, R({ key: 0 }, h.value, {
77
- width: s.width,
78
- "show-videos": s.showVideos,
79
- "id-aux": s.idAux
80
- }), {
81
- default: S(() => {
82
- var l, i, v, b, _, y, f, w;
83
- return [
84
- e("div", $, [
85
- e("div", q, [
86
- e("div", G, [
87
- e("h1", {
88
- class: "main-title",
89
- style: r({ color: ((l = a.data) == null ? void 0 : l.thumbnails.colors.font_color_header) || "white" })
90
- }, u(g.value.mainTitle), 5),
91
- e("div", J, [
92
- D(j, {
93
- "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + a.data.team_id + ".png",
94
- width: 105,
95
- color: a.data.thumbnails.colors.graphic_color,
96
- "inner-image-src": (_ = (b = (v = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : v.images) == null ? void 0 : b.background_player_in_action) != null && _[0] ? T(p)(a.data.thumbnails.images.player_in_action[0]) : "https://golstatsimages.blob.core.windows.net/players-profile/" + a.data.player_id + ".png",
97
- "team-logo-circle-props": P.value,
98
- "inner-image-translate": X
99
- }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
100
- ]),
101
- e("div", K, [
102
- e("p", {
103
- innerHTML: T(L)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
104
- class: "card-description",
105
- style: r({ color: ((y = a.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
106
- }, null, 12, Q)
107
- ])
108
- ]),
109
- e("div", U, [
110
- e("div", {
111
- class: "sidebar-header",
112
- style: r({ color: ((f = a.data) == null ? void 0 : f.thumbnails.colors.font_color_description) || "white" })
113
- }, u(g.value.sidebarTitle), 5),
114
- e("div", W, [
115
- (c(!0), m(M, null, N((w = a.data) == null ? void 0 : w.averages, (n, I) => {
116
- var x, k;
117
- return c(), m("div", {
118
- key: I,
119
- class: E(["season-row", {
120
- highlighted: n.highlighted,
121
- "max-value": parseFloat(n.average) === C.value
122
- }])
123
- }, [
124
- e("div", {
125
- class: "season-value-box",
126
- style: r({ color: ((x = a.data) == null ? void 0 : x.thumbnails.colors.font_color_stats) || "white" })
127
- }, u(n.average), 5),
128
- e("div", {
129
- class: "season-label",
130
- style: r({ color: ((k = a.data) == null ? void 0 : k.thumbnails.colors.font_color_stats) || "white" })
131
- }, u(n.season), 5)
132
- ], 2);
133
- }), 128))
134
- ])
135
- ])
136
- ])
137
- ])
138
- ];
139
- }),
140
- _: 1
141
- }, 16, ["width", "show-videos", "id-aux"])) : F("", !0)
142
- ], 4));
143
- }
144
- }, oa = /* @__PURE__ */ z(Y, [["__scopeId", "data-v-8c746128"]]);
145
- export {
146
- oa as default
147
- };