@abi-software/mapintegratedvuer 1.20.1 → 1.21.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/cypress.config.js +8 -7
  2. package/dist/ConnectivityGraph-CZMROk9r.js +121 -0
  3. package/dist/ContentMixin-Vn34n5t2.js +1672 -0
  4. package/dist/DynamicMarkerMixin-B087dVL_.js +50 -0
  5. package/dist/Flatmap-Bm7m_5m_.js +193 -0
  6. package/dist/Iframe-BWbhTjCR.js +18 -0
  7. package/dist/MultiFlatmap-JziqSEwL.js +303 -0
  8. package/dist/Plot-ChbPsDZX.js +28 -0
  9. package/dist/Scaffold-C6f7c7Ha.js +308 -0
  10. package/dist/Simulation-DcJScRYo.js +25 -0
  11. package/dist/connectivities-UXTqf7_0.js +35743 -0
  12. package/dist/mapintegratedvuer.js +43234 -3
  13. package/dist/mapintegratedvuer.umd.cjs +556 -297
  14. package/dist/style.css +2 -1
  15. package/eslint.config.js +33 -0
  16. package/package.json +61 -76
  17. package/src/assets/fonts.scss +2 -0
  18. package/src/assets/header-icon.scss +2 -1
  19. package/src/assets/styles.scss +2 -3
  20. package/src/components/CustomSplitter.vue +3 -3
  21. package/src/components/SearchControls.vue +1 -1
  22. package/src/components/index.js +1 -0
  23. package/src/components/scripts/simulation_data.js +461 -0
  24. package/src/components/viewers/Flatmap.vue +11 -7
  25. package/src/components/viewers/MultiFlatmap.vue +12 -8
  26. package/src/components.d.ts +6 -2
  27. package/src/main.js +2 -1
  28. package/vite.bundle-build.js +19 -4
  29. package/vite.config.js +16 -1
  30. package/babel.config.js +0 -0
  31. package/dist/ConnectivityGraph-C2SH21O2.js +0 -123
  32. package/dist/ContentMixin-DyNQa5V5.js +0 -1725
  33. package/dist/Flatmap-2O4GdIZV.js +0 -203
  34. package/dist/Iframe-ComVJ_Ev.js +0 -20
  35. package/dist/MultiFlatmap-oVdJqKEz.js +0 -317
  36. package/dist/Plot-CYyVTjHQ.js +0 -25
  37. package/dist/Scaffold-DXGZqxdu.js +0 -305
  38. package/dist/Simulation-DNOubbSn.js +0 -28
  39. package/dist/index-BkejiyeA.js +0 -79223
  40. package/dist/style-3VbUVJif.js +0 -57
  41. package/static.json +0 -7
@@ -0,0 +1,33 @@
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";
7
+
8
+ const gitignorePath = fileURLToPath(new URL(".gitignore", import.meta.url));
9
+
10
+ export default [
11
+ includeIgnoreFile(gitignorePath),
12
+ {
13
+ ignores: ["dist/**", "docs/.vitepress/**", "docs/components/**"],
14
+ },
15
+ js.configs.recommended,
16
+ ...vue.configs["flat/essential"],
17
+ {
18
+ ...cypress.configs.recommended,
19
+ files: ["cypress/**/*.js"],
20
+ },
21
+ {
22
+ files: ["**/*.{js,vue}"],
23
+ languageOptions: {
24
+ ecmaVersion: "latest",
25
+ sourceType: "module",
26
+ globals: {
27
+ ...globals.node,
28
+ ...globals.browser,
29
+ },
30
+ },
31
+ rules: {},
32
+ },
33
+ ];
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@abi-software/mapintegratedvuer",
3
- "version": "1.20.1",
3
+ "version": "1.21.0",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
- "node": ">=20"
6
+ "node": "^24.20.0"
7
7
  },
8
8
  "scripts": {
9
9
  "serve": "vite --host --force",
10
10
  "heroku-postbuild": "vite build",
11
11
  "build-bundle": "vite build -c vite.bundle-build.js",
12
12
  "build-static": "vite build -c vite.static-build.js",
13
+ "lint": "eslint .",
13
14
  "start": "vite build && vite preview",
14
15
  "test-unit": "mochapack --webpack-config test/unit/webpack.config.js --require test/unit/setup.js test/unit/**/*.spec.js",
15
16
  "test": "vitest --dom",
@@ -55,89 +56,63 @@
55
56
  "*.js"
56
57
  ],
