@abi-software/mapintegratedvuer 1.20.1 → 1.21.1
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/cypress.config.js +8 -7
- package/dist/ConnectivityGraph-CZMROk9r.js +121 -0
- package/dist/ContentMixin-Vn34n5t2.js +1672 -0
- package/dist/DynamicMarkerMixin-BS6t7w_i.js +50 -0
- package/dist/Flatmap-BejxA0uz.js +193 -0
- package/dist/Iframe-BWbhTjCR.js +18 -0
- package/dist/MultiFlatmap-nlmsH-Ib.js +303 -0
- package/dist/Plot-ChbPsDZX.js +28 -0
- package/dist/Scaffold-C6f7c7Ha.js +308 -0
- package/dist/Simulation-DcJScRYo.js +25 -0
- package/dist/connectivities-UXTqf7_0.js +35743 -0
- package/dist/mapintegratedvuer.js +43234 -3
- package/dist/mapintegratedvuer.umd.cjs +556 -297
- package/dist/style.css +2 -1
- package/eslint.config.js +33 -0
- package/package.json +61 -76
- package/src/assets/fonts.scss +2 -0
- package/src/assets/header-icon.scss +2 -1
- package/src/assets/styles.scss +2 -3
- package/src/components/CustomSplitter.vue +3 -3
- package/src/components/SearchControls.vue +1 -1
- package/src/components/index.js +1 -0
- package/src/components/scripts/simulation_data.js +461 -0
- package/src/components/viewers/Flatmap.vue +11 -7
- package/src/components/viewers/MultiFlatmap.vue +12 -8
- package/src/components.d.ts +6 -2
- package/src/main.js +2 -1
- package/src/mixins/DynamicMarkerMixin.js +3 -3
- package/vite.bundle-build.js +19 -4
- package/vite.config.js +16 -1
- package/babel.config.js +0 -0
- package/dist/ConnectivityGraph-C2SH21O2.js +0 -123
- package/dist/ContentMixin-DyNQa5V5.js +0 -1725
- package/dist/Flatmap-2O4GdIZV.js +0 -203
- package/dist/Iframe-ComVJ_Ev.js +0 -20
- package/dist/MultiFlatmap-oVdJqKEz.js +0 -317
- package/dist/Plot-CYyVTjHQ.js +0 -25
- package/dist/Scaffold-DXGZqxdu.js +0 -305
- package/dist/Simulation-DNOubbSn.js +0 -28
- package/dist/index-BkejiyeA.js +0 -79223
- package/dist/style-3VbUVJif.js +0 -57
- package/static.json +0 -7
package/eslint.config.js
ADDED
|
@@ -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.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": "
|
|
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": "
|
|
59
|
-
"@abi-software/map-side-bar": "2.
|
|
60
|
-
"@abi-software/map-utilities": "1.
|
|
61
|
-
"@abi-software/plotvuer": "1.
|
|
62
|
-
"@abi-software/scaffoldvuer": "1.
|
|
63
|
-
"@abi-software/simulationvuer": "
|
|
59
|
+
"@abi-software/flatmapvuer": "1.17.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.
|
|
66
|
-
"@element-plus/icons-vue": "^2.3.
|
|
67
|
-
"@vitejs/plugin-vue": "^
|
|
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.
|
|
70
|
-
"marked": "^
|
|
70
|
+
"element-plus": "^2.14.5",
|
|
71
|
+
"marked": "^8.0.1",
|
|
71
72
|
"mitt": "^3.0.1",
|
|
72
|
-
"pinia": "^
|
|
73
|
-
"splitpanes": "^
|
|
74
|
-
"unplugin-vue-components": "^
|
|
75
|
-
"vue": "^3.
|
|
76
|
-
"xss": "^1.0.
|
|
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
|
-
"@
|
|
80
|
-
"@
|
|
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.
|
|
83
|
-
"babel-eslint": "^10.0.3",
|
|
84
|
+
"auto-changelog": "^2.6.0",
|
|
84
85
|
"babel-plugin-component": "^1.1.1",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"cypress": "^
|
|
89
|
-
"cypress-
|
|
90
|
-
"cypress-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"eslint": "^
|
|
94
|
-
"eslint-plugin-
|
|
95
|
-
"
|
|
96
|
-
"happy-dom": "^
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"mochawesome": "^
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
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": "^
|
|
108
|
+
"vue-router": "^5.2.0"
|
|
110
109
|
},
|
|
111
110
|
"optionalDependencies": {
|
|
112
|
-
"@esbuild/darwin-arm64": "
|
|
113
|
-
"@
|
|
114
|
-
"@rollup/rollup-
|
|
115
|
-
"@rollup/rollup-
|
|
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
|
}
|
package/src/assets/styles.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<splitpanes
|
|
7
7
|
class="default-theme"
|
|
8
8
|
:horizontal="isHorizontal"
|
|
9
|
-
:
|
|
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();
|
package/src/components/index.js
CHANGED