primevue-mirror/pages/inputnumber/index.vue

101 lines
3.3 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent title="Vue InputNumber Component" header="InputNumber" description="InputNumber is an input component to provide numerical input." :componentDocs="docs" :apiDocs="['InputNumber']" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/inputnumber/AccessibilityDoc';
import ButtonsDoc from '@/doc/inputnumber/ButtonsDoc';
import CurrencyDoc from '@/doc/inputnumber/CurrencyDoc';
import DisabledDoc from '@/doc/inputnumber/DisabledDoc';
import FloatLabelDoc from '@/doc/inputnumber/FloatLabelDoc';
2023-03-16 12:57:15 +00:00
import VeeValidateDoc from '@/doc/inputnumber/form/VeeValidateDoc';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/inputnumber/ImportDoc';
import InvalidDoc from '@/doc/inputnumber/InvalidDoc';
import LocaleDoc from '@/doc/inputnumber/LocaleDoc';
import NumeralsDoc from '@/doc/inputnumber/NumeralsDoc';
import PrefixSuffixDoc from '@/doc/inputnumber/PrefixSuffixDoc';
import StyleDoc from '@/doc/inputnumber/StyleDoc';
import VerticalDoc from '@/doc/inputnumber/VerticalDoc';
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
},
{
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
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
2023-03-16 12:57:15 +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: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
2022-09-09 20:41:18 +00:00
};
}
};
</script>