@golstats/gsc-players-tracking 0.0.0

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 (68) hide show
  1. package/README.md +2 -0
  2. package/dist/FilterConditions-f3ba9061-d47fcffe-Bk7x3xyN.js +191 -0
  3. package/dist/FilterField-977a3807-01d64e3e-DxYSACiu.js +21 -0
  4. package/dist/FilterSubcategories-0000fdf5-9698fce6-DjtEMQ2-.js +42 -0
  5. package/dist/css/fonts.css +133 -0
  6. package/dist/favicon.ico +0 -0
  7. package/dist/fonts/BebasNeue-Bold.otf +0 -0
  8. package/dist/fonts/BebasNeue-Bold.ttf +0 -0
  9. package/dist/fonts/BebasNeue-Bold.woff2 +0 -0
  10. package/dist/fonts/BebasNeue-Book.otf +0 -0
  11. package/dist/fonts/BebasNeue-Book.ttf +0 -0
  12. package/dist/fonts/BebasNeue-Book.woff2 +0 -0
  13. package/dist/fonts/BebasNeue-Light.otf +0 -0
  14. package/dist/fonts/BebasNeue-Light.ttf +0 -0
  15. package/dist/fonts/BebasNeue-Light.woff2 +0 -0
  16. package/dist/fonts/BebasNeue-Regular.otf +0 -0
  17. package/dist/fonts/BebasNeue-Regular.ttf +0 -0
  18. package/dist/fonts/BebasNeue-Regular.woff2 +0 -0
  19. package/dist/fonts/BebasNeue-Thin.otf +0 -0
  20. package/dist/fonts/BebasNeue-Thin.ttf +0 -0
  21. package/dist/fonts/BebasNeue-Thin.woff2 +0 -0
  22. package/dist/fonts/Montserrat-Black.otf +0 -0
  23. package/dist/fonts/Montserrat-BlackItalic.otf +0 -0
  24. package/dist/fonts/Montserrat-Bold.otf +0 -0
  25. package/dist/fonts/Montserrat-BoldItalic.otf +0 -0
  26. package/dist/fonts/Montserrat-ExtraBold.otf +0 -0
  27. package/dist/fonts/Montserrat-ExtraBoldItalic.otf +0 -0
  28. package/dist/fonts/Montserrat-ExtraLight.otf +0 -0
  29. package/dist/fonts/Montserrat-ExtraLightItalic.otf +0 -0
  30. package/dist/fonts/Montserrat-Italic.otf +0 -0
  31. package/dist/fonts/Montserrat-Light.otf +0 -0
  32. package/dist/fonts/Montserrat-LightItalic.otf +0 -0
  33. package/dist/fonts/Montserrat-Medium.otf +0 -0
  34. package/dist/fonts/Montserrat-MediumItalic.otf +0 -0
  35. package/dist/fonts/Montserrat-Regular.otf +0 -0
  36. package/dist/fonts/Montserrat-SemiBold.otf +0 -0
  37. package/dist/fonts/Montserrat-SemiBoldItalic.otf +0 -0
  38. package/dist/fonts/Montserrat-Thin.otf +0 -0
  39. package/dist/fonts/Montserrat-ThinItalic.otf +0 -0
  40. package/dist/fonts/Oswald-Bold.ttf +0 -0
  41. package/dist/fonts/Oswald-ExtraLight.ttf +0 -0
  42. package/dist/fonts/Oswald-Light.ttf +0 -0
  43. package/dist/fonts/Oswald-Medium.ttf +0 -0
  44. package/dist/fonts/Oswald-Regular.ttf +0 -0
  45. package/dist/fonts/Oswald-SemiBold.ttf +0 -0
  46. package/dist/fonts/Poppins-Black.otf +0 -0
  47. package/dist/fonts/Poppins-BlackItalic.otf +0 -0
  48. package/dist/fonts/Poppins-Bold.otf +0 -0
  49. package/dist/fonts/Poppins-BoldItalic.otf +0 -0
  50. package/dist/fonts/Poppins-ExtraBold.otf +0 -0
  51. package/dist/fonts/Poppins-ExtraBoldItalic.otf +0 -0
  52. package/dist/fonts/Poppins-ExtraLight.otf +0 -0
  53. package/dist/fonts/Poppins-ExtraLightItalic.otf +0 -0
  54. package/dist/fonts/Poppins-Italic.otf +0 -0
  55. package/dist/fonts/Poppins-Light.otf +0 -0
  56. package/dist/fonts/Poppins-LightItalic.otf +0 -0
  57. package/dist/fonts/Poppins-Medium.otf +0 -0
  58. package/dist/fonts/Poppins-MediumItalic.otf +0 -0
  59. package/dist/fonts/Poppins-Regular.otf +0 -0
  60. package/dist/fonts/Poppins-SemiBold.otf +0 -0
  61. package/dist/fonts/Poppins-SemiBoldItalic.otf +0 -0
  62. package/dist/fonts/Poppins-Thin.otf +0 -0
  63. package/dist/fonts/Poppins-ThinItalic.otf +0 -0
  64. package/dist/gsc-players-tracking.es.js +4 -0
  65. package/dist/gsc-players-tracking.umd.js +15 -0
  66. package/dist/index-D6V66JIw.js +24396 -0
  67. package/dist/style.css +1 -0
  68. package/package.json +40 -0
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # gsc-players-tracking
2
+ Componente de jugadores bajo seguimiento para seleccion
@@ -0,0 +1,191 @@
1
+ import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as V, createElementVNode as d, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as $, popScopeId as H } from "vue";
2
+ import { u as T, a as m } from "./index-D6V66JIw.js";
3
+ const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ d("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__ */ d("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__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["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(o) {
92
+ const l = o;
93
+ E((e) => ({
94
+ "49cba245": o.buttonsBackgroundColor,
95
+ "52f02da6": o.buttonsTextColor,
96
+ "7d3f686a": o.buttonsBorderWidth,
97
+ "7c286a07": o.buttonsBorderColor,
98
+ "24a6f4aa": o.buttonsBackgroundColorActive,
99
+ cd8d7768: o.buttonsTextColorActive,
100
+ "35fa5c10": o.buttonsBorderWidthActive,
101
+ "0cde1826": o.buttonsBorderColorActive
102
+ }));
103
+ const h = c(() => l.playingAs.every((e) => e.isSelected)), C = c(() => l.gameSections.every((e) => e.isSelected)), p = c(() => l.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": `${l.buttonsBorderRadius} 0 0 ${l.buttonsBorderRadius}`,
111
+ "--border-radius-last-button": `0 ${l.buttonsBorderRadius} ${l.buttonsBorderRadius} 0`
112
+ }));
113
+ function x(e) {
114
+ e ? l.playingAs.forEach((t) => {
115
+ t.isSelected = !0;
116
+ }) : l.playingAs.forEach((t, a) => {
117
+ t.isSelected = a === 0;
118
+ });
119
+ }
120
+ function k(e) {
121
+ l.playingAs.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
122
+ }
123
+ function S(e) {
124
+ l.gameSections.filter((t) => t.isSelected).length === 1 && e.isSelected || (e.isSelected = !e.isSelected);
125
+ }
126
+ function A(e) {
127
+ e ? l.gameSections.forEach((t) => {
128
+ t.isSelected = !0;
129
+ }) : l.gameSections.forEach((t, a) => {
130
+ t.isSelected = a === 0;
131
+ });
132
+ }
133
+ return (e, t) => (i(), s("div", {
134
+ class: "details",
135
+ style: V(B.value)
136
+ }, [
137
+ d("div", R, [
138
+ W,
139
+ d("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
+ d("div", z, [
148
+ d("div", F, [
149
+ (i(!0), s(u, null, _(l.playingAs, (a, r) => (i(), s("div", {
150
+ key: `pa${r}`,
151
+ class: b(["details__body__button", { active: a.isSelected }]),
152
+ onClick: (f) => k(a)
153
+ }, v(a.name), 11, L))), 128))
154
+ ])
155
+ ]),
156
+ d("div", N, [
157
+ U,
158
+ d("div", D, [
159
+ y(g(m), {
160
+ label: "Todos",
161
+ "model-value": C.value,
162
+ "onUpdate:modelValue": A
163
+ }, null, 8, ["model-value"])
164
+ ])
165
+ ]),
166
+ d("div", J, [
167
+ j,
168
+ d("div", q, [
169
+ (i(!0), s(u, null, _(p.value.firstHalf, (a, r) => (i(), s("div", {
170
+ key: `pa${r}`,
171
+ class: b(["details__body__button", { active: a.isSelected }]),
172
+ onClick: (f) => S(a)
173
+ }, v(a.text), 11, w))), 128))
174
+ ])
175
+ ]),
176
+ d("div", G, [
177
+ K,
178
+ d("div", M, [
179
+ (i(!0), s(u, null, _(p.value.secondHalf, (a, r) => (i(), s("div", {
180
+ key: `pa${r}`,
181
+ class: b(["details__body__button", { active: a.isSelected }]),
182
+ onClick: (f) => S(a)
183
+ }, v(a.text), 11, O))), 128))
184
+ ])
185
+ ])
186
+ ], 4));
187
+ }
188
+ }, X = /* @__PURE__ */ T(P, [["__scopeId", "data-v-80d9c265"]]);
189
+ export {
190
+ X as default
191
+ };
@@ -0,0 +1,21 @@
1
+ import { ref as r, createElementBlock as a, openBlock as n, createVNode as u, unref as c } from "vue";
2
+ import { u as d, q as f } from "./index-D6V66JIw.js";
3
+ const i = { class: "filter-field" }, m = {
4
+ __name: "FilterField",
5
+ setup(s) {
6
+ const o = r(Array.from({ length: 16 }, (l, e) => e + 1));
7
+ function t() {
8
+ }
9
+ return (l, e) => (n(), a("div", i, [
10
+ u(c(f), {
11
+ width: "100%",
12
+ "background-color": "#2E3B46",
13
+ value: o.value,
14
+ "onUpdate:modelValue": t
15
+ }, null, 8, ["value"])
16
+ ]));
17
+ }
18
+ }, _ = /* @__PURE__ */ d(m, [["__scopeId", "data-v-8103c3e1"]]);
19
+ export {
20
+ _ as default
21
+ };
@@ -0,0 +1,42 @@
1
+ import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
+ import { u as l, a as y } from "./index-D6V66JIw.js";
3
+ const b = { class: "subcategory-group" }, g = {
4
+ __name: "SubcategoryGroup",
5
+ props: {
6
+ subcategoryGroup: {
7
+ type: Array,
8
+ default: () => []
9
+ }
10
+ },
11
+ setup(o) {
12
+ return (s, c) => (r(), a("div", b, [
13
+ (r(!0), a(t, null, u(o.subcategoryGroup, (e) => (r(), n(i(y), {
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
+ }, m = /* @__PURE__ */ l(g, [["__scopeId", "data-v-ae6f3d72"]]), f = { class: "filter-subcategories" }, _ = {
22
+ __name: "FilterSubcategories",
23
+ props: {
24
+ subcategoryGroups: {
25
+ type: Array,
26
+ default: () => []
27
+ }
28
+ },
29
+ setup(o) {
30
+ return (s, c) => (r(), a("div", f, [
31
+ (r(!0), a(t, null, u(o.subcategoryGroups, (e) => (r(), a("div", {
32
+ key: e.id,
33
+ class: "filter-subcategories__group"
34
+ }, [
35
+ d(m, { subcategoryGroup: e }, null, 8, ["subcategoryGroup"])
36
+ ]))), 128))
37
+ ]));
38
+ }
39
+ }, k = /* @__PURE__ */ l(_, [["__scopeId", "data-v-5edaefc2"]]);
40
+ export {
41
+ k as default
42
+ };
@@ -0,0 +1,133 @@
1
+ @font-face {
2
+ font-family: 'Poppins-Black';
3
+ src: url('/fonts/Poppins-Black.otf') format('opentype');
4
+ }
5
+ @font-face {
6
+ font-family: 'Poppins-BlackItalic';
7
+ src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
8
+ }
9
+ @font-face {
10
+ font-family: 'Poppins-Bold';
11
+ src: url('/fonts/Poppins-Bold.otf') format('opentype');
12
+ }
13
+ @font-face {
14
+ font-family: 'Poppins-BoldItalic';
15
+ src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
16
+ }
17
+ @font-face {
18
+ font-family: 'Poppins-ExtraBold';
19
+ src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
20
+ }
21
+ @font-face {
22
+ font-family: 'Poppins-ExtraBoldItalic';
23
+ src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
24
+ }
25
+ @font-face {
26
+ font-family: 'Poppins-ExtraLight';
27
+ src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
28
+ }
29
+ @font-face {
30
+ font-family: 'Poppins-ExtraLightItalic';
31
+ src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
32
+ }
33
+ @font-face {
34
+ font-family: 'Poppins-Italic';
35
+ src: url('/fonts/Poppins-Italic.otf') format('opentype');
36
+ }
37
+ @font-face {
38
+ font-family: 'Poppins-Light';
39
+ src: url('/fonts/Poppins-Light.otf') format('opentype');
40
+ }
41
+ @font-face {
42
+ font-family: 'Poppins-LightItalic';
43
+ src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
44
+ }
45
+ @font-face {
46
+ font-family: 'Poppins-MediumItalic';
47
+ src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
48
+ }
49
+ @font-face {
50
+ font-family: 'Poppins-Medium';
51
+ src: url('/fonts/Poppins-Medium.otf') format('opentype');
52
+ }
53
+ @font-face {
54
+ font-family: 'Poppins-Regular';
55
+ src: url('/fonts/Poppins-Regular.otf') format('opentype');
56
+ }
57
+ @font-face {
58
+ font-family: 'Poppins-SemiBold';
59
+ src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
60
+ }
61
+ @font-face {
62
+ font-family: 'Poppins-SemiBoldItalic';
63
+ src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
64
+ }
65
+ @font-face {
66
+ font-family: 'Poppins-ThinItalic';
67
+ src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
68
+ }
69
+ @font-face {
70
+ font-family: 'Poppins-Thin';
71
+ src: url('/fonts/Poppins-Thin.otf') format('opentype');
72
+ }
73
+
74
+ @font-face {
75
+ font-family: 'Montserrat-SemiBold';
76
+ src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
77
+ }
78
+
79
+ @font-face {
80
+ font-family: 'Oswald-Bold';
81
+ src: url('/fonts/Oswald-Bold.ttf') format('truetype');
82
+ }
83
+
84
+ @font-face {
85
+ font-family: 'Oswald-Regular';
86
+ src: url('/fonts/Oswald-Regular.ttf') format('truetype');
87
+ }
88
+
89
+ @font-face {
90
+ font-family: 'Oswald-SemiBold';
91
+ src: url('/fonts/Oswald-SemiBold.ttf') format('truetype');
92
+ }
93
+
94
+ @font-face {
95
+ font-family: 'Oswald-Medium';
96
+ src: url('/fonts/Oswald-Medium.ttf') format('truetype');
97
+ }
98
+
99
+ @font-face {
100
+ font-family: 'BebasNeueBold';
101
+ src: url('/fonts/BebasNeue-Bold.woff2') format('woff2');
102
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
103
+ }
104
+
105
+ @font-face {
106
+ font-family: 'BebasNeueBook';
107
+ src: url('/fonts/BebasNeue-Book.woff2') format('woff2');
108
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
109
+ }
110
+
111
+ @font-face {
112
+ font-family: 'BebasNeueLight';
113
+ src: url('/fonts/BebasNeue-Light.woff2') format('woff2');
114
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
115
+ }
116
+
117
+ @font-face {
118
+ font-family: 'BebasNeueRegular';
119
+ src: url('/fonts/BebasNeue-Regular.woff2') format('woff2');
120
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
121
+ }
122
+
123
+ @font-face {
124
+ font-family: 'BebasNeue-Regular';
125
+ src: url('/fonts/BebasNeue-Bold.woff2') format('woff2');
126
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
127
+ }
128
+
129
+ @font-face {
130
+ font-family: 'BebasNeueThin';
131
+ src: url('/fonts/BebasNeue-Thin.woff2') format('woff2');
132
+ /* También puedes proporcionar otros formatos de fuente como woff, ttf, etc., para una mejor compatibilidad entre navegadores */
133
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ import { P as e } from "./index-D6V66JIw.js";
2
+ export {
3
+ e as GSCPlayersTracking
4
+ };