chore: update

This commit is contained in:
sadeghbarati 2024-08-13 14:43:53 +03:30
parent 02c4c14d69
commit fc0e1d5b9d

View File

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import { Check, Circle, Dot } from 'lucide-vue-next' import { CheckIcon, CircleIcon, DotIcon } from '@radix-icons/vue'
import { toTypedSchema } from '@vee-validate/zod' import { toTypedSchema } from '@vee-validate/zod'
import * as z from 'zod' import * as z from 'zod'
import { h, ref } from 'vue' import { h, ref } from 'vue'
@ -103,9 +103,9 @@ function onSubmit(values: any) {
:class="[state === 'active' && 'ring-2 ring-ring ring-offset-2 ring-offset-background']" :class="[state === 'active' && 'ring-2 ring-ring ring-offset-2 ring-offset-background']"
:disabled="state !== 'completed' && !meta.valid" :disabled="state !== 'completed' && !meta.valid"
> >
<Check v-if="state === 'completed'" class="size-5" /> <CheckIcon v-if="state === 'completed'" class="size-5" />
<Circle v-if="state === 'active'" /> <CircleIcon v-if="state === 'active'" />
<Dot v-if="state === 'inactive'" /> <DotIcon v-if="state === 'inactive'" />
</Button> </Button>
</StepperTrigger> </StepperTrigger>