2024-10-23 04:05:27 +00:00
|
|
|
<template>
|
2024-10-31 07:58:36 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Form Library"
|
|
|
|
header="Forms"
|
|
|
|
description="The PrimeVue Forms library provides comprehensive form state management with built-in validation support."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Form']"
|
|
|
|
:ptTabComponent="ptComponent"
|
|
|
|
:themingDocs="themingDoc"
|
|
|
|
/>
|
2024-10-23 04:05:27 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import AccessibilityDoc from '@/doc/forms/AccessibilityDoc.vue';
|
2024-10-31 07:56:10 +00:00
|
|
|
import DownloadDoc from '@/doc/forms/DownloadDoc.vue';
|
2024-10-23 04:05:27 +00:00
|
|
|
import BasicDoc from '@/doc/forms/BasicDoc.vue';
|
|
|
|
import DynamicDoc from '@/doc/forms/DynamicDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/forms/ImportDoc.vue';
|
|
|
|
import RegisterDoc from '@/doc/forms/RegisterDoc.vue';
|
|
|
|
import ResolversDoc from '@/doc/forms/ResolversDoc.vue';
|
|
|
|
import StatesDoc from '@/doc/forms/StatesDoc.vue';
|
|
|
|
import SubmitDoc from '@/doc/forms/SubmitDoc.vue';
|
2024-10-23 10:38:23 +00:00
|
|
|
import ValidateOnDoc from '@/doc/forms/ValidateOnDoc.vue';
|
2024-10-23 04:05:27 +00:00
|
|
|
import PTComponent from '@/doc/forms/pt/index.vue';
|
|
|
|
import ThemingDoc from '@/doc/forms/theming/index.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
2024-10-31 07:58:36 +00:00
|
|
|
{
|
2024-10-31 07:56:10 +00:00
|
|
|
id: 'download',
|
|
|
|
label: 'Download',
|
|
|
|
component: DownloadDoc
|
|
|
|
},
|
2024-10-23 04:05:27 +00:00
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'states',
|
|
|
|
label: 'States',
|
|
|
|
component: StatesDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'resolvers',
|
|
|
|
label: 'Resolvers',
|
|
|
|
component: ResolversDoc
|
|
|
|
},
|
2024-10-23 10:38:23 +00:00
|
|
|
{
|
|
|
|
id: 'validateon',
|
|
|
|
label: 'ValidateOn',
|
|
|
|
component: ValidateOnDoc
|
|
|
|
},
|
2024-10-23 04:05:27 +00:00
|
|
|
{
|
|
|
|
id: 'register',
|
|
|
|
label: 'Register',
|
|
|
|
component: RegisterDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'submit',
|
|
|
|
label: 'Submit',
|
|
|
|
component: SubmitDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'dynamic',
|
|
|
|
label: 'Dynamic',
|
|
|
|
component: DynamicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
|
|
|
],
|
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|