@abi-software/mapintegratedvuer 1.21.0 → 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.
Files changed (68) hide show
  1. package/README.md +23 -5
  2. package/assets/location-icon.html +33 -1
  3. package/assets/styleguide.css +18 -18
  4. package/cypress.config.js +7 -9
  5. package/dist/{ConnectivityGraph-CZMROk9r.js → ConnectivityGraph-DrSaFEDd.js} +3 -3
  6. package/dist/{ContentMixin-Vn34n5t2.js → ContentMixin-Xg0PjBqG.js} +2 -2
  7. package/dist/{DynamicMarkerMixin-B087dVL_.js → DynamicMarkerMixin-D5Ruu_hd.js} +2 -2
  8. package/dist/{Flatmap-Bm7m_5m_.js → Flatmap-CxN8TbnS.js} +4 -4
  9. package/dist/{Iframe-BWbhTjCR.js → Iframe-CkgbLfJt.js} +4 -4
  10. package/dist/{MultiFlatmap-JziqSEwL.js → MultiFlatmap-CkejvAJe.js} +4 -4
  11. package/dist/{Plot-ChbPsDZX.js → Plot-BfwoipSl.js} +2 -2
  12. package/dist/{Scaffold-C6f7c7Ha.js → Scaffold-DCqsTKpg.js} +4 -4
  13. package/dist/{Simulation-DcJScRYo.js → Simulation-BOtU3kTT.js} +2 -2
  14. package/dist/{connectivities-UXTqf7_0.js → connectivities-DyeS8w0c.js} +126 -95
  15. package/dist/index.html +9 -6
  16. package/dist/mapintegratedvuer.js +5489 -5578
  17. package/dist/mapintegratedvuer.umd.cjs +196 -196
  18. package/dist/style.css +1 -1
  19. package/eslint.config.js +39 -15
  20. package/package.json +12 -6
  21. package/public/index.html +9 -6
  22. package/src/App.vue +234 -249
  23. package/src/assets/_variables.scss +12 -10
  24. package/src/assets/header-icon.scss +8 -9
  25. package/src/assets/mapicon-species-style.css +10 -8
  26. package/src/assets/styles.scss +1 -1
  27. package/src/components/ContentBar.vue +98 -106
  28. package/src/components/ContentVuer.vue +36 -39
  29. package/src/components/ContextCard.vue +238 -199
  30. package/src/components/ContextHelp.vue +22 -26
  31. package/src/components/CustomSplitter.vue +32 -43
  32. package/src/components/DatasetHeader.vue +37 -41
  33. package/src/components/DialogToolbarContent.vue +292 -256
  34. package/src/components/FlatmapContextCard.vue +52 -57
  35. package/src/components/MapContent.vue +90 -86
  36. package/src/components/ResizeSensor.vue +8 -13
  37. package/src/components/SearchControls.vue +26 -35
  38. package/src/components/SimulatedData.js +196 -219
  39. package/src/components/SplitDialog.vue +139 -129
  40. package/src/components/SplitFlow.vue +421 -237
  41. package/src/components/index.js +1 -3
  42. package/src/components/scripts/simulation_data.js +393 -397
  43. package/src/components/scripts/utilities.js +108 -78
  44. package/src/components/viewers/CellDLViewer.vue +9 -9
  45. package/src/components/viewers/ConnectivityGraph.vue +9 -12
  46. package/src/components/viewers/Flatmap.vue +23 -25
  47. package/src/components/viewers/Iframe.vue +8 -10
  48. package/src/components/viewers/MultiFlatmap.vue +59 -69
  49. package/src/components/viewers/Plot.vue +6 -7
  50. package/src/components/viewers/Scaffold.vue +73 -63
  51. package/src/components/viewers/Simulation.vue +10 -15
  52. package/src/main.js +16 -21
  53. package/src/mixins/ContentMixin.js +208 -178
  54. package/src/mixins/DynamicMarkerMixin.js +17 -21
  55. package/src/mixins/RetrieveContextCardMixin.js +35 -30
  56. package/src/mixins/S3Bucket.vue +10 -13
  57. package/src/services/knowledgeMapping.js +53 -53
  58. package/src/services/tagging.js +4 -4
  59. package/src/stores/connectivities.js +46 -8
  60. package/src/stores/entries.js +7 -9
  61. package/src/stores/index.js +7 -7
  62. package/src/stores/settings.js +23 -31
  63. package/src/stores/splitFlow.js +364 -298
  64. package/vite.bundle-build.js +24 -26
  65. package/vite.config.js +22 -21
  66. package/vite.static-build.js +4 -4
  67. package/vitest.workspace.js +1 -3
  68. package/vuese-generator.js +47 -55
package/eslint.config.js CHANGED
@@ -1,33 +1,57 @@
1
- import { includeIgnoreFile } from "eslint/config";
2
- import js from "@eslint/js";
3
- import cypress from "eslint-plugin-cypress";
4
- import vue from "eslint-plugin-vue";
5
- import globals from "globals";
6
- import { fileURLToPath } from "node:url";
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(".gitignore", import.meta.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: ["dist/**", "docs/.vitepress/**", "docs/components/**"],
15
+ ignores: ['dist/**', 'docs/.vitepress/**', 'docs/components/**', 'test/**'],
14
16
  },
15
17
  js.configs.recommended,
16
- ...vue.configs["flat/essential"],
18
+ ...vue.configs['flat/essential'],
19
+ prettierConfig,
17
20
  {
18
21
  ...cypress.configs.recommended,
19
- files: ["cypress/**/*.js"],
22
+ files: ['cypress/**/*.js'],
20
23
  },
21
24
  {
22
- files: ["**/*.{js,vue}"],
25
+ files: ['**/*.{js,vue}'],
26
+ plugins: {
27
+ prettier,
28
+ },
23
29
  languageOptions: {
24
- ecmaVersion: "latest",
25
- sourceType: "module",
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.0",
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",
@@ -56,11 +58,11 @@
56
58
  "*.js"
57
59
  ],
58
60
  "dependencies": {
59
- "@abi-software/flatmapvuer": "1.16.0",
60
- "@abi-software/map-side-bar": "2.18.0",
61
- "@abi-software/map-utilities": "1.11.0",
61
+ "@abi-software/flatmapvuer": "1.17.0",
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.20.0",
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
- <!DOCTYPE html>
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>We're sorry but Map Viewer doesn't work properly without JavaScript enabled. Please enable it to continue.</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>