primevue-mirror/apps/showcase/pages/splitbutton/index.vue

112 lines
3.5 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue SplitButton Component"
header="SplitButton"
description="SplitButton groups a set of commands in an overlay with a default command."
:componentDocs="docs"
:apiDocs="['SplitButton']"
: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/splitbutton/AccessibilityDoc.vue';
import BasicDoc from '@/doc/splitbutton/BasicDoc.vue';
import DisabledDoc from '@/doc/splitbutton/DisabledDoc.vue';
2024-02-03 08:48:01 +00:00
import IconsDoc from '@/doc/splitbutton/IconsDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/splitbutton/ImportDoc.vue';
2024-09-26 08:05:33 +00:00
import NestedDoc from '@/doc/splitbutton/NestedDoc.vue';
2023-02-28 08:29:30 +00:00
import OutlinedDoc from '@/doc/splitbutton/OutlinedDoc.vue';
import RaisedDoc from '@/doc/splitbutton/RaisedDoc.vue';
import RaisedTextDoc from '@/doc/splitbutton/RaisedTextDoc.vue';
import RoundedDoc from '@/doc/splitbutton/RoundedDoc.vue';
import SeverityDoc from '@/doc/splitbutton/SeverityDoc.vue';
2024-09-26 08:10:53 +00:00
import SizesDoc from '@/doc/splitbutton/SizesDoc.vue';
2023-02-28 08:29:30 +00:00
import TemplateDoc from '@/doc/splitbutton/TemplateDoc.vue';
import TextDoc from '@/doc/splitbutton/TextDoc.vue';
2023-04-28 09:47:17 +00:00
import PTComponent from '@/doc/splitbutton/pt/index.vue';
import ThemingDoc from '@/doc/splitbutton/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
},
2024-02-03 08:48:01 +00:00
{
id: 'icons',
label: 'Icons',
component: IconsDoc
},
2024-09-26 08:19:50 +00:00
{
id: 'nested',
label: 'Nested',
component: NestedDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'severity',
label: 'Severity',
component: SeverityDoc
2022-09-09 20:41:18 +00:00
},
2023-10-23 11:09:30 +00:00
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'raised',
label: 'Raised',
component: RaisedDoc
2022-09-09 20:41:18 +00:00
},
2023-03-03 12:41:43 +00:00
{
id: 'rounded',
label: 'Rounded',
component: RoundedDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'text',
label: 'Text',
component: TextDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'raisedtext',
label: 'Raised Text',
component: RaisedTextDoc
2022-09-09 20:41:18 +00:00
},
{
2023-03-03 12:41:43 +00:00
id: 'outlined',
label: 'Outlined',
component: OutlinedDoc
2022-09-09 20:41:18 +00:00
},
2024-09-26 08:10:53 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'sizes',
label: 'Sizes',
component: SizesDoc
2024-09-26 08:10:53 +00:00
},
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-02-28 08:29:30 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-04-28 09:47:17 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>