@golstats/gsc-reports 1.0.120 → 1.0.122

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.
@@ -121160,11 +121160,11 @@ const M4t = {
121160
121160
  },
121161
121161
  setup(t) {
121162
121162
  const e = t, r = pN(
121163
- () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-OIyEYwFv-BFq8O5Ms.js")
121163
+ () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-C-wr42XB-Bq0awUMh.js")
121164
121164
  ), g = pN(
121165
- () => import("./FilterConditions-55d68355-DMqzcKBO-CsToJXE0-B9blsVSq.js")
121165
+ () => import("./FilterConditions-55d68355-DMqzcKBO-CecC8P0z-DGs2H-CA.js")
121166
121166
  ), Q = pN(
121167
- () => import("./FilterField-59a73e38-CNaE03Ge-BugbPWOu-DdkZwJgg.js")
121167
+ () => import("./FilterField-59a73e38-CNaE03Ge-DN3ZLm_8-D0QmfI7U.js")
121168
121168
  ), d = [
121169
121169
  {
121170
121170
  name: "Sub categorías",
@@ -287724,7 +287724,7 @@ const Doe = /* @__PURE__ */ Aoe(RV, [["render", joe], ["__scopeId", "data-v-f3ee
287724
287724
  away_acronym: Ee.visiting_team_acronym || ((Tr = Ee.awayTeam) == null ? void 0 : Tr.acronym) || null,
287725
287725
  logo_home: ((Vr = Ee.homeTeam) == null ? void 0 : Vr.logo) || null,
287726
287726
  logo_away: ((Se = Ee.awayTeam) == null ? void 0 : Se.logo) || null
287727
- } : null, or.infavoragainstteam = Ie ? !Ie[0] : !0, or.forseason = !w.value, or.forteam = !1, or.tournamentselected = sr != null && sr.tournament_id ? { id: sr.tournament_id } : { id: 1 }, or.forgame = !!w.value, or.lateralidad = Ie && Ie[1] == 32 ? "right" : "left", or.teamselected = Ie[2] == 3 ? Te ? Te.isHomeTeam ? Ee == null ? void 0 : Ee.home_team : Ee == null ? void 0 : Ee.visiting_team : 0 : Ie[2] == 1 ? tr ? Ye ? sr.game.home_team : sr.game.visiting_team : sr.game.home_team : tr ? Ye ? sr.game.visiting_team : sr.game.home_team : sr.game.visiting_team;
287727
+ } : null, or.infavoragainstteam = Ie ? !Ie[0] : !0, or.forseason = !w.value, or.forteam = !1, or.tournamentselected = sr != null && sr.tournament_id ? { id: sr.tournament_id } : { id: 1 }, or.forgame = !!w.value, or.lateralidad = Ie && Ie[1] == 32 ? "right" : "left", or.teamselected = Ie[2] == 3 ? Te ? Te.isHomeTeam ? tr ? Ye ? sr.game.home_team : sr.game.visiting_team : sr.game.home_team : tr ? Ye ? sr.game.visiting_team : sr.game.home_team : sr.game.visiting_team : 0 : Ie[2] == 1 ? tr ? Ye ? sr.game.home_team : sr.game.visiting_team : sr.game.home_team : tr ? Ye ? sr.game.visiting_team : sr.game.home_team : sr.game.visiting_team;
287728
287728
  const zr = Ie && Ie[3] && typeof Ie[3] == "object" && !Array.isArray(Ie[3]) && Ie[3][4] !== void 0 ? Array.isArray(Ie[3][4]) ? Ie[3][4].filter((Rr) => Rr !== "rematado-destino-porteria").reduce((Rr, un) => (un === "fue-gol" ? Rr.push(583, 585, 587, 589) : un === "no-fue-gol" ? Rr.push(584, 586, 588, 590) : un === "rematado-sin-destino-porteria" ? Rr.push(125, 131, 139, 145) : un === "sin-destino" ? Rr.push(122, 128, 136, 142) : un === "ganados-por-portero-rival" ? Rr.push(123, 129, 137, 143) : un === "ganados-por-jugador-rival" && Rr.push(124, 130, 138, 144), Rr), []) : [] : [];
287729
287729
  or.filters = {
287730
287730
  isMoment: !0,
@@ -288383,7 +288383,7 @@ const Doe = /* @__PURE__ */ Aoe(RV, [["render", joe], ["__scopeId", "data-v-f3ee
288383
288383
  ]))
288384
288384
  ], 64));
288385
288385
  }
288386
- }, Ode = /* @__PURE__ */ Y2(Lde, [["__scopeId", "data-v-c8f58b1c"]]);
288386
+ }, Ode = /* @__PURE__ */ Y2(Lde, [["__scopeId", "data-v-a666380d"]]);
288387
288387
  function CQ(t, e) {
288388
288388
  return function() {
288389
288389
  return t.apply(e, arguments);
@@ -293563,7 +293563,7 @@ const FP = (t) => (O0("data-v-7f431c81"), t = t(), M0(), t), $1e = { class: "cor
293563
293563
  ], 64);
293564
293564
  };
