@golstats/gsc-reports 1.0.4 → 1.0.5

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.
@@ -1,6 +1,6 @@
1
- import { useCssVars as E, computed as c, createElementBlock as i, openBlock as o, normalizeStyle as $, createElementVNode as a, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
2
- import { C as T, u as m } from "./index-B_k9p-67.js";
3
- const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
1
+ import { useCssVars as E, computed as c, createElementBlock as i, openBlock as o, normalizeStyle as $, createElementVNode as s, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
2
+ import { C as T, a as m } from "./index-iexGXjdj.js";
3
+ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ s("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ s("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ s("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ s("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
6
6
  playingAs: {
@@ -89,7 +89,7 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
89
89
  }
90
90
  },
91
91
  setup(d) {
92
- const s = d;
92
+ const a = d;
93
93
  E((e) => ({
94
94
  "49cba245": d.buttonsBackgroundColor,
95
95
  "52f02da6": d.buttonsTextColor,
@@ -100,33 +100,33 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
100
100
  "35fa5c10": d.buttonsBorderWidthActive,
101
101
  "0cde1826": d.buttonsBorderColorActive
102
102
  }));
103
- const C = c(() => s.playingAs.every((e) => e.isSelected)), h = c(() => s.gameSections.every((e) => e.isSelected)), p = c(() => s.gameSections.reduce(
103
+ const C = c(() => a.playingAs.every((e) => e.isSelected)), h = c(() => a.gameSections.every((e) => e.isSelected)), p = c(() => a.gameSections.reduce(
104
104
  (e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
105
105
  {
106
106
  firstHalf: [],
107
107
  secondHalf: []
108
108
  }
109
109
  )), B = c(() => ({
110
- "--border-radius-first-button": `${s.buttonsBorderRadius} 0 0 ${s.buttonsBorderRadius}`,
111
- "--border-radius-last-button": `0 ${s.buttonsBorderRadius} ${s.buttonsBorderRadius} 0`
110
+ "--border-radius-first-button": `${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,
111
+ "--border-radius-last-button": `0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`
112
112
  }));
113
113
  function x(e) {
114
- e ? s.playingAs.forEach((t) => {
114
+ e ? a.playingAs.forEach((t) => {
115
115
  t.isSelected = !0;
116
- }) : s.playingAs.forEach((t, l) => {
116
+ }) : a.playingAs.forEach((t, l) => {
117
117
  t.isSelected = l === 0;
118
118
  });
119
119
  }
120
120
  function k(e) {
121
- s.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
121
+ a.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
122
122
  }
123
123
  function S(e) {
124
- s.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
124
+ a.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
125
125
  }
126
126
  function A(e) {
127
- e ? s.gameSections.forEach((t) => {
127
+ e ? a.gameSections.forEach((t) => {
128
128
  t.isSelected = !0;
129
- }) : s.gameSections.forEach((t, l) => {
129
+ }) : a.gameSections.forEach((t, l) => {
130
130
  t.isSelected = l === 0;
131
131
  });
132
132
  }
@@ -134,9 +134,9 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
134
134
  class: "details",
135
135
  style: $(B.value)
136
136
  }, [
137
- a("div", V, [
137
+ s("div", V, [
138
138
  W,
139
- a("div", I, [
139
+ s("div", I, [
140
140
  y(g(m), {
141
141
  label: "Todos",
142
142
  "model-value": C.value,
@@ -144,18 +144,18 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
144
144
  }, null, 8, ["model-value"])
145
145
  ])
146
146
  ]),
147
- a("div", z, [
148
- a("div", F, [
149
- (o(!0), i(u, null, _(s.playingAs, (l, r) => (o(), i("div", {
147
+ s("div", z, [
148
+ s("div", F, [
149
+ (o(!0), i(u, null, _(a.playingAs, (l, r) => (o(), i("div", {
150
150
  key: `pa${r}`,
151
151
  class: b(["details__body__button", { active: l.isSelected }]),
152
152
  onClick: (f) => k(l)
153
153
  }, v(l.name), 11, L))), 128))
154
154
  ])
155
155
  ]),
156
- a("div", N, [
156
+ s("div", N, [
157
157
  U,
158
- a("div", D, [
158
+ s("div", D, [
159
159
  y(g(m), {
160
160
  label: "Todos",
161
161
  "model-value": h.value,
@@ -163,9 +163,9 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
163
163
  }, null, 8, ["model-value"])
164
164
  ])
165
165
  ]),
166
- a("div", J, [
166
+ s("div", J, [
167
167
  j,
168
- a("div", q, [
168
+ s("div", q, [
169
169
  (o(!0), i(u, null, _(p.value.firstHalf, (l, r) => (o(), i("div", {
170
170
  key: `pa${r}`,
171
171
  class: b(["details__body__button", { active: l.isSelected }]),
@@ -173,9 +173,9 @@ const n = (d) => (H("data-v-80d9c265"), d = d(), R(), d), V = { class: "details_
173
173
  }, v(l.text), 11, w))), 128))
174
174
  ])
175
175
  ]),
176
- a("div", G, [
176
+ s("div", G, [
177
177
  K,
178
- a("div", M, [
178
+ s("div", M, [
179
179
  (o(!0), i(u, null, _(p.value.secondHalf, (l, r) => (o(), i("div", {
180
180
  key: `pa${r}`,
181
181
  class: b(["details__body__button", { active: l.isSelected }]),
@@ -0,0 +1,21 @@
1
+ import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as d } from "vue";
2
+ import { C as u, o as f } from "./index-iexGXjdj.js";
3
+ const i = { class: "filter-field" }, m = {
4
+ __name: "FilterField",
5
+ setup(s) {
6
+ const o = r(Array.from({ length: 16 }, (t, e) => e + 1));
7
+ function l() {
8
+ }
9
+ return (t, e) => (n(), a("div", i, [
10
+ c(d(f), {
11
+ width: "100%",
12
+ "background-color": "#2E3B46",
13
+ value: o.value,
14
+ "onUpdate:modelValue": l
15
+ }, null, 8, ["value"])
16
+ ]));
17
+ }
18
+ }, _ = /* @__PURE__ */ u(m, [["__scopeId", "data-v-8103c3e1"]]);
19
+ export {
20
+ _ as default
21
+ };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as a, openBlock as r, Fragment as o, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { C as l, u as g } from "./index-B_k9p-67.js";
2
+ import { C as l, a as g } from "./index-iexGXjdj.js";
3
3
  const b = { class: "subcategory-group" }, m = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {