From f65b2fecbadd4afb92a1212cafc545228bd14d31 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Thu, 20 Jun 2024 10:39:24 +1200 Subject: [PATCH 01/28] Add provenance info in sidebar --- src/components.d.ts | 3 + src/components/ExternalResourceCard.vue | 113 +++++ src/components/ProvenancePopup.vue | 538 ++++++++++++++++++++++++ src/components/SearchFilters.vue | 8 +- src/components/SideBar.vue | 91 +++- src/components/Tabs.vue | 3 +- 6 files changed, 750 insertions(+), 6 deletions(-) create mode 100644 src/components/ExternalResourceCard.vue create mode 100644 src/components/ProvenancePopup.vue diff --git a/src/components.d.ts b/src/components.d.ts index ecc910aa..83b8b2c9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -16,13 +16,16 @@ declare module 'vue' { ElIcon: typeof import('element-plus/es')['ElIcon'] ElIconArrowLeft: typeof import('@element-plus/icons-vue')['ArrowLeft'] ElIconArrowRight: typeof import('@element-plus/icons-vue')['ArrowRight'] + ElIconWarning: typeof import('@element-plus/icons-vue')['Warning'] ElInput: typeof import('element-plus/es')['ElInput'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] ElSelect: typeof import('element-plus/es')['ElSelect'] ElTag: typeof import('element-plus/es')['ElTag'] + ExternalResourceCard: typeof import('./components/ExternalResourceCard.vue')['default'] ImageGallery: typeof import('./components/ImageGallery.vue')['default'] + ProvenancePopup: typeof import('./components/ProvenancePopup.vue')['default'] SearchFilters: typeof import('./components/SearchFilters.vue')['default'] SearchHistory: typeof import('./components/SearchHistory.vue')['default'] SideBar: typeof import('./components/SideBar.vue')['default'] diff --git a/src/components/ExternalResourceCard.vue b/src/components/ExternalResourceCard.vue new file mode 100644 index 00000000..68d459ef --- /dev/null +++ b/src/components/ExternalResourceCard.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/src/components/ProvenancePopup.vue b/src/components/ProvenancePopup.vue new file mode 100644 index 00000000..860efcd2 --- /dev/null +++ b/src/components/ProvenancePopup.vue @@ -0,0 +1,538 @@ + + + + + diff --git a/src/components/SearchFilters.vue b/src/components/SearchFilters.vue index 48e58d98..0bc3d269 100644 --- a/src/components/SearchFilters.vue +++ b/src/components/SearchFilters.vue @@ -793,10 +793,14 @@ export default { diff --git a/src/components/Tabs.vue b/src/components/Tabs.vue index 142747b5..12f53a49 100644 --- a/src/components/Tabs.vue +++ b/src/components/Tabs.vue @@ -1,6 +1,11 @@