@golstats/gsc-relevant-data 1.0.10 → 1.0.12

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 (25) hide show
  1. package/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js} +65 -62
  2. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-CFWRGY5X-C_fVh0wc.js} +39 -39
  3. package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-D6dOCoBJ-gNVrnriq.js} +41 -41
  4. package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-Di0JSzEe-CLovxt4W.js} +9 -9
  5. package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-aC8osoyU-UoLnF_mm.js} +7 -6
  6. package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-BgQU4zNA-Bo3xjdjg.js} +108 -107
  7. package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-VCXjTrp1-vbMjIgWO.js} +1 -1
  8. package/dist/CardIndividualFouls-cDLfFMHR-BvC26L7k.js +682 -0
  9. package/dist/{CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js → CardIndividualGoalParticipation-D5vYpL7Y-BGXTh0Ro.js} +1 -1
  10. package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-BtTv4WBt-CjjyrgH1.js} +95 -92
  11. package/dist/{CardIndividualGold-Df7Raasl-Byue4uk-.js → CardIndividualGold-IUGmcQgF-BeqxvhCd.js} +5 -3
  12. package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-DJWQMXZL-D1r008m0.js} +2 -2
  13. package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-Dhb8N9Xr-B7k48lOO.js} +21 -21
  14. package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-CRxOprRo-D5WKVRqk.js} +1 -1
  15. package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-Bg-Prdxk-Lx8KIUcV.js} +18 -17
  16. package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-Cof2Gj-A-BMQrCxPI.js} +38 -34
  17. package/dist/CardSuccessfulPasses-BWjAXxRf-Zs-VmT82.js +809 -0
  18. package/dist/CardTheMostProductive-D31veUqA--tjlBapw.js +76 -0
  19. package/dist/gsc-relevant-data.css +1 -1
  20. package/dist/gsc-relevant-data.js +869 -841
  21. package/dist/gsc-relevant-data.umd.cjs +6 -6
  22. package/package.json +2 -2
  23. package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
  24. package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
  25. package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
@@ -1,12 +1,12 @@
1
1
  import { useCssVars as C, computed as p, openBlock as l, createElementBlock as c, normalizeStyle as F, createBlock as _, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as h, createCommentVNode as d, createTextVNode as D, pushScopeId as E, popScopeId as q } from "vue";
2
2
  import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-BbzSgyER-2p2XKW1m.js";
