@golstats/gsc-landing 1.0.212 → 1.0.214

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 (34) hide show
  1. package/README.md +2 -2
  2. package/dist/CardBase-Cdma--ld-BufA9Fxb.js +181 -0
  3. package/dist/{CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js → CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js} +22 -16
  4. package/dist/{CardGeneral-DcE_7xpj-BjirwqAW.js → CardGeneral-Bw1wA3nD-DCftAsKf.js} +55 -51
  5. package/dist/{CardGeneralIndividual-DbvxscVI-DgN71Ll_.js → CardGeneralIndividual-D0egQpIm-CAQh25pC.js} +116 -112
  6. package/dist/{CardGeneralTeams-D0Y6zdKu-bSMLQ0UN.js → CardGeneralTeams-C7jWZSZP-7UMUvMn-.js} +52 -48
  7. package/dist/{CardIndividual-Ki5omZJI-BJN0Xc4K.js → CardIndividual-5844PHsB-ByyQBoNQ.js} +66 -61
  8. package/dist/CardIndividual1vs1-CQexwdAS-IO9xzI4J.js +119 -0
  9. package/dist/{CardIndividualAreas-CYpbCBwP-CZlr4svT.js → CardIndividualAreas-C7_BsHLB-DxObq7Ml.js} +32 -26
  10. package/dist/{CardIndividualCenters-JhzJNVnv-knmAyBfO.js → CardIndividualCenters-DV5tDLfV-C1ay0coc.js} +91 -85
  11. package/dist/{CardIndividualDistance-CKkJ7mwB-dhRkzmM7.js → CardIndividualDistance-zl4VOolG-C3tuZVGO.js} +36 -30
  12. package/dist/{CardIndividualFouls-6eSJq50u-0Eo_ODlc.js → CardIndividualFouls-CvSJn7oh-HOx9vQ1u.js} +47 -41
  13. package/dist/{CardIndividualGoalParticipation-S3oTRiGX-B9Ubj5c2.js → CardIndividualGoalParticipation-CpyCN4pK-CMqtEPao.js} +38 -33
  14. package/dist/{CardIndividualGoals-CTxER-Rj-DrsBgKOW.js → CardIndividualGoals-yml-5LMF-C_GyUhBk.js} +397 -247
  15. package/dist/{CardIndividualGold-B4BcqctC-DsJbgA7N.js → CardIndividualGold-BN6tctB5-G6ym5byu.js} +45 -39
  16. package/dist/{CardIndividualNoGoalReceived-BrVOXQpB-WWzw2ZT1.js → CardIndividualNoGoalReceived-ICCs2ZM5-B1MQrZPF.js} +42 -37
  17. package/dist/CardIndividualPerformance-B8vQAqkl-BYR02_RY.js +113 -0
  18. package/dist/{CardIndividualSaves-j_epfoNL-BLIYXJi2.js → CardIndividualSaves-BwuZ8ftn-QqesnmR7.js} +41 -37
  19. package/dist/{CardIndividualShotsOnGoal-BTVmtE9u-BWNF8wkq.js → CardIndividualShotsOnGoal-BJME2mbD-BdBASKyS.js} +57 -51
  20. package/dist/{CardIndividualStatistics-DbAhxMKF-JN2q71S7.js → CardIndividualStatistics-By5s6JAO-Rv4-QyLp.js} +36 -30
  21. package/dist/{CardPromTournament-BtYUa7FA-B1jTn5AY.js → CardPromTournament-gihiLtUr-DUepGBni.js} +56 -47
  22. package/dist/{CardSuccessfulPasses-Bwg7cP83-BVI2LDec.js → CardSuccessfulPasses-CnfMp77U-rRVe9D87.js} +30 -24
  23. package/dist/CardTheMostProductive-BXTUS6yD-DyZgvFkv.js +87 -0
  24. package/dist/{Shield-wY38e4UU-DdT1mqXC.js → Shield-CqzYJKHt-OiFc4OPF.js} +3 -3
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +54 -54
  27. package/dist/{index-DyuOTImd.js → index-CidNks_N.js} +5191 -5252
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardBase-BCSIUbwa-DOSZB9eo.js +0 -127
  31. package/dist/CardIndividual1vs1-DmlJbJ8B-DqGZqI9c.js +0 -113
  32. package/dist/CardIndividualPerformance-Kw8Qsjmn-DB6xWsL-.js +0 -108
  33. package/dist/CardTheMostProductive-CMoq34SC-CLWwaVwC.js +0 -81
  34. package/dist/CircleWithDotsBig-I8rIqrbw-GuORLRXc.js +0 -151
