@golstats/gsc-landing 1.1.45 → 1.1.46

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.
Files changed (33) hide show
  1. package/dist/{CardBase-Drc_iNoj-Ck4-sCeB.js → CardBase-Drc_iNoj-DdWvJVYL.js} +3 -3
  2. package/dist/{CardBaseAllIndividual-DQU5L0_7-_6bTA5gi.js → CardBaseAllIndividual-DQU5L0_7-CQsQZh_N.js} +1 -1
  3. package/dist/{CardGeneral-DthMSUTz-CpuyUI_y.js → CardGeneral-DthMSUTz-BE5Sd1BT.js} +2 -2
  4. package/dist/{CardGeneralIndividual-DW4TppvR-CKWKSsWw.js → CardGeneralIndividual-DW4TppvR-7PiX_9Uy.js} +2 -2
  5. package/dist/{CardGeneralTeams-nDp-BDsF-B61NlM7k.js → CardGeneralTeams-nDp-BDsF-CUwCgPpZ.js} +1 -1
  6. package/dist/{CardIndividual-BftPJzkb-BE2Uc4JT.js → CardIndividual-BftPJzkb-Cs7HqyJC.js} +3 -3
  7. package/dist/{CardIndividual1vs1-DEx2QaZw-Br0uTxv-.js → CardIndividual1vs1-DEx2QaZw-K9xSZUY8.js} +2 -2
  8. package/dist/{CardIndividualAreas-C2Jq8oxG-T6Y8HV0X.js → CardIndividualAreas-C2Jq8oxG-UHchRlev.js} +2 -2
  9. package/dist/{CardIndividualCenters-P8BPhIfo-CqtE2Oqq.js → CardIndividualCenters-P8BPhIfo-ipf1-eHk.js} +2 -2
  10. package/dist/{CardIndividualDistance-CafNkE98-Dt998pXh.js → CardIndividualDistance-CafNkE98-C_FaRQE4.js} +2 -2
  11. package/dist/{CardIndividualFouls-DAF23kWM-D0QPNjfh.js → CardIndividualFouls-DAF23kWM-D-2bZk3C.js} +2 -2
  12. package/dist/{CardIndividualGoalParticipation-DCb9wK2E-DjcKYXfD.js → CardIndividualGoalParticipation-DCb9wK2E-wyubrvza.js} +2 -2
  13. package/dist/{CardIndividualGoals-XOfk3NL1-Cewe0w1o.js → CardIndividualGoals-XOfk3NL1-CyoGybwF.js} +2 -2
  14. package/dist/{CardIndividualGold-jaqNRbMS-CnV4PwmE.js → CardIndividualGold-jaqNRbMS-pVE0o2lN.js} +3 -3
  15. package/dist/{CardIndividualNoGoalReceived-VvFaqDLZ-BAHfnRTV.js → CardIndividualNoGoalReceived-VvFaqDLZ-CLcCTttt.js} +2 -2
  16. package/dist/{CardIndividualPerformance-CBwVJkdt-XbwlcFVy.js → CardIndividualPerformance-CBwVJkdt-CqpeVnuG.js} +2 -2
  17. package/dist/{CardIndividualSaves-2UuGQW0x-dim9VoDQ.js → CardIndividualSaves-2UuGQW0x-DsrAV-Ac.js} +2 -2
  18. package/dist/{CardIndividualShotsOnGoal-DWQoE2us-DCw2pNgm.js → CardIndividualShotsOnGoal-DWQoE2us-VJf8_tKN.js} +2 -2
  19. package/dist/{CardIndividualStatistics-x8b7xPXP-BW7BRYli.js → CardIndividualStatistics-x8b7xPXP-dcs2fdee.js} +2 -2
  20. package/dist/{CardPromTournament-adLAcAGe-K9KD5KYg.js → CardPromTournament-adLAcAGe-CSpKH0we.js} +2 -2
  21. package/dist/{CardSuccessfulPasses-dzLxjXtd-DF9lVQJp.js → CardSuccessfulPasses-dzLxjXtd-CWkjrbIp.js} +2 -2
  22. package/dist/{CardTheMostProductive-B8An0nxA--LIozjTd.js → CardTheMostProductive-B8An0nxA-C4mFWj8U.js} +3 -3
  23. package/dist/{PlayerProfileCircle-DNtpZz1V-bFs6FPm8.js → PlayerProfileCircle-DNtpZz1V-BAFW-X77.js} +1 -1
  24. package/dist/{Shield-B1mbbnL_-5XAt8RDm.js → Shield-B1mbbnL_-tT6aB6nT.js} +1 -1
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +108 -4226
  27. package/dist/index-Bcyq2ILO.js +78241 -0
  28. package/dist/style.css +1 -4
  29. package/package.json +1 -1
  30. package/dist/FilterConditions-33ce2100-o1eGt8-m-XNf-j4RR-C53EY9hD.js +0 -191
  31. package/dist/FilterField-0f3013eb-BBJUw2wq-DepvT_uf-CRujfr-W.js +0 -21
  32. package/dist/FilterSubcategories-4c69ac5b-HPCQhBpy-Cxs5gISi-Dfkgmntj.js +0 -42
  33. package/dist/index-CXGPaYuR.js +0 -242004
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-landing",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,191 +0,0 @@
1
- import { useCssVars as E, computed as c, openBlock as i, createElementBlock 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 { s as T, O as m } from "./index-CXGPaYuR.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" }, L = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], N = { class: "details__header" }, O = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), U = { class: "details__header__checkbox" }, D = { class: "details__body" }, J = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "1er tiempo", -1)), j = { class: "details__body__game-section" }, q = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ n(() => /* @__PURE__ */ a("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], P = {
4
- __name: "FilterConditions",
5
- props: {
6
- playingAs: {
7
- type: Array,
8
- default: () => [
9
- {
10
- name: "Local",
11
- isSelected: !0
12
- },
13
- {
14
- name: "Visitante",
15
- isSelected: !0
16
- }
17
- ]
18
- },
19
- gameSections: {
20
- type: Array,
21
- default: () => [
22
- {
23
- text: "0-15",
24
- value: 1,
25
- isSelected: !0
26
- },
27
- {
28
- text: "16-30",
29
- value: 2,
30
- isSelected: !0
31
- },
32
- {
33
- text: "31-45",
34
- value: 3,
35
- isSelected: !0
36
- },
37
- {
38
- text: "46-60",
39
- value: 4,
40
- isSelected: !0
41
- },
42
- {
43
- text: "61-75",
44
- value: 5,
45
- isSelected: !0
46
- },
47
- {
48
- text: "76-90",
49
- value: 6,
50
- isSelected: !0
51
- }
52
- ]
53
- },
54
- buttonsBackgroundColor: {
55
- type: String,
56
- default: "rgba(255, 255, 255, 0)"
57
- },
58
- buttonsBackgroundColorActive: {
59
- type: String,
60
- default: "rgba(203, 238, 107, 0.05)"
61
- },
62
- buttonsTextColor: {
63
- type: String,
64
- default: "rgba(255, 255, 255, 0.8)"
65
- },
66
- buttonsTextColorActive: {
67
- type: String,
68
- default: "rgba(255, 255, 255, 1)"
69
- },
70
- buttonsBorderColor: {
71
- type: String,
72
- default: "#8ea2ab"
73
- },
74
- buttonsBorderColorActive: {
75
- type: String,
76
- default: "#cbee6b"
77
- },
78
- buttonsBorderWidth: {
79
- type: String,
80
- default: "0.8px"
81
- },
82
- buttonsBorderWidthActive: {
83
- type: String,
84
- default: "1px"
85
- },
86
- buttonsBorderRadius: {
87
- type: String,
88
- default: "4px"
89
- }
90
- },
91
- setup(d) {
92
- const s = d;
93
- E((e) => ({
94
- "49cba245": d.buttonsBackgroundColor,
95
- "52f02da6": d.buttonsTextColor,
96
- "7d3f686a": d.buttonsBorderWidth,
97
- "7c286a07": d.buttonsBorderColor,
98
- "24a6f4aa": d.buttonsBackgroundColorActive,
99
- cd8d7768: d.buttonsTextColorActive,
100
- "35fa5c10": d.buttonsBorderWidthActive,
101
- "0cde1826": d.buttonsBorderColorActive
102
- }));
103
- const h = c(() => s.playingAs.every((e) => e.isSelected)), C = c(() => s.gameSections.every((e) => e.isSelected)), p = c(() => s.gameSections.reduce(
104
- (e, t) => (t.value <= 3 ? e.firstHalf.push(t) : e.secondHalf.push(t), e),
105
- {
106
- firstHalf: [],
107
- secondHalf: []
108
- }
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`
112
- }));
113
- function x(e) {
114
- e ? s.playingAs.forEach((t) => {
115
- t.isSelected = !0;
116
- }) : s.playingAs.forEach((t, l) => {
117
- t.isSelected = l === 0;
118
- });
119
- }
120
- function k(e) {
121
- s.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
122
- }
123
- function S(e) {
124
- s.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
125
- }
126
- function A(e) {
127
- e ? s.gameSections.forEach((t) => {
128
- t.isSelected = !0;
129
- }) : s.gameSections.forEach((t, l) => {
130
- t.isSelected = l === 0;
131
- });
132
- }
133
- return (e, t) => (i(), o("div", {
134
- class: "details",
135
- style: $(B.value)
136
- }, [
137
- a("div", V, [
138
- W,
139
- a("div", I, [
140
- y(g(m), {
141
- label: "Todos",
142
- "model-value": h.value,
143
- "onUpdate:modelValue": x
144
- }, null, 8, ["model-value"])
145
- ])
146
- ]),
147
- a("div", L, [
148
- a("div", z, [
149
- (i(!0), o(u, null, _(s.playingAs, (l, r) => (i(), o("div", {
150
- key: `pa${r}`,
151
- class: b(["details__body__button", { active: l.isSelected }]),
152
- onClick: (f) => k(l)
153
- }, v(l.name), 11, F))), 128))
154
- ])
155
- ]),
156
- a("div", N, [
157
- O,
158
- a("div", U, [
159
- y(g(m), {
160
- label: "Todos",
161
- "model-value": C.value,
162
- "onUpdate:modelValue": A
163
- }, null, 8, ["model-value"])
164
- ])
165
- ]),
166
- a("div", D, [
167
- J,
168
- a("div", j, [
169
- (i(!0), o(u, null, _(p.value.firstHalf, (l, r) => (i(), o("div", {
170
- key: `pa${r}`,
171
- class: b(["details__body__button", { active: l.isSelected }]),
172
- onClick: (f) => S(l)
173
- }, v(l.text), 11, q))), 128))
174
- ])
175
- ]),
176
- a("div", w, [
177
- G,
178
- a("div", K, [
179
- (i(!0), o(u, null, _(p.value.secondHalf, (l, r) => (i(), o("div", {
180
- key: `pa${r}`,
181
- class: b(["details__body__button", { active: l.isSelected }]),
182
- onClick: (f) => S(l)
183
- }, v(l.text), 11, M))), 128))
184
- ])
185
- ])
186
- ], 4));
187
- }
188
- }, X = /* @__PURE__ */ T(P, [["__scopeId", "data-v-80d9c265"]]);
189
- export {
190
- X as default
191
- };
@@ -1,21 +0,0 @@
1
- import { ref as r, openBlock as a, createElementBlock as n, createVNode as c, unref as s } from "vue";
2
- import { s as d, U as f } from "./index-CXGPaYuR.js";
3
- const u = { class: "filter-field" }, i = {
4
- __name: "FilterField",
5
- setup(m) {
6
- const l = r(Array.from({ length: 16 }, (t, e) => e + 1));
7
- function o() {
8
- }
9
- return (t, e) => (a(), n("div", u, [
10
- c(s(f), {
11
- width: "100%",
12
- "background-color": "#2E3B46",
13
- value: l.value,
14
- "onUpdate:modelValue": o
15
- }, null, 8, ["value"])
16
- ]));
17
- }
18
- }, _ = /* @__PURE__ */ d(i, [["__scopeId", "data-v-8103c3e1"]]);
19
- export {
20
- _ as default
21
- };
@@ -1,42 +0,0 @@
1
- import { openBlock as r, createElementBlock as a, Fragment as o, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { s as l, O as g } from "./index-CXGPaYuR.js";
3
- const y = { class: "subcategory-group" }, m = {
4
- __name: "SubcategoryGroup",
5
- props: {
6
- subcategoryGroup: {
7
- type: Array,
8
- default: () => []
9
- }
10
- },
11
- setup(t) {
12
- return (s, c) => (r(), a("div", y, [
13
- (r(!0), a(o, null, u(t.subcategoryGroup, (e) => (r(), n(i(g), {
14
- key: e.id,
15
- modelValue: e.isSelected,
16
- "onUpdate:modelValue": (p) => e.isSelected = p,
17
- label: e.name
18
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
19
- ]));
20
- }
21
- }, b = /* @__PURE__ */ l(m, [["__scopeId", "data-v-ae6f3d72"]]), f = { class: "filter-subcategories" }, _ = {
22
- __name: "FilterSubcategories",
23
- props: {
24
- subcategoryGroups: {
25
- type: Array,
26
- default: () => []
27
- }
28
- },
29
- setup(t) {
30
- return (s, c) => (r(), a("div", f, [
31
- (r(!0), a(o, null, u(t.subcategoryGroups, (e) => (r(), a("div", {
32
- key: e.id,
33
- class: "filter-subcategories__group"
34
- }, [
35
- d(b, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
36
- ]))), 128))
37
- ]));
38
- }
39
- }, v = /* @__PURE__ */ l(_, [["__scopeId", "data-v-5edaefc2"]]);
40
- export {
41
- v as default
42
- };