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

74 lines
2.4 KiB
Vue
Raw Normal View History

2024-02-21 18:38:16 +00:00
<template>
<DocComponent title="Vue Otp Input Component" header="InputOtp" description="Input Otp is used to enter one time passwords." :componentDocs="docs" :apiDocs="['InputOtp']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
</template>
<script>
import AccessibilityDoc from '@/doc/inputotp/AccessibilityDoc.vue';
import BasicDoc from '@/doc/inputotp/BasicDoc.vue';
2024-10-23 12:21:38 +00:00
import FilledDoc from '@/doc/inputotp/FilledDoc.vue';
import FormsDoc from '@/doc/inputotp/FormsDoc.vue';
2024-02-21 18:38:16 +00:00
import ImportDoc from '@/doc/inputotp/ImportDoc.vue';
2024-02-23 13:51:40 +00:00
import IntegerOnlyDoc from '@/doc/inputotp/IntegerOnlyDoc.vue';
2024-02-21 18:38:16 +00:00
import MaskDoc from '@/doc/inputotp/MaskDoc.vue';
2024-02-22 07:17:13 +00:00
import SampleDoc from '@/doc/inputotp/SampleDoc.vue';
2024-02-22 06:40:19 +00:00
import TemplateDoc from '@/doc/inputotp/TemplateDoc.vue';
2024-02-21 18:38:16 +00:00
import PTComponent from '@/doc/inputotp/pt/index.vue';
import ThemingDoc from '@/doc/inputotp/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
2024-10-23 08:16:23 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-10-23 08:16:23 +00:00
},
2024-02-21 18:38:16 +00:00
{
id: 'mask',
label: 'Mask',
component: MaskDoc
},
{
id: 'integeronly',
label: 'Integer Only',
component: IntegerOnlyDoc
},
2024-09-28 21:01:59 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2024-02-22 06:40:19 +00:00
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2024-02-22 07:17:13 +00:00
{
id: 'sample',
label: 'Sample',
component: SampleDoc
},
2024-02-21 18:38:16 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>