2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-27 08:46:00 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Menu Component"
|
|
|
|
header="Menu"
|
|
|
|
description="Menu is a navigation/command component that supports dynamic and static positioning."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Menu', 'MenuItem']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/menu/AccessibilityDoc';
|
|
|
|
import BasicDoc from '@/doc/menu/BasicDoc';
|
|
|
|
import GroupDoc from '@/doc/menu/GroupDoc';
|
|
|
|
import ImportDoc from '@/doc/menu/ImportDoc';
|
|
|
|
import PopupDoc from '@/doc/menu/PopupDoc';
|
2023-08-29 14:32:06 +00:00
|
|
|
import RouterDoc from '@/doc/menu/RouterDoc';
|
2023-02-28 08:29:30 +00:00
|
|
|
import TemplateDoc from '@/doc/menu/TemplateDoc';
|
2023-04-27 14:52:22 +00:00
|
|
|
import PTComponent from '@/doc/menu/pt/index.vue';
|
2023-07-27 08:46:00 +00:00
|
|
|
import ThemingDoc from '@/doc/menu/theming/index.vue';
|
2022-09-09 20:41:18 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2023-02-28 08:29:30 +00:00
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'group',
|
|
|
|
label: 'Group',
|
|
|
|
component: GroupDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'popup',
|
|
|
|
label: 'Popup',
|
|
|
|
component: PopupDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
2023-08-29 14:32:06 +00:00
|
|
|
{
|
|
|
|
id: 'router',
|
|
|
|
label: 'Router',
|
|
|
|
component: RouterDoc
|
|
|
|
},
|
2022-09-09 20:41:18 +00:00
|
|
|
{
|
2023-02-28 08:29:30 +00:00
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
2023-04-27 14:52:22 +00:00
|
|
|
],
|
2023-07-27 08:46:00 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|