2019-10-03 16:54:05 +00:00
|
|
|
<template>
|
2019-10-04 17:00:31 +00:00
|
|
|
<!-- <span>property: {{ filterName }}</span>
|
|
|
|
<span>value: {{ myLanguageFilters }}</span>-->
|
2019-10-03 16:54:05 +00:00
|
|
|
|
2019-10-04 17:00:31 +00:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<h3 class="panel-title filterViewModelName">{{ filterName }}</h3>
|
|
|
|
<!-- e.g.language -->
|
|
|
|
<ul
|
|
|
|
class="filter-items"
|
|
|
|
v-for="(value, index) in myLanguageFilters"
|
|
|
|
:key="index"
|
|
|
|
v-bind:class="{'limited':filterItems.length > 1}"
|
|
|
|
>
|
|
|
|
<li class="active" role="radio">
|
|
|
|
<input
|
|
|
|
class="css-w1gpbi"
|
|
|
|
name="language"
|
|
|
|
v-bind:id="value.value"
|
|
|
|
type="radio"
|
|
|
|
v-bind:value="value.value"
|
|
|
|
/>
|
|
|
|
<label :for="value.value">
|
|
|
|
<span>{{ value.value }} ({{ value.count }})</span>
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="overflowing">
|
|
|
|
<li>
|
|
|
|
<span @click="toggle()"></span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-10-03 16:54:05 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import FacetList from "./facet-list-class";
|
|
|
|
export default FacetList;
|
|
|
|
</script>
|