2024-09-17 09:03:44 +00:00
|
|
|
<template>
|
2024-09-20 12:22:44 +00:00
|
|
|
<DocPTViewer :docs="docs">
|
2024-09-17 09:03:44 +00:00
|
|
|
<Menu :model="items" />
|
|
|
|
</DocPTViewer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { getPTOptions } from '@/components/doc/helpers';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Documents',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'New',
|
|
|
|
icon: 'pi pi-plus'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Search',
|
|
|
|
icon: 'pi pi-search'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
separator: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Profile',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Settings',
|
|
|
|
icon: 'pi pi-cog'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Logout',
|
|
|
|
icon: 'pi pi-sign-out'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2024-09-20 12:22:44 +00:00
|
|
|
docs: [
|
2024-09-17 09:03:44 +00:00
|
|
|
{
|
|
|
|
data: getPTOptions('Menu'),
|
|
|
|
key: 'Menu'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|