132 lines
4.3 KiB
Vue
Executable File
132 lines
4.3 KiB
Vue
Executable File
<template>
|
|
<DocComponent title="Vue Button Component" header="Button" description="Button is an extension to standard input element with icons and theming." :componentDocs="docs" :apiDocs="['Button']" :ptTabComponent="ptComponent" />
|
|
</template>
|
|
|
|
<script>
|
|
import AccessibilityDoc from '@/doc/button/AccessibilityDoc.vue';
|
|
import BadgesDoc from '@/doc/button/BadgesDoc.vue';
|
|
import BasicDoc from '@/doc/button/BasicDoc.vue';
|
|
import ButtonSetDoc from '@/doc/button/ButtonSetDoc.vue';
|
|
import DisabledDoc from '@/doc/button/DisabledDoc.vue';
|
|
import IconOnlyDoc from '@/doc/button/IconOnlyDoc.vue';
|
|
import IconsDoc from '@/doc/button/IconsDoc.vue';
|
|
import ImportDoc from '@/doc/button/ImportDoc.vue';
|
|
import LinkDoc from '@/doc/button/LinkDoc.vue';
|
|
import LoadingDoc from '@/doc/button/LoadingDoc.vue';
|
|
import OutlinedDoc from '@/doc/button/OutlinedDoc.vue';
|
|
import RaisedDoc from '@/doc/button/RaisedDoc.vue';
|
|
import RaisedTextDoc from '@/doc/button/RaisedTextDoc.vue';
|
|
import RoundedDoc from '@/doc/button/RoundedDoc.vue';
|
|
import SeverityDoc from '@/doc/button/SeverityDoc.vue';
|
|
import SizesDoc from '@/doc/button/SizesDoc.vue';
|
|
import StyleDoc from '@/doc/button/StyleDoc.vue';
|
|
import TemplateDoc from '@/doc/button/TemplateDoc.vue';
|
|
import TextDoc from '@/doc/button/TextDoc.vue';
|
|
import PTComponent from '@/doc/button/pt/index.vue';
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
docs: [
|
|
{
|
|
id: 'import',
|
|
label: 'Import',
|
|
component: ImportDoc
|
|
},
|
|
{
|
|
id: 'basic',
|
|
label: 'Basic',
|
|
component: BasicDoc
|
|
},
|
|
{
|
|
id: 'link',
|
|
label: 'Link',
|
|
component: LinkDoc
|
|
},
|
|
{
|
|
id: 'icons',
|
|
label: 'Icons',
|
|
component: IconsDoc
|
|
},
|
|
{
|
|
id: 'loading',
|
|
label: 'Loading',
|
|
component: LoadingDoc
|
|
},
|
|
{
|
|
id: 'severity',
|
|
label: 'Severity',
|
|
component: SeverityDoc
|
|
},
|
|
{
|
|
id: 'disabled',
|
|
label: 'Disabled',
|
|
component: DisabledDoc
|
|
},
|
|
{
|
|
id: 'raised',
|
|
label: 'Raised',
|
|
component: RaisedDoc
|
|
},
|
|
{
|
|
id: 'rounded',
|
|
label: 'Rounded',
|
|
component: RoundedDoc
|
|
},
|
|
{
|
|
id: 'text',
|
|
label: 'Text',
|
|
component: TextDoc
|
|
},
|
|
{
|
|
id: 'raisedtext',
|
|
label: 'Raised Text',
|
|
component: RaisedTextDoc
|
|
},
|
|
{
|
|
id: 'outlined',
|
|
label: 'Outlined',
|
|
component: OutlinedDoc
|
|
},
|
|
{
|
|
id: 'icononly',
|
|
label: 'Icon Only',
|
|
component: IconOnlyDoc
|
|
},
|
|
{
|
|
id: 'badges',
|
|
label: 'Badges',
|
|
component: BadgesDoc
|
|
},
|
|
{
|
|
id: 'buttonset',
|
|
label: 'Button Set',
|
|
component: ButtonSetDoc
|
|
},
|
|
{
|
|
id: 'sizes',
|
|
label: 'Sizes',
|
|
component: SizesDoc
|
|
},
|
|
{
|
|
id: 'template',
|
|
label: 'Template',
|
|
component: TemplateDoc
|
|
},
|
|
{
|
|
id: 'style',
|
|
label: 'Style',
|
|
component: StyleDoc
|
|
},
|
|
{
|
|
id: 'accessibility',
|
|
label: 'Accessibility',
|
|
component: AccessibilityDoc
|
|
}
|
|
],
|
|
ptComponent: PTComponent
|
|
};
|
|
}
|
|
};
|
|
</script>
|