@golstats/gsc-reports 1.0.78 → 1.0.79

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.
@@ -121141,11 +121141,11 @@ const XH = {
121141
121141
  },
121142
121142
  setup(e) {
121143
121143
  const n = e, a = Ax(
121144
- () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-Df-aYrQw-VYuSaZOV.js")
121144
+ () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-a9ImVRWo-CrA3UZVD.js")
121145
121145
  ), T = Ax(
121146
- () => import("./FilterConditions-55d68355-DMqzcKBO-D2kXmeoL-DEviWylE.js")
121146
+ () => import("./FilterConditions-55d68355-DMqzcKBO-D2ZerJ0p-Cc4ohJII.js")
121147
121147
  ), W = Ax(
121148
- () => import("./FilterField-59a73e38-CNaE03Ge-B0XkVQzG-V94Z81Vi.js")
121148
+ () => import("./FilterField-59a73e38-CNaE03Ge-Dq6bT6HM-pz8ZTRNa.js")
121149
121149
  ), y = [
121150
121150
  {
121151
121151
  name: "Sub categorías",
@@ -153813,7 +153813,7 @@ const w_e = { class: "chalkboard-profile__field" }, __e = { class: "chalkboard-p
153813
153813
  onChangeXg: S
153814
153814
  }, null, 8, ["plays", "categories", "players", "games", "team", "play-values-index", "analysis-type", "section-type", "orientation", "can-play-videos", "is-assist-zone-visible", "component-width", "unique-id"])),
153815
153815
  fe("div", __e, [
153816
- e.isTotalXgfVisible ? (lt(), ft(nn, { key: 0 }, [
153816
+ e.isTotalXgfVisible && e.analysisType === "offensive" ? (lt(), ft(nn, { key: 0 }, [
153817
153817
  ia(" xG: " + sr(t.value.toFixed(2)) + " ", 1),
153818
153818
  k[0] || (k[0] = fe("span", { class: "chalkboard-profile__field__events__separator" }, " | ", -1))
153819
153819
  ], 64)) : pr("", !0),
@@ -153822,7 +153822,7 @@ const w_e = { class: "chalkboard-profile__field" }, __e = { class: "chalkboard-p
153822
153822
  ])
153823
153823
  ], 4));
153824
153824
  }
153825
- }, $4 = /* @__PURE__ */ k_(S_e, [["__scopeId", "data-v-5ba46eb8"]]), T_e = { class: "tooltip-options" }, k_e = {
153825
+ }, $4 = /* @__PURE__ */ k_(S_e, [["__scopeId", "data-v-65b32a9e"]]), T_e = { class: "tooltip-options" }, k_e = {
153826
153826
  __name: "TooltipOptions",
153827
153827
  props: {
153828
153828
  optionsType: {
@@ -163051,8 +163051,8 @@ const o6e = /* @__PURE__ */ HTe(q_, [["render", i6e], ["__scopeId", "data-v-f3ee
163051
163051
  function Te() {
163052
163052
  w.value = !1, be();
163053
163053
  }
163054
- function qe(me = !1) {
163055
- x.value && (Ja.emit("filters-cancelled", r), x.value = !1), me || (w.value = !1, be());
163054
+ function qe() {
163055
+ x.value && (Ja.emit("filters-cancelled", r), x.value = !1), w.value = !1, be();
163056
163056
  }
163057
163057
  po(async () => {
163058
163058
  document.addEventListener("click", ce), Vi(() => {
@@ -163851,7 +163851,7 @@ const o6e = /* @__PURE__ */ HTe(q_, [["render", i6e], ["__scopeId", "data-v-f3ee
163851
163851
  me.filterIndex !== void 0 && me.value !== void 0 && (S.value[me.filterIndex] = me.value, t.value && Ne(), ne());
163852
163852
  }
163853
163853
  function Ie() {
163854
- qe(!0);
163854
+ qe();
163855
163855
  }
163856
163856
  function Be(me) {
163857
163857
  var Ve, Ce, Ee, nt, at, ht, Tt;
@@ -164228,7 +164228,7 @@ const o6e = /* @__PURE__ */ HTe(q_, [["render", i6e], ["__scopeId", "data-v-f3ee
164228
164228
  }, "OK")) : pr("", !0)
164229
164229
  ]));
164230
164230
  }
164231
- }), F4e = /* @__PURE__ */ Md(R4e, [["__scopeId", "data-v-3b8c807a"]]), C4e = {
164231
+ }), F4e = /* @__PURE__ */ Md(R4e, [["__scopeId", "data-v-9dd6abcb"]]), C4e = {
164232
164232
  key: 0,
164233
164233
  class: "modal-simple"
164234
164234
  }, M4e = { class: "modal-simple__content" }, W4e = { class: "modal-simple__content__header" }, j4e = { class: "modal-simple__content__body" }, K4e = { class: "modal-simple__content__footer" }, E4e = {
@@ -164644,9 +164644,9 @@ const o6e = /* @__PURE__ */ HTe(q_, [["render", i6e], ["__scopeId", "data-v-f3ee
164644
164644
  const Be = Me.isHomeTeamForAnalysis;
164645
164645
  Me.isHomeTeamForAnalysis = Be ? ke : !ke;
164646
164646
  }
164647
- Me.seasonId = Fe.value.season_id, Me.teamIdForAnalysis = Me.isHomeTeamForAnalysis ? Fe.value.game.home_team : Fe.value.game.visiting_team;
164648
- const Ie = Me.isHomeTeamForAnalysis ? Fe.value.last_games.last_home_games : Fe.value.last_games.last_visiting_games;
164649
- Me.gamesIdsForAnalysis = x.value ? [Fe.value.game.game_id] : Me.howManyGames ? Ie.slice(0, Me.howManyGames).map((Be) => Be.game_id) : [];
164647
+ Me.isTemplateMode = De, Me.seasonId = Fe.season_id, Me.teamIdForAnalysis = Me.isHomeTeamForAnalysis ? Fe.game.home_team : Fe.game.visiting_team;
164648
+ const Ie = Me.isHomeTeamForAnalysis ? Fe.last_games.last_home_games : Fe.last_games.last_visiting_games;
164649
+ Me.gamesIdsForAnalysis = x.value ? [Fe.game.game_id] : Me.howManyGames ? Ie.slice(0, Me.howManyGames).map((Be) => Be.game_id) : [];
164650
164650
  }
164651
164651
  if (Pe.id === 10 && Ge) {
164652
164652
  const Ie = Me.isHomeTeamForAnalysis;
@@ -165264,7 +165264,7 @@ const o6e = /* @__PURE__ */ HTe(q_, [["render", i6e], ["__scopeId", "data-v-f3ee
165264
165264
  ]))
165265
165265
  ], 64));
165266
165266
  }
165267
- }, d7e = /* @__PURE__ */ Md(p7e, [["__scopeId", "data-v-2492d688"]]);
165267
+ }, d7e = /* @__PURE__ */ Md(p7e, [["__scopeId", "data-v-0334a53f"]]);
165268
165268
  function rq(e, n) {
165269
165269
  return function() {
165270
165270
  return e.apply(n, arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-reports",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
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.111",
50
+ "@golstats/gsc-template-report-maker": "^1.0.112",
51
51
  "axios": "^1.10.0",
52
52
  "gridstack": "^12.1.1",
53
53
  "tiny-emitter": "^2.1.0",
package/src/App.vue CHANGED
@@ -27,13 +27,13 @@ function handleModalNext(options) {
27
27
  <template>
28
28
  <div class="container-reports">
29
29
  <GSCReports
30
- :team="1"
31
- :user-id="24254"
32
- token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjQyNTQsIm5hbWUiOiJHb2xTdGF0cyIsInVzZXJuYW1lIjoiZ29sdGVzdGluZyIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE3NTIwNDY4NTQsImV4cCI6MTc4MzU4Mjg1NH0.cs9r3OnlIh-H0G0yxjKFFYiJoA70PAbvehjcVe4y7jE"
30
+ :team="950"
31
+ :user-id="481"
32
+ token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDgxLCJuYW1lIjoiR29sU3RhdHMiLCJ1c2VybmFtZSI6ImdvbHNhbWNoaXZhcyIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE3NjI1NDQwMDUsImV4cCI6MTc5NDA4MDAwNX0.SGWoxQjwtNKmYVSX0j-0yivKHECqu-C_0Fu-Iae1XEY"
33
33
  @toHome="handleToHome"
34
34
  />
35
35
 
36
- <!-- Modal de configuración de contenido
36
+ <!-- Modal de configuración de contenido
37
37
  <ModalConfigurarContenido
38
38
  v-if="showModal"
39
39
  :has-rival="true"