@abi-software/flatmapvuer 0.5.10 → 0.6.0-vue3-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 (41) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +105 -105
  3. package/babel.config.js +0 -14
  4. package/dist/favicon.ico +0 -0
  5. package/dist/flatmapvuer.js +69542 -0
  6. package/dist/flatmapvuer.umd.cjs +1021 -0
  7. package/dist/index.html +17 -0
  8. package/dist/style.css +1 -0
  9. package/package.json +87 -79
  10. package/public/index.html +17 -17
  11. package/src/App.vue +303 -228
  12. package/src/assets/_variables.scss +43 -43
  13. package/src/assets/styles.scss +6 -7
  14. package/src/components/AnnotationTool.vue +443 -403
  15. package/src/components/EventBus.js +3 -3
  16. package/src/components/ExternalResourceCard.vue +108 -99
  17. package/src/components/FlatmapVuer.vue +2117 -2070
  18. package/src/components/MultiFlatmapVuer.vue +603 -535
  19. package/src/components/ProvenancePopup.vue +496 -422
  20. package/src/components/SelectionsGroup.vue +258 -249
  21. package/src/components/Tooltip.vue +50 -52
  22. package/src/components/TreeControls.vue +234 -231
  23. package/src/components/index.js +6 -9
  24. package/src/components/legends/DynamicLegends.vue +106 -112
  25. package/src/components/legends/SvgLegends.vue +112 -67
  26. package/src/components.d.ts +46 -0
  27. package/src/icons/flatmap-marker.js +1 -1
  28. package/src/icons/fonts/mapicon-species.eot +0 -0
  29. package/src/icons/fonts/mapicon-species.svg +14 -14
  30. package/src/icons/fonts/mapicon-species.ttf +0 -0
  31. package/src/icons/fonts/mapicon-species.woff +0 -0
  32. package/src/icons/mapicon-species-style.css +42 -42
  33. package/src/icons/yellowstar.js +5 -5
  34. package/src/legends/legend.svg +25 -25
  35. package/src/main.js +4 -8
  36. package/src/services/flatmapQueries.js +451 -415
  37. package/vite.config.js +76 -0
  38. package/vue.config.js +45 -31
  39. package/CHANGELOG.md +0 -402
  40. package/package-lock.json +0 -18473
  41. package/src/nerve-map.js +0 -99
