File tree Expand file tree Collapse file tree 11 files changed +59
-49
lines changed
Expand file tree Collapse file tree 11 files changed +59
-49
lines changed Original file line number Diff line number Diff line change 11<script setup>
2- const props = defineProps ({
2+ defineProps ({
33 spacedMobile: {
44 type: Boolean ,
55 default: true ,
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ onMounted(() => {
4545 <label for =" email" >Email</label >
4646 <InputText
4747 ref =" email-input"
48- v-model =" form.email"
4948 id =" email"
49+ v-model =" form.email"
5050 type =" email"
5151 required
5252 fluid
@@ -66,10 +66,10 @@ onMounted(() => {
6666 <div class =" flex justify-end items-center" >
6767 <Button
6868 :loading =" form.processing"
69- raised
7069 type =" submit"
7170 label =" Email Password Reset Link"
7271 severity =" contrast"
72+ raised
7373 />
7474 </div >
7575 </form >
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ onMounted(() => {
4545 <div class =" space-y-2" >
4646 <label for =" email" >Email</label >
4747 <InputText
48+ id =" email"
4849 ref =" email-input"
4950 v-model =" form.email"
50- id =" email"
5151 type =" email"
5252 required
5353 fluid
@@ -67,8 +67,8 @@ onMounted(() => {
6767 <div class =" space-y-2" >
6868 <label for =" password" >Password</label >
6969 <InputText
70- v-model =" form.password"
7170 id =" password"
71+ v-model =" form.password"
7272 type =" password"
7373 required
7474 fluid
@@ -89,10 +89,10 @@ onMounted(() => {
8989 <div class =" flex items-center justify-between" >
9090 <div class =" flex items-center" >
9191 <Checkbox
92- v-model =" form.remember"
93- :binary =" true"
9492 id =" remember"
9593 class =" mr-2"
94+ v-model =" form.remember"
95+ :binary =" true"
9696 ></Checkbox >
9797 <label for =" remember" >Remember me</label >
9898 </div >
@@ -109,10 +109,10 @@ onMounted(() => {
109109 </Link >
110110 <Button
111111 :loading =" form.processing"
112- raised
113112 type =" submit"
114113 label =" Log In"
115114 severity =" contrast"
115+ raised
116116 />
117117 </div >
118118 </form >
Original file line number Diff line number Diff line change @@ -27,17 +27,17 @@ onMounted(() => {
2727 <GuestLayout >
2828 <Head title =" Register" />
2929
30- <form @submit.prevent = " submit " class =" space-y-6" >
30+ <form class =" space-y-6" @submit.prevent = " submit " >
3131 <div class =" space-y-2" >
3232 <label for =" name" >Name</label >
3333 <InputText
34- ref =" name-input"
3534 id =" name"
35+ ref =" name-input"
3636 type =" text"
3737 v-model =" form.name"
38- fluid
3938 :invalid =" Boolean(form.errors.name)"
4039 required
40+ fluid
4141 autocomplete =" name"
4242 />
4343 <Message
@@ -54,11 +54,11 @@ onMounted(() => {
5454 <label for =" email" >Email</label >
5555 <InputText
5656 id =" email"
57- type =" email"
5857 v-model =" form.email"
59- fluid
58+ type = " email "
6059 :invalid =" Boolean(form.errors.email)"
6160 required
61+ fluid
6262 autocomplete =" username"
6363 />
6464 <Message
@@ -75,11 +75,11 @@ onMounted(() => {
7575 <label for =" password" >Password</label >
7676 <InputText
7777 id =" password"
78- type =" password"
7978 v-model =" form.password"
80- fluid
79+ type = " password "
8180 :invalid =" Boolean(form.errors.password)"
8281 required
82+ fluid
8383 autocomplete =" new-password"
8484 />
8585 <Message
@@ -96,11 +96,11 @@ onMounted(() => {
9696 <label for =" password_confirmation" >Confirm Password</label >
9797 <InputText
9898 id =" password_confirmation"
99- type =" password"
10099 v-model =" form.password_confirmation"
101- fluid
100+ type = " password "
102101 :invalid =" Boolean(form.errors.password_confirmation)"
103102 required
103+ fluid
104104 autocomplete =" new-password"
105105 />
106106 <Message
@@ -121,11 +121,11 @@ onMounted(() => {
121121 Already registered?
122122 </Link >
123123 <Button
124- raised
125124 type =" submit"
126125 :loading =" form.processing"
127126 label =" Register"
128127 severity =" contrast"
128+ raised
129129 />
130130 </div >
131131 </form >
Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ onMounted(() => {
3838 <GuestLayout >
3939 <Head title =" Reset Password" />
4040
41- <form @submit.prevent = " submit " class =" space-y-6" >
41+ <form class =" space-y-6" @submit.prevent = " submit " >
4242 <div class =" space-y-2" >
4343 <label for =" email" >Email</label >
4444 <InputText
45- ref =" email-input"
4645 id =" email"
47- type =" email"
46+ ref =" email-input "
4847 v-model =" form.email"
49- fluid
48+ type = " email "
5049 :invalid =" Boolean(form.errors.email)"
5150 required
51+ fluid
5252 autocomplete =" username"
5353 />
5454 <Message
@@ -65,11 +65,11 @@ onMounted(() => {
6565 <label for =" password" >Password</label >
6666 <InputText
6767 id =" password"
68- type =" password"
6968 v-model =" form.password"
70- fluid
69+ type = " password "
7170 :invalid =" Boolean(form.errors.password)"
7271 required
72+ fluid
7373 autocomplete =" new-password"
7474 />
7575 <Message
@@ -86,11 +86,11 @@ onMounted(() => {
8686 <label for =" password_confirmation" >Password</label >
8787 <InputText
8888 id =" password_confirmation"
89- type =" password"
9089 v-model =" form.password_confirmation"
91- fluid
90+ type = " password "
9291 :invalid =" Boolean(form.errors.password_confirmation)"
9392 required
93+ fluid
9494 autocomplete =" new-password"
9595 />
9696 <Message
@@ -105,11 +105,11 @@ onMounted(() => {
105105
106106 <div class =" flex justify-end items-center pt-2" >
107107 <Button
108- raised
109- type =" submit"
110108 :loading =" form.processing"
109+ type =" submit"
111110 label =" Reset Password"
112111 severity =" contrast"
112+ raised
113113 />
114114 </div >
115115 </form >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const verificationLinkSent = computed(
2424 <GuestLayout >
2525 <Head title =" Email Verification" />
2626
27- <template # message v-if =" verificationLinkSent " >
27+ <template v-if =" verificationLinkSent " # message >
2828 <Message severity =" success" :closable =" false" class =" shadow" >
2929 A new verification link has been sent to the email address you
3030 provided during registration.
@@ -40,11 +40,11 @@ const verificationLinkSent = computed(
4040 <form @submit.prevent =" submit" >
4141 <div class =" mt-6 flex justify-between items-center" >
4242 <Button
43- raised
44- type =" submit"
4543 :loading =" form.processing"
44+ type =" submit"
4645 label =" Resend Verification Email"
4746 severity =" contrast"
47+ raised
4848 />
4949 <Link
5050 :href =" route('logout')"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import DeleteUserForm from './Partials/DeleteUserForm.vue';
55import UpdatePasswordForm from ' ./Partials/UpdatePasswordForm.vue' ;
66import UpdateProfileInformationForm from ' ./Partials/UpdateProfileInformationForm.vue' ;
77
8- const props = defineProps ({
8+ defineProps ({
99 auth: Object ,
1010 mustVerifyEmail: {
1111 type: Boolean ,
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ function focusPasswordInput() {
2626<template >
2727 <section >
2828 <Dialog
29+ v-model:visible =" modalOpen"
2930 :draggable =" false"
3031 position =" center"
31- v-model:visible =" modalOpen"
3232 modal
3333 header =" Are you sure you want to delete your account?"
3434 :style =" { width: '40rem' }"
@@ -45,12 +45,12 @@ function focusPasswordInput() {
4545 <div class =" space-y-2" >
4646 <InputText
4747 autofocus
48- required
4948 id =" password"
5049 ref =" password-input"
50+ v-model =" form.password"
5151 type =" password"
5252 placeholder =" Password"
53- v-model = " form.password "
53+ required
5454 fluid
5555 :invalid =" Boolean(form.errors.password)"
5656 autocomplete =" current-password"
@@ -75,20 +75,20 @@ function focusPasswordInput() {
7575 @click =" modalOpen = false"
7676 />
7777 <Button
78- raised
79- @click =" deleteUser"
8078 :loading =" form.processing"
8179 label =" Delete Account"
8280 severity =" danger"
81+ raised
82+ @click =" deleteUser"
8383 />
8484 </template >
8585 </Dialog >
8686
8787 <Button
88- raised
8988 @click =" modalOpen = true"
9089 label =" Delete Account"
9190 severity =" danger"
91+ raised
9292 />
9393 </section >
9494</template >
Original file line number Diff line number Diff line change @@ -111,11 +111,11 @@ const updatePassword = () => {
111111
112112 < div class = " flex items-center gap-4" >
113113 < Button
114- raised
115- type= " submit"
116114 : loading= " form.processing"
115+ type= " submit"
117116 label= " Save"
118117 severity= " contrast"
118+ raised
119119 / >
120120
121121 < Transition
Original file line number Diff line number Diff line change @@ -111,11 +111,11 @@ onMounted(() => {
111111
112112 <div class =" flex items-center gap-4" >
113113 <Button
114- raised
115- type =" submit"
116114 :loading =" form.processing"
115+ type =" submit"
117116 label =" Save"
118117 severity =" contrast"
118+ raised
119119 />
120120
121121 <Transition
You can’t perform that action at this time.
0 commit comments