@golstats/gsc-landing 1.0.20 → 1.0.21

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,7 +1,7 @@
1
- import { useCssVars as E, computed as c, openBlock as s, createElementBlock as o, normalizeStyle as $, createElementVNode as a, createVNode as f, unref as g, Fragment as u, renderList as _, normalizeClass as v, toDisplayString as b, pushScopeId as V, popScopeId as H } from "vue";
2
- import { L as m } from "./gsc-checkbox-9572f28d-OEktJZP_.js";
3
- import { q as L } from "./index-v16yD7RQ.js";
4
- const r = (i) => (V("data-v-15fa063b"), i = i(), H(), i), R = { class: "details__header" }, T = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "Jugando como", -1)), W = { class: "details__header__checkbox" }, I = { class: "details__body" }, q = { class: "details__body__playing-as" }, z = ["onClick"], F = { class: "details__header" }, N = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), U = { class: "details__header__checkbox" }, j = { class: "details__body" }, D = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "1er tiempo", -1)), J = { class: "details__body__game-section" }, O = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], P = {
1
+ import { useCssVars as E, computed as n, openBlock as s, createElementBlock as o, normalizeStyle as $, createElementVNode as a, createVNode as g, unref as f, Fragment as u, renderList as _, normalizeClass as v, toDisplayString as b, pushScopeId as V, popScopeId as H } from "vue";
2
+ import { L as m } from "./gsc-checkbox-0735d028-JE5Zs_ri.js";
3
+ import { z as L } from "./index-KCQeS3QL.js";
4
+ const r = (i) => (V("data-v-209a8861"), i = i(), H(), i), R = { class: "details__header" }, T = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "Jugando como", -1)), z = { class: "details__header__checkbox" }, W = { class: "details__body" }, I = { class: "details__body__playing-as" }, F = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), j = { class: "details__header__checkbox" }, D = { class: "details__body" }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "1er tiempo", -1)), O = { class: "details__body__game-section" }, q = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ r(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], P = {
5
5
  __name: "FilterConditions",
6
6
  props: {
7
7
  conditions: {
@@ -140,22 +140,22 @@ const r = (i) => (V("data-v-15fa063b"), i = i(), H(), i), R = { class: "details_
140
140
  },
141
141
  setup(i) {
142
142
  E((e) => ({
143
- "99d00604": i.buttonsBackgroundColor,
144
- "4f3d71c2": i.buttonsTextColor,
145
- "6ad007a3": i.buttonsBorderWidth,
146
- "69b90940": i.buttonsBorderColor,
147
- "592e31a4": i.buttonsBackgroundColorActive,
148
- "02859f05": i.buttonsTextColorActive,
149
- "7d9aec89": i.buttonsBorderWidthActive,
150
- 41318466: i.buttonsBorderColorActive
143
+ "6828708b": i.buttonsBackgroundColor,
144
+ "717ea86c": i.buttonsTextColor,
145
+ "321a49b0": i.buttonsBorderWidth,
146
+ "31034b4d": i.buttonsBorderColor,
147
+ dca9f11e: i.buttonsBackgroundColorActive,
148
+ "90d3dadc": i.buttonsTextColorActive,
149
+ "305cb0d6": i.buttonsBorderWidthActive,
150
+ "18196e9a": i.buttonsBorderColorActive
151
151
  }));
152
- const d = i, x = c(() => d.conditions.playingAs.every((e) => e.isSelected)), C = c(() => d.conditions.gameSections.every((e) => e.isSelected)), S = c(() => d.conditions.gameSections.reduce(
152
+ const d = i, x = n(() => d.conditions.playingAs.every((e) => e.isSelected)), C = n(() => d.conditions.gameSections.every((e) => e.isSelected)), S = n(() => d.conditions.gameSections.reduce(
153
153
  (e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
154
154
  {
155
155
  firstHalf: [],
156
156
  secondHalf: []
157
157
  }
158
- )), h = c(() => ({
158
+ )), h = n(() => ({
159
159
  "--border-radius-first-button": `${d.buttonsBorderRadius} 0 0 ${d.buttonsBorderRadius}`,
160
160
  "--border-radius-last-button": `0 ${d.buttonsBorderRadius} ${d.buttonsBorderRadius} 0`
161
161
  }));
@@ -185,48 +185,48 @@ const r = (i) => (V("data-v-15fa063b"), i = i(), H(), i), R = { class: "details_
185
185
  }, [
186
186
  a("div", R, [
187
187
  T,
188
- a("div", W, [
189
- f(g(m), {
188
+ a("div", z, [
189
+ g(f(m), {
190
190
  label: "Todos",
191
191
  "model-value": x.value,
192
192
  "onUpdate:modelValue": B
193
193
  }, null, 8, ["model-value"])
194
194
  ])
195
195
  ]),
196
- a("div", I, [
197
- a("div", q, [
198
- (s(!0), o(u, null, _(i.conditions.playingAs, (l, n) => (s(), o("div", {
199
- key: `pa${n}`,
196
+ a("div", W, [
197
+ a("div", I, [
198
+ (s(!0), o(u, null, _(i.conditions.playingAs, (l, c) => (s(), o("div", {
199
+ key: `pa${c}`,
200
200
  class: v(["details__body__button", { active: l.isSelected }]),
201
201
  onClick: (y) => k(l)
202
- }, b(l.name), 11, z))), 128))
202
+ }, b(l.name), 11, F))), 128))
203
203
  ])
204
204
  ]),
205
- a("div", F, [
206
- N,
207
- a("div", U, [
208
- f(g(m), {
205
+ a("div", N, [
206
+ U,
207
+ a("div", j, [
208
+ g(f(m), {
209
209
  label: "Todos",
210
210
  "model-value": C.value,
211
211
  "onUpdate:modelValue": A
212
212
  }, null, 8, ["model-value"])
213
213
  ])
214
214
  ]),
215
- a("div", j, [
216
- D,
217
- a("div", J, [
218
- (s(!0), o(u, null, _(S.value.firstHalf, (l, n) => (s(), o("div", {
219
- key: `pa${n}`,
215
+ a("div", D, [
216
+ J,
217
+ a("div", O, [
218
+ (s(!0), o(u, null, _(S.value.firstHalf, (l, c) => (s(), o("div", {
219
+ key: `pa${c}`,
220
220
  class: v(["details__body__button", { active: l.isSelected }]),
221
221
  onClick: (y) => p(l)
222
- }, b(l.text), 11, O))), 128))
222
+ }, b(l.text), 11, q))), 128))
223
223
  ])
224
224
  ]),
225
225
  a("div", w, [
226
226
  G,
227
227
  a("div", K, [
228
- (s(!0), o(u, null, _(S.value.secondHalf, (l, n) => (s(), o("div", {
229
- key: `pa${n}`,
228
+ (s(!0), o(u, null, _(S.value.secondHalf, (l, c) => (s(), o("div", {
229
+ key: `pa${c}`,
230
230
  class: v(["details__body__button", { active: l.isSelected }]),
231
231
  onClick: (y) => p(l)
232
232
  }, b(l.text), 11, M))), 128))
@@ -234,7 +234,7 @@ const r = (i) => (V("data-v-15fa063b"), i = i(), H(), i), R = { class: "details_
234
234
  ])
235
235
  ], 4));
236
236
  }
237
- }, Y = /* @__PURE__ */ L(P, [["__scopeId", "data-v-15fa063b"]]);
237
+ }, Y = /* @__PURE__ */ L(P, [["__scopeId", "data-v-209a8861"]]);
238
238
  export {
239
239
  Y as default
240
240
  };