@golstats/gsc-lists 1.0.25 → 1.0.26

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.
@@ -11278,11 +11278,11 @@ const Qm = { class: "dropdown" }, e2 = { class: "selected-item" }, t2 = {
11278
11278
  },
11279
11279
  setup(e) {
11280
11280
  const t = e, a = ba(
11281
- () => import("./FilterSubcategories-773e7631-BToEwfqw.js")
11281
+ () => import("./FilterSubcategories-773e7631-CxbwkVYa.js")
11282
11282
  ), i = ba(
11283
- () => import("./FilterConditions-5dfb1730-Brgxo2hr.js")
11283
+ () => import("./FilterConditions-5dfb1730-COLUht3I.js")
11284
11284
  ), l = ba(
11285
- () => import("./FilterField-561d1607-CeMSN9lK.js")
11285
+ () => import("./FilterField-561d1607-DbIdzFM7.js")
11286
11286
  ), s = [
11287
11287
  {
11288
11288
  name: "Sub categorías",
@@ -18426,7 +18426,10 @@ const gi = {
18426
18426
  })
18427
18427
  };
18428
18428
  });
18429
- this.$emit("compare-players", i), this.activeTooltip = null;
18429
+ this.$emit("compare-players", {
18430
+ data: i,
18431
+ templateId: t.template
18432
+ }), this.activeTooltip = null;
18430
18433
  },
