<script setup>
import { useI18n } from 'vue-i18n';

import VnCard from 'components/common/VnCard.vue';
import TicketDescriptor from './TicketDescriptor.vue';
import TicketFilter from '../TicketFilter.vue';

const { t } = useI18n();
</script>
<template>
    <VnCard
        data-key="Ticket"
        base-url="Tickets"
        :filter-panel="TicketFilter"
        :descriptor="TicketDescriptor"
        search-data-key="TicketList"
        :searchbar-props="{
            url: 'Tickets/filter',
            label: t('card.search'),
            info: t('card.searchInfo'),
        }"
    />
</template>
