From c198199a870270f432908f80b7c23da444acfaa4 Mon Sep 17 00:00:00 2001 From: Aaron Gundel Date: Sun, 10 Nov 2024 22:01:23 -0700 Subject: [PATCH 1/4] Adds scheme editor --- .../components/scheme/editor/SchemeEditor.vue | 64 +++++++++++++++++++ .../scheme/report/SchemeSection.vue | 2 + .../src/arches_lingo/pages/SchemePage.vue | 52 +++++++++++++-- 3 files changed, 112 insertions(+), 6 deletions(-) create mode 100644 arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue diff --git a/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue new file mode 100644 index 00000000..511942d2 --- /dev/null +++ b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/arches_lingo/src/arches_lingo/components/scheme/report/SchemeSection.vue b/arches_lingo/src/arches_lingo/components/scheme/report/SchemeSection.vue index 16542e01..04fc97da 100644 --- a/arches_lingo/src/arches_lingo/components/scheme/report/SchemeSection.vue +++ b/arches_lingo/src/arches_lingo/components/scheme/report/SchemeSection.vue @@ -2,6 +2,8 @@ import { useGettext } from "vue3-gettext"; import Button from "primevue/button"; +defineEmits(["openEditor"]); + const { $gettext } = useGettext(); const props = defineProps<{ titleText: string; diff --git a/arches_lingo/src/arches_lingo/pages/SchemePage.vue b/arches_lingo/src/arches_lingo/pages/SchemePage.vue index 536a8ef8..2dd7a827 100644 --- a/arches_lingo/src/arches_lingo/pages/SchemePage.vue +++ b/arches_lingo/src/arches_lingo/pages/SchemePage.vue @@ -1,4 +1,5 @@