<script setup>
import VnCard from 'components/common/VnCard.vue';
import ClaimDescriptor from './ClaimDescriptor.vue';
import ClaimFilter from '../ClaimFilter.vue';
import filter from './ClaimFilter.js';
</script>
<template>
    <VnCard
        data-key="Claim"
        base-url="Claims"
        :descriptor="ClaimDescriptor"
        :filter-panel="ClaimFilter"
        search-data-key="ClaimList"
        :filter="filter"
        :searchbar-props="{
            url: 'Claims/filter',
            label: 'Search claim',
            info: 'You can search by claim id or customer name',
        }"
    />
</template>
