primevue-mirror/apps/showcase/pages/inputtext/index.vue

80 lines
2.6 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-02-02 12:56:33 +00:00
<DocComponent title="Vue Input Component" header="InputText" description="InputText is an extension to standard input element with theming." :componentDocs="docs" :apiDocs="['InputText']" :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';
2024-09-18 10:38:28 +00:00
import IftaLabelDoc from '@/doc/inputtext/IftaLabelDoc.vue';
2023-02-28 08:29:30 +00:00
import HelpTextDoc from '@/doc/inputtext/HelpTextDoc.vue';
import ImportDoc from '@/doc/inputtext/ImportDoc.vue';
import InvalidDoc from '@/doc/inputtext/InvalidDoc.vue';
2024-06-12 06:29:33 +00:00
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
},
2024-06-12 06:29:33 +00:00
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
2024-09-18 10:38:28 +00:00
{
id: 'iftalabel',
label: 'Ifta Label',
component: IftaLabelDoc
},
2024-06-12 06:29:33 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'sizes',
label: 'Sizes',
component: SizesDoc
2024-06-12 06:29:33 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'helptext',
2024-06-12 06:29:33 +00:00
label: 'Help Text',
2023-02-28 08:29:30 +00:00
component: HelpTextDoc
},
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>