2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-09 22:40:39 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue DataView Component"
|
|
|
|
header="DataView"
|
|
|
|
description="DataView displays data in grid or list layout with pagination and sorting features."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['DataView', 'DataViewLayoutOptions']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-07-27 06:42:04 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-09 22:40:39 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/dataview/AccessibilityDoc';
|
|
|
|
import BasicDoc from '@/doc/dataview/BasicDoc';
|
|
|
|
import ImportDoc from '@/doc/dataview/ImportDoc';
|
|
|
|
import LayoutDoc from '@/doc/dataview/LayoutDoc';
|
|
|
|
import LoadingDoc from '@/doc/dataview/LoadingDoc';
|
|
|
|
import PaginationDoc from '@/doc/dataview/PaginationDoc';
|
|
|
|
import PrimeFlexDoc from '@/doc/dataview/PrimeFlexDoc';
|
|
|
|
import SortingDoc from '@/doc/dataview/SortingDoc';
|
2023-05-09 22:40:39 +00:00
|
|
|
import PTComponent from '@/doc/dataview/pt/index.vue';
|
2023-07-27 06:42:04 +00:00
|
|
|
import ThemingDoc from '@/doc/dataview/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: 'primeflex',
|
|
|
|
label: 'PrimeFlex',
|
|
|
|
component: PrimeFlexDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'pagination',
|
|
|
|
label: 'Pagination',
|
|
|
|
component: PaginationDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'sorting',
|
|
|
|
label: 'Sorting',
|
|
|
|
component: SortingDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'layout',
|
|
|
|
label: 'Layout',
|
|
|
|
component: LayoutDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'loading',
|
|
|
|
label: 'Loading',
|
|
|
|
component: LoadingDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-05-09 22:40:39 +00:00
|
|
|
],
|
2023-07-27 06:42:04 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|