2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-27 08:46:00 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue MegaMenu Component"
|
|
|
|
header="MegaMenu"
|
2023-11-08 18:16:31 +00:00
|
|
|
description="MegaMenu is a navigation component that displays submenus and content in columns."
|
2023-07-27 08:46:00 +00:00
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['MegaMenu', 'MenuItem']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-09-21 11:21:43 +00:00
|
|
|
import AccessibilityDoc from '@/doc/megamenu/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/megamenu/BasicDoc.vue';
|
2023-11-08 18:16:31 +00:00
|
|
|
import CommandDoc from '@/doc/megamenu/CommandDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import ImportDoc from '@/doc/megamenu/ImportDoc.vue';
|
|
|
|
import RouterDoc from '@/doc/megamenu/RouterDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/megamenu/TemplateDoc.vue';
|
|
|
|
import VerticalDoc from '@/doc/megamenu/VerticalDoc.vue';
|
2023-04-27 15:28:36 +00:00
|
|
|
import PTComponent from '@/doc/megamenu/pt/index.vue';
|
2023-07-27 08:46:00 +00:00
|
|
|
import ThemingDoc from '@/doc/megamenu/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
|
|
|
|
},
|
2022-09-09 20:41:18 +00:00
|
|
|
{
|
2023-02-28 08:29:30 +00:00
|
|
|
id: 'Vertical',
|
|
|
|
label: 'Vertical',
|
|
|
|
component: VerticalDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-28 08:29:30 +00:00
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
2023-11-08 18:16:31 +00:00
|
|
|
{
|
|
|
|
id: 'command',
|
|
|
|
label: 'Command',
|
|
|
|
component: CommandDoc
|
|
|
|
},
|
2023-08-30 13:33:42 +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 15:28:36 +00:00
|
|
|
],
|
2023-07-27 08:46:00 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|