From 71d1c4065a2d97b582098e563c1fe8dc9a0d5a6f Mon Sep 17 00:00:00 2001 From: Aaron Gundel Date: Mon, 23 Dec 2024 11:25:20 -0700 Subject: [PATCH] Changes to allow for a single form per tile --- .../generic/ResourceInstanceRelationships.vue | 2 +- .../components/scheme/editor/SchemeEditor.vue | 94 ++++++++----------- .../scheme/report/SchemeAuthority.vue | 8 +- .../components/scheme/report/SchemeLabel.vue | 8 +- .../scheme/report/SchemeLicense.vue | 2 +- .../scheme/report/SchemeNamespace.vue | 15 ++- .../components/scheme/report/SchemeNote.vue | 2 +- .../scheme/report/SchemeStandard.vue | 15 ++- .../components/scheme/report/SchemeUri.vue | 2 +- arches_lingo/src/arches_lingo/constants.ts | 1 + .../src/arches_lingo/pages/SchemePage.vue | 12 +-- arches_lingo/src/arches_lingo/types.ts | 14 +++ 12 files changed, 88 insertions(+), 87 deletions(-) diff --git a/arches_lingo/src/arches_lingo/components/generic/ResourceInstanceRelationships.vue b/arches_lingo/src/arches_lingo/components/generic/ResourceInstanceRelationships.vue index 8d53ec09..a49cec35 100644 --- a/arches_lingo/src/arches_lingo/components/generic/ResourceInstanceRelationships.vue +++ b/arches_lingo/src/arches_lingo/components/generic/ResourceInstanceRelationships.vue @@ -7,7 +7,7 @@ import type { ResourceInstanceReference, } from "@/arches_lingo/types"; -const { mode = EDIT } = defineProps<{ +const { mode = VIEW } = defineProps<{ mode?: DataComponentMode; value?: ResourceInstanceReference[]; options?: ResourceInstanceReference[]; diff --git a/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue index 4ccfc286..5484a3a3 100644 --- a/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue +++ b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue @@ -1,17 +1,11 @@ @@ -98,38 +104,16 @@ async function updateScheme() { -
- - - - - - - - - +
+

{{ currentEditor.editorName }}

+