2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-27 09:42:08 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Sidebar Component"
|
|
|
|
header="Sidebar"
|
|
|
|
description="Sidebar, also known as Drawer, is a container component displayed as an overlay."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Sidebar']"
|
|
|
|
: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/sidebar/AccessibilityDoc';
|
|
|
|
import BasicDoc from '@/doc/sidebar/BasicDoc';
|
|
|
|
import FullScreenDoc from '@/doc/sidebar/FullScreenDoc';
|
|
|
|
import ImportDoc from '@/doc/sidebar/ImportDoc';
|
|
|
|
import PositionDoc from '@/doc/sidebar/PositionDoc';
|
|
|
|
import SizeDoc from '@/doc/sidebar/SizeDoc';
|
|
|
|
import TemplateDoc from '@/doc/sidebar/TemplateDoc';
|
2023-04-28 08:56:09 +00:00
|
|
|
import PTComponent from '@/doc/sidebar/pt/index.vue';
|
2023-07-27 09:42:08 +00:00
|
|
|
import ThemingDoc from '@/doc/sidebar/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: 'position',
|
|
|
|
label: 'Position',
|
|
|
|
component: PositionDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'size',
|
|
|
|
label: 'Size',
|
|
|
|
component: SizeDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'fullscreen',
|
|
|
|
label: 'Full Screen',
|
|
|
|
component: FullScreenDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-04-28 08:56:09 +00:00
|
|
|
],
|
2023-07-27 09:42:08 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|