@golstats/gsc-lineups-reports 1.0.1

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 (158) hide show
  1. package/README.md +2 -0
  2. package/dist/atajada.svg +57 -0
  3. package/dist/backarrow.svg +3 -0
  4. package/dist/cancha-3d.png +0 -0
  5. package/dist/contorno-escudo.svg +3 -0
  6. package/dist/css/fonts.css +91 -0
  7. package/dist/escudo1.png +0 -0
  8. package/dist/escudo2.png +0 -0
  9. package/dist/favicon.ico +0 -0
  10. package/dist/field-green-posesion.png +0 -0
  11. package/dist/fin-del-partido.svg +44 -0
  12. package/dist/fonts/BebasNeue-Bold.otf +0 -0
  13. package/dist/fonts/BebasNeue-Bold.ttf +0 -0
  14. package/dist/fonts/BebasNeue-Bold.woff2 +0 -0
  15. package/dist/fonts/BebasNeue-Book.otf +0 -0
  16. package/dist/fonts/BebasNeue-Book.ttf +0 -0
  17. package/dist/fonts/BebasNeue-Book.woff2 +0 -0
  18. package/dist/fonts/BebasNeue-Light.otf +0 -0
  19. package/dist/fonts/BebasNeue-Light.ttf +0 -0
  20. package/dist/fonts/BebasNeue-Light.woff2 +0 -0
  21. package/dist/fonts/BebasNeue-Regular.otf +0 -0
  22. package/dist/fonts/BebasNeue-Regular.ttf +0 -0
  23. package/dist/fonts/BebasNeue-Regular.woff2 +0 -0
  24. package/dist/fonts/BebasNeue-Thin.otf +0 -0
  25. package/dist/fonts/BebasNeue-Thin.ttf +0 -0
  26. package/dist/fonts/BebasNeue-Thin.woff2 +0 -0
  27. package/dist/fonts/Montserrat-Black.otf +0 -0
  28. package/dist/fonts/Montserrat-BlackItalic.otf +0 -0
  29. package/dist/fonts/Montserrat-Bold.otf +0 -0
  30. package/dist/fonts/Montserrat-BoldItalic.otf +0 -0
  31. package/dist/fonts/Montserrat-ExtraBold.otf +0 -0
  32. package/dist/fonts/Montserrat-ExtraBoldItalic.otf +0 -0
  33. package/dist/fonts/Montserrat-ExtraLight.otf +0 -0
  34. package/dist/fonts/Montserrat-ExtraLightItalic.otf +0 -0
  35. package/dist/fonts/Montserrat-Italic.otf +0 -0
  36. package/dist/fonts/Montserrat-Light.otf +0 -0
  37. package/dist/fonts/Montserrat-LightItalic.otf +0 -0
  38. package/dist/fonts/Montserrat-Medium.otf +0 -0
  39. package/dist/fonts/Montserrat-MediumItalic.otf +0 -0
  40. package/dist/fonts/Montserrat-Regular.otf +0 -0
  41. package/dist/fonts/Montserrat-SemiBold.otf +0 -0
  42. package/dist/fonts/Montserrat-SemiBoldItalic.otf +0 -0
  43. package/dist/fonts/Montserrat-Thin.otf +0 -0
  44. package/dist/fonts/Montserrat-ThinItalic.otf +0 -0
  45. package/dist/fonts/Oswald-Bold.ttf +0 -0
  46. package/dist/fonts/Oswald-ExtraLight.ttf +0 -0
  47. package/dist/fonts/Oswald-Light.ttf +0 -0
  48. package/dist/fonts/Oswald-Medium.ttf +0 -0
  49. package/dist/fonts/Oswald-Regular.ttf +0 -0
  50. package/dist/fonts/Oswald-SemiBold.ttf +0 -0
  51. package/dist/fonts/Poppins-Black.otf +0 -0
  52. package/dist/fonts/Poppins-BlackItalic.otf +0 -0
  53. package/dist/fonts/Poppins-Bold.otf +0 -0
  54. package/dist/fonts/Poppins-BoldItalic.otf +0 -0
  55. package/dist/fonts/Poppins-ExtraBold.otf +0 -0
  56. package/dist/fonts/Poppins-ExtraBoldItalic.otf +0 -0
  57. package/dist/fonts/Poppins-ExtraLight.otf +0 -0
  58. package/dist/fonts/Poppins-ExtraLightItalic.otf +0 -0
  59. package/dist/fonts/Poppins-Italic.otf +0 -0
  60. package/dist/fonts/Poppins-Light.otf +0 -0
  61. package/dist/fonts/Poppins-LightItalic.otf +0 -0
  62. package/dist/fonts/Poppins-Medium.otf +0 -0
  63. package/dist/fonts/Poppins-MediumItalic.otf +0 -0
  64. package/dist/fonts/Poppins-Regular.otf +0 -0
  65. package/dist/fonts/Poppins-SemiBold.otf +0 -0
  66. package/dist/fonts/Poppins-SemiBoldItalic.otf +0 -0
  67. package/dist/fonts/Poppins-Thin.otf +0 -0
  68. package/dist/fonts/Poppins-ThinItalic.otf +0 -0
  69. package/dist/fuera-de-lugar.svg +58 -0
  70. package/dist/gol.svg +49 -0
  71. package/dist/group-427321178.svg +8 -0
  72. package/dist/group-427321179.svg +5 -0
  73. package/dist/group-427321501.svg +5 -0
  74. package/dist/gsc-lineups-reports.css +1 -0
  75. package/dist/gsc-lineups-reports.es.js +11272 -0
  76. package/dist/gsc-lineups-reports.umd.js +10 -0
  77. package/dist/icn-arrow-expand.svg +3 -0
  78. package/dist/icn-cambio.svg +27 -0
  79. package/dist/icn-expand-arrow.svg +3 -0
  80. package/dist/icn-expand-arrow1.svg +3 -0
  81. package/dist/icn-falta.svg +43 -0
  82. package/dist/icn-filter.svg +12 -0
  83. package/dist/icn-filter1.svg +12 -0
  84. package/dist/icn-filter2.svg +12 -0
  85. package/dist/icn-golstats.png +0 -0
  86. package/dist/icn-play.svg +10 -0
  87. package/dist/icn-tarjeta-amarilla.svg +4 -0
  88. package/dist/icn-tarjeta-roja.svg +4 -0
  89. package/dist/icn-tiro-a-porteria.svg +36 -0
  90. package/dist/icn-tiros-de-esquina.svg +55 -0
  91. package/dist/images/cancha-horizontal-raw.jpg +0 -0
  92. package/dist/images/cancha-horizontal.jpg +0 -0
  93. package/dist/images/canchaRPH.svg +30 -0
  94. package/dist/images/events/atajada.svg +57 -0
  95. package/dist/images/events/cambio.svg +27 -0
  96. package/dist/images/events/falta.svg +43 -0
  97. package/dist/images/events/favicon.ico +0 -0
  98. package/dist/images/events/fin-del-partido.svg +44 -0
  99. package/dist/images/events/fuera-de-lugar.svg +58 -0
  100. package/dist/images/events/generic.svg +1 -0
  101. package/dist/images/events/gol.svg +49 -0
  102. package/dist/images/events/icn-cambio.svg +6 -0
  103. package/dist/images/events/icn-falta.svg +4 -0
  104. package/dist/images/events/icn-play.svg +3 -0
  105. package/dist/images/events/icn-tarjeta-amarilla.svg +3 -0
  106. package/dist/images/events/icn-tarjeta-roja.svg +3 -0
  107. package/dist/images/events/icn-tiro-a-porteria.svg +36 -0
  108. package/dist/images/events/icn-tiros-de-esquina.svg +18 -0
  109. package/dist/images/events/inicia-el-partido.svg +46 -0
  110. package/dist/images/events/jugada-peligrosa.svg +91 -0
  111. package/dist/images/events/penal-fallado.svg +195 -0
  112. package/dist/images/events/penal-marcado.svg +190 -0
  113. package/dist/images/events/tiempo-agregado.svg +75 -0
  114. package/dist/images/events/tiro-a-porteria.svg +81 -0
  115. package/dist/images/events/tiro-de-esquina.svg +55 -0
  116. package/dist/images/events/var.png +0 -0
  117. package/dist/images/events/var.svg +31 -0
  118. package/dist/inicia-el-partido.svg +46 -0
  119. package/dist/jugada-peligrosa.svg +91 -0
  120. package/dist/line-white.png +0 -0
  121. package/dist/line.png +0 -0
  122. package/dist/next-arrow.svg +3 -0
  123. package/dist/nextarrow.svg +3 -0
  124. package/dist/penal-fallado.svg +195 -0
  125. package/dist/penal-marcado.svg +190 -0
  126. package/dist/play-icn.svg +3 -0
  127. package/dist/shape.svg +3 -0
  128. package/dist/styles.css +1191 -0
  129. package/dist/tiempo-agregado.svg +75 -0
  130. package/dist/tiro-a-porteria.svg +81 -0
  131. package/dist/var.png +0 -0
  132. package/dist/var.svg +31 -0
  133. package/package.json +71 -0
  134. package/src/App.vue +9 -0
  135. package/src/components/Lineup2D/CheckBox.vue +42 -0
  136. package/src/components/Lineup2D/FilterEmpty.vue +49 -0
  137. package/src/components/Lineup2D/Icons.vue +30 -0
  138. package/src/components/Lineup2D/LineupField.vue +120 -0
  139. package/src/components/Lineup2D/LineupFilter.vue +286 -0
  140. package/src/components/Lineup2D/LineupMainHeader.vue +223 -0
  141. package/src/components/Lineup2D/LineupRecentItem.vue +111 -0
  142. package/src/components/Lineup2D/MatchDetails.vue +67 -0
  143. package/src/components/Lineup2D/playerimg.png +0 -0
  144. package/src/components/Lineup2D/tijuana.png +0 -0
  145. package/src/components/gsc-filter.vue +287 -0
  146. package/src/components/gsc-header-historico-lineup.vue +985 -0
  147. package/src/components/gsc-header-postmatch-lineup.vue +968 -0
  148. package/src/components/gsc-header-probables-lineup.vue +1044 -0
  149. package/src/components/gsc-header-recientes-lineup.vue +1873 -0
  150. package/src/components/gsc-lineup-dosd.vue +3752 -0
  151. package/src/components/gsc-lineup-main.vue +65 -0
  152. package/src/components/gsc-lineups-reports.vue +27 -0
  153. package/src/components/gsc-lineups.vue +6562 -0
  154. package/src/components/gsc-player-card.vue +166 -0
  155. package/src/index.js +4 -0
  156. package/src/main.js +4 -0
  157. package/src/types.d.ts +45 -0
  158. package/src/utils/socketConnection.js +29 -0
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #fff;
7
+ }
8
+
9
+ .cls-2 {
10
+ fill: #172531;
11
+ }
12
+ </style>
13
+ </defs>
14
+ <g id="Layer_1-2" data-name="Layer 1">
15
+ <g>
16
+ <g id="Oval">
17
+ <circle class="cls-2" cx="24" cy="24" r="24"/>
18
+ </g>
19
+ <g id="Group-19">
20
+ <g id="Group-21">
21
+ <g id="Path-22">
22
+ <path class="cls-1" d="M16.25,17.07c-.38,0-.77-.15-1.06-.44l-1.69-1.69c-.59-.59-.59-1.54,0-2.12s1.54-.59,2.12,0l1.69,1.69c.59,.59,.59,1.54,0,2.12-.29,.29-.68,.44-1.06,.44Z"/>
23
+ </g>
24
+ <g id="Path-22-Copy">
25
+ <path class="cls-1" d="M31.75,17.07c-.38,0-.77-.15-1.06-.44-.59-.59-.59-1.54,0-2.12l1.69-1.69c.59-.59,1.54-.59,2.12,0s.59,1.54,0,2.12l-1.69,1.69c-.29,.29-.68,.44-1.06,.44Z"/>
26
+ </g>
27
+ </g>
28
+ <g id="Oval-Copy">
29
+ <path class="cls-2" d="M24,38.57c-7.57,0-13.73-6.16-13.73-13.73s6.16-13.73,13.73-13.73,13.73,6.16,13.73,13.73-6.16,13.73-13.73,13.73Zm0-24.45c-5.91,0-10.73,4.81-10.73,10.73s4.81,10.73,10.73,10.73,10.73-4.81,10.73-10.73-4.81-10.73-10.73-10.73Z"/>
30
+ </g>
31
+ <g id="Path-16">
32
+ <path class="cls-1" d="M26.53,11.93h-4.22c-.55,0-1-.45-1-1s.45-1,1-1h4.22c.55,0,1,.45,1,1s-.45,1-1,1Z"/>
33
+ </g>
34
+ <g id="Oval-Copy-2">
35
+ <circle class="cls-2" cx="24" cy="24.84" r="8.43"/>
36
+ </g>
37
+ <g id="Path-12-Copy">
38
+ <path class="cls-1" d="M24.42,25.34c-.28,0-.5-.22-.5-.5v-8.43c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v8.43c0,.28-.22,.5-.5,.5Z"/>
39
+ </g>
40
+ </g>
41
+ <g id="Path">
42
+ <g id="path-2">
43
+ <path class="cls-2" d="M23.98,37.3c-.83,0-1.5-.67-1.5-1.5s.67-1.5,1.5-1.5c.67,0,1.33-.07,1.97-.21,.7-.15,1.39,.22,1.68,.84-.18-.66,.12-1.39,.75-1.72,.58-.31,1.14-.68,1.65-1.1,.55-.46,1.33-.46,1.87-.04-.46-.5-.54-1.28-.13-1.87,.38-.54,.69-1.13,.95-1.74,.27-.66,.96-1.02,1.64-.91-.65-.23-1.07-.88-.99-1.59,.04-.37,.06-.74,.06-1.11,0-.83,.67-1.5,1.5-1.5s1.5,.67,1.5,1.5c0,.49-.03,.98-.08,1.46-.1,.82-.84,1.41-1.66,1.32-.03,0-.05,0-.08-.01,.03,0,.05,.02,.08,.03,.77,.32,1.13,1.19,.81,1.96-.33,.8-.75,1.58-1.25,2.29-.47,.68-1.4,.86-2.09,.38-.02-.01-.04-.03-.06-.05,.02,.02,.03,.04,.05,.06,.53,.64,.45,1.58-.19,2.11-.67,.56-1.4,1.05-2.17,1.45-.73,.38-1.64,.1-2.03-.63-.01-.03-.03-.05-.04-.08,0,.03,.01,.05,.02,.08,.17,.81-.34,1.61-1.15,1.78-.85,.18-1.72,.27-2.6,.27Z"/>
44
+ </g>
45
+ <g id="path-2-2" data-name="path-2">
46
+ <path class="cls-1" d="M23.98,36.55c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75c.72,0,1.43-.08,2.13-.22,.4-.09,.8,.17,.89,.58,.09,.4-.17,.8-.58,.89-.79,.17-1.62,.26-2.44,.26Zm5.09-1.26c-.27,0-.53-.15-.66-.4-.19-.37-.05-.82,.31-1.01,.63-.33,1.23-.73,1.78-1.19,.32-.27,.79-.22,1.06,.09,.27,.32,.22,.79-.09,1.06-.63,.52-1.31,.98-2.04,1.37-.11,.06-.23,.09-.35,.09Zm3.92-3.49c-.15,0-.29-.04-.42-.13-.34-.24-.43-.7-.19-1.04,.4-.59,.75-1.22,1.02-1.88,.16-.38,.6-.56,.98-.41,.38,.16,.56,.6,.41,.98-.31,.75-.71,1.48-1.17,2.15-.15,.21-.38,.33-.62,.33Zm1.85-4.91s-.06,0-.09,0c-.41-.05-.71-.42-.66-.83,.05-.39,.07-.8,.07-1.2s.34-.75,.75-.75,.75,.34,.75,.75c0,.46-.03,.92-.08,1.37-.04,.38-.37,.66-.74,.66Z"/>
47
+ </g>
48
+ </g>
49
+ <g id="Path-2" data-name="Path">
50
+ <g id="path-3">
51
+ <path class="cls-2" d="M23.98,37.3c-6.86,0-12.44-5.58-12.44-12.44s5.58-12.44,12.44-12.44,12.44,5.58,12.44,12.44h-3c0-5.2-4.23-9.44-9.44-9.44s-9.44,4.23-9.44,9.44,4.23,9.44,9.44,9.44v3Z"/>
52
+ </g>
53
+ <g id="path-3-2" data-name="path-3">
54
+ <path class="cls-1" d="M23.98,36.55c-6.44,0-11.69-5.24-11.69-11.69s5.24-11.69,11.69-11.69,11.69,5.24,11.69,11.69h-1.5c0-5.62-4.57-10.19-10.19-10.19s-10.19,4.57-10.19,10.19,4.57,10.19,10.19,10.19v1.5Z"/>
55
+ </g>
56
+ </g>
57
+ <g>
58
+ <g id="Path-12-Copy-2" data-name="Path-12-Copy">
59
+ <path class="cls-2" d="M14.11,34.42c-1.1,0-2-.9-2-2v-8.43c0-1.1,.9-2,2-2s2,.9,2,2v8.43c0,1.1-.9,2-2,2Z"/>
60
+ </g>
61
+ <g id="Path-12-Copy-3" data-name="Path-12-Copy">
62
+ <path class="cls-2" d="M18.33,30.2H9.9c-1.1,0-2-.9-2-2s.9-2,2-2h8.43c1.1,0,2,.9,2,2s-.9,2-2,2Z"/>
63
+ </g>
64
+ </g>
65
+ <g>
66
+ <g id="Path-12-Copy-4" data-name="Path-12-Copy">
67
+ <path class="cls-1" d="M14.11,32.92c-.28,0-.5-.22-.5-.5v-8.43c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v8.43c0,.28-.22,.5-.5,.5Z"/>
68
+ </g>
69
+ <g id="Path-12-Copy-5" data-name="Path-12-Copy">
70
+ <path class="cls-1" d="M18.33,28.7H9.9c-.28,0-.5-.22-.5-.5s.22-.5,.5-.5h8.43c.28,0,.5,.22,.5,.5s-.22,.5-.5,.5Z"/>
71
+ </g>
72
+ </g>
73
+ </g>
74
+ </g>
75
+ </svg>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 104.32 74.73">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: none;
7
+ }
8
+
9
+ .cls-2 {
10
+ clip-path: url(#clippath);
11
+ }
12
+
13
+ .cls-3 {
14
+ fill: #fff;
15
+ }
16
+
17
+ .cls-4 {
18
+ fill: #172531;
19
+ }
20
+
21
+ .cls-5 {
22
+ clip-path: url(#clippath-1);
23
+ }
24
+
25
+ .cls-6 {
26
+ opacity: .5;
27
+ }
28
+ </style>
29
+ <clipPath id="clippath">
30
+ <circle class="cls-1" cx="24" cy="26.43" r="24"/>
31
+ </clipPath>
32
+ <clipPath id="clippath-1">
33
+ <rect class="cls-1" x=".82" width="91.96" height="59.78"/>
34
+ </clipPath>
35
+ </defs>
36
+ <g id="Layer_1-2" data-name="Layer 1">
37
+ <g>
38
+ <g id="Oval">
39
+ <circle class="cls-4" cx="24" cy="26.43" r="24"/>
40
+ </g>
41
+ <g class="cls-2">
42
+ <g class="cls-5">
43
+ <g>
44
+ <g class="cls-6">
45
+ <rect class="cls-3" x="24.71" y="16.99" width=".5" height="55.25"/>
46
+ <rect class="cls-3" x="30.31" y="16.99" width=".5" height="55.25"/>
47
+ <rect class="cls-3" x="35.91" y="16.99" width=".5" height="55.25"/>
48
+ <rect class="cls-3" x="41.51" y="16.99" width=".5" height="55.25"/>
49
+ <rect class="cls-3" x="49.69" y="18.68" width=".34" height="56.04"/>
50
+ <rect class="cls-3" x="16.09" y="24.57" width="88.23" height=".5"/>
51
+ <rect class="cls-3" x="16.09" y="30.09" width="88.23" height=".5"/>
52
+ <rect class="cls-3" x="16.09" y="35.61" width="88.23" height=".5"/>
53
+ <rect class="cls-3" x="16.09" y="41.14" width="88.23" height=".5"/>
54
+ <rect class="cls-3" x="16.09" y="46.66" width="88.23" height=".5"/>
55
+ </g>
56
+ <polygon class="cls-3" points="16.49 49.82 14.99 49.82 14.99 16.69 48.05 16.69 48.05 18.19 16.49 18.19 16.49 49.82"/>
57
+ </g>
58
+ </g>
59
+ </g>
60
+ <g>
61
+ <ellipse class="cls-4" cx="30.36" cy="32.03" rx="9.59" ry="9.61"/>
62
+ <g>
63
+ <path class="cls-3" d="M26.8,37.49c-.12,0-.24-.04-.33-.13-.21-.18-.22-.5-.04-.71l1.38-1.54c.18-.2,.5-.22,.71-.04,.21,.18,.22,.5,.04,.71l-1.38,1.54c-.1,.11-.24,.17-.37,.17Z"/>
64
+ <g>
65
+ <path class="cls-3" d="M30.39,40.63c-4.74,0-8.6-3.86-8.6-8.6s3.86-8.6,8.6-8.6,8.6,3.86,8.6,8.6-3.86,8.6-8.6,8.6Zm0-16.2c-4.19,0-7.6,3.41-7.6,7.6s3.41,7.6,7.6,7.6,7.6-3.41,7.6-7.6-3.41-7.6-7.6-7.6Z"/>
66
+ <path class="cls-3" d="M32.63,35.95h-4.45c-.22,0-.41-.14-.48-.35l-1.38-4.25c-.07-.21,0-.43,.18-.56l3.6-2.62c.18-.13,.41-.13,.59,0l3.6,2.62c.17,.13,.25,.35,.18,.56l-1.38,4.25c-.07,.21-.26,.35-.48,.35Zm-4.09-1h3.72l1.15-3.56-3.01-2.2-3.01,2.2,1.15,3.56Z"/>
67
+ <path class="cls-3" d="M30.41,26.37c-.07,0-.13-.01-.2-.04l-3.07-1.31c-.25-.11-.37-.4-.26-.66,.11-.25,.4-.37,.66-.26l2.87,1.23,2.87-1.23c.25-.11,.55,0,.66,.26,.11,.25,0,.55-.26,.66l-3.07,1.31c-.06,.03-.13,.04-.2,.04Z"/>
68
+ <path class="cls-3" d="M22.39,33.14c-.12,0-.23-.04-.33-.12-.21-.18-.23-.5-.05-.71l2.05-2.36-.28-3.12c-.02-.27,.18-.52,.45-.54,.28-.02,.52,.18,.54,.45l.29,3.33c.01,.14-.03,.27-.12,.37l-2.19,2.52c-.1,.11-.24,.17-.38,.17Z"/>
69
+ <path class="cls-3" d="M28.52,40.36c-.17,0-.34-.09-.43-.24l-1.61-2.69-3.04-.7c-.27-.06-.44-.33-.38-.6,.06-.27,.33-.44,.6-.38l3.25,.75c.13,.03,.25,.11,.32,.23l1.71,2.87c.14,.24,.06,.54-.17,.69-.08,.05-.17,.07-.26,.07Z"/>
70
+ <path class="cls-3" d="M32.29,40.36c-.09,0-.18-.02-.26-.07-.24-.14-.31-.45-.17-.69l1.71-2.87c.07-.12,.18-.2,.32-.23l3.25-.75c.27-.06,.54,.11,.6,.38,.06,.27-.11,.54-.38,.6l-3.04,.7-1.6,2.69c-.09,.16-.26,.24-.43,.24Z"/>
71
+ <path class="cls-3" d="M38.43,33.14c-.14,0-.28-.06-.38-.17l-2.19-2.52c-.09-.1-.13-.24-.12-.37l.29-3.33c.02-.27,.27-.48,.54-.45,.28,.02,.48,.27,.45,.54l-.28,3.12,2.05,2.36c.18,.21,.16,.52-.05,.71-.09,.08-.21,.12-.33,.12Z"/>
72
+ <path class="cls-3" d="M30.4,29.08c-.28,0-.5-.22-.5-.5v-2.71c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v2.71c0,.28-.22,.5-.5,.5Z"/>
73
+ <path class="cls-3" d="M34.02,31.81c-.18,0-.35-.1-.44-.26-.13-.24-.04-.55,.2-.68l2.22-1.19c.24-.13,.55-.04,.68,.2,.13,.24,.04,.55-.2,.68l-2.22,1.19c-.08,.04-.16,.06-.24,.06Z"/>
74
+ <path class="cls-3" d="M34.01,37.49c-.14,0-.27-.06-.37-.17l-1.38-1.53c-.18-.21-.17-.52,.04-.71,.2-.18,.52-.17,.71,.04l1.38,1.53c.18,.21,.17,.52-.04,.71-.1,.09-.21,.13-.33,.13Z"/>
75
+ <path class="cls-3" d="M26.81,31.71c-.07,0-.15-.02-.22-.05l-2.23-1.09c-.25-.12-.35-.42-.23-.67,.12-.25,.42-.35,.67-.23l2.23,1.09c.25,.12,.35,.42,.23,.67-.09,.18-.26,.28-.45,.28Z"/>
76
+ </g>
77
+ </g>
78
+ </g>
79
+ </g>
80
+ </g>
81
+ </svg>
package/dist/var.png ADDED
Binary file
package/dist/var.svg ADDED
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #fff;
7
+ }
8
+
9
+ .cls-2 {
10
+ fill: #172531;
11
+ }
12
+ </style>
13
+ </defs>
14
+ <g id="Layer_1-2" data-name="Layer 1">
15
+ <g>
16
+ <g id="Oval">
17
+ <circle class="cls-2" cx="24" cy="24" r="24"/>
18
+ </g>
19
+ <g id="Group-19">
20
+ <g id="Path-16">
21
+ <path class="cls-1" d="M32.85,36.6H15.15c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75h17.69c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z"/>
22
+ </g>
23
+ </g>
24
+ <g id="Rectangle">
25
+ <g id="path-1">
26
+ <path class="cls-1" d="M38.02,32.62H9.98V13.43h28.04v19.19Zm-26.54-1.5h25.04V14.93H11.48V31.12Z"/>
27
+ </g>
28
+ </g>
29
+ </g>
30
+ </g>
31
+ </svg>
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@golstats/gsc-lineups-reports",
3
+ "version": "1.0.1",
4
+ "main": "dist/gsc-lineups-reports.umd.js",
5
+ "module": "dist/gsc-lineups-reports.es.js",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/gsc-lineups-reports.es.js",
9
+ "require": "./dist/gsc-lineups-reports.umd.js"
10
+ }
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "src"
15
+ ],
16
+ "type": "module",
17
+ "scripts": {
18
+ "dev": "vite",
19
+ "build": "vite build",
20
+ "preview": "vite preview",
21
+ "lint": "eslint . --fix",
22
+ "format": "prettier --write src/",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "keywords": [
26
+ "vue",
27
+ "component",
28
+ "football",
29
+ "soccer",
30
+ "possession",
31
+ "stats",
32
+ "golstats",
33
+ "typescript"
34
+ ],
35
+ "author": "GolStats",
36
+ "license": "MIT",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/golstats/gsc-field-possession.git"
40
+ },
41
+ "bugs": {
42
+ "url": "https://github.com/golstats/gsc-field-possession/issues"
43
+ },
44
+ "homepage": "https://github.com/golstats/gsc-field-possession#readme",
45
+ "peerDependencies": {
46
+ "vue": "^3.0.0"
47
+ },
48
+ "dependencies": {
49
+ "@golstats/gsc-carousel": "^1.0.15",
50
+ "@golstats/gsc-checkbox": "^1.0.13",
51
+ "@golstats/gsc-dropdown": "^1.0.16",
52
+ "@golstats/gsc-switch-component": "^1.0.14",
53
+ "@golstats/gsc-switch-radio": "^1.0.5",
54
+ "axios": "^1.10.0",
55
+ "socket.io-client": "^4.8.1",
56
+ "vuex": "^4.1.0"
57
+ },
58
+ "devDependencies": {
59
+ "@eslint/js": "^9.22.0",
60
+ "@vitejs/plugin-vue": "^5.2.3",
61
+ "@vue/eslint-config-prettier": "^10.2.0",
62
+ "eslint": "^9.22.0",
63
+ "eslint-plugin-vue": "~10.0.0",
64
+ "globals": "^16.0.0",
65
+ "prettier": "3.5.3",
66
+ "sass-embedded": "^1.89.2",
67
+ "vite": "^6.2.4",
68
+ "vite-plugin-vue-devtools": "^7.7.2",
69
+ "vue": "^3.5.13"
70
+ }
71
+ }
package/src/App.vue ADDED
@@ -0,0 +1,9 @@
1
+ <script setup>
2
+ import GSCMatchSummary from './components/gsc-lineups-reports.vue'
3
+ </script>
4
+
5
+ <template>
6
+ <div style="max-width: 968px; height: auto">
7
+ <GSCMatchSummary :game="{ game_id: 90208, season_id: 1943, prematch: false }" />
8
+ </div>
9
+ </template>
@@ -0,0 +1,42 @@
1
+ <template>
2
+
3
+ <div @click="emit('update:model-value', !modelValue)" class="checkbox">
4
+ <label v-if="label" :for="label" style="margin-right: 6px;" class="checkbox__label">{{ label }}</label>
5
+ <svg v-if="modelValue" :name="label" width=" 19" height="19" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path id="Vector"
7
+ fill="#CBEE6B"
8
+ d="M13.4872 0.5H5.52225C2.06253 0.5 0 2.5615 0 6.0195V13.971C0 17.4385 2.06253 19.5 5.52225 19.5H13.4777C16.9374 19.5 19 17.4385 19 13.9805V6.0195C19.0095 2.5615 16.9469 0.5 13.4872 0.5ZM14.048 7.815L8.65881 13.2015C8.52575 13.3345 8.34516 13.4105 8.15506 13.4105C7.96497 13.4105 7.78438 13.3345 7.65131 13.2015L4.96147 10.513C4.68583 10.2375 4.68583 9.7815 4.96147 9.506C5.23711 9.2305 5.69334 9.2305 5.96897 9.506L8.15506 11.691L13.0405 6.808C13.3161 6.5325 13.7724 6.5325 14.048 6.808C14.3236 7.0835 14.3236 7.53 14.048 7.815Z" />
9
+
10
+ </svg>
11
+ <svg v-else width="19" height="19" viewBox="0 0 21 22" fill="none" xmlns="http://www.w3.org/2000/svg">
12
+ <path
13
+ id="Vector"
14
+ d="M7.65 20.5H13.35C18.1 20.5 20 18.6 20 13.85V8.15C20 3.4 18.1 1.5 13.35 1.5H7.65C2.9 1.5 1 3.4 1 8.15V13.85C1 18.6 2.9 20.5 7.65 20.5Z" stroke="white" stroke-opacity="0.5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
15
+ </svg>
16
+ </div>
17
+
18
+ </template>
19
+
20
+ <script setup>
21
+
22
+ const { modelValue } = defineProps(['model-value', 'label']);
23
+
24
+ const emit = defineEmits(['update:model-value']);
25
+ </script>
26
+ <style lang="scss">
27
+ .checkbox {
28
+ cursor: pointer;
29
+ display: flex;
30
+ align-items: center;
31
+ &__label {
32
+ margin-right: 6px;
33
+ color: #FFF;
34
+ text-align: right;
35
+ font-family: Poppins, sans-serif;
36
+ font-size: 12px;
37
+ font-style: normal;
38
+ font-weight: 400;
39
+ line-height: 150%; /* 18px */
40
+ }
41
+ }
42
+ </style>
@@ -0,0 +1,49 @@
1
+ <template>
2
+ <div class="filter-empty">
3
+ <p>
4
+ No hay resultados con los criterios de búsqueda aplicados.
5
+ </p>
6
+ <button @click="$emit('clickButton')">
7
+ Eliminar filtros aplicados
8
+ </button>
9
+ </div>
10
+ </template>
11
+ <script setup>
12
+ </script>
13
+ <style lang="scss" scoped>
14
+ .filter-empty {
15
+ max-width: 220px;
16
+ widows: 100%;
17
+ margin: auto;
18
+ p {
19
+ color: rgba(255, 255, 255, 0.70);
20
+ text-align: center;
21
+ font-family: Poppins, sans-serif;
22
+ font-size: 12px;
23
+ font-style: normal;
24
+ font-weight: 500;
25
+ line-height: normal;
26
+ margin: 0 0 16px;
27
+ }
28
+ button {
29
+ outline: none;
30
+ border: none;
31
+ margin: auto;
32
+ cursor: pointer;
33
+ height: 32px;
34
+ border-radius: 50px;
35
+ background: rgba(255, 255, 255, 0.10);
36
+ padding: 8px 20px;
37
+ align-items: center;
38
+ color: #FFF;
39
+ display: flex;
40
+ justify-content: center;
41
+ align-items: center;
42
+ font-family: Poppins, sans-serif;
43
+ font-size: 12px;
44
+ font-style: normal;
45
+ font-weight: 500;
46
+ line-height: 24px; /* 200% */
47
+ }
48
+ }
49
+ </style>
@@ -0,0 +1,30 @@
1
+ <template>
2
+ <svg v-if="icon === 'goal'" xmlns="http://www.w3.org/2000/svg" width="9" height="9" viewBox="0 0 9 9" fill="none">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4.02408 0.891998C2.29589 0.891998 0.894531 2.28984 0.894531 4.01399C0.894531 5.73814 2.29589 7.13598 4.02408 7.13598C5.75227 7.13598 7.15363 5.73814 7.15363 4.01399C7.15363 2.28984 5.75227 0.891998 4.02408 0.891998V0.891998Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M3.17056 5.33314L2.63867 3.69586L4.02996 2.68407L5.42152 3.69586L4.89018 5.33314H3.17056Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M5.2148 1.13477L4.02938 1.63931L2.84424 1.13477" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M1.66458 1.99231L1.77847 3.2768L0.932129 4.24869" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M1.38428 5.63698L2.63977 5.92542L3.30228 7.03115" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M4.7583 7.03114L5.42027 5.92487L6.67535 5.63643" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path d="M7.1312 4.24842L6.28418 3.27599L6.39793 1.99231" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
10
+ <path d="M4.03044 1.63925V2.68417" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
11
+ <path d="M5.42432 3.7367L6.28358 3.27614" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
12
+ <path d="M4.8916 5.33328L5.42294 5.92497" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
13
+ <path d="M3.17029 5.33328L2.63867 5.92551" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
14
+ <path d="M1.77881 3.27682L2.63848 3.69599" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
15
+ </svg>
16
+ <svg v-else-if="icon === 'yellow-card'" width="4" height="6" viewBox="0 0 4 6" fill="none" xmlns="http://www.w3.org/2000/svg">
17
+ <rect width="4" height="6" rx="1" fill="#F7C330"/>
18
+ </svg>
19
+ <svg v-else-if="icon === 'red-card'" width="4" height="6" viewBox="0 0 4 6" fill="none" xmlns="http://www.w3.org/2000/svg">
20
+ <rect width="4" height="6" rx="1" fill="#FF0000"/>
21
+ </svg>
22
+ </template>
23
+ <script setup>
24
+ defineProps({
25
+ icon: {
26
+ type: String,
27
+ default: 'goal'
28
+ }
29
+ })
30
+ </script>
@@ -0,0 +1,120 @@
1
+ <template>
2
+ <div class="lineup-field">
3
+ <svg width="530" height="342" viewBox="0 0 530 342" fill="none" xmlns="http://www.w3.org/2000/svg" class="lineup-field__svg">
4
+ <rect x="529.436" y="340.563" width="528.872" height="339.425" rx="2.50325" transform="rotate(-180 529.436 340.563)" stroke="#DFE3E2" stroke-width="1.12766"/>
5
+ <path d="M264.694 339.979L264.695 2.05153" stroke="#DFE3E2" stroke-width="1.12766" stroke-linecap="square"/>
6
+ <path d="M530 252.538L460.391 252.538C459.544 252.538 458.857 251.851 458.857 251.004L458.857 91.0363C458.857 90.1894 459.544 89.5028 460.391 89.5028L530 89.5028" stroke="#DFE3E2" stroke-width="1.12766"/>
7
+ <path d="M530 222.894L490.034 222.894C489.187 222.894 488.5 222.207 488.5 221.36L488.5 120.678C488.5 119.831 489.187 119.144 490.034 119.144L530 119.144" stroke="#DFE3E2" stroke-width="1.12766"/>
8
+ <path d="M1.58213 222.892L41.5413 222.892C42.3911 222.892 43.0788 222.201 43.0749 221.351L42.6066 120.669C42.6027 119.825 41.9172 119.143 41.0731 119.143L2.29922 119.143" stroke="#DFE3E2" stroke-width="1.12766" stroke-linecap="square"/>
9
+ <path d="M1.57997 252.536L71.1813 252.536C72.0313 252.536 72.7191 251.845 72.7148 250.995L71.9032 91.0271C71.8989 90.1832 71.2136 89.5013 70.3696 89.5013L2.80927 89.5013" stroke="#DFE3E2" stroke-width="1.12766" stroke-linecap="square"/>
10
+ <path d="M191.155 171.02C191.155 130.403 224.081 97.4766 264.698 97.4766C305.314 97.4766 338.241 130.403 338.241 171.02C338.241 211.636 305.314 244.563 264.698 244.563C224.081 244.563 191.155 211.636 191.155 171.02Z" stroke="#DFE3E2" stroke-width="1.12766"/>
11
+ <ellipse cx="264.699" cy="171.021" rx="7.4107" ry="7.41068" transform="rotate(-180 264.699 171.021)" fill="#D8D8D8" stroke="#DFE3E2" stroke-width="1.12766"/>
12
+ <g v-for="(player, i) in playerPosition" @mouseover="hoveringItem(i)" @mouseleave="leaveItem()" style="cursor: pointer;" :key="'circle-'+ i">
13
+ <circle :transform="`translate(${player.posX+7},${player.posY+16})`" r="16" stroke="#777F86" stroke-width="2" :fill="player.isFirstTeam ? '#0033C5' : '#CBEE6B'" />
14
+ <text :x="player.posX+7" :y="player.posY+16" class="lineup-field__text" :fill="player.isFirstTeam ? '#fff': '#16232E'">{{ player.number }}</text>
15
+
16
+ <circle v-if="player.goals > 0" style="box-shadow: 0 4px 4px #00000040" :transform="`translate(${player.posX-16},${player.posY+1})`" r="8" stroke="#777F86" stroke-width="0.2" :fill="'#00000040'">{{ player }}</circle><!-- Goles ---->
17
+ <image v-if="player.goals > 0" xlink:href="https://golstatsimages.blob.core.windows.net/todoelfut/players-goals-con-goles.png" width="10" :transform="`translate(${player.posX-21},${player.posY-4})`" /><!-- Goles ---->
18
+
19
+ <circle v-if="player.substitutionIn || player.substitutionOut" style="box-shadow: 0 4px 4px #00000040" :transform="`translate(${player.posX+33},${player.posY-1})`" r="8" stroke="#777F86" stroke-width="0.2" :fill="'#0033c5'">{{ player }}</circle><!-- Cambios ---->
20
+ <image v-if="player.substitutionIn || player.substitutionOut" xlink:href="/line.png" width="12" :transform="`translate(${player.posX+27},${player.posY-4})`" /><!-- cambios ---->
21
+
22
+ <circle v-if="player.yellowcards > 0 && player.redcards == 0" style="box-shadow: 0 4px 4px #00000040" :transform="`translate(${player.posX+33},${player.posY+18})`" r="8" stroke="#777F86" stroke-width="0.2" :fill="'#00000040'">{{ player }}</circle><!-- Amerillas -->
23
+ <image v-if="player.yellowcards > 0 && player.redcards == 0" xlink:href="https://golstatsimages.blob.core.windows.net/todoelfut/yellow_card.png" width="9" :transform="`translate(${player.posX+28},${player.posY+13})`" /><!-- amariilas ---->
24
+
25
+ <circle v-if="player.yellowcards > 0 && player.redcards > 0" style="box-shadow: 0 4px 4px #00000040" :transform="`translate(${player.posX+33},${player.posY+18})`" r="8" stroke="#777F86" stroke-width="0.2" :fill="'#00000040'"></circle><!-- Amerillas y rojas -->
26
+ <image v-if="player.yellowcards > 0 && player.redcards > 0" xlink:href="https://golstatsimages.blob.core.windows.net/todoelfut/yellow_and_red.png" width="9" :transform="`translate(${player.posX+28},${player.posY+13})`" /><!-- amariilas y rojas ---->
27
+
28
+ <circle v-if="player.yellowcards == 0 && player.redcards > 0" style="box-shadow: 0 4px 4px #00000040" :transform="`translate(${player.posX+33},${player.posY+18})`" r="8" stroke="#777F86" stroke-width="0.2" :fill="'#00000040'"></circle><!-- rojas -->
29
+ <image v-if="player.yellowcards == 0 && player.redcards > 0" xlink:href="https://golstatsimages.blob.core.windows.net/todoelfut/yellow_and_red.png" width="9" :transform="`translate(${player.posX+28},${player.posY+13})`" /><!-- rojas ---->
30
+
31
+ </g>
32
+
33
+
34
+ </svg>
35
+
36
+
37
+ <div ref="modal" class="lineup-field__modal">
38
+ <img class="lineup-field__modal-img" width="40" v-if="selectedPlayerPhoto" :src="selectedPlayerPhoto">
39
+ <p class="lineup-field__player-name">{{ selectedPlayerName }}</p>
40
+ </div>
41
+ </div>
42
+ </template>
43
+ <script setup>
44
+ import { computed, ref, toRef } from 'vue';
45
+
46
+ const props = defineProps({
47
+ //x and y => minVal 0 and maxVal 100
48
+ players: {
49
+ type: Array,
50
+ default: () => []
51
+ }
52
+ })
53
+ const players = toRef(props, 'players')
54
+ const displayModal = ref(false)
55
+ const modal = ref(null)
56
+ const selectedPlayerName = ref('-')
57
+ const selectedPlayerPhoto = ref(undefined)
58
+ const playerPosition = computed(() => players.value.map((player) => ({...player, posX: player.posX*5.3, posY: player.posY*3.4,})))
59
+ const hoveringItem = (i) => {
60
+ displayModal.value = true
61
+ modal.value.style.display = 'block'
62
+ modal.value.style.left = `calc(${players.value[i].posX}% - 30px)`
63
+ modal.value.style.top = `calc(${players.value[i].posY}% + 50px)`
64
+ selectedPlayerName.value = players.value[i].name
65
+ selectedPlayerPhoto.value = players.value[i].photo
66
+ }
67
+ const leaveItem = () => {
68
+ modal.value.style.display = 'none'
69
+ displayModal.value = false
70
+
71
+ }
72
+ </script>
73
+ <style lang="scss" scoped>
74
+ .lineup-field {
75
+ position: relative;
76
+ &__modal {
77
+ display: none;
78
+ top: 0;
79
+ left: 0;
80
+ width: 100px;
81
+ height: 75px;
82
+ border-radius: 5.59px;
83
+ background: #183143;
84
+ position: absolute;
85
+ }
86
+ &__modal-img {
87
+ position: absolute;
88
+ bottom: 40%;
89
+ left: 50%;
90
+ transform: translateX(-50%);
91
+ }
92
+ &__player-name {
93
+ margin: 38px 0 0;
94
+ color: #F4F4F4;
95
+ text-align: center;
96
+ leading-trim: both;
97
+ text-edge: cap;
98
+ font-family: Poppins, sans-serif;
99
+ font-size: 12.154px;
100
+ font-style: normal;
101
+ font-weight: 400;
102
+ line-height: 40.114px; /* 283.408% */
103
+ overflow: hidden;
104
+ text-overflow: ellipsis;
105
+ white-space: nowrap;
106
+ padding: 0 5px;
107
+ }
108
+ &__svg {
109
+ height: auto;
110
+ width: 100%;
111
+ }
112
+ &__text {
113
+ font-family: Poppins, sans-serif;
114
+ alignment-baseline: central;
115
+ text-anchor: middle;
116
+ font-weight: 500;
117
+ font-size: 16px;
118
+ }
119
+ }
120
+ </style>