@abi-software/map-side-bar 2.3.0 → 2.4.0-alpha-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/.eslintrc.js +12 -12
  2. package/.postcssrc.json +5 -5
  3. package/LICENSE +201 -201
  4. package/README.md +168 -168
  5. package/cypress.config.js +23 -23
  6. package/dist/data/pmr-sample.json +3181 -0
  7. package/dist/map-side-bar.js +15142 -9024
  8. package/dist/map-side-bar.umd.cjs +50 -103
  9. package/dist/style.css +1 -1
  10. package/package.json +77 -77
  11. package/public/data/pmr-sample.json +3181 -0
  12. package/reporter-config.json +9 -9
  13. package/src/App.vue +266 -265
  14. package/src/algolia/algolia.js +255 -242
  15. package/src/algolia/utils.js +100 -100
  16. package/src/assets/_variables.scss +43 -43
  17. package/src/assets/styles.scss +6 -6
  18. package/src/components/BadgesGroup.vue +124 -124
  19. package/src/components/ConnectivityInfo.vue +619 -619
  20. package/src/components/DatasetCard.vue +367 -357
  21. package/src/components/EventBus.js +3 -3
  22. package/src/components/ExternalResourceCard.vue +113 -113
  23. package/src/components/FlatmapDatasetCard.vue +171 -0
  24. package/src/components/ImageGallery.vue +542 -542
  25. package/src/components/PMRDatasetCard.vue +237 -0
  26. package/src/components/SearchFilters.vue +1023 -1006
  27. package/src/components/SearchHistory.vue +175 -175
  28. package/src/components/SideBar.vue +436 -436
  29. package/src/components/SidebarContent.vue +730 -603
  30. package/src/components/Tabs.vue +145 -145
  31. package/src/components/allPaths.js +5928 -0
  32. package/src/components/index.js +8 -8
  33. package/src/components/pmrTest.js +4 -0
  34. package/src/components/species-map.js +8 -8
  35. package/src/components.d.ts +2 -0
  36. package/src/exampleConnectivityInput.js +291 -291
  37. package/src/flatmapQueries/flatmapQueries.js +169 -0
  38. package/src/main.js +9 -9
  39. package/src/mixins/S3Bucket.vue +37 -37
  40. package/src/mixins/mixedPageCalculation.vue +78 -0
  41. package/static.json +6 -6
  42. package/vite.config.js +55 -55
  43. package/vuese-generator.js +65 -65
