From 0f2240c87a5c0a22e2db97e4d2b82a52401be668 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Thu, 15 Feb 2024 17:23:22 +0000 Subject: Add modals --- src/components/Control/Modal.vue | 67 ++++++++++++++++++++++ src/components/Editor/EditorPane.vue | 27 ++++++--- .../Editor/Quest/Modal/DeleteQuestModal.vue | 42 ++++++++++++++ .../Editor/Quest/Modal/RenameQuestModal.vue | 59 +++++++++++++++++++ src/components/Editor/Quest/QuestOptionsPanel.vue | 20 +++---- .../Editor/Quest/Task/Modal/ChangeTaskModal.vue | 59 +++++++++++++++++++ .../Editor/Quest/Task/TaskConfiguration.vue | 18 +++--- 7 files changed, 267 insertions(+), 25 deletions(-) create mode 100644 src/components/Control/Modal.vue create mode 100644 src/components/Editor/Quest/Modal/DeleteQuestModal.vue create mode 100644 src/components/Editor/Quest/Modal/RenameQuestModal.vue create mode 100644 src/components/Editor/Quest/Task/Modal/ChangeTaskModal.vue (limited to 'src/components') diff --git a/src/components/Control/Modal.vue b/src/components/Control/Modal.vue new file mode 100644 index 0000000..d47d281 --- /dev/null +++ b/src/components/Control/Modal.vue @@ -0,0 +1,67 @@ + + + + + \ No newline at end of file diff --git a/src/components/Editor/EditorPane.vue b/src/components/Editor/EditorPane.vue index 6245e56..22458cb 100644 --- a/src/components/Editor/EditorPane.vue +++ b/src/components/Editor/EditorPane.vue @@ -1,12 +1,14 @@ - + @@ -80,6 +87,17 @@ const categoryFromSelectedQuest = computed(() => { + + + \ No newline at end of file diff --git a/src/components/Editor/Quest/Modal/RenameQuestModal.vue b/src/components/Editor/Quest/Modal/RenameQuestModal.vue new file mode 100644 index 0000000..5b1e0ed --- /dev/null +++ b/src/components/Editor/Quest/Modal/RenameQuestModal.vue @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/src/components/Editor/Quest/QuestOptionsPanel.vue b/src/components/Editor/Quest/QuestOptionsPanel.vue index 3495d60..3c1e599 100644 --- a/src/components/Editor/Quest/QuestOptionsPanel.vue +++ b/src/components/Editor/Quest/QuestOptionsPanel.vue @@ -1,8 +1,9 @@ \ No newline at end of file diff --git a/src/components/Editor/Quest/Task/TaskConfiguration.vue b/src/components/Editor/Quest/Task/TaskConfiguration.vue index c31a87d..7006f18 100644 --- a/src/components/Editor/Quest/Task/TaskConfiguration.vue +++ b/src/components/Editor/Quest/Task/TaskConfiguration.vue @@ -1,8 +1,9 @@