293565
293565
  }
293566
- }, dve = /* @__PURE__ */ Bv(pve, [["__scopeId", "data-v-479f5c78"]]), IP = (t) => (O0("data-v-55dfb8d7"), t = t(), M0(), t), hve = { class: "templates-header" }, fve = { class: "count" }, mve = {
293566
+ }, dve = /* @__PURE__ */ Bv(pve, [["__scopeId", "data-v-479f5c78"]]), IP = (t) => (O0("data-v-2565ffde"), t = t(), M0(), t), hve = { class: "templates-header" }, fve = { class: "count" }, mve = {
293567
293567
  key: 0,
293568
293568
  class: "sort-options"
293569
293569
  }, yve = ["onClick"], gve = {
@@ -293700,7 +293700,7 @@ const FP = (t) => (O0("data-v-7f431c81"), t = t(), M0(), t), $1e = { class: "cor
293700
293700
  return;
293701
293701
  const Je = {
293702
293702
  template_id: b.value.template.id,
293703
- user_id: Q.userId,
293703
+ user_id: b.value.template.user_id,
293704
293704
  tournament_id: b.value.liga.id || 1,
293705
293705
  tournament_name: b.value.liga.name,
293706
293706
  season_id: b.value.partido.season_id,
@@ -293915,7 +293915,7 @@ const FP = (t) => (O0("data-v-7f431c81"), t = t(), M0(), t), $1e = { class: "cor
293915
293915
  ], 512);
293916
293916
  };
293917
293917
  }
293918
- }, Ove = /* @__PURE__ */ Bv(Lve, [["__scopeId", "data-v-55dfb8d7"]]), qV = (t) => (O0("data-v-d17eb1eb"), t = t(), M0(), t), Mve = { class: "tooltip-report-options" }, zve = /* @__PURE__ */ qV(() => /* @__PURE__ */ Jt("img", {
293918
+ }, Ove = /* @__PURE__ */ Bv(Lve, [["__scopeId", "data-v-2565ffde"]]), qV = (t) => (O0("data-v-d17eb1eb"), t = t(), M0(), t), Mve = { class: "tooltip-report-options" }, zve = /* @__PURE__ */ qV(() => /* @__PURE__ */ Jt("img", {
293919
293919
  src: "https://golstatsimages.blob.core.windows.net/reports-images/icn-rename.svg",
293920
293920
  alt: "Renombrar reporte",
293921
293921
  class: "icon"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-reports",
3
- "version": "1.0.120",
3
+ "version": "1.0.122",
4
4
  "main": "dist/gsc-reports.umd.js",
5
5
  "module": "dist/gsc-reports.es.js",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@golstats/gsc-checkbox": "^1.0.13",
50
- "@golstats/gsc-template-report-maker": "^1.0.152",
50
+ "@golstats/gsc-template-report-maker": "^1.0.153",
51
51
  "axios": "^1.10.0",
52
52
  "gridstack": "^12.1.1",
53
53
  "tiny-emitter": "^2.1.0",
@@ -402,7 +402,6 @@ async function onNextFromConfigurar(options) {
402
402
  try {
403
403
  // Cerrar ModalConfigurarContenido
404
404
  showModalConfigurarContenido.value = false
405
-
406
405
  // Aquí podrías guardar las opciones si es necesario para el reporte
407
406
  // Por ahora, generar el reporte normalmente
408
407
  if (!configurarContenidoData.value) {
@@ -412,7 +411,7 @@ async function onNextFromConfigurar(options) {
412
411
  // Generar el reporte con los datos guardados
413
412
  const payload = {
414
413
  template_id: configurarContenidoData.value.template.id,
415
- user_id: props.userId,
414
+ user_id: configurarContenidoData.value.template.user_id,
416
415
  tournament_id: configurarContenidoData.value.liga.id || 1,
417
416
  tournament_name: configurarContenidoData.value.liga.name,
418
417
  season_id: configurarContenidoData.value.partido.season_id,