@abi-software/flatmapvuer 1.15.0 → 1.16.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/dist/flatmapvuer.js +6 -3
- package/dist/flatmapvuer.umd.cjs +10 -10
- package/dist/style.css +1 -1
- package/package.json +11 -5
- package/src/assets/fonts.scss +2 -0
- package/src/assets/styles.scss +0 -2
- package/src/components/FlatmapVuer.vue +2 -2
- package/src/components/MultiFlatmapVuer.vue +3 -1
- package/src/components/index.js +1 -0
- package/src/main.js +1 -0
- package/vite.config.js +12 -4
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": "
|
|
6
|
+
"node": "^24.20.0"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/*",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"./src/*": "./src/*"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@abi-software/map-utilities": "1.
|
|
51
|
+
"@abi-software/map-utilities": "1.11.0",
|
|
52
52
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
53
|
-
"@abi-software/svg-sprite": "1.
|
|
53
|
+
"@abi-software/svg-sprite": "1.4.0",
|
|
54
54
|
"@element-plus/icons-vue": "^2.3.2",
|
|
55
55
|
"css-element-queries": "^1.2.3",
|
|
56
56
|
"element-plus": "^2.14.5",
|
|
@@ -90,5 +90,11 @@
|
|
|
90
90
|
"browserslist": [
|
|
91
91
|
"> 1%",
|
|
92
92
|
"last 2 versions"
|
|
93
|
-
]
|
|
93
|
+
],
|
|
94
|
+
"allowScripts": {
|
|
95
|
+
"cypress@15.21.1": true,
|
|
96
|
+
"@parcel/watcher@2.6.0": true,
|
|
97
|
+
"fsevents@2.3.3": true,
|
|
98
|
+
"esbuild@0.21.5": true
|
|
99
|
+
}
|
|
94
100
|
}
|
package/src/assets/styles.scss
CHANGED
|
@@ -4296,7 +4296,7 @@ export default {
|
|
|
4296
4296
|
@media (max-width: 1250px) {
|
|
4297
4297
|
height: 125px !important; // important is needed here as we are over-riding the style set by the flatmap
|
|
4298
4298
|
width: 180px !important;
|
|
4299
|
-
|
|
4299
|
+
.maplibregl-canvas .maplibregl-canvas {
|
|
4300
4300
|
height: 125px !important;
|
|
4301
4301
|
width: 180px !important;
|
|
4302
4302
|
}
|
|
@@ -4304,7 +4304,7 @@ export default {
|
|
|
4304
4304
|
@media (min-width: 1251px) {
|
|
4305
4305
|
height: 190px !important;
|
|
4306
4306
|
width: 300px !important;
|
|
4307
|
-
|
|
4307
|
+
.maplibregl-canvas .maplibregl-canvas {
|
|
4308
4308
|
height: 190px !important;
|
|
4309
4309
|
width: 300px !important;
|
|
4310
4310
|
}
|
|
@@ -638,7 +638,9 @@ export default {
|
|
|
638
638
|
*/
|
|
639
639
|
changeViewingMode: function (modeName) {
|
|
640
640
|
let map = this.getCurrentFlatmap()
|
|
641
|
-
map
|
|
641
|
+
if (map) {
|
|
642
|
+
map.changeViewingMode(modeName)
|
|
643
|
+
}
|
|
642
644
|
},
|
|
643
645
|
setConnectionType: function (type) {
|
|
644
646
|
let map = this.getCurrentFlatmap();
|
package/src/components/index.js
CHANGED
package/src/main.js
CHANGED
package/vite.config.js
CHANGED
|
@@ -41,18 +41,26 @@ export default defineConfig(({ command, mode }) => {
|
|
|
41
41
|
],
|
|
42
42
|
resolve: {
|
|
43
43
|
alias: {
|
|
44
|
-
'@': path.resolve(
|
|
44
|
+
'@': path.resolve(import.meta.dirname, './src'),
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
build: {
|
|
48
48
|
lib: {
|
|
49
|
-
entry: path.resolve(
|
|
49
|
+
entry: path.resolve(import.meta.dirname, "./src/components/index.js"),
|
|
50
50
|
name: "FlatmapVuer",
|
|
51
51
|
fileName: 'flatmapvuer',
|
|
52
52
|
},
|
|
53
53
|
rollupOptions: {
|
|
54
|
-
external: [
|
|
55
|
-
"
|
|
54
|
+
external: [
|
|
55
|
+
"vue",
|
|
56
|
+
"@abi-software/sparc-annotation",
|
|
57
|
+
"@abi-software/svg-sprite",
|
|
58
|
+
"@abi-software/map-utilities",
|
|
59
|
+
"@element-plus/icons-vue",
|
|
60
|
+
"pinia",
|
|
61
|
+
"@abi-software/svg-sprite/dist/style.css",
|
|
62
|
+
"@abi-software/map-utilities/dist/style.css"
|
|
63
|
+
],
|
|
56
64
|
output: {
|
|
57
65
|
globals: {
|
|
58
66
|
vue: "Vue",
|