18431
18434
  calculateAge(e) {
18432
18435
  if (!e) return "-";
@@ -18535,8 +18538,14 @@ const gi = {
18535
18538
  const t = this.filteredLists[e], a = this.getOriginalList(t.id);
18536
18539
  a && (a.deleteActive = !1), this.hasSelectedPlayers = !1;
18537
18540
  },
18538
- handleShowGraph(e) {
18539
- this.$emit("showGraph", e);
18541
+ handleShowGraph(e, t) {
18542
+ this.$emit(
18543
+ "showGraph",
18544
+ {
18545
+ data: e,
18546
+ templateId: t.template
18547
+ }
18548
+ );
18540
18549
  },
18541
18550
  handleSelectedPlayers(e) {
18542
18551
  this.selectedPlayersToDelete = e, this.hasSelectedPlayers = e.length > 0;
@@ -18664,33 +18673,33 @@ const gi = {
18664
18673
  }
18665
18674
  }, ws = () => {
18666
18675
  ke((e) => ({
18667
- "5e6c1660": e.smallMobileCompact ? "12px" : "14px",
18668
- f75ffe6c: (e.isMobileLayout, "8px"),
18669
- "54aebd4c": e.isMobileLayout ? "0" : "8px",
18670
- "4d6ffde9": e.smallMobileCompact ? "0 5px" : "0 24px",
18671
- e06ddc96: e.smallMobileCompact ? "24px" : "32px",
18672
- 15378808: e.smallMobileCompact ? "4px" : "24px",
18673
- ea3b564e: e.smallMobileCompact ? "16px" : "20px",
18674
- d6a405d6: e.smallMobileCompact ? "32px" : "40px",
18675
- "126d9108": e.smallMobileCompact ? "128px" : "160px",
18676
- "48e2602d": e.isMobileLayout ? "13px" : "14px",
18677
- "03ab8e4a": e.smallMobileCompact ? "5px" : "12px",
18678
- "5136470c": e.smallMobileCompact ? "4px" : "0px",
18679
- "4853cc94": e.searchCompact ? e.isMobileLayout ? e.smallMobileCompact ? "calc(100% - 46px)" : "calc(100% - 44px)" : "88%" : "93%",
18680
- "24bbbe99": e.isMobileLayout ? "-10px -15px -15px -15px" : "-15px -15px",
18681
- "2fe0f478": e.tooltipY + "px",
18682
- db335a9c: e.searchCompact ? e.searchCloseCompact ? e.isMobileLayout ? e.smallMobileCompact ? "2%" : "1%" : "2.5%" : "5%" : "1%",
18683
- 42231746: e.isMobileLayout ? "0" : "16px",
18684
- bf61d666: e.isMobileLayout ? "-12px 0px 8px 0px" : "-15px -15px 15px -15px",
18685
- "16affc6c": e.isMobileLayout ? "7px" : "16px",
18686
- "2781ef1c": (e.smallMobileCompact, "column"),
18687
- "0e66f6ce": e.isMobileLayout ? "100%" : "150px",
18688
- "187a01e0": e.smallMobileCompact ? "10px" : "12px",
18689
- "6cd13b25": e.isMobileLayout ? "center" : "right",
18690
- "41ee5c3a": e.isMobileLayout ? "0" : "32px",
18691
- "41ccb8c4": e.isMobileLayout ? "0" : "48px",
18692
- 22003918: e.isMobileLayout && !e.smallMobileCompact ? "flex" : "none",
18693
- "03176e36": e.isMobileLayout ? "auto" : "32px"
18676
+ "05c6b004": e.smallMobileCompact ? "12px" : "14px",
18677
+ "777632fe": (e.isMobileLayout, "8px"),
18678
+ "3d445ee4": e.isMobileLayout ? "0" : "8px",
18679
+ "7c0d0635": e.smallMobileCompact ? "0 5px" : "0 24px",
18680
+ "7674662e": e.smallMobileCompact ? "24px" : "32px",
18681
+ "5646d358": e.smallMobileCompact ? "4px" : "24px",
18682
+ "8041dfe6": e.smallMobileCompact ? "16px" : "20px",
18683
+ "6caa8f6e": e.smallMobileCompact ? "32px" : "40px",
18684
+ "40f814a0": e.smallMobileCompact ? "128px" : "160px",
18685
+ "0b44d561": e.isMobileLayout ? "13px" : "14px",
18686
+ "795ec6d4": e.smallMobileCompact ? "5px" : "12px",
18687
+ ea0256a4: e.smallMobileCompact ? "4px" : "0px",
18688
+ "1088f440": e.searchCompact ? e.isMobileLayout ? e.smallMobileCompact ? "calc(100% - 46px)" : "calc(100% - 44px)" : "88%" : "93%",
18689
+ fc854a66: e.isMobileLayout ? "-10px -15px -15px -15px" : "-15px -15px",
18690
+ edcc9be0: e.tooltipY + "px",
18691
+ d6040634: e.searchCompact ? e.searchCloseCompact ? e.isMobileLayout ? e.smallMobileCompact ? "2%" : "1%" : "2.5%" : "5%" : "1%",
18692
+ "49df2ba9": e.isMobileLayout ? "0" : "16px",
18693
+ "6eaa0dce": e.isMobileLayout ? "-12px 0px 8px 0px" : "-15px -15px 15px -15px",
18694
+ ef5fde90: e.isMobileLayout ? "7px" : "16px",
18695
+ dd79ecb4: (e.smallMobileCompact, "column"),
18696
+ cf59afcc: e.isMobileLayout ? "100%" : "150px",
18697
+ "28bfba44": e.smallMobileCompact ? "10px" : "12px",
18698
+ "2c764971": e.isMobileLayout ? "center" : "right",
18699
+ "49f9892f": e.isMobileLayout ? "0" : "32px",
18700
+ "4a0a5aea": e.isMobileLayout ? "0" : "48px",
18701
+ "9009ad38": e.isMobileLayout && !e.smallMobileCompact ? "flex" : "none",
18702
+ "750c392c": e.isMobileLayout ? "auto" : "32px"
18694
18703
  }));
18695
18704
  }, xs = gi.setup;
18696
18705
  gi.setup = xs ? (e, t) => (ws(), xs(e, t)) : ws;
@@ -19059,7 +19068,7 @@ function $7(e, t, a, i, l, s) {
19059
19068
  class: "tooltip-item",
19060
19069
  onClick: (h) => s.editarLista(y)
19061
19070
  }, t[19] || (t[19] = [
19062
- Je('<svg width="16" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-69c7cc06><g clip-path="url(#clip0_3214_107704)" data-v-69c7cc06><path d="M8.25 3H3C2.60218 3 2.22064 3.15804 1.93934 3.43934C1.65804 3.72064 1.5 4.10218 1.5 4.5V15C1.5 15.3978 1.65804 15.7794 1.93934 16.0607C2.22064 16.342 2.60218 16.5 3 16.5H13.5C13.8978 16.5 14.2794 16.342 14.5607 16.0607C14.842 15.7794 15 15.3978 15 15V9.75" stroke="#CBEE6B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-69c7cc06></path><path d="M13.875 1.87493C14.1734 1.57656 14.578 1.40894 15 1.40894C15.422 1.40894 15.8266 1.57656 16.125 1.87493C16.4234 2.17329 16.591 2.57797 16.591 2.99993C16.591 3.42188 16.4234 3.82656 16.125 4.12493L9 11.2499L6 11.9999L6.75 8.99993L13.875 1.87493Z" stroke="#CBEE6B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-69c7cc06></path></g><defs data-v-69c7cc06><clipPath id="clip0_3214_107704" data-v-69c7cc06><rect width="18" height="18" fill="#CBEE6B" data-v-69c7cc06></rect></clipPath></defs></svg> Editar lista ', 2)
19071
+ Je('<svg width="16" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-303ee6a2><g clip-path="url(#clip0_3214_107704)" data-v-303ee6a2><path d="M8.25 3H3C2.60218 3 2.22064 3.15804 1.93934 3.43934C1.65804 3.72064 1.5 4.10218 1.5 4.5V15C1.5 15.3978 1.65804 15.7794 1.93934 16.0607C2.22064 16.342 2.60218 16.5 3 16.5H13.5C13.8978 16.5 14.2794 16.342 14.5607 16.0607C14.842 15.7794 15 15.3978 15 15V9.75" stroke="#CBEE6B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-303ee6a2></path><path d="M13.875 1.87493C14.1734 1.57656 14.578 1.40894 15 1.40894C15.422 1.40894 15.8266 1.57656 16.125 1.87493C16.4234 2.17329 16.591 2.57797 16.591 2.99993C16.591 3.42188 16.4234 3.82656 16.125 4.12493L9 11.2499L6 11.9999L6.75 8.99993L13.875 1.87493Z" stroke="#CBEE6B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-303ee6a2></path></g><defs data-v-303ee6a2><clipPath id="clip0_3214_107704" data-v-303ee6a2><rect width="18" height="18" fill="#CBEE6B" data-v-303ee6a2></rect></clipPath></defs></svg> Editar lista ', 2)
19063
19072
  ]), 8, I7),
19064
19073
  o("div", {
19065
19074
  class: "tooltip-item",
@@ -19135,7 +19144,7 @@ function $7(e, t, a, i, l, s) {
19135
19144
  class: "tooltip-item",
19136
19145
  onClick: (h) => s.compararListas(y)
19137
19146
  }, t[22] || (t[22] = [
19138
- Je('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-69c7cc06><g clip-path="url(#clip0_2936_393289)" data-v-69c7cc06><mask id="mask0_2936_393289" style="mask-type:luminance;" maskUnits="userSpaceOnUse" x="0" y="0" width="18" height="18" data-v-69c7cc06><path d="M0 0H18V18H0V0Z" fill="#CBEE6B" data-v-69c7cc06></path></mask><g mask="url(#mask0_2936_393289)" data-v-69c7cc06><path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 1.28571C2.7248 1.28571 1.28571 2.7248 1.28571 4.5V13.5C1.28571 15.2752 2.7248 16.7143 4.5 16.7143H13.5C15.2752 16.7143 16.7143 15.2752 16.7143 13.5V4.5C16.7143 2.7248 15.2752 1.28571 13.5 1.28571H4.5ZM0 4.5C0 2.01471 2.01471 0 4.5 0H13.5C15.9853 0 18 2.01471 18 4.5V13.5C18 15.9853 15.9853 18 13.5 18H4.5C2.01471 18 0 15.9853 0 13.5V4.5Z" fill="#CBEE6B" data-v-69c7cc06></path><path fill-rule="evenodd" clip-rule="evenodd" d="M10.9285 4.5C11.2835 4.5 11.5714 4.78782 11.5714 5.14286V11.3051L13.0453 9.83115C13.2964 9.58009 13.7035 9.58009 13.9546 9.83115C14.2055 10.0822 14.2055 10.4892 13.9546 10.7403L11.3831 13.3118C11.1992 13.4956 10.9227 13.5505 10.6825 13.451C10.4423 13.3515 10.2856 13.1171 10.2856 12.8571V5.14286C10.2856 4.78782 10.5735 4.5 10.9285 4.5Z" fill="#CBEE6B" data-v-69c7cc06></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.31723 4.54895C7.55745 4.64845 7.71408 4.88287 7.71408 5.14288V12.8572C7.71408 13.2121 7.42626 13.5 7.07122 13.5C6.71619 13.5 6.42837 13.2121 6.42837 12.8572V6.69487L4.95436 8.16887C4.70331 8.41993 4.29628 8.41993 4.04523 8.16887C3.79417 7.91782 3.79417 7.51079 4.04523 7.25974L6.61666 4.68831C6.80052 4.50445 7.07701 4.44945 7.31723 4.54895Z" fill="#CBEE6B" data-v-69c7cc06></path></g></g><defs data-v-69c7cc06><clipPath id="clip0_2936_393289" data-v-69c7cc06><rect width="18" height="18" fill="#CBEE6B" data-v-69c7cc06></rect></clipPath></defs></svg> Comparar ', 2)
19147
+ Je('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-303ee6a2><g clip-path="url(#clip0_2936_393289)" data-v-303ee6a2><mask id="mask0_2936_393289" style="mask-type:luminance;" maskUnits="userSpaceOnUse" x="0" y="0" width="18" height="18" data-v-303ee6a2><path d="M0 0H18V18H0V0Z" fill="#CBEE6B" data-v-303ee6a2></path></mask><g mask="url(#mask0_2936_393289)" data-v-303ee6a2><path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 1.28571C2.7248 1.28571 1.28571 2.7248 1.28571 4.5V13.5C1.28571 15.2752 2.7248 16.7143 4.5 16.7143H13.5C15.2752 16.7143 16.7143 15.2752 16.7143 13.5V4.5C16.7143 2.7248 15.2752 1.28571 13.5 1.28571H4.5ZM0 4.5C0 2.01471 2.01471 0 4.5 0H13.5C15.9853 0 18 2.01471 18 4.5V13.5C18 15.9853 15.9853 18 13.5 18H4.5C2.01471 18 0 15.9853 0 13.5V4.5Z" fill="#CBEE6B" data-v-303ee6a2></path><path fill-rule="evenodd" clip-rule="evenodd" d="M10.9285 4.5C11.2835 4.5 11.5714 4.78782 11.5714 5.14286V11.3051L13.0453 9.83115C13.2964 9.58009 13.7035 9.58009 13.9546 9.83115C14.2055 10.0822 14.2055 10.4892 13.9546 10.7403L11.3831 13.3118C11.1992 13.4956 10.9227 13.5505 10.6825 13.451C10.4423 13.3515 10.2856 13.1171 10.2856 12.8571V5.14286C10.2856 4.78782 10.5735 4.5 10.9285 4.5Z" fill="#CBEE6B" data-v-303ee6a2></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.31723 4.54895C7.55745 4.64845 7.71408 4.88287 7.71408 5.14288V12.8572C7.71408 13.2121 7.42626 13.5 7.07122 13.5C6.71619 13.5 6.42837 13.2121 6.42837 12.8572V6.69487L4.95436 8.16887C4.70331 8.41993 4.29628 8.41993 4.04523 8.16887C3.79417 7.91782 3.79417 7.51079 4.04523 7.25974L6.61666 4.68831C6.80052 4.50445 7.07701 4.44945 7.31723 4.54895Z" fill="#CBEE6B" data-v-303ee6a2></path></g></g><defs data-v-303ee6a2><clipPath id="clip0_2936_393289" data-v-303ee6a2><rect width="18" height="18" fill="#CBEE6B" data-v-303ee6a2></rect></clipPath></defs></svg> Comparar ', 2)
19139
19148
  ]), 8, V7),
19140
19149
  o("div", {
19141
19150
  class: "tooltip-item delete",
@@ -19192,7 +19201,7 @@ function $7(e, t, a, i, l, s) {
19192
19201
  playerStats: v.playerStats,
19193
19202
  playerAddtionalData: v.additionalData,
19194
19203
  "stats-loaded": l.statsLoaded,
19195
- onShowGraph: [s.handleShowGraph, (h) => s.showGraph(h, v)],
19204
+ onShowGraph: [(h) => s.handleShowGraph(h, v), (h) => s.showGraph(h, v)],
19196
19205
  onShowProfile: s.handleShowProfile,
19197
19206
  onViewProfile: s.handleViewProfile,
19198
19207
  onDeleteFromList: s.handleDeleteFromList,
@@ -19213,7 +19222,7 @@ function $7(e, t, a, i, l, s) {
19213
19222
  ])
19214
19223
  ], 512);
19215
19224
  }
19216
- const c9 = /* @__PURE__ */ Ke(gi, [["render", $7], ["__scopeId", "data-v-69c7cc06"]]);
19225
+ const c9 = /* @__PURE__ */ Ke(gi, [["render", $7], ["__scopeId", "data-v-303ee6a2"]]);
19217
19226
  export {
19218
19227
  c9 as G,
19219
19228
  Xf as U,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-lists",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"