import type { Meta, StoryObj } from '@storybook/vue3' const meta: Meta = { title: 'Composants/Composants Vuetify/VOtpInput', tags: ['!dev'], render: args => ({ setup() { return { args } }, template: ` `, }), } export default meta type Story = StoryObj // --- Default --- export const Default: Story = { args: { length: 6, disabled: false, error: false, variant: 'outlined' }, parameters: { docs: { source: { code: `` } } }, } export const Underlined: Story = { args: { length: 6, disabled: false, error: false, variant: 'underlined' }, parameters: { docs: { source: { code: `` } } }, } export const Filled: Story = { args: { length: 6, disabled: false, error: false, variant: 'filled' }, parameters: { docs: { source: { code: `` } } }, } // --- Disabled --- export const Disabled: Story = { args: { length: 6, disabled: true, error: false, variant: 'outlined' }, parameters: { docs: { source: { code: `` } } }, } // --- Error --- export const Error: Story = { args: { length: 6, disabled: false, error: true, variant: 'outlined' }, parameters: { docs: { source: { code: `` } } }, } // --- Different lengths --- export const FourDigits: Story = { args: { length: 4, disabled: false, error: false, variant: 'outlined' }, parameters: { docs: { source: { code: `` } } }, }