@abi-software/mapintegratedvuer 1.21.1 → 1.21.2
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/README.md +23 -5
- package/assets/location-icon.html +33 -1
- package/assets/styleguide.css +18 -18
- package/cypress.config.js +7 -9
- package/dist/{ConnectivityGraph-CZMROk9r.js → ConnectivityGraph-DrSaFEDd.js} +3 -3
- package/dist/{ContentMixin-Vn34n5t2.js → ContentMixin-Xg0PjBqG.js} +2 -2
- package/dist/{DynamicMarkerMixin-BS6t7w_i.js → DynamicMarkerMixin-D5Ruu_hd.js} +1 -1
- package/dist/{Flatmap-BejxA0uz.js → Flatmap-CxN8TbnS.js} +4 -4
- package/dist/{Iframe-BWbhTjCR.js → Iframe-CkgbLfJt.js} +4 -4
- package/dist/{MultiFlatmap-nlmsH-Ib.js → MultiFlatmap-CkejvAJe.js} +4 -4
- package/dist/{Plot-ChbPsDZX.js → Plot-BfwoipSl.js} +2 -2
- package/dist/{Scaffold-C6f7c7Ha.js → Scaffold-DCqsTKpg.js} +4 -4
- package/dist/{Simulation-DcJScRYo.js → Simulation-BOtU3kTT.js} +2 -2
- package/dist/{connectivities-UXTqf7_0.js → connectivities-DyeS8w0c.js} +126 -95
- package/dist/index.html +9 -6
- package/dist/mapintegratedvuer.js +5489 -5578
- package/dist/mapintegratedvuer.umd.cjs +196 -196
- package/dist/style.css +1 -1
- package/eslint.config.js +39 -15
- package/package.json +11 -5
- package/public/index.html +9 -6
- package/src/App.vue +234 -249
- package/src/assets/_variables.scss +12 -10
- package/src/assets/header-icon.scss +8 -9
- package/src/assets/mapicon-species-style.css +10 -8
- package/src/assets/styles.scss +1 -1
- package/src/components/ContentBar.vue +98 -106
- package/src/components/ContentVuer.vue +36 -39
- package/src/components/ContextCard.vue +238 -199
- package/src/components/ContextHelp.vue +22 -26
- package/src/components/CustomSplitter.vue +32 -43
- package/src/components/DatasetHeader.vue +37 -41
- package/src/components/DialogToolbarContent.vue +292 -256
- package/src/components/FlatmapContextCard.vue +52 -57
- package/src/components/MapContent.vue +90 -86
- package/src/components/ResizeSensor.vue +8 -13
- package/src/components/SearchControls.vue +26 -35
- package/src/components/SimulatedData.js +196 -219
- package/src/components/SplitDialog.vue +139 -129
- package/src/components/SplitFlow.vue +421 -237
- package/src/components/index.js +1 -3
- package/src/components/scripts/simulation_data.js +393 -397
- package/src/components/scripts/utilities.js +108 -78
- package/src/components/viewers/CellDLViewer.vue +9 -9
- package/src/components/viewers/ConnectivityGraph.vue +9 -12
- package/src/components/viewers/Flatmap.vue +23 -25
- package/src/components/viewers/Iframe.vue +8 -10
- package/src/components/viewers/MultiFlatmap.vue +59 -69
- package/src/components/viewers/Plot.vue +6 -7
- package/src/components/viewers/Scaffold.vue +73 -63
- package/src/components/viewers/Simulation.vue +10 -15
- package/src/main.js +16 -21
- package/src/mixins/ContentMixin.js +208 -178
- package/src/mixins/DynamicMarkerMixin.js +14 -18
- package/src/mixins/RetrieveContextCardMixin.js +35 -30
- package/src/mixins/S3Bucket.vue +10 -13
- package/src/services/knowledgeMapping.js +53 -53
- package/src/services/tagging.js +4 -4
- package/src/stores/connectivities.js +46 -8
- package/src/stores/entries.js +7 -9
- package/src/stores/index.js +7 -7
- package/src/stores/settings.js +23 -31
- package/src/stores/splitFlow.js +364 -298
- package/vite.bundle-build.js +24 -26
- package/vite.config.js +22 -21
- package/vite.static-build.js +4 -4
- package/vitest.workspace.js +1 -3
- package/vuese-generator.js +47 -55
package/eslint.config.js
CHANGED
|
@@ -1,33 +1,57 @@
|
|
|
1
|
-
import { includeIgnoreFile } from
|
|
2
|
-
import js from
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { includeIgnoreFile } from 'eslint/config';
|
|
2
|
+
import js from '@eslint/js';
|
|
3
|
+
import prettier from 'eslint-plugin-prettier';
|
|
4
|
+
import prettierConfig from 'eslint-config-prettier';
|
|
5
|
+
import cypress from 'eslint-plugin-cypress';
|
|
6
|
+
import vue from 'eslint-plugin-vue';
|
|
7
|
+
import globals from 'globals';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
7
9
|
|
|
8
|
-
const gitignorePath = fileURLToPath(new URL(
|
|
10
|
+
const gitignorePath = fileURLToPath(new URL('.gitignore', import.meta.url));
|
|
9
11
|
|
|
10
12
|
export default [
|
|
11
|
-
includeIgnoreFile(gitignorePath),
|
|
13
|
+
includeIgnoreFile(gitignorePath, { gitignoreResolution: true }),
|
|
12
14
|
{
|
|
13
|
-
ignores: [
|
|
15
|
+
ignores: ['dist/**', 'docs/.vitepress/**', 'docs/components/**', 'test/**'],
|
|
14
16
|
},
|
|
15
17
|
js.configs.recommended,
|
|
16
|
-
...vue.configs[
|
|
18
|
+
...vue.configs['flat/essential'],
|
|
19
|
+
prettierConfig,
|
|
17
20
|
{
|
|
18
21
|
...cypress.configs.recommended,
|
|
19
|
-
files: [
|
|
22
|
+
files: ['cypress/**/*.js'],
|
|
20
23
|
},
|
|
21
24
|
{
|
|
22
|
-
files: [
|
|
25
|
+
files: ['**/*.{js,vue}'],
|
|
26
|
+
plugins: {
|
|
27
|
+
prettier,
|
|
28
|
+
},
|
|
23
29
|
languageOptions: {
|
|
24
|
-
ecmaVersion:
|
|
25
|
-
sourceType:
|
|
30
|
+
ecmaVersion: 'latest',
|
|
31
|
+
sourceType: 'module',
|
|
26
32
|
globals: {
|
|
27
33
|
...globals.node,
|
|
28
34
|
...globals.browser,
|
|
29
35
|
},
|
|
30
36
|
},
|
|
31
|
-
rules: {
|
|
37
|
+
rules: {
|
|
38
|
+
'prettier/prettier': [
|
|
39
|
+
'error',
|
|
40
|
+
{
|
|
41
|
+
singleQuote: true,
|
|
42
|
+
trailingComma: 'all',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
'arrow-body-style': 'off',
|
|
46
|
+
'prefer-arrow-callback': 'off',
|
|
47
|
+
'no-unused-vars': [
|
|
48
|
+
'error',
|
|
49
|
+
{
|
|
50
|
+
argsIgnorePattern: '^_',
|
|
51
|
+
caughtErrorsIgnorePattern: '^_',
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
'vue/multi-word-component-names': 'off',
|
|
55
|
+
},
|
|
32
56
|
},
|
|
33
57
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/mapintegratedvuer",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^24.20.0"
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"build-bundle": "vite build -c vite.bundle-build.js",
|
|
12
12
|
"build-static": "vite build -c vite.static-build.js",
|
|
13
13
|
"lint": "eslint .",
|
|
14
|
+
"format": "prettier --write .",
|
|
15
|
+
"format:check": "prettier --check .",
|
|
14
16
|
"start": "vite build && vite preview",
|
|
15
17
|
"test-unit": "mochapack --webpack-config test/unit/webpack.config.js --require test/unit/setup.js test/unit/**/*.spec.js",
|
|
16
18
|
"test": "vitest --dom",
|
|
@@ -57,10 +59,10 @@
|
|
|
57
59
|
],
|
|
58
60
|
"dependencies": {
|
|
59
61
|
"@abi-software/flatmapvuer": "1.17.0",
|
|
60
|
-
"@abi-software/map-side-bar": "2.
|
|
61
|
-
"@abi-software/map-utilities": "1.
|
|
62
|
+
"@abi-software/map-side-bar": "2.19.0",
|
|
63
|
+
"@abi-software/map-utilities": "1.12.0",
|
|
62
64
|
"@abi-software/plotvuer": "1.3.0",
|
|
63
|
-
"@abi-software/scaffoldvuer": "1.
|
|
65
|
+
"@abi-software/scaffoldvuer": "1.21.0",
|
|
64
66
|
"@abi-software/simulationvuer": "4.3.0",
|
|
65
67
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
66
68
|
"@abi-software/svg-sprite": "1.4.0",
|
|
@@ -72,7 +74,6 @@
|
|
|
72
74
|
"mitt": "^3.0.1",
|
|
73
75
|
"pinia": "^4.0.3",
|
|
74
76
|
"splitpanes": "^4.1.2",
|
|
75
|
-
"unplugin-vue-components": "^32.1.0",
|
|
76
77
|
"vue": "^3.5.41",
|
|
77
78
|
"xss": "^1.0.15"
|
|
78
79
|
},
|
|
@@ -91,7 +92,9 @@
|
|
|
91
92
|
"cypress-wait-until": "^3.0.2",
|
|
92
93
|
"dom-parser": "^1.1.5",
|
|
93
94
|
"eslint": "^10.9.1",
|
|
95
|
+
"eslint-config-prettier": "^10.1.8",
|
|
94
96
|
"eslint-plugin-cypress": "^7.0.0",
|
|
97
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
95
98
|
"eslint-plugin-vue": "^10.10.0",
|
|
96
99
|
"globals": "^17.11.0",
|
|
97
100
|
"happy-dom": "^20.11.6",
|
|
@@ -100,7 +103,10 @@
|
|
|
100
103
|
"mochawesome": "^8.0.1",
|
|
101
104
|
"mochawesome-merge": "^4.4.1",
|
|
102
105
|
"mochawesome-report-generator": "^6.3.2",
|
|
106
|
+
"prettier": "3.9.6",
|
|
103
107
|
"sass": "^1.103.1",
|
|
108
|
+
"unplugin-auto-import": "^21.1.0",
|
|
109
|
+
"unplugin-vue-components": "^32.1.0",
|
|
104
110
|
"vite": "^8.2.1",
|
|
105
111
|
"vitepress": "^1.6.4",
|
|
106
112
|
"vitest": "^4.1.11",
|
package/public/index.html
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
<!
|
|
1
|
+
<!doctype html>
|
|
2
2
|
<html lang="en">
|
|
3
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="favicon.ico"
|
|
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="favicon.ico" />
|
|
8
8
|
<title>Map Viewer</title>
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<noscript>
|
|
12
|
-
<strong>
|
|
12
|
+
<strong>
|
|
13
|
+
We're sorry but Map Viewer doesn't work properly without JavaScript enabled. Please enable
|
|
14
|
+
it to continue.
|
|
15
|
+
</strong>
|
|
13
16
|
</noscript>
|
|
14
17
|
<div id="app"></div>
|
|
15
18
|
<script type="module" src="/src/main.js"></script>
|