2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-11-09 08:28:04 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue TabMenu Component"
|
|
|
|
header="TabMenu"
|
|
|
|
description="TabMenu is a navigation component displaying menu items as tabs."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['TabMenu', 'MenuItem']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-11-09 08:28:04 +00:00
|
|
|
import AccessibilityDoc from '@/doc/tabmenu/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/tabmenu/BasicDoc.vue';
|
|
|
|
import ControlledDoc from '@/doc/tabmenu/ControlledDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/tabmenu/ImportDoc.vue';
|
|
|
|
import RouterDoc from '@/doc/tabmenu/RouterDoc.vue';
|
|
|
|
import CommandDoc from '@/doc/tabmenu/CommandDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/tabmenu/TemplateDoc.vue';
|
|
|
|
import PTComponent from '@/doc/tabmenu/pt/index.vue';
|
|
|
|
import ThemingDoc from '@/doc/tabmenu/theming/index.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'controlled',
|
|
|
|
label: 'Controlled',
|
|
|
|
component: ControlledDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'command',
|
|
|
|
label: 'Command',
|
|
|
|
component: CommandDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'router',
|
|
|
|
label: 'Router',
|
|
|
|
component: RouterDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
|
|
|
],
|
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
</script>
|