@golstats/gsc-reports 1.0.41 → 1.0.42

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.
@@ -112273,11 +112273,11 @@ const jD = {
112273
112273
  },
112274
112274
  setup(r) {
112275
112275
  const a = r, g = N1(
112276
- () => import("./FilterSubcategories-a9b32cc9-DNpw7zPl-B0kXjuae-BOYye02j.js")
112276
+ () => import("./FilterSubcategories-a9b32cc9-DNpw7zPl-DNn_qksa-DrmWd504.js")
112277
112277
  ), F = N1(
112278
- () => import("./FilterConditions-55d68355-DgmObXIt-CmrUWIl_-DylREFoz.js")
112278
+ () => import("./FilterConditions-55d68355-DgmObXIt-CKD2eOTx-r19opn2H.js")
112279
112279
  ), K = N1(
112280
- () => import("./FilterField-59a73e38-09cJ-DRW-DE1eR7o1-C-znLzVd.js")
112280
+ () => import("./FilterField-59a73e38-09cJ-DRW-pptdl7Vm-CZt4ndD_.js")
112281
112281
  ), E = [
112282
112282
  {
112283
112283
  name: "Sub categorías",
@@ -134988,7 +134988,7 @@ const {
134988
134988
  }
134989
134989
  },
134990
134990
  setup(r) {
134991
- const a = r, g = Kr([]), F = Kr(!0), K = Kr(null), E = ci(() => a.default ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : a.homeLogo), _ = ci(() => a.default ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : a.awayLogo);
134991
+ const a = r, g = Kr([]), F = Kr(!0), K = Kr(null), E = ci(() => a.default || !a.gameId ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : a.homeLogo), _ = ci(() => a.default || !a.gameId ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : a.awayLogo);
134992
134992
  ci(() => ({
134993
134993
  general: "General",
134994
134994
  offensive: "Ofensivo",
@@ -134999,8 +134999,7 @@ const {
134999
134999
  })[a.type] || "General");
135000
135000
  const t = Kr(null), y = async () => {
135001
135001
  try {
135002
- if (F.value = !0, K.value = null, a.default) {
135003
- console.log("Modo default activado - usando categorías estáticas");
135002
+ if (F.value = !0, K.value = null, a.default || !a.gameId) {
135004
135003
  const i = d[a.type] || d.general;
135005
135004
  g.value = i.map((u) => ({
135006
135005
  label: u,
@@ -135125,14 +135124,14 @@ const {
135125
135124
  Le("img", {
135126
135125
  src: E.value,
135127
135126
  alt: "Equipo local",
135128
- class: Pt(["logo", { "default-logo": a.default }])
135127
+ class: Pt(["logo", { "default-logo": a.default || !r.gameId }])
135129
135128
  }, null, 10, Xoe)
135130
135129
  ]),
135131
135130
  Le("div", Hoe, [
135132
135131
  Le("img", {
135133
135132
  src: _.value,
135134
135133
  alt: "Equipo visitante",
135135
- class: Pt(["logo", { "default-logo": a.default }])
135134
+ class: Pt(["logo", { "default-logo": a.default || !r.gameId }])
135136
135135
  }, null, 10, Joe)
135137
135136
  ])
135138
135137
  ]),
@@ -135164,7 +135163,7 @@ const {
135164
135163
  ])
135165
135164
  ], 512));
135166
135165
  }
135167
- }, P3 = /* @__PURE__ */ qoe(nse, [["__scopeId", "data-v-06db22db"]]), Wv = (r, a) => {
135166
+ }, P3 = /* @__PURE__ */ qoe(nse, [["__scopeId", "data-v-06bbe73e"]]), Wv = (r, a) => {
135168
135167
  const g = r.__vccOpts || r;
135169
135168
  for (const [F, K] of a)
135170
135169
  g[F] = K;
@@ -139890,6 +139889,16 @@ const Qle = [
139890
139889
  id: 22,
139891
139890
  name: "Atajadas",
139892
139891
  isSelected: !1
139892
+ },
139893
+ {
139894
+ id: 24,
139895
+ name: "Oportunidades de gol",
139896
+ isSelected: !1
139897
+ },
139898
+ {
139899
+ id: 25,
139900
+ name: "Balones recuperados en cancha rival",
139901
+ isSelected: !1
139893
139902
  }
139894
139903
  ], $h = (r) => Qle.find((a) => a.id === r), Ef = /* @__PURE__ */ new Map([
139895
139904
  [9, {
@@ -143521,7 +143530,7 @@ const $le = { class: "template-page__header" }, ece = { class: "template-page__h
143521
143530
  if (!ie || !fe)
143522
143531
  return ie || {};
143523
143532
  const _e = { ...ie };
143524
- return fe.id === 5 && (_e.isGhostEffect = ye), fe.id === 1 && (_e.gameId = ge ? ge.id : "", _e.homeLogo = ge ? ge.homeTeam.logo : "", _e.awayLogo = ge ? ge.awayTeam.logo : "", _e.seasonId = ge ? ge.season_id : 0, _e.default = ye), fe.id === 6 && (_e.game = ge || ""), fe.id === 2 && (_e.gamed = ge ? ge.id : "", _e.game = ge || "", _e.season = ge ? ge.season_id : 0, _e.useDummyData = ye), ge && (_e.game = ge), _e;
143533
+ return fe.id === 5 && (_e.isGhostEffect = ye), fe.id === 1 && (console.log("coreView.id 1 isTemplateMode -->", ye), _e.gameId = ge ? ge.id : "", _e.homeLogo = ge ? ge.homeTeam.logo : "", _e.awayLogo = ge ? ge.awayTeam.logo : "", _e.seasonId = ge ? ge.season_id : 0, _e.default = ye), fe.id === 6 && (_e.game = ge || ""), fe.id === 2 && (_e.gamed = ge ? ge.id : "", _e.game = ge || "", _e.season = ge ? ge.season_id : 0, _e.useDummyData = ye), ge && (_e.game = ge), _e;
143525
143534
  }
143526
143535
  const V = r, Z = g;
143527
143536
  aa(
@@ -144076,7 +144085,7 @@ const $le = { class: "template-page__header" }, ece = { class: "template-page__h
144076
144085
  ]))
144077
144086
  ], 64));
144078
144087
  }
144079
- }, Dde = /* @__PURE__ */ kh(zde, [["__scopeId", "data-v-526ec44f"]]);
144088
+ }, Dde = /* @__PURE__ */ kh(zde, [["__scopeId", "data-v-ab3d22c2"]]);
144080
144089
  function a8(r, a) {
144081
144090
  return function() {
144082
144091
  return r.apply(a, arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-reports",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
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.52",
50
+ "@golstats/gsc-template-report-maker": "^1.0.55",
51
51
  "@golstats/gsc-volumetric-field": "^1.0.1",
52
52
  "axios": "^1.10.0",
53
53
  "gridstack": "^12.1.1",