2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-07 06:30:18 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Textarea Component"
|
|
|
|
header="Textarea"
|
|
|
|
description="Textarea adds styling, key filtering and autoResize functionality to standard textarea element."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['Textarea']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-07-26 17:30:11 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-07 06:30:18 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-09-21 11:21:43 +00:00
|
|
|
import AccessibilityDoc from '@/doc/textarea/AccessibilityDoc.vue';
|
|
|
|
import AutoResizeDoc from '@/doc/textarea/AutoResizeDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/textarea/BasicDoc.vue';
|
|
|
|
import DisabledDoc from '@/doc/textarea/DisabledDoc.vue';
|
|
|
|
import FloatLabelDoc from '@/doc/textarea/FloatLabelDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/textarea/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/textarea/InvalidDoc.vue';
|
2023-05-07 06:30:18 +00:00
|
|
|
import PTComponent from '@/doc/textarea/pt/index.vue';
|
2023-07-26 17:30:11 +00:00
|
|
|
import ThemingDoc from '@/doc/textarea/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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'auto-resize',
|
|
|
|
label: 'Auto Resize',
|
|
|
|
component: AutoResizeDoc
|
|
|
|
},
|
|
|
|
{
|
2024-01-15 14:11:36 +00:00
|
|
|
id: 'floatlabel',
|
2023-02-28 08:29:30 +00:00
|
|
|
label: 'Float Label',
|
|
|
|
component: FloatLabelDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'invalid',
|
|
|
|
label: 'Invalid',
|
|
|
|
component: InvalidDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'disabled',
|
|
|
|
label: 'Disabled',
|
|
|
|
component: DisabledDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-05-07 06:30:18 +00:00
|
|
|
],
|
2023-07-26 17:30:11 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|