From 5f1b8a1598fa7bac9e8dff13d33ef791f576feed Mon Sep 17 00:00:00 2001 From: PascalMarchesseault <97350299+PascalMarchesseault@users.noreply.github.com> Date: Sat, 27 Jul 2024 00:01:08 -0400 Subject: [PATCH] Added Modals for Informations personnelles --- .../Dialogs/PersonnalInfo/AdressesHome.vue | 24 ++++++--- .../Dialogs/PersonnalInfo/AdressesWork.vue | 24 ++++++--- .../Dialogs/PersonnalInfo/Birthday.vue | 29 ++++++++--- .../Profile/Dialogs/PersonnalInfo/Email.vue | 23 ++++++--- .../Profile/Dialogs/PersonnalInfo/Gender.vue | 34 ++++++++++--- .../Profile/Dialogs/PersonnalInfo/Name.vue | 51 ++++++++++++++++--- .../Profile/Dialogs/PersonnalInfo/Phone.vue | 35 ++++++++++--- src/views/Profile/PersonnalInfo.vue | 16 +++--- 8 files changed, 184 insertions(+), 52 deletions(-) diff --git a/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue b/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue index 0deb2e7..cc6eef7 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue @@ -1,11 +1,23 @@ - + - - \ No newline at end of file + diff --git a/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue b/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue index 5493a20..08af31b 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue @@ -1,11 +1,23 @@ - + - - \ No newline at end of file + diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue b/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue index f321f52..0a771a8 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/Birthday.vue @@ -1,11 +1,26 @@ - - - \ No newline at end of file + diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Email.vue b/src/views/Profile/Dialogs/PersonnalInfo/Email.vue index 3199603..d3e8ef8 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/Email.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/Email.vue @@ -1,11 +1,22 @@ - + - - \ No newline at end of file diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue b/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue index b5de4d6..21cbfa4 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/Gender.vue @@ -1,11 +1,33 @@ - - \ No newline at end of file + diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Name.vue b/src/views/Profile/Dialogs/PersonnalInfo/Name.vue index 6478b49..508274c 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/Name.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/Name.vue @@ -1,11 +1,50 @@ - + - - \ No newline at end of file +const name = ref(''); +const lastName = ref(''); +const displayName = ref(''); + + + +const handleCancel = () => { + // Logic for canceling the changes + name.value = ''; + lastName.value = ''; + displayName.value = ''; + console.log('Cancelled'); +}; + + + diff --git a/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue b/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue index 3fbf851..6be00aa 100644 --- a/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue +++ b/src/views/Profile/Dialogs/PersonnalInfo/Phone.vue @@ -1,11 +1,32 @@ - - - \ No newline at end of file + diff --git a/src/views/Profile/PersonnalInfo.vue b/src/views/Profile/PersonnalInfo.vue index 6e5379b..36f8805 100644 --- a/src/views/Profile/PersonnalInfo.vue +++ b/src/views/Profile/PersonnalInfo.vue @@ -11,7 +11,7 @@