primevue-mirror/pages/inputtext/index.vue

89 lines
2.9 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-03-16 13:18:12 +00:00
<DocComponent title="Vue Input Component" header="InputText" description="InputText is an extension to standard input element with theming." :componentDocs="docs" :apiDocs="['InputText']" />
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';
import FloatLabelDoc from '@/doc/inputtext/FloatLabelDoc.vue';
2023-03-15 14:50:39 +00:00
import VeeValidateDoc from '@/doc/inputtext/form/VeeValidateDoc.vue';
2023-02-28 08:29:30 +00:00
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';
import StyleDoc from '@/doc/inputtext/StyleDoc.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',
label: 'FloatLabel',
component: FloatLabelDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
2023-03-15 14:50:39 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'veevalidate',
label: 'VeeValidate',
component: VeeValidateDoc
}
]
},
2023-02-28 08:29:30 +00:00
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
2022-09-09 20:41:18 +00:00
};
}
};
</script>