diff --git a/.npmrc b/.npmrc
index 87529f8..c044a35 100644
--- a/.npmrc
+++ b/.npmrc
@@ -4,3 +4,4 @@ engine-strict=true
shamefully-hoist=true
shell-emulator=true
use-node-version=20.10.0
+package-manager-strict=false
diff --git a/components/tooltip.vue b/components/tooltip.vue
deleted file mode 100644
index db9c420..0000000
--- a/components/tooltip.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ content }}
-
-
-
-
-
diff --git a/lib/helpers.ts b/lib/helpers.ts
index ab84d57..9c0e9f7 100644
--- a/lib/helpers.ts
+++ b/lib/helpers.ts
@@ -13,6 +13,6 @@ export function detectURLsAddLinks(content: string) {
/(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/;
return content.replace(
urlRegex,
- '$1',
+ '$1↗',
);
}
diff --git a/locales/de.json b/locales/de.json
index 36082de..f845cba 100644
--- a/locales/de.json
+++ b/locales/de.json
@@ -164,7 +164,10 @@
"allowance": "Zahlungen",
"same_as": "Onlineressourcen",
"confession": "Konfession",
- "no-notes": "Keine Notizen vorhanden."
+ "no-notes": "Keine Notizen vorhanden.",
+ "notes": "Redaktioneller Hinweis",
+ "hierarchy": "Hierarchievisualisierung",
+ "citations": "Zitationsvorschlag"
},
"viecpro_courts": {
"model": "Modell",
diff --git a/locales/en.json b/locales/en.json
index 2204da5..2a16abc 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -163,7 +163,10 @@
"allowance": "Allowance",
"same_as": "Online resources",
"confession": "Confession",
- "no-notes": "No notes provided."
+ "no-notes": "No notes provided.",
+ "notes": "Editor's note",
+ "hierarchy": "Hierarchy visualisation",
+ "citations": "Proposal for citation "
},
"viecpro_courts": {
"model": "Model",
diff --git a/package.json b/package.json
index e1f5cae..bc7319b 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"node": "20.x",
"pnpm": "8.x"
},
- "packageManager": "pnpm@8.10.5",
+ "packageManager": "pnpm@8.15.8",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
diff --git a/pages/detail/courts/[id].vue b/pages/detail/courts/[id].vue
index 3f6e103..98b79af 100644
--- a/pages/detail/courts/[id].vue
+++ b/pages/detail/courts/[id].vue
@@ -42,7 +42,7 @@ definePageMeta({
});
const title = computed(() => {
- if (data.value.entity.data?.name)
+ if (data.value.entity.data.name)
return `${data.value.entity.data.name} - ${t("pages.searchviews.courts.sing")}`;
return t("pages.searchviews.courts.sing");
});
@@ -74,15 +74,23 @@ useHead({
{{ data.entity.data?.name }}
-
+
-
-
+
{{ t("ui.loading") }}
diff --git a/pages/detail/institutions/[id].vue b/pages/detail/institutions/[id].vue
index 00f9700..6139956 100644
--- a/pages/detail/institutions/[id].vue
+++ b/pages/detail/institutions/[id].vue
@@ -34,9 +34,11 @@ const data = ref({
const fetchCourts = computed(() => {
if (
- data.value.details.error?.httpStatus &&
+ data.value.details.error &&
+ data.value.entity.error &&
+ data.value.details.error.httpStatus &&
data.value.details.error.httpStatus === 404 &&
- data.value.entity.error?.httpStatus &&
+ data.value.entity.error.httpStatus &&
data.value.entity.error.httpStatus === 404
)
return true;
@@ -79,7 +81,7 @@ definePageMeta({
});
const title = computed(() => {
- if (data.value.entity.data?.name) return `${data.value.entity.data.name} - Institution`;
+ if (data.value.entity.data.name) return `${data.value.entity.data.name} - Institution`;
return "Institution";
});
@@ -113,15 +115,23 @@ useHead({
{{ data.entity.data?.name }}
-
+
-
+
Show Infos
@@ -138,7 +148,7 @@ useHead({
-
+
{{ t("ui.loading") }}
diff --git a/pages/detail/persons/[id].vue b/pages/detail/persons/[id].vue
index dd8bedd..1740a65 100644
--- a/pages/detail/persons/[id].vue
+++ b/pages/detail/persons/[id].vue
@@ -99,15 +99,42 @@ useHead({
{{ data.entity.data?.fullname }}
-
+
+
+
+
+ {{ t("collection-keys.viecpro_courts.sources") }}
+
+
+
+
+
+ {{ data.details.data.notes }}
+
+
+ {{ t("collection-keys.viecpro_persons.no-notes") }}
+
+
+
-
+
Show Infos
@@ -124,23 +151,7 @@ useHead({
-
-
-
- {{ t("collection-keys.viecpro_courts.sources") }}
-
-
-
-
-
- {{ data.details.data.notes }}
-
-
- {{ t("collection-keys.viecpro_persons.no-notes") }}
-
-
-
-
+
{{ t("ui.loading") }}
@@ -283,11 +294,21 @@ useHead({
>
-
+
{{ tag }}
-
diff --git a/pages/detail/places/[id].vue b/pages/detail/places/[id].vue
index 1b7b864..46ed439 100644
--- a/pages/detail/places/[id].vue
+++ b/pages/detail/places/[id].vue
@@ -66,7 +66,7 @@ definePageMeta({
});
const title = computed(() => {
- if (data.value.entity.data?.name)
+ if (data.value.entity.data.name)
return `${data.value.entity.data.name} - ${t("pages.searchviews.places.sing")}`;
return t("pages.searchviews.places.sing");
});
@@ -98,10 +98,17 @@ useHead({
{{ data.entity.data?.name }}
-
+
-
+
Show Infos
@@ -120,7 +127,7 @@ useHead({
-
+
{{ t("ui.loading") }}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e86dbef..002434a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1869,7 +1869,7 @@ packages:
resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies:
- semver: 7.5.4
+ semver: 7.6.2
dev: false
/@npmcli/git@5.0.3:
@@ -4472,7 +4472,7 @@ packages:
/builtins@5.0.1:
resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==}
dependencies:
- semver: 7.5.4
+ semver: 7.6.2
dev: false
/bundle-name@3.0.0:
@@ -8723,7 +8723,7 @@ packages:
make-fetch-happen: 13.0.0
nopt: 7.2.0
proc-log: 3.0.0
- semver: 7.5.4
+ semver: 7.6.2
tar: 6.2.0
which: 4.0.0
transitivePeerDependencies:
@@ -8793,7 +8793,7 @@ packages:
resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies:
- semver: 7.5.4
+ semver: 7.6.2
dev: false
/npm-normalize-package-bin@3.0.1: