From b99be3b291c77b8a738b0f9fb341a01eee9e3322 Mon Sep 17 00:00:00 2001 From: Christopher Byrd Date: Fri, 3 Jan 2025 15:37:13 -0800 Subject: [PATCH] creates date datatype after rebase #147 --- .../components/generic/DateDatatype.vue | 44 +++++++++++++++++++ .../components/generic/LabelEditor.vue | 14 +++++- .../date-datatype/DateDatatypeEditor.vue | 31 +++++++++++++ .../date-datatype/DateDatatypeViewer.vue | 27 ++++++++++++ arches_lingo/src/arches_lingo/types.ts | 2 + 5 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 arches_lingo/src/arches_lingo/components/generic/DateDatatype.vue create mode 100644 arches_lingo/src/arches_lingo/components/generic/date-datatype/DateDatatypeEditor.vue create mode 100644 arches_lingo/src/arches_lingo/components/generic/date-datatype/DateDatatypeViewer.vue diff --git a/arches_lingo/src/arches_lingo/components/generic/DateDatatype.vue b/arches_lingo/src/arches_lingo/components/generic/DateDatatype.vue new file mode 100644 index 00000000..b29d81a8 --- /dev/null +++ b/arches_lingo/src/arches_lingo/components/generic/DateDatatype.vue @@ -0,0 +1,44 @@ + + + diff --git a/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue b/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue index ba6f6061..6be99c97 100644 --- a/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue +++ b/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue @@ -1,5 +1,5 @@ + + diff --git a/arches_lingo/src/arches_lingo/components/generic/date-datatype/DateDatatypeViewer.vue b/arches_lingo/src/arches_lingo/components/generic/date-datatype/DateDatatypeViewer.vue new file mode 100644 index 00000000..ea6424cd --- /dev/null +++ b/arches_lingo/src/arches_lingo/components/generic/date-datatype/DateDatatypeViewer.vue @@ -0,0 +1,27 @@ + + + diff --git a/arches_lingo/src/arches_lingo/types.ts b/arches_lingo/src/arches_lingo/types.ts index 7dadfaba..606d770e 100644 --- a/arches_lingo/src/arches_lingo/types.ts +++ b/arches_lingo/src/arches_lingo/types.ts @@ -118,6 +118,8 @@ export interface AppellativeStatus { appellative_status_data_assignment_object_used: ResourceInstanceReference[]; appellative_status_data_assignment_actor: ResourceInstanceReference[]; appellative_status_data_assignment_type: ControlledListItem[]; + appellative_status_timespan_begin_of_the_begin: string; + appellative_status_timespan_end_of_the_end: string; } export interface SchemeStatement {