@@ -0,0 +1,119 @@
1
+ import { computed as r, openBlock as l, createElementBlock as d, normalizeStyle as _, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as a, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { d as x } from "./CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js";
3
+ import { m as L, V as k, O as S, z as V, P as B, A as T } from "./CardBase-Cdma--ld-BufA9Fxb.js";
4
+ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone__body" }, I = { class: "onevsone__body__title" }, P = { class: "contsvg" }, H = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), N = ["fill"], D = ["fill"], E = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["fill"], Z = {
5
+ __name: "CardIndividual1vs1",
6
+ props: {
7
+ height: {
8
+ type: String,
9
+ default: "445px"
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
+ showVideos: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ idAux: {
28
+ type: String,
29
+ default: ""
30
+ }
31
+ },
32
+ setup(o) {
33
+ const t = o, m = r(() => {
34
+ var n, i, e, s, c, u, p;
35
+ return {
36
+ height: t.height,
37
+ width: t.width,
38
+ footerHeight: "137px",
39
+ footerPadding: "24px 24px 25px 24px",
40
+ playerPhotoUrl: k(t.data.player_id || ""),
41
+ teamLogoUrl: S(t.data.team_id || "") || "",
42
+ cardColor: t.data.thumbnails.colors.background_color || "#000000",
43
+ backgroundImageSrc: V((s = (e = (i = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : i.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 : ""),
44
+ textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
45
+ footerBodyData: {
46
+ textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
47
+ description: B(T({ data: t.data, descriptionType: t.descriptionType })),
48
+ total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
49
+ totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
50
+ totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
51
+ isTotalPercentage: t.data.footer && !!t.data.footer.show_percentage
52
+ }
53
+ };
54
+ });
55
+ r(() => t.data.id);
56
+ const f = r(() => ({
57
+ "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
58
+ }));
59
+ return (n, i) => (l(), d("div", {
60
+ class: "onevsone",
61
+ style: _(f.value)
62
+ }, [
63
+ b(x, w(m.value, {
64
+ "show-videos": o.showVideos,
65
+ "id-aux": o.idAux
66
+ }), {
67
+ body: v(() => {
68
+ var e;
69
+ return [
70
+ a("div", A, [
71
+ a("div", I, C(t.data.title.replace(/\*/g, "")), 1),
72
+ a("div", P, [
73
+ (e = t.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
74
+ E,
75
+ (l(), d("svg", {
76
+ width: "12",
77
+ class: "arrow",
78
+ height: "75",
79
+ viewBox: "0 0 12 75",
80
+ fill: t.data.thumbnails.colors.icon_color,
81
+ xmlns: "http://www.w3.org/2000/svg"
82
+ }, [
83
+ a("path", {
84
+ "fill-rule": "evenodd",
85
+ "clip-rule": "evenodd",
86
+ d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
87
+ fill: t.data.thumbnails.colors.icon_color
88
+ }, null, 8, U)
89
+ ], 8, M))
90
+ ], 64)) : (l(), d(g, { key: 0 }, [
91
+ H,
92
+ (l(), d("svg", {
93
+ class: "arrow",
94
+ width: "12",
95
+ height: "75",
96
+ viewBox: "0 0 12 75",
97
+ fill: t.data.thumbnails.colors.icon_color,
98
+ xmlns: "http://www.w3.org/2000/svg"
99
+ }, [
100
+ a("path", {
101
+ "fill-rule": "evenodd",
102
+ "clip-rule": "evenodd",
103
+ d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
104
+ fill: t.data.thumbnails.colors.icon_color
105
+ }, null, 8, D)
106
+ ], 8, N))
107
+ ], 64))
108
+ ])
109
+ ])
110
+ ];
111
+ }),
112
+ _: 1
113
+ }, 16, ["show-videos", "id-aux"])
114
+ ], 4));
115
+ }
116
+ }, j = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-6b4e801f"]]);
117
+ export {
118
+ j as default
119
+ };
@@ -1,15 +1,14 @@
1
- import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as v, createVNode as x, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as B } from "vue";
2
- import { d as S } from "./CardBaseAllIndividual-CZ_3lxWf-BtpGPuJl.js";
3
- import { j as b, $ as Z, H as U, B as G, R as O } from "./index-DyuOTImd.js";
4
- import { b as A } from "./CardBase-BCSIUbwa-DOSZB9eo.js";
5
- const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, D = { class: "areas-svg" }, R = {
1
+ import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as x, createVNode as v, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as S } from "vue";
2
+ import { d as B } from "./CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js";
3
+ import { m as b, V as Z, O as U, z as A, P as G, A as O } from "./CardBase-Cdma--ld-BufA9Fxb.js";
4
+ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, P = { class: "areas-svg" }, D = {
6
5
  key: 0,
7
6
  width: "270",
8
7
  height: "102",
9
8
  viewBox: "0 0 270 102",
10
9
  fill: "none",
11
10
  xmlns: "http://www.w3.org/2000/svg"
12
- }, P = ["fill"], T = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
11
+ }, T = ["fill"], R = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
13
12
  opacity: "0.6",
