@museumwnf/viewer-core 1.14.0 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/LICENSE.md +44 -44
  2. package/README.md +658 -635
  3. package/package.json +50 -50
  4. package/src/AppRoot.vue +58 -58
  5. package/src/catalogue/dates.js +209 -209
  6. package/src/catalogue/facets.js +61 -61
  7. package/src/catalogue/keywordIndex.js +289 -289
  8. package/src/catalogue/listQuery.js +100 -100
  9. package/src/catalogue/pagination.js +57 -57
  10. package/src/catalogue/searchLanguage.js +32 -32
  11. package/src/catalogue/timeline.js +220 -220
  12. package/src/composables/useCatalogueData.js +141 -141
  13. package/src/composables/useDataPackage.js +98 -98
  14. package/src/composables/useEntities.js +100 -100
  15. package/src/composables/useRecordLanguage.js +71 -71
  16. package/src/conventions.js +252 -148
  17. package/src/createViewer.js +29 -29
  18. package/src/i18n/I18nText.vue +17 -17
  19. package/src/i18n/I18nTextInline.vue +17 -17
  20. package/src/i18n/index.js +88 -88
  21. package/src/i18n/language.js +127 -127
  22. package/src/i18n/markdown.js +265 -265
  23. package/src/index.js +51 -50
  24. package/src/injectionKeys.js +1 -1
  25. package/src/languages.js +49 -49
  26. package/src/legacy/index.js +58 -58
  27. package/src/record/collectionTree.js +307 -307
  28. package/src/record/derivations.js +154 -154
  29. package/src/record/partners.js +87 -87
  30. package/src/record/recordSheet.js +231 -231
  31. package/src/rights.js +53 -53
  32. package/src/router/index.js +138 -138
  33. package/src/siteConfig.js +37 -37
  34. package/src/styles/base.css +49 -49
  35. package/src/testing/checkOfferedLanguages.js +67 -67
  36. package/src/testing/index.js +3 -3
  37. package/src/testing/smoke.js +103 -103
  38. package/src/testing/viteConfig.js +72 -90
  39. package/src/views/DetailView.vue +53 -53
  40. package/src/views/HomeView.vue +20 -20
  41. package/src/views/ListView.vue +61 -61
  42. package/src/views/NotFoundView.vue +8 -8
  43. package/src/vite.js +8 -8
@@ -1,8 +1,8 @@
1
- <template>
2
- <section class="vc-not-found">
3
- <p>{{ $t('core.notFound.page') }}</p>
4
- <p>
5
- <router-link to="/">{{ $t('core.nav.home') }}</router-link>
6
- </p>
7
- </section>
8
- </template>
1
+ <template>
2
+ <section class="vc-not-found">
3
+ <p>{{ $t('core.notFound.page') }}</p>
4
+ <p>
5
+ <router-link to="/">{{ $t('core.nav.home') }}</router-link>
6
+ </p>
7
+ </section>
8
+ </template>
package/src/vite.js CHANGED
@@ -1,8 +1,8 @@
1
- /**
2
- * Vite configuration helper for viewer websites.
3
- * This is a separate entry point because Vite's config loader runs under Node.js,
4
- * which cannot parse .vue files. The ./testing barrel re-exports mountSite and
5
- * other test utilities that import createViewer → AppRoot.vue, making it unsafe
6
- * to import from a vite.config.js. This entry avoids that chain.
7
- */
8
- export { defineViewerConfig } from './testing/viteConfig.js'
1
+ /**
2
+ * Vite configuration helper for viewer websites.
3
+ * This is a separate entry point because Vite's config loader runs under Node.js,
4
+ * which cannot parse .vue files. The ./testing barrel re-exports mountSite and
5
+ * other test utilities that import createViewer → AppRoot.vue, making it unsafe
6
+ * to import from a vite.config.js. This entry avoids that chain.
7
+ */
8
+ export { defineViewerConfig } from './testing/viteConfig.js'