el-main
el-switch.mt-1.mb-2.ml-2.d-block(
v-if='recurrentFilter && settings.allow_recurrent_event'
:active-text="$t('event.show_recurrent')"
v-model='showRecurrent')
el-switch.mt-1.mb-2.ml-2.d-block(
v-if='pastFilter'
:active-text="$t('event.show_past')"
v-model='showPast')
el-autocomplete.mb-1#search.inline-input(:placeholder='$t("common.filter")' prefix-icon='el-icon-search'
highlight-first-item
v-model='search' :debounce='200'
:fetch-suggestions='querySearch' clearable
@select='addFilter')
template(slot-scope='{ item }')
span.float-left {{ item.label }}
i.float-right.el-icon-place(v-if='item.type==="place"')
i.float-right.el-icon-collection-tag(v-if='item.type==="tag"')
br
el-tag.mr-1(type='success' v-for='f in filter' size='small'
disable-transitions closable :key='f.type + f.id'
@close='removeFilter(f)') {{f.label}}