14
13
  d: "M267.61 94.5L270 102H0L2.31618 94.5H267.61Z",
15
14
  fill: "black"
@@ -17,7 +16,7 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
17
16
  opacity: "0.2",
18
17
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
19
18
  fill: "black"
20
- }, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
19
+ }, null, -1)), z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
21
20
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
22
21
  fill: "url(#paint0_linear_2158_1200)"
23
22
  }, null, -1)), N = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
@@ -30,7 +29,7 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
30
29
  stroke: "white",
31
30
  "stroke-width": "0.548478",
32
31
  "stroke-miterlimit": "10"
33
- }, null, -1)), z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
32
+ }, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
34
33
  /* @__PURE__ */ t("path", {
35
34
  d: "M109.648 5.78662V12.589H159.32V5.78662",
36
35
  stroke: "white",
@@ -412,10 +411,14 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
412
411
  showVideos: {
413
412
  type: Boolean,
414
413
  default: !0
414
+ },
415
+ idAux: {
416
+ type: String,
417
+ default: ""
415
418
  }
416
419
  },
417
420
  setup(l) {
418
- const i = l, w = /* @__PURE__ */ new Set([
421
+ const i = l, g = /* @__PURE__ */ new Set([
419
422
  "74-i",
420
423
  "75-i",
421
424
  "76-i",
@@ -429,17 +432,17 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
429
432
  id: 2,
430
433
  name: "Área rival"
431
434
  }
432
- ]), g = a(() => {
433
- var o, r, f, u, c, _;
435
+ ]), w = a(() => {
436
+ var o, r, u, f, c, _;
434
437
  const m = i.data.footer.show_percentage;
435
438
  return {
436
439
  height: i.height,
437
440
  width: i.width,
438
441
  footerHeight: "137px",
439
- playerPhotoUrl: b(i.data.player_id || ""),
440
- teamLogoUrl: Z(i.data.team_id || ""),
442
+ playerPhotoUrl: Z(i.data.player_id || ""),
443
+ teamLogoUrl: U(i.data.team_id || ""),
441
444
  cardColor: (i.data.thumbnails.colors.background_color || "#000000").trim(),
442
- backgroundImageSrc: U((f = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && f.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (u = i.data) == null ? void 0 : u.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
445
+ backgroundImageSrc: A((u = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && u.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (f = i.data) == null ? void 0 : f.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
443
446
  footerBodyData: {
444
447
  description: G(O({ data: i.data, descriptionType: i.descriptionType })),
445
448
  total: m ? i.data.percentage : i.data.total,
@@ -452,29 +455,32 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
452
455
  };
453
456
  }), y = a(() => i.data.id), p = a(() => ({
454
457
  fieldColor: (i.data.thumbnails.colors.graphic_color || "#FFFFFF").trim()
455
- })), h = a(() => w.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
458
+ })), h = a(() => g.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
456
459
  "--title-color": i.data.thumbnails.colors.font_color_header || "#FFFFFF"
457
460
  }));
458
461
  return (o, r) => (d(), s("div", {
459
462
  class: "areas",
460
- style: v(C.value)
463
+ style: x(C.value)
461
464
  }, [
462
- x(S, F(g.value, { "show-videos": l.showVideos }), {
465
+ v(B, F(w.value, {
466
+ "show-videos": l.showVideos,
467
+ "id-aux": l.idAux
468
+ }), {
463
469
  body: L(() => [
464
470
  t("div", I, [
465
471
  t("div", V, H(h.value.name), 1),
466
- t("div", D, [
467
- h.value.id === 1 ? (d(), s("svg", R, [
472
+ t("div", P, [
473
+ h.value.id === 1 ? (d(), s("svg", D, [
468
474
  t("path", {
469
475
  d: "M31.5 0H237.5L270 102H0L31.5 0Z",
470
476
  fill: p.value.fieldColor
471
- }, null, 8, P),
472
- T,
477
+ }, null, 8, T),
478
+ R,
473
479
  $,
474
- j,
480
+ z,
475
481
  N,
476
482
  E,
477
- z,
483
+ j,
478
484
  q,
479
485
  J,
480
486
  K,
@@ -501,10 +507,10 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
501
507
  ])
502
508
  ]),
503
509
  _: 1
504
- }, 16, ["show-videos"])
510
+ }, 16, ["show-videos", "id-aux"])
505
511
  ], 4));
506
512
  }
507
- }, m1 = /* @__PURE__ */ A(h1, [["__scopeId", "data-v-0853aecf"]]);
513
+ }, _1 = /* @__PURE__ */ b(h1, [["__scopeId", "data-v-f5cac76b"]]);
508
514
  export {
509
- m1 as default
515
+ _1 as default
510
516
  };