Skip to content

Commit

Permalink
Merge pull request #439 from edmcouncil/438-update-dependencies-in-ge…
Browse files Browse the repository at this point in the history
…neral

Update dependencies in general
  • Loading branch information
mereolog authored Feb 15, 2024
2 parents a4b21b2 + d9770c4 commit 318f5c5
Show file tree
Hide file tree
Showing 10 changed files with 3,629 additions and 3,018 deletions.
1 change: 1 addition & 0 deletions general/app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div>
<NuxtLoadingIndicator :color="'black'" />
<NuxtLayout>
<NuxtPage/>
</NuxtLayout>
Expand Down
3 changes: 2 additions & 1 deletion general/components/MobileMenuBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
:open="showModal"
:headerClass="noMultiselect ? '' : 'no-shadow'"
:noFade="true"
:id="id"
fullscreen
modalClass="mobile-menu-box"
footerClass="mobile-modal-footer"
Expand Down Expand Up @@ -60,7 +61,7 @@
<script>
export default {
name: 'MobileModal',
props: ['icon'],
props: ['icon', 'id'],
data() {
return {
showModal: false,
Expand Down
3 changes: 3 additions & 0 deletions general/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const DEV_BASE_URL = VUE_BASE_URL.replace(
);

export default defineNuxtConfig({
experimental: {
sharedPrerenderData: true
},
vue: {
runtimeCompiler: true,
},
Expand Down
6,620 changes: 3,610 additions & 3,010 deletions general/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion general/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/markdown-it": "^13.0.2",
"@types/node": "^18.17.3",
"markdown-it": "^13.0.2",
"nuxt": "^3.8.0",
"nuxt": "^3.10.1",
"sass": "^1.64.1",
"typescript": "^5.1.6"
},
Expand Down
4 changes: 4 additions & 0 deletions general/pages/ontology/[...resource].vue
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@
v-if="hasVersions"
class="secondary-column__versions secondary-column__versions--mobile"
:icon="'icon-clock'"
:id="'modal-mobile-versions'"
>
<template v-slot:label> Select version </template>
<template v-slot:multiselect>
Expand Down Expand Up @@ -543,6 +544,7 @@
<MobileMenuBox
class="secondary-column__tree secondary-column__tree--mobile"
:icon="'icon-directory'"
:id="'modal-mobile-modules'"
>
<template v-slot:label>
Browse {{ ontologyNameUppercase }} domains
Expand All @@ -564,6 +566,7 @@

<MobileMenuBox
:icon="'icon-search'"
:id="'modal-mobile-search'"
class="search-box search-box--mobile"
ref="mobileSearchbox"
>
Expand Down Expand Up @@ -662,6 +665,7 @@
v-if="searchBox.isAdvancedExpanded"
>
<MobileMenuBox
:id="'modal-mobile-advanced-search'"
class="advanced-search-box advanced-search-box--mobile card"
>
<template v-slot:label> Search by properties </template>
Expand Down
4 changes: 3 additions & 1 deletion general/pages/release-notes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ export default {
},
computed: {
...mapState(useConfigurationStore, {
ontologyNameUppercase: store => store.config.ontpubFamily.toUpperCase(),
ontologyNameUppercase: store => {
return store.config.ontpubFamily.toUpperCase()
},
}),
},
};
Expand Down
2 changes: 1 addition & 1 deletion general/plugins/initialize-stores.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export default defineNuxtPlugin(async (nuxtApp: any) => {

await configurationStore.initialize(runtimeConfig);
await contentStore.initialize(runtimeConfig);
})
});
4 changes: 2 additions & 2 deletions general/plugins/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { defineNuxtPlugin } from '#app'
export default defineNuxtPlugin((nuxtApp: any) => {
nuxtApp.$router.options.scrollBehavior = () => {
return { top: 0 }
}
})
};
});
4 changes: 2 additions & 2 deletions general/plugins/use-bootstrap.client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as bootstrap from 'bootstrap';

export default defineNuxtPlugin(nuxtApp => {
nuxtApp.provide('bootstrap', bootstrap)
})
nuxtApp.provide('bootstrap', bootstrap);
});

0 comments on commit 318f5c5

Please sign in to comment.