@abi-software/map-side-bar 2.18.0 → 2.19.0

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 (36) hide show
  1. package/.postcssrc.json +5 -5
  2. package/README.md +8 -9
  3. package/cypress.config.js +6 -7
  4. package/dist/map-side-bar.js +5878 -5991
  5. package/dist/map-side-bar.umd.cjs +58 -58
  6. package/dist/style.css +1 -1
  7. package/eslint.config.js +44 -9
  8. package/package.json +10 -3
  9. package/reporter-config.json +1 -1
  10. package/src/App.vue +79 -78
  11. package/src/algolia/algolia.js +173 -167
  12. package/src/algolia/utils.js +34 -38
  13. package/src/assets/_variables.scss +12 -10
  14. package/src/assets/connectivity-explorer.scss +1 -1
  15. package/src/assets/fonts.scss +0 -1
  16. package/src/assets/searchPopover.scss +1 -2
  17. package/src/components/AnnotationTool.vue +9 -32
  18. package/src/components/BadgesGroup.vue +29 -32
  19. package/src/components/ConnectivityCard.vue +21 -18
  20. package/src/components/ConnectivityExplorer.vue +109 -130
  21. package/src/components/ConnectivityInfo.vue +143 -145
  22. package/src/components/ContributorItem.vue +15 -11
  23. package/src/components/DatasetCard.vue +166 -201
  24. package/src/components/DatasetExplorer.vue +160 -201
  25. package/src/components/ImageGallery.vue +35 -36
  26. package/src/components/SearchFilters.vue +377 -403
  27. package/src/components/SearchHistory.vue +61 -89
  28. package/src/components/SideBar.vue +83 -89
  29. package/src/components/Tabs.vue +10 -15
  30. package/src/components/index.js +3 -5
  31. package/src/components/species-map.js +7 -7
  32. package/src/exampleConnectivityInput.js +310 -318
  33. package/src/main.js +6 -6
  34. package/src/mixins/S3Bucket.vue +10 -13
  35. package/vite.config.js +62 -61
  36. package/vuese-generator.js +47 -55
@@ -10,18 +10,22 @@
10
10
  <div class="popover-content">
11
11
  <div class="popover-name">{{ contributor.name }}</div>
12
12
  <div class="popover-url" v-if="contributor.orcidId">
13
- <strong>ORCID iD</strong>:
13
+ <strong>ORCID iD</strong>
14
+ :
14
15
  <a :href="contributor.url" target="_blank">{{ orcidId }}</a>
15
16
  </div>
16
17
  <div class="popover-url" v-if="rrid">
17
- <strong>RRID</strong>:
18
+ <strong>RRID</strong>
19
+ :
18
20
  <a :href="contributor.url" target="_blank">{{ rrid }}</a>
19
21
  </div>
20
22
  <div class="popover-organization" v-if="contributor.organization">
21
- <strong>Organization</strong>: {{ contributor.organization }}
23
+ <strong>Organization</strong>
24
+ : {{ contributor.organization }}
22
25
  </div>
23
26
  <div class="popover-role" v-if="contributor.role">
24
- <strong>Title</strong>: {{ contributor.role }}
27
+ <strong>Title</strong>
28
+ : {{ contributor.role }}
25
29
  </div>
26
30
  </div>
27
31
  <template #reference>
@@ -38,22 +42,22 @@ export default {
38
42
  props: {
39
43
  contributor: {
40
44
  type: Object,
41
- default: () => ({})
42
- }
45
+ default: () => ({}),
46
+ },
43
47
  },
44
48
 
45
49
  computed: {
46
50
  orcidId: function () {
47
- return this.contributor.orcidId || ''
51
+ return this.contributor.orcidId || '';
48
52
  },
49
53
 
50
54
  rrid: function () {
51
55
  return this.contributor.url.indexOf('RRID:') > -1
52
56
  ? 'RRID:' + this.contributor.url.split('RRID:')[1]
53
- : ''
54
- }
55
- }
56
- }
57
+ : '';
58
+ },
59
+ },
60
+ };
57
61
  </script>
58
62
 
59
63
  <style lang="scss" scoped>