57
58
  "dependencies": {
58
- "@abi-software/flatmapvuer": "^1.14.1",
59
- "@abi-software/map-side-bar": "2.16.0",
60
- "@abi-software/map-utilities": "1.9.0",
61
- "@abi-software/plotvuer": "1.1.0",
62
- "@abi-software/scaffoldvuer": "1.18.0",
63
- "@abi-software/simulationvuer": "3.3.0",
59
+ "@abi-software/flatmapvuer": "1.16.0",
60
+ "@abi-software/map-side-bar": "2.18.0",
61
+ "@abi-software/map-utilities": "1.11.0",
62
+ "@abi-software/plotvuer": "1.3.0",
63
+ "@abi-software/scaffoldvuer": "1.20.0",
64
+ "@abi-software/simulationvuer": "4.3.0",
64
65
  "@abi-software/sparc-annotation": "0.3.2",
65
- "@abi-software/svg-sprite": "1.1.0",
66
- "@element-plus/icons-vue": "^2.3.1",
67
- "@vitejs/plugin-vue": "^4.6.2",
66
+ "@abi-software/svg-sprite": "1.4.0",
67
+ "@element-plus/icons-vue": "^2.3.2",
68
+ "@vitejs/plugin-vue": "^6.0.8",
68
69
  "css-element-queries": "^1.2.3",
69
- "element-plus": "2.8.4",
70
- "marked": "^4.3.0",
70
+ "element-plus": "^2.14.5",
71
+ "marked": "^8.0.1",
71
72
  "mitt": "^3.0.1",
72
- "pinia": "^2.1.7",
73
- "splitpanes": "^3.1.5",
74
- "unplugin-vue-components": "^0.26.0",
75
- "vue": "^3.4.21",
76
- "xss": "^1.0.14"
73
+ "pinia": "^4.0.3",
74
+ "splitpanes": "^4.1.2",
75
+ "unplugin-vue-components": "^32.1.0",
76
+ "vue": "^3.5.41",
77
+ "xss": "^1.0.15"
77
78
  },
78
79
  "devDependencies": {
79
- "@pinia/testing": "^0.1.3",
80
- "@vue/test-utils": "^2.4.4",
80
+ "@eslint/js": "^10.0.1",
81
+ "@pinia/testing": "^2.0.1",
82
+ "@vue/test-utils": "^2.4.11",
81
83
  "@vuese/markdown-render": "^2.11.3",
82
- "auto-changelog": "^2.4.0",
83
- "babel-eslint": "^10.0.3",
84
+ "auto-changelog": "^2.6.0",
84
85
  "babel-plugin-component": "^1.1.1",
85
- "chai": "^4.1.2",
86
- "chokidar": "^3.6.0",
87
- "concurrently": "^8.2.2",
88
- "cypress": "^13.17.0",
89
- "cypress-multi-reporters": "^1.6.4",
90
- "cypress-visual-regression": "^5.2.2",
91
- "cypress-wait-until": "^1.7.1",
92
- "dom-parser": "^0.1.6",
93
- "eslint": "^8.56.0",
94
- "eslint-plugin-cypress": "^2.15.1",
95
- "eslint-plugin-vue": "^9.19.2",
96
- "happy-dom": "^15.11.6",
97
- "jsdom": "^16.2.2",
98
- "jsdom-global": "^3.0.2",
99
- "mocha": "^10.4.0",
100
- "mochapack": "^2.1.4",
101
- "mochawesome": "^7.1.3",
102
- "mochawesome-merge": "^4.3.0",
103
- "mochawesome-report-generator": "^6.2.0",
104
- "sass": "^1.69.5",
105
- "vite": "^5.0.10",
106
- "vitepress": "^1.0.0-rc.45",
107
- "vitest": "^1.2.2",
86
+ "chokidar": "^5.0.0",
87
+ "concurrently": "^9.2.4",
88
+ "cypress": "^15.21.0",
89
+ "cypress-multi-reporters": "^2.0.5",
90
+ "cypress-visual-regression": "^6.0.0",
91
+ "cypress-wait-until": "^3.0.2",
92
+ "dom-parser": "^1.1.5",
93
+ "eslint": "^10.9.1",
94
+ "eslint-plugin-cypress": "^7.0.0",
95
+ "eslint-plugin-vue": "^10.10.0",
96
+ "globals": "^17.11.0",
97
+ "happy-dom": "^20.11.6",
98
+ "mocha": "^10.8.2",
99
+ "mochapack": "^2.1.5",
100
+ "mochawesome": "^8.0.1",
101
+ "mochawesome-merge": "^4.4.1",
102
+ "mochawesome-report-generator": "^6.3.2",
103
+ "sass": "^1.103.1",
104
+ "vite": "^8.2.1",
105
+ "vitepress": "^1.6.4",
106
+ "vitest": "^4.1.11",
108
107
  "vue-docgen-api": "^4.79.2",
109
- "vue-router": "^4.2.5"
108
+ "vue-router": "^5.2.0"
110
109
  },
