3 <caption id="cs-table__caption">
6 <thead id="cs-table__head">
7 <tr class="cs-table__row">
9 class="cs-table__column"
15 class="cs-table__column"
21 class="cs-table__column"
27 class="cs-table__column"
33 class="cs-table__column"
39 class="cs-table__column"
45 class="cs-table__column"
51 class="cs-table__column"
57 class="cs-table__column"
63 class="cs-table__column"
69 class="cs-table__connectors-column"
76 <tbody id="cs-table__body">
78 v-for="chargingStation in chargingStations"
79 :key="chargingStation.stationInfo.hashId"
80 :charging-station="chargingStation"
81 @need-refresh="$emit('need-refresh')"
87 <script setup lang="ts">
88 import type { ChargingStationData } from '@/types'
90 import CSData from '@/components/charging-stations/CSData.vue'
93 chargingStations: ChargingStationData[]
96 const $emit = defineEmits(['need-refresh'])
103 background-color: white;
105 flex-direction: column;
106 overflow: auto hidden;
107 border: solid 0.25px black;
108 border-collapse: collapse;
116 flex-direction: column;
121 background-color: black;
132 justify-content: center;
134 border: solid 0.25px black;
137 .cs-table__row:nth-of-type(even) {
138 background-color: whitesmoke;
143 width: calc((100% - calc(100% / 3)) / 10);
145 flex-direction: column;
149 #cs-table__head .cs-table__row {
150 background-color: lightgrey;
153 .cs-table__connectors-column {
155 width: calc(100% / 3);
157 flex-direction: column;