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

80 lines
2.7 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-01-11 13:53:39 +00:00
<DocComponent title="Vue Dialog Component" header="Dialog" description="Dialog is a container to display content in an overlay window." :componentDocs="docs" :apiDocs="['Dialog']" :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/dialog/AccessibilityDoc.vue';
import BasicDoc from '@/doc/dialog/BasicDoc.vue';
2023-10-29 19:34:22 +00:00
import HeadlessDoc from '@/doc/dialog/HeadlessDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/dialog/ImportDoc.vue';
import LongContentDoc from '@/doc/dialog/LongContentDoc.vue';
import MaximizableDoc from '@/doc/dialog/MaximizableDoc.vue';
import PositionDoc from '@/doc/dialog/PositionDoc.vue';
import ResponsiveDoc from '@/doc/dialog/ResponsiveDoc.vue';
import TemplateDoc from '@/doc/dialog/TemplateDoc.vue';
import WithoutModalDoc from '@/doc/dialog/WithoutModalDoc.vue';
2023-04-28 08:54:50 +00:00
import PTComponent from '@/doc/dialog/pt/index.vue';
import ThemingDoc from '@/doc/dialog/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
},
{
2023-10-29 19:34:22 +00:00
id: 'template',
label: 'Template',
component: TemplateDoc
2023-02-28 08:29:30 +00:00
},
2023-10-29 19:34:22 +00:00
{
id: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'maximizable',
label: 'Maximizable',
component: MaximizableDoc
},
2023-10-29 21:24:46 +00:00
{
id: 'longcontent',
label: 'Long Content',
component: LongContentDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'modal',
label: 'Without Modal',
component: WithoutModalDoc
},
{
id: 'responsive',
label: 'Responsive',
component: ResponsiveDoc
},
{
2023-10-29 19:34:22 +00:00
id: 'headless',
label: 'Headless',
component: HeadlessDoc
2023-02-28 08:29:30 +00:00
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-28 08:54:50 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>