<script setup>
import VnCard from 'components/common/VnCard.vue';
import SupplierDescriptor from './SupplierDescriptor.vue';
import SupplierListFilter from '../SupplierListFilter.vue';
</script>
<template>
    <VnCard
        data-key="Supplier"
        base-url="Suppliers"
        :descriptor="SupplierDescriptor"
        :filter-panel="SupplierListFilter"
        search-data-key="SupplierList"
        :searchbar-props="{
            url: 'Suppliers/filter',
            searchUrl: 'table',
            label: 'Search suppliers',
        }"
    />
</template>