package/package.json CHANGED
@@ -1,79 +1,87 @@
1
- {
2
- "name": "@abi-software/flatmapvuer",
3
- "version": "0.5.10",
4
- "license": "Apache-2.0",
5
- "main": "./dist/flatmapvuer.common.js",
6
- "files": [
7
- "dist/*",
8
- "src/*",
9
- "public/*",
10
- "*.json",
11
- "*.js"
12
- ],
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/ABI-Software/flatmapvuer.git"
16
- },
17
- "scripts": {
18
- "start": "vue-cli-service serve",
19
- "serve": "vue-cli-service serve --port 8082",
20
- "build": "vue-cli-service build --dest test_html --mode staging",
21
- "build-bundle": "vue-cli-service build --target lib --name flatmapvuer ./src/components/index.js",
22
- "lint": "vue-cli-service lint",
23
- "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
24
- "release:minor": "npm version minor; npm publish",
25
- "release:patch": "npm version patch; npm publish",
26
- "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
27
- "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
28
- },
29
- "dependencies": {
30
- "@abi-software/flatmap-viewer": "^2.4.3",
31
- "@abi-software/sparc-annotation": "0.0.5",
32
- "@abi-software/svg-sprite": "^0.3.0",
33
- "core-js": "^3.3.2",
34
- "css-element-queries": "^1.2.2",
35
- "current-script-polyfill": "^1.0.0",
36
- "element-ui": "^2.13.0",
37
- "file-loader": "^5.0.2",
38
- "lodash": "^4.17.21",
39
- "vue": "^2.6.10"
40
- },
41
- "devDependencies": {
42
- "@vue/cli-plugin-babel": "^4.0.0",
43
- "@vue/cli-plugin-eslint": "^4.0.0",
44
- "@vue/cli-service": "^4.5.13",
45
- "auto-changelog": "^2.4.0",
46
- "babel-eslint": "^10.0.3",
47
- "babel-plugin-component": "^1.1.1",
48
- "base64-inline-loader": "^2.0.1",
49
- "eslint": "^5.16.0",
50
- "eslint-plugin-vue": "^5.0.0",
51
- "node-sass": "^4.14.1",
52
- "sass-loader": "^8.0.2",
53
- "vue-template-compiler": "^2.6.10",
54
- "webpack-node-externals": "^2.5.2"
55
- },
56
- "eslintConfig": {
57
- "root": true,
58
- "env": {
59
- "node": true
60
- },
61
- "extends": [
62
- "plugin:vue/essential",
63
- "eslint:recommended"
64
- ],
65
- "rules": {},
66
- "parserOptions": {
67
- "parser": "babel-eslint"
68
- }
69
- },
70
- "postcss": {
71
- "plugins": {
72
- "autoprefixer": {}
73
- }
74
- },
75
- "browserslist": [
76
- "> 1%",
77
- "last 2 versions"
78
- ]
79
- }
1
+ {
2
+ "name": "@abi-software/flatmapvuer",
3
+ "version": "0.6.0-vue3-0",
4
+ "license": "Apache-2.0",
5
+ "files": [
6
+ "dist/*",
7
+ "src/*",
8
+ "public/*",
9
+ "*.json",
10
+ "*.js"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/ABI-Software/flatmapvuer.git"
15
+ },
16
+ "scripts": {
17
+ "start": "vue-cli-service serve",
18
+ "serve": "vite --host",
19
+ "build": "vue-cli-service build --dest test_html --mode staging",
20
+ "build-bundle": "vite build",
21
+ "lint": "vue-cli-service lint",
22
+ "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
23
+ "release:minor": "npm version minor; npm publish",
24
+ "release:patch": "npm version patch; npm publish",
25
+ "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
26
+ "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
27
+ },
28
+ "type": "module",
29
+ "main": "./dist/flatmapvuer.umd.cjs",
30
+ "module": "./dist/flatmapvuer.js",
31
+ "exports": {
32
+ ".": {
33
+ "import": "./dist/flatmapvuer.js",
34
+ "require": "./dist/flatmapvuer.umd.cjs"
35
+ },
36
+ "./dist/style.css": "./dist/style.css"
37
+ },
38
+ "dependencies": {
39
+ "@abi-software/flatmap-viewer": "^2.4.3",
40
+ "@abi-software/sparc-annotation": "0.0.5",
41
+ "@abi-software/svg-sprite": "^0.3.0",
42
+ "@element-plus/icons-vue": "^2.3.1",
43
+ "@vue/compat": "^3.3.13",
44
+ "core-js": "^3.6.5",
45
+ "css-element-queries": "^1.2.2",
46
+ "current-script-polyfill": "^1.0.0",
47
+ "element-plus": "^2.4.4",
48
+ "file-loader": "^5.0.2",
49
+ "lodash": "^4.17.21",
50
+ "mitt": "^3.0.1",
51
+ "unocss": "^0.58.0",
52
+ "unplugin-vue-components": "^0.26.0",
53
+ "vue": "^3.3.13",
54
+ "vue3-component-svg-sprite": "^0.0.1"
55
+ },
56
+ "devDependencies": {
57
+ "@vitejs/plugin-vue": "^4.6.2",
58
+ "@vue/compiler-sfc": "^3.3.13",
59
+ "auto-changelog": "^2.4.0",
60
+ "babel-eslint": "^10.1.0",
61
+ "babel-plugin-component": "^1.1.1",
62
+ "base64-inline-loader": "^2.0.1",
63
+ "eslint": "^8.56.0",
64
+ "eslint-plugin-vue": "^9.19.2",
65
+ "sass": "^1.69.5",
66
+ "vite": "^5.0.10",
67
+ "webpack-node-externals": "^2.5.2"
68
+ },
69
+ "eslintConfig": {
70
+ "root": true,
71
+ "env": {
72
+ "node": true
73
+ },
74
+ "extends": [
75
+ "plugin:vue/essential",
76
+ "eslint:recommended"
77
+ ],
78
+ "rules": {},
79
+ "parserOptions": {
80
+ "parser": "babel-eslint"
81
+ }
82
+ },
83
+ "browserslist": [
84
+ "> 1%",
85
+ "last 2 versions"
86
+ ]
87
+ }
package/public/index.html CHANGED
@@ -1,17 +1,17 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
- <title>flatmapvuer</title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
- </noscript>
14
- <div id="app"></div>
15
- <!-- built files will be auto injected -->
16
- </body>
17
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
+ <title>flatmapvuer</title>
9
+ </head>
10
+ <body>
11
+ <noscript>
12
+ <strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+ </noscript>
14
+ <div id="app"></div>
15
+ <!-- built files will be auto injected -->
16
+ </body>
17
+ </html>