@abi-software/flatmapvuer 1.1.4 → 1.2.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.
- package/LICENSE +201 -201
- package/README.md +120 -120
- package/cypress.config.js +23 -23
- package/dist/flatmapvuer.js +43570 -38544
- package/dist/flatmapvuer.umd.cjs +182 -182
- package/dist/index.html +17 -17
- package/dist/style.css +1 -1
- package/package.json +95 -95
- package/public/index.html +17 -17
- package/reporter-config.json +9 -9
- package/src/App.vue +379 -379
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +5 -5
- package/src/components/AnnotationTool.vue +501 -501
- package/src/components/ConnectionDialog.vue +134 -134
- package/src/components/DrawTool.vue +502 -502
- package/src/components/EventBus.js +3 -3
- package/src/components/ExternalResourceCard.vue +109 -109
- package/src/components/FlatmapVuer.vue +3515 -3461
- package/src/components/HelpModeDialog.vue +360 -360
- package/src/components/MultiFlatmapVuer.vue +814 -814
- package/src/components/ProvenancePopup.vue +530 -530
- package/src/components/SelectionsGroup.vue +363 -363
- package/src/components/Tooltip.vue +50 -50
- package/src/components/TreeControls.vue +236 -236
- package/src/components/index.js +8 -8
- package/src/components/legends/DynamicLegends.vue +106 -106
- package/src/components/legends/SvgLegends.vue +112 -112
- package/src/icons/flatmap-marker.js +9 -9
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/icons/yellowstar.js +5 -5
- package/src/legends/legend.svg +25 -25
- package/src/main.js +19 -19
- package/src/services/flatmapQueries.js +475 -475
- package/src/store/index.js +23 -23
- package/vite.config.js +73 -73
- package/vite.static-build.js +12 -12
- package/vuese-generator.js +64 -64
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.
|
|
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
|
-
"serve": "vite --host",
|
|
18
|
-
"build-bundle": "vite build",
|
|
19
|
-
"build-static": "vite build -c vite.static-build.js",
|
|
20
|
-
"test": "cypress run --component",
|
|
21
|
-
"cypress:open": "cypress open",
|
|
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
|
-
"vuese-gen": "node vuese-generator.js",
|
|
28
|
-
"vuese-watch": "node vuese-generator.js watch",
|
|
29
|
-
"docs:dev": "vitepress dev docs",
|
|
30
|
-
"docs:watch": "concurrently \"npm run vuese-watch\" \"npm run docs:dev\"",
|
|
31
|
-
"docs:build": "npm run vuese-gen; vitepress build docs",
|
|
32
|
-
"docs:preview": "vitepress preview docs"
|
|
33
|
-
},
|
|
34
|
-
"type": "module",
|
|
35
|
-
"main": "./dist/flatmapvuer.umd.cjs",
|
|
36
|
-
"module": "./dist/flatmapvuer.js",
|
|
37
|
-
"exports": {
|
|
38
|
-
".": {
|
|
39
|
-
"import": "./dist/flatmapvuer.js",
|
|
40
|
-
"require": "./dist/flatmapvuer.umd.cjs"
|
|
41
|
-
},
|
|
42
|
-
"./dist/style.css": "./dist/style.css",
|
|
43
|
-
"./src/*": "./src/*"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@abi-software/flatmap-viewer": "^2.9.4",
|
|
47
|
-
"@abi-software/sparc-annotation": "0.3.1",
|
|
48
|
-
"@abi-software/svg-sprite": "1.0.0",
|
|
49
|
-
"@element-plus/icons-vue": "^2.3.1",
|
|
50
|
-
"css-element-queries": "^1.2.2",
|
|
51
|
-
"element-plus": "2.5.5",
|
|
52
|
-
"mitt": "^3.0.1",
|
|
53
|
-
"pinia": "^2.1.7",
|
|
54
|
-
"unplugin-vue-components": "^0.26.0",
|
|
55
|
-
"vue": "^3.4.15"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@cypress/webpack-dev-server": "^3.6.1",
|
|
59
|
-
"@vitejs/plugin-vue": "^4.6.2",
|
|
60
|
-
"@vuese/markdown-render": "^2.11.3",
|
|
61
|
-
"@vuese/parser": "^2.10.3",
|
|
62
|
-
"auto-changelog": "^2.4.0",
|
|
63
|
-
"babel-eslint": "^10.1.0",
|
|
64
|
-
"chokidar": "^3.6.0",
|
|
65
|
-
"concurrently": "^8.2.2",
|
|
66
|
-
"cypress": "^13.6.6",
|
|
67
|
-
"cypress-multi-reporters": "^1.6.4",
|
|
68
|
-
"cypress-wait-until": "^2.0.1",
|
|
69
|
-
"eslint": "^8.56.0",
|
|
70
|
-
"eslint-plugin-cypress": "^2.15.1",
|
|
71
|
-
"eslint-plugin-vue": "^9.19.2",
|
|
72
|
-
"mochawesome": "^7.1.3",
|
|
73
|
-
"sass": "^1.69.5",
|
|
74
|
-
"vite": "^5.0.10",
|
|
75
|
-
"vitepress": "^1.0.0-rc.44"
|
|
76
|
-
},
|
|
77
|
-
"eslintConfig": {
|
|
78
|
-
"root": true,
|
|
79
|
-
"env": {
|
|
80
|
-
"node": true
|
|
81
|
-
},
|
|
82
|
-
"extends": [
|
|
83
|
-
"plugin:vue/essential",
|
|
84
|
-
"eslint:recommended"
|
|
85
|
-
],
|
|
86
|
-
"rules": {},
|
|
87
|
-
"parserOptions": {
|
|
88
|
-
"parser": "babel-eslint"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"browserslist": [
|
|
92
|
-
"> 1%",
|
|
93
|
-
"last 2 versions"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abi-software/flatmapvuer",
|
|
3
|
+
"version": "1.2.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
|
+
"serve": "vite --host",
|
|
18
|
+
"build-bundle": "vite build",
|
|
19
|
+
"build-static": "vite build -c vite.static-build.js",
|
|
20
|
+
"test": "cypress run --component",
|
|
21
|
+
"cypress:open": "cypress open",
|
|
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
|
+
"vuese-gen": "node vuese-generator.js",
|
|
28
|
+
"vuese-watch": "node vuese-generator.js watch",
|
|
29
|
+
"docs:dev": "vitepress dev docs",
|
|
30
|
+
"docs:watch": "concurrently \"npm run vuese-watch\" \"npm run docs:dev\"",
|
|
31
|
+
"docs:build": "npm run vuese-gen; vitepress build docs",
|
|
32
|
+
"docs:preview": "vitepress preview docs"
|
|
33
|
+
},
|
|
34
|
+
"type": "module",
|
|
35
|
+
"main": "./dist/flatmapvuer.umd.cjs",
|
|
36
|
+
"module": "./dist/flatmapvuer.js",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"import": "./dist/flatmapvuer.js",
|
|
40
|
+
"require": "./dist/flatmapvuer.umd.cjs"
|
|
41
|
+
},
|
|
42
|
+
"./dist/style.css": "./dist/style.css",
|
|
43
|
+
"./src/*": "./src/*"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@abi-software/flatmap-viewer": "^2.9.4",
|
|
47
|
+
"@abi-software/sparc-annotation": "0.3.1",
|
|
48
|
+
"@abi-software/svg-sprite": "1.0.0",
|
|
49
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
50
|
+
"css-element-queries": "^1.2.2",
|
|
51
|
+
"element-plus": "2.5.5",
|
|
52
|
+
"mitt": "^3.0.1",
|
|
53
|
+
"pinia": "^2.1.7",
|
|
54
|
+
"unplugin-vue-components": "^0.26.0",
|
|
55
|
+
"vue": "^3.4.15"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@cypress/webpack-dev-server": "^3.6.1",
|
|
59
|
+
"@vitejs/plugin-vue": "^4.6.2",
|
|
60
|
+
"@vuese/markdown-render": "^2.11.3",
|
|
61
|
+
"@vuese/parser": "^2.10.3",
|
|
62
|
+
"auto-changelog": "^2.4.0",
|
|
63
|
+
"babel-eslint": "^10.1.0",
|
|
64
|
+
"chokidar": "^3.6.0",
|
|
65
|
+
"concurrently": "^8.2.2",
|
|
66
|
+
"cypress": "^13.6.6",
|
|
67
|
+
"cypress-multi-reporters": "^1.6.4",
|
|
68
|
+
"cypress-wait-until": "^2.0.1",
|
|
69
|
+
"eslint": "^8.56.0",
|
|
70
|
+
"eslint-plugin-cypress": "^2.15.1",
|
|
71
|
+
"eslint-plugin-vue": "^9.19.2",
|
|
72
|
+
"mochawesome": "^7.1.3",
|
|
73
|
+
"sass": "^1.69.5",
|
|
74
|
+
"vite": "^5.0.10",
|
|
75
|
+
"vitepress": "^1.0.0-rc.44"
|
|
76
|
+
},
|
|
77
|
+
"eslintConfig": {
|
|
78
|
+
"root": true,
|
|
79
|
+
"env": {
|
|
80
|
+
"node": true
|
|
81
|
+
},
|
|
82
|
+
"extends": [
|
|
83
|
+
"plugin:vue/essential",
|
|
84
|
+
"eslint:recommended"
|
|
85
|
+
],
|
|
86
|
+
"rules": {},
|
|
87
|
+
"parserOptions": {
|
|
88
|
+
"parser": "babel-eslint"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"browserslist": [
|
|
92
|
+
"> 1%",
|
|
93
|
+
"last 2 versions"
|
|
94
|
+
]
|
|
95
|
+
}
|
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>
|
package/reporter-config.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"reporterEnabled": "mochawesome",
|
|
3
|
-
"mochawesomeReporterOptions": {
|
|
4
|
-
"reportDir": "cypress/reports/mocha",
|
|
5
|
-
"quiet": true,
|
|
6
|
-
"overwrite": false,
|
|
7
|
-
"html": true,
|
|
8
|
-
"json": true
|
|
9
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"reporterEnabled": "mochawesome",
|
|
3
|
+
"mochawesomeReporterOptions": {
|
|
4
|
+
"reportDir": "cypress/reports/mocha",
|
|
5
|
+
"quiet": true,
|
|
6
|
+
"overwrite": false,
|
|
7
|
+
"html": true,
|
|
8
|
+
"json": true
|
|
9
|
+
}
|
|
10
10
|
}
|