primevue-mirror/pages/fileupload/index.vue

70 lines
2.2 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent
title="Vue File Upload Component"
header="File Upload"
description="FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations."
:componentDocs="docs"
:apiDocs="['FileUpload']"
2023-05-02 07:19:45 +00:00
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
2023-02-28 08:29:30 +00:00
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/fileupload/AccessibilityDoc.vue';
import AdvancedDoc from '@/doc/fileupload/AdvancedDoc.vue';
import AutoDoc from '@/doc/fileupload/AutoDoc.vue';
import BasicDoc from '@/doc/fileupload/BasicDoc.vue';
import CustomUploadDoc from '@/doc/fileupload/CustomUploadDoc.vue';
import ImportDoc from '@/doc/fileupload/ImportDoc.vue';
import TemplateDoc from '@/doc/fileupload/TemplateDoc.vue';
2023-05-02 07:19:45 +00:00
import PTComponent from '@/doc/fileupload/pt/index.vue';
import ThemingDoc from '@/doc/fileupload/theming/index.vue';
2023-02-28 08:29:30 +00:00
2022-09-09 20:41:18 +00:00
export default {
2022-12-08 12:26:57 +00:00
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'auto',
label: 'Auto',
component: AutoDoc
},
{
id: 'advanced',
label: 'Advanced',
component: AdvancedDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'custom-upload',
label: 'Custom Upload',
component: CustomUploadDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-02 07:19:45 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-12-08 12:26:57 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>