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

70 lines
2.2 KiB
Vue

<template>
<DocComponent
title="Vue Stepper Component"
header="Stepper"
description="The Stepper component displays a wizard-like workflow by guiding users through the multi-step progression."
:componentDocs="docs"
:themingDocs="themingDoc"
:ptTabComponent="ptComponent"
:apiDocs="['Stepper', 'StepList', 'StepPanels', 'StepItem', 'Step', 'StepPanel']"
/>
</template>
<script>
import AccessibilityDoc from '@/doc/stepper/AccessibilityDoc.vue';
import HorizontalDoc from '@/doc/stepper/HorizontalDoc.vue';
import ImportDoc from '@/doc/stepper/ImportDoc.vue';
import LinearDoc from '@/doc/stepper/LinearDoc.vue';
import TemplateDoc from '@/doc/stepper/TemplateDoc.vue';
import StepsOnlyDoc from '@/doc/stepper/StepsOnlyDoc.vue';
import VerticalDoc from '@/doc/stepper/VerticalDoc.vue';
import PTComponent from '@/doc/stepper/pt/index.vue';
import ThemingDoc from '@/doc/stepper/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'horizontal',
label: 'Horizontal',
component: HorizontalDoc
},
{
id: 'vertical',
label: 'Vertical',
component: VerticalDoc
},
{
id: 'linear',
label: 'Linear',
component: LinearDoc
},
{
id: 'stepsonly',
label: 'Steps Only',
component: StepsOnlyDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>