primevue-mirror/pages/inputtext/index.vue

88 lines
2.7 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-01-30 08:04:48 +00:00
<DocComponent
title="Vue Input Component"
header="InputText"
description="InputText is an extension to standard input element with theming."
:componentDocs="docs"
:apiDocs="['InputText', 'FloatLabel', 'InputIcon', 'IconField']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/inputtext/AccessibilityDoc.vue';
import BasicDoc from '@/doc/inputtext/BasicDoc.vue';
import DisabledDoc from '@/doc/inputtext/DisabledDoc.vue';
2024-02-01 12:39:56 +00:00
import FilledDoc from '@/doc/inputtext/FilledDoc.vue';
2023-02-28 08:29:30 +00:00
import FloatLabelDoc from '@/doc/inputtext/FloatLabelDoc.vue';
import HelpTextDoc from '@/doc/inputtext/HelpTextDoc.vue';
import IconsDoc from '@/doc/inputtext/IconsDoc.vue';
import ImportDoc from '@/doc/inputtext/ImportDoc.vue';
import InvalidDoc from '@/doc/inputtext/InvalidDoc.vue';
import SizesDoc from '@/doc/inputtext/SizesDoc.vue';
2023-05-05 12:57:15 +00:00
import PTComponent from '@/doc/inputtext/pt/index.vue';
import ThemingDoc from '@/doc/inputtext/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: 'icons',
label: 'Icons',
component: IconsDoc
},
{
id: 'sizes',
label: 'Sizes',
component: SizesDoc
},
{
id: 'helptext',
label: 'HelpText',
component: HelpTextDoc
},
{
id: 'floatlabel',
2024-01-30 08:04:48 +00:00
label: 'Float Label',
2023-02-28 08:29:30 +00:00
component: FloatLabelDoc
},
2024-02-01 12:39:56 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-05 12:57:15 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>