2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-07-28 05:56:58 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Skeleton Component"
|
|
|
|
header="Skeleton"
|
|
|
|
description="Skeleton is a placeholder to display instead of the actual content."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Skeleton']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-07-28 05:56:58 +00:00
|
|
|
import ThemingDoc from '@/doc/Skeleton/theming/index.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
import Accessibility from '@/doc/skeleton/AccessibilityDoc.vue';
|
|
|
|
import CardDoc from '@/doc/skeleton/CardDoc.vue';
|
|
|
|
import DataTableDoc from '@/doc/skeleton/DataTableDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/skeleton/ImportDoc.vue';
|
|
|
|
import ListDoc from '@/doc/skeleton/ListDoc.vue';
|
|
|
|
import ShapesDoc from '@/doc/skeleton/ShapesDoc.vue';
|
2023-04-27 11:56:31 +00:00
|
|
|
import PTComponent from '@/doc/skeleton/pt/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: 'shapes',
|
|
|
|
label: 'Shapes',
|
|
|
|
component: ShapesDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'card',
|
|
|
|
label: 'Card',
|
|
|
|
component: CardDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'list',
|
|
|
|
label: 'List',
|
|
|
|
component: ListDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'datatable',
|
|
|
|
label: 'Datatable',
|
|
|
|
component: DataTableDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: Accessibility
|
|
|
|
}
|
2023-04-27 11:56:31 +00:00
|
|
|
],
|
2023-07-28 05:56:58 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.custom-skeleton {
|
|
|
|
border: 1px solid var(--surface-border);
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|