3
- import { o as O } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
+ import { r as O } from "./CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js";
4
4
  const u = {
5
5
  props: {
6
6
  cancha: {
7
7
  type: String,
8
8
  required: !0,
9
- validator: (r) => ["full", "own", "rival"].includes(r)
9
+ validator: (o) => ["full", "own", "rival"].includes(o)
10
10
  },
11
11
  stat: {
12
12
  type: Number,
@@ -15,7 +15,7 @@ const u = {
15
15
  type: {
16
16
  type: String,
17
17
  default: "box",
18
- validator: (r) => ["box", "accelerometer"].includes(r)
18
+ validator: (o) => ["box", "accelerometer"].includes(o)
19
19
  },
20
20
  colorcancha: {
21
21
  type: String,
@@ -38,21 +38,21 @@ const u = {
38
38
  },
39
39
  canchaType() {
40
40
  if (Array.isArray(this.cancha)) {
41
- const r = [485, 486, 489, 490], o = [487, 488, 491, 492];
42
- return this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "rival" : this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "own" : "full";
41
+ const o = [485, 486, 489, 490], r = [487, 488, 491, 492];
42
+ return this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "rival" : this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "own" : "full";
43
43
  }
44
44
  return this.cancha;
45
45
  }
46
46
  }
47
47
  }, L = () => {
48
- C((r) => ({
49
- "1171bab7": r.colorstat,
50
- "6e896034": r.accelerometerStyle.percentage,
51
- "5f9a566f": r.colorcancha
48
+ C((o) => ({
49
+ "1171bab7": o.colorstat,
50
+ "6e896034": o.accelerometerStyle.percentage,
51
+ "5f9a566f": o.colorcancha
52
52
  }));
53
53
  }, x = u.setup;
54
- u.setup = x ? (r, o) => (L(), x(r, o)) : L;
55
- const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-box" }, z = {
54
+ u.setup = x ? (o, r) => (L(), x(o, r)) : L;
55
+ const s = (o) => (E("data-v-46fe0ed8"), o = o(), q(), o), V = { class: "outer-box" }, z = {
56
56
  key: 0,
57
57
  class: "inner-box"
58
58
  }, A = {
@@ -82,7 +82,7 @@ const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-bo
82
82
  stroke: "#DFE3E2",
83
83
  "stroke-width": "0.450603",
84
84
  "stroke-linecap": "square"
85
- }, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
85
+ }, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], rt = ["stroke"], ot = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
86
86
  key: 3,
87
87
  width: "212",
88
88
  height: "137",
@@ -131,7 +131,7 @@ const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-bo
131
131
  "stroke-width": "0.450603",
132
132
  "stroke-linecap": "square"
133
133
  }, null, -1)), St = ["stroke"], Dt = ["stroke"], Et = ["stroke"], qt = ["stroke"], Tt = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, Pt = ["stroke"], It = ["stroke"], Ot = ["stroke"], Vt = ["stroke"], zt = ["stroke"];
134
- function At(r, o, a, y, n, e) {
134
+ function At(o, r, a, y, n, e) {
135
135
  return l(), c("div", V, [
136
136
  a.type === "box" ? (l(), c("div", z, h(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", A, [
137
137
  t("div", U, [
@@ -213,13 +213,13 @@ function At(r, o, a, y, n, e) {
213
213
  stroke: a.colorcancha,
214
214
  "stroke-width": "0.523385",
215
215
  "stroke-dasharray": "1.05 1.05"
216
- }, null, 8, ot),
216
+ }, null, 8, rt),
217
217
  t("path", {
218
218
  d: "M158.008 136.08L158.008 7.43866e-05",
219
219
  stroke: a.colorcancha,
220
220
  "stroke-width": "0.523385",
221
221
  "stroke-dasharray": "1.05 1.05"
222
- }, null, 8, rt),
222
+ }, null, 8, ot),
223
223
  t("path", {
224
224
  d: "M210.673 90.7202L0.0105608 90.7202",
225
225
  stroke: a.colorcancha,
@@ -447,58 +447,58 @@ const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-46fe0ed8"
447
447
  default: 0
448
448
  }
449
449
  },
450
- setup(r) {
450
+ setup(o) {
451
451
  C((e) => ({
452
- "17ceb192": o.data.subtitle ? "100%" : "78%"
452
+ "17ceb192": r.data.subtitle ? "100%" : "78%"
453
453
  }));
454
- const o = r, a = p(() => {
454
+ const r = o, a = p(() => {
455
455
  var e, i, k, w, f, m, g;
456
456
  return {
457
- height: o.height,
458
- width: o.width,
457
+ height: r.height,
458
+ width: r.width,
459
459
  footerHeight: "93px",
460
460
  footerPadding: "24px 24px 30px 24px",
461
- playerPhotoUrl: T(o.data.player_id || ""),
462
- teamLogoUrl: N(o.data.team_id || "") || "",
463
- cardColor: o.data.thumbnails.colors.background_color || "#000000",
464
- backgroundImageSrc: B((w = (k = (i = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : i.images) == null ? void 0 : k.background_player_in_action) != null && w[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (m = (f = o.data) == null ? void 0 : f.thumbnails) == null ? void 0 : m.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
465
- textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
461
+ playerPhotoUrl: T(r.data.player_id || ""),
462
+ teamLogoUrl: N(r.data.team_id || "") || "",
463
+ cardColor: r.data.thumbnails.colors.background_color || "#000000",
464
+ backgroundImageSrc: B((w = (k = (i = (e = r.data) == null ? void 0 : e.thumbnails) == null ? void 0 : i.images) == null ? void 0 : k.background_player_in_action) != null && w[0] ? r.data.thumbnails.images.background_player_in_action[0] : (g = (m = (f = r.data) == null ? void 0 : f.thumbnails) == null ? void 0 : m.images) != null && g.background_team ? r.data.thumbnails.images.background_team : ""),
465
+ textColor: r.data.thumbnails.colors.font_color_description || "#FFFFFF",
466
466
  footerBodyData: {
467
- textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
468
- description: P(I({ data: o.data, descriptionType: o.descriptionType })),
469
- totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
470
- totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
471
- isTotalPercentage: !!o.data.footer.show_percentage
467
+ textColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
468
+ description: P(I({ data: r.data, descriptionType: r.descriptionType })),
469
+ totalTextColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
470
+ totalCircleColor: r.data.thumbnails.colors.background_color || "#000000",
471
+ isTotalPercentage: !!r.data.footer.show_percentage
472
472
  }
473
473
  };
474
474
  }), y = p(() => ({
475
- "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
475
+ "--title-color": r.data.thumbnails.colors.font_color_header || "#FFFFFF"
476
476
  })), n = p(() => {
477
477
  var e;
478
478
  const i = "BALONES RECUPERADOS";
479
- if (!o.data.title) return { title: "", subtitle: "" };
480
- const k = o.data.title.replace(i, "").trim();
479
+ if (!r.data.title) return { title: "", subtitle: "" };
480
+ const k = r.data.title.replace(i, "").trim();
481
481
  return {
482
482
  title: i.replace(/\*/g, ""),
483
483
  subtitle: k.replace(/\*/g, ""),
484
- showPlus: !((e = o.data.footer) != null && e.show_percentage)
484
+ showPlus: !((e = r.data.footer) != null && e.show_percentage)
485
485
  };
486
486
  });
487
487
  return (e, i) => (l(), c("div", {
488
488
  class: "card-general",
489
489
  style: F(y.value)
490
490
  }, [
491
- a.value ? (l(), _(O, v({ key: 0 }, a.value, { width: r.width }), {
491
+ a.value ? (l(), _(O, v({ key: 0 }, a.value, { width: o.width }), {
492
492
  body: M(() => [
493
493
  t("div", Zt, [
494
494
  t("div", $t, [
495
495
  S(Ut, {
496
- colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
497
- colorcancha: o.data.thumbnails.colors.graphic_color,
498
- colorstat: o.data.thumbnails.colors.data_color,
499
- cancha: o.data.categories,
500
- stat: o.data.body && o.data.body.show_percentage == 0 ? o.data.total : o.data.percentage,
501
- type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
496
+ colorfillcancha: r.data.thumbnails.colors.graphic_color_2,
497
+ colorcancha: r.data.thumbnails.colors.graphic_color,
498
+ colorstat: r.data.thumbnails.colors.data_color,
499
+ cancha: r.data.categories,
500
+ stat: r.data.body && r.data.body.show_percentage == 0 ? r.data.total : r.data.percentage,
501
+ type: r.data.body.show_percentage == 1 ? "accelerometer" : "box"
502
502
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
503
503
  ]),
504
504
  t("div", Rt, [
@@ -1,5 +1,5 @@
1
- import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, normalizeProps as v, guardReactiveProps as C, withCtx as w, createElementVNode as o, toDisplayString as F, Fragment as g, pushScopeId as y, popScopeId as L } from "vue";
2
- import { o as x } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
1
+ import { computed as i, openBlock as l, createElementBlock as r, normalizeStyle as f, createVNode as b, normalizeProps as v, guardReactiveProps as C, withCtx as w, createElementVNode as o, toDisplayString as F, Fragment as g, pushScopeId as y, popScopeId as L } from "vue";
2
+ import { r as x } from "./CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js";
3
3
  import { h as k, z as S, P as I, E as P, I as z, O as B } from "./misc-BbzSgyER-2p2XKW1m.js";
4
4
  const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone__body" }, T = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], M = ["fill"], U = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), V = ["fill"], Z = ["fill"], O = {
5
5
  __name: "CardIndividual1vs1",
@@ -23,7 +23,7 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
23
23
  },
24
24
  setup(a) {
25
25
  const t = a, h = i(() => {
26
- var n, r, e, s, c, u, p;
26
+ var d, n, e, s, c, u, p;
27
27
  return {
28
28
  height: t.height,
29
29
  width: t.width,
@@ -32,7 +32,7 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
32
32
  playerPhotoUrl: S(t.data.player_id || ""),
33
33
  teamLogoUrl: I(t.data.team_id || "") || "",
34
34
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
35
- backgroundImageSrc: P((s = (e = (r = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : r.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
35
+ backgroundImageSrc: P((s = (e = (n = (d = t.data) == null ? void 0 : d.thumbnails) == null ? void 0 : n.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
36
36
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
37
37
  footerBodyData: {
38
38
  textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
@@ -48,7 +48,7 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
48
48
  const _ = i(() => ({
49
49
  "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
50
50
  }));
51
- return (n, r) => (l(), d("div", {
51
+ return (d, n) => (l(), r("div", {
52
52
  class: "onevsone",
53
53
  style: f(_.value)
54
54
  }, [
@@ -59,9 +59,9 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
59
59
  o("div", E, [
60
60
  o("div", T, F(t.data.title.replace(/\*/g, "")), 1),
61
61
  o("div", H, [
62
- (e = t.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
62
+ (e = t.data.categories) != null && e.includes(4) ? (l(), r(g, { key: 1 }, [
63
63
  U,
64
- (l(), d("svg", {
64
+ (l(), r("svg", {
65
65
  width: "12",
66
66
  class: "arrow",
67
67
  height: "75",
@@ -76,9 +76,9 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
76
76
  fill: t.data.thumbnails.colors.icon_color
77
77
  }, null, 8, Z)
78
78
  ], 8, V))
79
- ], 64)) : (l(), d(g, { key: 0 }, [
79
+ ], 64)) : (l(), r(g, { key: 0 }, [
80
80
  N,
81
- (l(), d("svg", {
81
+ (l(), r("svg", {
82
82
  class: "arrow",
83
83
  width: "12",
84
84
  height: "75",
@@ -1,7 +1,7 @@
1
- import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as x, createVNode as v, normalizeProps as L, guardReactiveProps as F, withCtx as H, createElementVNode as t, toDisplayString as M, pushScopeId as S, popScopeId as B } from "vue";
2
- import { o as b } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
1
+ import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as x, createVNode as v, normalizeProps as F, guardReactiveProps as L, withCtx as H, createElementVNode as t, toDisplayString as M, pushScopeId as S, popScopeId as B } from "vue";
2
+ import { r as b } from "./CardBaseAllIndividual-DplWYN0Q-WF82HhWk.js";
3
3
  import { h as Z, z as U, P as G, E as O, I, O as A } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const e = (l) => (S("data-v-b93c2987"), l = l(), B(), l), D = { class: "areas__body" }, P = { class: "areas__body__title" }, V = { class: "areas-svg" }, R = {
4
+ const e = (l) => (S("data-v-b54c19de"), l = l(), B(), l), D = { class: "areas__body" }, P = { class: "areas__body__title" }, V = { class: "areas-svg" }, R = {
5
5
  key: 0,
6
6
  width: "270",
7
7
  height: "102",
@@ -441,7 +441,8 @@ const e = (l) => (S("data-v-b93c2987"), l = l(), B(), l), D = { class: "areas__b
441
441
  isTotalPercentage: m,
442
442
  textColor: (i.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
443
443
  totalTextColor: (i.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
444
- totalCircleColor: (i.data.thumbnails.colors.data_color || "#000000").trim()
444
+ totalCircleColor: (i.data.thumbnails.colors.data_color || "#000000").trim(),
445
+ totalBorderColor: (i.data.thumbnails.colors.data_color || "#FFFFFF").trim()
445
446
  }
446
447
  };
447
448
  }), y = a(() => i.data.id), p = a(() => ({
@@ -453,7 +454,7 @@ const e = (l) => (S("data-v-b93c2987"), l = l(), B(), l), D = { class: "areas__b
453
454
  class: "areas",
454
455
  style: x(C.value)
455
456
  }, [
456
- v(b, L(F(w.value)), {
457
+ v(b, F(L(w.value)), {
457
458
  body: H(() => [
458
459
  t("div", D, [
459
460
  t("div", P, M(h.value.name), 1),
@@ -498,7 +499,7 @@ const e = (l) => (S("data-v-b93c2987"), l = l(), B(), l), D = { class: "areas__b
498
499
  }, 16)
499
500
  ], 4));
500
501
  }
501
- }, m1 = /* @__PURE__ */ Z(f1, [["__scopeId", "data-v-b93c2987"]]);
502
+ }, m1 = /* @__PURE__ */ Z(f1, [["__scopeId", "data-v-b54c19de"]]);
502
503
  export {
503
504
  m1 as default
504
505
  };