111
110
  "optionalDependencies": {
112
- "@esbuild/darwin-arm64": "^0.25.3",
113
- "@rollup/rollup-darwin-arm64": "4.62.3",
114
- "@rollup/rollup-linux-x64-gnu": "4.62.3",
115
- "@rollup/rollup-win32-x64-msvc": "4.62.3"
116
- },
117
- "eslintConfig": {
118
- "root": true,
119
- "env": {
120
- "node": true
121
- },
122
- "extends": [
123
- "plugin:vue/essential",
124
- "eslint:recommended"
125
- ],
126
- "rules": {},
127
- "parserOptions": {
128
- "parser": "babel-eslint"
129
- },
130
- "overrides": [
131
- {
132
- "files": [
133
- "**/__tests__/*.{j,t}s?(x)",
134
- "**/tests/unit/**/*.spec.{j,t}s?(x)"
135
- ],
136
- "env": {
137
- "mocha": true
138
- }
139
- }
140
- ]
111
+ "@esbuild/darwin-arm64": "0.28.2",
112
+ "@esbuild/linux-x64": "0.28.2",
113
+ "@rollup/rollup-darwin-arm64": "4.63.0",
114
+ "@rollup/rollup-linux-x64-gnu": "4.63.0",
115
+ "@rollup/rollup-win32-x64-msvc": "4.63.0"
141
116
  },
142
117
  "overrides": {
143
118
  "@abi-software/flatmapvuer": "$@abi-software/flatmapvuer",
@@ -146,5 +121,15 @@
146
121
  "browserslist": [
147
122
  "> 1%",
148
123
  "last 2 versions"
149
- ]
124
+ ],
125
+ "allowScripts": {
126
+ "esbuild@0.21.5": true,
127
+ "nodent-runtime@3.2.1": true,
128
+ "fsevents@2.3.3": true,
129
+ "es5-ext@0.10.64": true,
130
+ "cypress@15.21.1": true,
131
+ "core-js-pure@3.50.0": true,
132
+ "core-js@3.50.0": true,
133
+ "@parcel/watcher@2.6.0": true
134
+ }
150
135
  }
@@ -0,0 +1,2 @@
1
+ @use 'variables' as *;
2
+ @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
@@ -1,4 +1,5 @@
1
- @import '_variables.scss';
1
+ @use '_variables' as *;
2
+ @forward '_variables';
2
3
 
3
4
  .tooltip {
4
5
  font-family: 'Asap', 'Avenir', Arial, sans-serif;
@@ -1,6 +1,5 @@
1
- @import '_variables';
2
-
3
- @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
1
+ @use '_variables' as *;
2
+ @forward '_variables';
4
3
 
5
4
  /* icon font path, required */
6
5
  $--color-primary: $app-primary-color !default;
@@ -6,7 +6,7 @@
6
6
  <splitpanes
7
7
  class="default-theme"
8
8
  :horizontal="isHorizontal"
9
- :dbl-click-splitter="false"
9
+ :maximize-panes="false"
10
10
  >
11
11
  <template v-for="(child) in children" :key="child">
12
12
  <pane :ref="child" @vue:beforeUnmount="childUnmounted(child)">
@@ -14,7 +14,7 @@
14
14
  v-if="customLayout[child].content"
15
15
  @resize="calculateStyles(child)">
16
16
  </resize-sensor>
17
- <custom-splitter
17
+ <custom-splitter
18
18
  v-else
19
19
  :key="child"
20
20
  :index="child"
@@ -53,7 +53,7 @@ export default {
53
53
  methods: {
54
54
  requestStylesUpdate: function(refName) {
55
55
  if (this.$refs) {
56
- if (refName in this.$refs && this.$refs[refName] &&
56
+ if (refName in this.$refs && this.$refs[refName] &&
57
57
  this.$refs[refName][0] && this.$refs[refName][0].$el) {
58
58
  const el = this.$refs[refName][0].$el;
59
59
  const rect = el.getBoundingClientRect();
@@ -80,7 +80,7 @@ export default {
80
80
  font-size: 0.8rem;
81
81
  margin-left: 0.5rem;
82
82
  }
83
- :deep(.search-box) {
83
+ :deep(.search-box.el-autocomplete) {
84
84
  margin-top: 2px;
85
85
  margin-left:0.5rem;
86
86
  height:28px;
@@ -1,6 +1,7 @@
1
1
  // The Vue build version to load with the `import` command
2
2
  // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3
3
  import MapContent from './MapContent.vue';
4
+ import '../assets/fonts.scss';
4
5
 
5
6
  export {
6
7
  MapContent