<template>
  <Parent :extra-filters="extraFilters" />
</template>

<script setup>
import Parent from '@inside-events/components/pages/CalendarPage'
import { i18n } from '@inside-library/helpers/global-methods/langs'

const tr = i18n('events.CALENDAR.filters')

const extraFilters = [
  {
    modelName: 'subsidiaries',
    type: 'selectbox',
    fetch: true,
    label: tr('subsidiaries'),
    reference: 'subsidiaries',
    fields: ['uuid', 'title'],
    filters: { 'status:eq': 1, sort: 'title:asc' },
    objectValueKey: 'uuid',
    objectLabelKey: 'title'
  }
]
</script>
