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

68 lines
2.2 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Rating Component" header="Rating" description="Rating component is a star based selection input." :componentDocs="docs" :apiDocs="['Rating']" :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/rating/AccessibilityDoc.vue';
import BasicDoc from '@/doc/rating/BasicDoc.vue';
import DisabledDoc from '@/doc/rating/DisabledDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/rating/FormsDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/rating/ImportDoc.vue';
import NumberOfStarsDoc from '@/doc/rating/NumberOfStarsDoc.vue';
import ReadOnlyDoc from '@/doc/rating/ReadOnlyDoc.vue';
import TemplateDoc from '@/doc/rating/TemplateDoc.vue';
2023-05-06 20:34:27 +00:00
import PTComponent from '@/doc/rating/pt/index.vue';
import ThemingDoc from '@/doc/rating/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-10-23 09:50:52 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 09:50:52 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'numberofstars',
label: 'Number of Stars',
component: NumberOfStarsDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'readonly',
label: 'ReadOnly',
component: ReadOnlyDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-06 20:34:27 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>