<script setup lang="ts">
import { ref } from 'vue';
// common components
//import BaseBreadcrumb from '@/components/shared/BaseBreadcrumb.vue';
import UiParentCard from '@/components/shared/UiParentCard.vue';

//Table
import EditableTable from '~/components/table/EditableTable.vue';

definePageMeta({
  middleware: ["auth-menu"],
  role: ['super_admin','admin','user','staff'],
  //permission: ['view','update','create','delete'],
});

// template breadcrumb
const page = ref({ title: 'Editable Table' });
const breadcrumbs = ref([
    {
        text: 'Dashboard',
        disabled: false,
        href: '#'
    },
    {
        text: 'Editable Table',
        disabled: true,
        href: '#'
    }
]);
</script>

<template>
    <!-- ---------------------------------------------------- -->
    <!-- Table Editable -->
    <!-- ---------------------------------------------------- -->
    <BaseBreadcrumb :title="page.title" :breadcrumbs="breadcrumbs"></BaseBreadcrumb>
    <v-row>
        <v-col cols="12">
            <UiParentCard title="Editable Table">
                <EditableTable />
            </UiParentCard>
        </v-col>
    </v-row>
</template>
