-
-
-
-
-
-
-
- Terug naar Catalogi
-
-
-
-
-
-
- Terug naar publicatie typen
-
-
-
-
-
-
-
-
- Publicatie datum
-
-
-
-
- Featured
-
-
-
-
Juridisch
-
+
+
+
+ Publicatie succesvol aangemaakt
+
+
+ Er is iets fout gegaan bij het aanmaken van Publicatie
+
+
+ {{ error }}
+
+
+
+
+
+
+
+
+ Terug naar Catalogi
+
+
+
+
+
+ Terug naar publicatie type
+
+
+
+
+
+ {{ success ? 'Sluiten' : 'Annuleer' }}
+
+
+
+
+
+ Help
+
+
+
+
+
+
+ Toevoegen
+
+
-
-
-
-
-
- Toevoegen
-
-
+
-
+
diff --git a/src/modals/publication/EditPublicationModal.vue b/src/modals/publication/EditPublicationModal.vue
index 6f1674ba..aa6902f3 100644
--- a/src/modals/publication/EditPublicationModal.vue
+++ b/src/modals/publication/EditPublicationModal.vue
@@ -2,65 +2,74 @@
import { navigationStore, publicationStore } from '../../store/store.js'
-
-
-
Edit publication
-
-
- Publicatie succesvol bewerkt
-
-
- Er is iets fout gegaan bij het bewerken van Publicatie
-
-
- {{ error }}
-
-
-
+
+
+
+ Publicatie succesvol bewerkt
+
+
+ Er is iets fout gegaan bij het bewerken van Publicatie
+
+
+ {{ error }}
+
+
+
+
+
+
+
+
+
+
Publicatie datum
+
+
+ Featured
+
+
+
Juridisch
+
+
+
+
+
+
+
+ {{ success ? 'Sluiten' : 'Annuleer' }}
+
+
+
+
+
+ Help
+
Opslaan
-
-
+
+
diff --git a/src/sidebars/SideBars.vue b/src/sidebars/SideBars.vue
index 953ac2bd..79442138 100644
--- a/src/sidebars/SideBars.vue
+++ b/src/sidebars/SideBars.vue
@@ -1,11 +1,11 @@
-
+
diff --git a/src/sidebars/directory/DirectorySideBar.vue b/src/sidebars/directory/DirectorySideBar.vue
index 3415cbd8..112bf160 100644
--- a/src/sidebars/directory/DirectorySideBar.vue
+++ b/src/sidebars/directory/DirectorySideBar.vue
@@ -4,8 +4,8 @@ import { navigationStore, directoryStore } from '../../store/store.js'
+ :name="directoryStore.listingItem?.title || 'Geen listing' "
+ :subname="directoryStore.listingItem?.organisation?.title">
+
+
+
+
+
+
+ Samenvatting:
+ {{ directoryStore.listingItem?.summery }}
+
+
+ Status:
+ {{ directoryStore.listingItem?.status }}
+
+
+ Last synchronysation:
+ {{ directoryStore.listingItem?.lastSync }}
+
+
+ Directory:
+ {{ directoryStore.listingItem?.directory }}
+
+
+ Zoeken:
+ {{ directoryStore.listingItem?.search }}
+
+
+ Beschrijving:
+ {{ directoryStore.listingItem?.description }}
+
+
+
+ :order="2">
-
+
Beschickbaar maken voor mijn zoek opdrachten
-
+
Standaard mee nemen in de beantwoording van mijn zoekopdrachten
+ :order="3">
@@ -64,6 +98,7 @@ import Plus from 'vue-material-design-icons/Plus.vue'
import HelpCircleOutline from 'vue-material-design-icons/HelpCircleOutline.vue'
import CogOutline from 'vue-material-design-icons/CogOutline.vue'
import FileTreeOutline from 'vue-material-design-icons/FileTreeOutline.vue'
+import InformationSlabSymbol from 'vue-material-design-icons/InformationSlabSymbol.vue'
export default {
name: 'DirectorySideBar',
@@ -79,6 +114,7 @@ export default {
HelpCircleOutline,
CogOutline,
FileTreeOutline,
+ InformationSlabSymbol,
},
data() {
return {
diff --git a/src/sidebars/search/SearchSideBar.vue b/src/sidebars/search/SearchSideBar.vue
index db2dd21c..db88e465 100644
--- a/src/sidebars/search/SearchSideBar.vue
+++ b/src/sidebars/search/SearchSideBar.vue
@@ -1,5 +1,5 @@
@@ -23,15 +23,17 @@ import { searchStore } from '../../store/store.js'
-
- Catalogi naam
+
+ {{ listing.title || 'Geen titel' }}
- Publicatie type tab content
+
+ {{ metaData.title || 'Geen titel' }}
+
@@ -41,6 +43,7 @@ import { NcAppSidebar, NcAppSidebarTab, NcTextField, NcNoteCard, NcCheckboxRadio
import Magnify from 'vue-material-design-icons/Magnify.vue'
import DatabaseOutline from 'vue-material-design-icons/DatabaseOutline.vue'
import FileTreeOutline from 'vue-material-design-icons/FileTreeOutline.vue'
+import { debounce } from 'lodash'
export default {
name: 'SearchSideBar',
@@ -54,11 +57,28 @@ export default {
DatabaseOutline,
FileTreeOutline,
},
+ props: {
+ search: {
+ type: String,
+ required: true,
+ },
+ },
data() {
return {
-
starred: false,
}
},
+ watch: {
+ search: 'debouncedSearch',
+ },
+ mounted() {
+ directoryStore.refreshListingList()
+ metadataStore.refreshMetaDataList()
+ },
+ methods: {
+ debouncedSearch: debounce(function() {
+ searchStore.getSearchResults()
+ }, 500),
+ },
}
diff --git a/src/store/modules/directory.js b/src/store/modules/directory.js
index bad527f5..cba3f129 100644
--- a/src/store/modules/directory.js
+++ b/src/store/modules/directory.js
@@ -11,7 +11,7 @@ export const useDirectoryStore = defineStore(
actions: {
setListingItem(listingItem) {
this.listingItem = listingItem && new Listing(listingItem)
- console.log('Active directory item set to ' + listingItem && listingItem.id)
+ console.log('Active directory item set to ' + listingItem.id)
},
setListingList(listingList) {
this.listingList = listingList.map(
diff --git a/src/views/Views.vue b/src/views/Views.vue
index 4816be36..14bc4c6d 100644
--- a/src/views/Views.vue
+++ b/src/views/Views.vue
@@ -1,5 +1,5 @@
@@ -9,11 +9,11 @@ import { navigationStore, searchStore } from '../store/store.js'
-
+
-
+
diff --git a/src/views/dashboard/DashboardIndex.vue b/src/views/dashboard/DashboardIndex.vue
index b817711a..1878b1f1 100644
--- a/src/views/dashboard/DashboardIndex.vue
+++ b/src/views/dashboard/DashboardIndex.vue
@@ -1,7 +1,3 @@
-
-
diff --git a/src/views/search/SearchList.vue b/src/views/search/SearchList.vue
new file mode 100644
index 00000000..282a0a1c
--- /dev/null
+++ b/src/views/search/SearchList.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Open portal page
+
+
+
+
+
+
diff --git a/templates/CatalogiIndex.php b/templates/CatalogiIndex.php
deleted file mode 100644
index e4c9807c..00000000
--- a/templates/CatalogiIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/templates/DirectoryIndex.php b/templates/DirectoryIndex.php
deleted file mode 100644
index cafdb7a0..00000000
--- a/templates/DirectoryIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/templates/OrganisationsIndex.php b/templates/OrganisationsIndex.php
deleted file mode 100644
index d22b8d99..00000000
--- a/templates/OrganisationsIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/templates/PublicationsIndex.php b/templates/PublicationsIndex.php
deleted file mode 100644
index ce77cbb6..00000000
--- a/templates/PublicationsIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/templates/SearchIndex.php b/templates/SearchIndex.php
deleted file mode 100644
index dfa4e48f..00000000
--- a/templates/SearchIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file
diff --git a/templates/metaDataIndex.php b/templates/metaDataIndex.php
deleted file mode 100644
index 6ec4b6ae..00000000
--- a/templates/metaDataIndex.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file