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

112 lines
3.6 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue InputNumber Component"
header="InputNumber"
description="InputNumber is an input component to provide numerical input."
:componentDocs="docs"
:apiDocs="['InputNumber']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/inputnumber/AccessibilityDoc.vue';
import ButtonsDoc from '@/doc/inputnumber/ButtonsDoc.vue';
import CurrencyDoc from '@/doc/inputnumber/CurrencyDoc.vue';
import DisabledDoc from '@/doc/inputnumber/DisabledDoc.vue';
2024-02-02 11:49:09 +00:00
import FilledDoc from '@/doc/inputnumber/FilledDoc.vue';
2023-09-21 11:21:43 +00:00
import FloatLabelDoc from '@/doc/inputnumber/FloatLabelDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/inputnumber/FormsDoc.vue';
2024-09-20 11:22:33 +00:00
import IftaLabelDoc from '@/doc/inputnumber/IftaLabelDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/inputnumber/ImportDoc.vue';
import InvalidDoc from '@/doc/inputnumber/InvalidDoc.vue';
import LocaleDoc from '@/doc/inputnumber/LocaleDoc.vue';
import NumeralsDoc from '@/doc/inputnumber/NumeralsDoc.vue';
import PrefixSuffixDoc from '@/doc/inputnumber/PrefixSuffixDoc.vue';
import VerticalDoc from '@/doc/inputnumber/VerticalDoc.vue';
2023-05-05 12:57:15 +00:00
import PTComponent from '@/doc/inputnumber/pt/index.vue';
import ThemingDoc from '@/doc/inputnumber/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: 'numerals',
label: 'Numerals',
component: NumeralsDoc
},
2024-10-23 09:55:14 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 09:55:14 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'locale',
label: 'Locale',
component: LocaleDoc
},
{
id: 'currency',
label: 'Currency',
component: CurrencyDoc
},
{
id: 'prefixsuffix',
label: 'Prefix & Suffix',
component: PrefixSuffixDoc
},
{
id: 'buttons',
label: 'Buttons',
component: ButtonsDoc
},
{
id: 'vertical',
label: 'Vertical',
component: VerticalDoc
},
2024-09-30 07:24:04 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
2024-09-20 11:22:33 +00:00
{
id: 'iftalabel',
label: 'Ifta Label',
component: IftaLabelDoc
},
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>