package/package.json CHANGED
@@ -1,77 +1,77 @@
1
- {
2
- "name": "@abi-software/map-side-bar",
3
- "version": "2.3.0",
4
- "files": [
5
- "dist/*",
6
- "src/*",
7
- "public/*",
8
- "*.json",
9
- "*.js"
10
- ],
11
- "scripts": {
12
- "serve": "vite --host",
13
- "build-bundle": "vite build",
14
- "preview": "vite preview",
15
- "test": "cypress run --component",
16
- "cypress:open": "cypress open",
17
- "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
18
- "release:minor": "npm version minor; npm publish",
19
- "release:patch": "npm version patch; npm publish",
20
- "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
21
- "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md",
22
- "vuese-gen": "node vuese-generator.js",
23
- "vuese-watch": "node vuese-generator.js watch",
24
- "docs:dev": "vitepress dev docs",
25
- "docs:watch": "concurrently \"npm run vuese-watch\" \"npm run docs:dev\"",
26
- "docs:build": "npm run vuese-gen; vitepress build docs",
27
- "docs:preview": "vitepress preview docs"
28
- },
29
- "type": "module",
30
- "main": "./dist/map-side-bar.umd.cjs",
31
- "module": "./dist/map-side-bar.js",
32
- "exports": {
33
- ".": {
34
- "import": "./dist/map-side-bar.js",
35
- "require": "./dist/map-side-bar.umd.cjs"
36
- },
37
- "./dist/style.css": "./dist/style.css",
38
- "./src/*": "./src/*"
39
- },
40
- "dependencies": {
41
- "@abi-software/gallery": "^1.1.0",
42
- "@abi-software/svg-sprite": "^1.0.0",
43
- "@element-plus/icons-vue": "^2.3.1",
44
- "algoliasearch": "^4.10.5",
45
- "element-plus": "^2.5.3",
46
- "marked": "^4.1.1",
47
- "mitt": "^3.0.1",
48
- "unplugin-vue-components": "^0.26.0",
49
- "vue": "^3.3.13",
50
- "xss": "^1.0.14"
51
- },
52
- "devDependencies": {
53
- "@vitejs/plugin-vue": "^4.6.2",
54
- "@vue/compiler-sfc": "^3.3.13",
55
- "@vuese/markdown-render": "^2.11.3",
56
- "@vuese/parser": "^2.10.3",
57
- "auto-changelog": "^2.4.0",
58
- "autoprefixer": "^10.4.17",
59
- "chokidar": "^3.6.0",
60
- "concurrently": "^8.2.2",
61
- "cypress": "^13.13.0",
62
- "cypress-multi-reporters": "^1.6.4",
63
- "cypress-wait-until": "^3.0.1",
64
- "eslint": "^8.56.0",
65
- "eslint-plugin-vue": "^9.19.2",
66
- "mochawesome": "^7.1.3",
67
- "file-loader": "^5.0.2",
68
- "raw-loader": "^0.5.1",
69
- "sass": "^1.70.0",
70
- "transform-loader": "^0.2.4",
71
- "typescript": "^4.4.3",
72
- "vite": "^5.0.10",
73
- "vitepress": "^1.0.2",
74
- "vue-custom-element": "^3.3.0",
75
- "webpack-node-externals": "^2.5.2"
76
- }
77
- }
1
+ {
2
+ "name": "@abi-software/map-side-bar",
3
+ "version": "2.4.0-alpha-1",
4
+ "files": [
5
+ "dist/*",
6
+ "src/*",
7
+ "public/*",
8
+ "*.json",
9
+ "*.js"
10
+ ],
11
+ "scripts": {
12
+ "serve": "vite --host",
13
+ "build-bundle": "vite build",
14
+ "preview": "vite preview",
15
+ "test": "cypress run --component",
16
+ "cypress:open": "cypress open",
17
+ "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
18
+ "release:minor": "npm version minor; npm publish",
19
+ "release:patch": "npm version patch; npm publish",
20
+ "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
21
+ "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md",
22
+ "vuese-gen": "node vuese-generator.js",
23
+ "vuese-watch": "node vuese-generator.js watch",
24
+ "docs:dev": "vitepress dev docs",
25
+ "docs:watch": "concurrently \"npm run vuese-watch\" \"npm run docs:dev\"",
26
+ "docs:build": "npm run vuese-gen; vitepress build docs",
27
+ "docs:preview": "vitepress preview docs"
28
+ },
29
+ "type": "module",
30
+ "main": "./dist/map-side-bar.umd.cjs",
31
+ "module": "./dist/map-side-bar.js",
32
+ "exports": {
33
+ ".": {
34
+ "import": "./dist/map-side-bar.js",
35
+ "require": "./dist/map-side-bar.umd.cjs"
36
+ },
37
+ "./dist/style.css": "./dist/style.css",
38
+ "./src/*": "./src/*"
39
+ },
40
+ "dependencies": {
41
+ "@abi-software/gallery": "^1.1.1",
42
+ "@abi-software/svg-sprite": "^1.0.0",
43
+ "@element-plus/icons-vue": "^2.3.1",
44
+ "algoliasearch": "^4.10.5",
45
+ "element-plus": "^2.5.3",
46
+ "marked": "^4.1.1",
47
+ "mitt": "^3.0.1",
48
+ "unplugin-vue-components": "^0.26.0",
49
+ "vue": "^3.3.13",
50
+ "xss": "^1.0.14"
51
+ },
52
+ "devDependencies": {
53
+ "@vitejs/plugin-vue": "^4.6.2",
54
+ "@vue/compiler-sfc": "^3.3.13",
55
+ "@vuese/markdown-render": "^2.11.3",
56
+ "@vuese/parser": "^2.10.3",
57
+ "auto-changelog": "^2.4.0",
58
+ "autoprefixer": "^10.4.17",
59
+ "chokidar": "^3.6.0",
60
+ "concurrently": "^8.2.2",
61
+ "cypress": "^13.13.0",
62
+ "cypress-multi-reporters": "^1.6.4",
63
+ "cypress-wait-until": "^3.0.1",
64
+ "eslint": "^8.56.0",
65
+ "eslint-plugin-vue": "^9.19.2",
66
+ "file-loader": "^5.0.2",
67
+ "mochawesome": "^7.1.3",
68
+ "raw-loader": "^0.5.1",
69
+ "sass": "^1.70.0",
70
+ "transform-loader": "^0.2.4",
71
+ "typescript": "^4.4.3",
72
+ "vite": "^5.0.10",
73
+ "vitepress": "^1.0.2",
74
+ "vue-custom-element": "^3.3.0",
75
+ "webpack-node-externals": "^2.5.2"
76
+ }
77
+ }