@abi-software/flatmapvuer 0.2.3-fixes-3 → 0.2.4-beta-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/dist/flatmapvuer.common.js +100 -85
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +100 -85
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +137 -155
- package/package.json +3 -3
- package/src/App.vue +1 -1
- package/src/components/FlatmapVuer.vue +9 -10
- package/src/components/PubmedViewer.vue +9 -1
- package/src/components/Tooltip.vue +8 -1
package/package-lock.json
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-beta-2",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@abi-software/flatmap-viewer": {
|
|
8
|
-
"version": "2.
|
|
9
|
-
"resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.
|
|
10
|
-
"integrity": "sha512-
|
|
8
|
+
"version": "2.2.0-beta.4",
|
|
9
|
+
"resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.2.0-beta.4.tgz",
|
|
10
|
+
"integrity": "sha512-9r0dJ+jcsSxwP+4n6IRiZey3KWaeY3VN8MLpXtw5SLiCJWwHubh55XyXc7DuJ9glZ2G8L6BnqlMoKXmdB+0ccQ==",
|
|
11
11
|
"requires": {
|
|
12
12
|
"@babel/runtime": "^7.10.4",
|
|
13
13
|
"@turf/area": "^6.0.1",
|
|
14
14
|
"@turf/bbox": "^6.0.1",
|
|
15
15
|
"@turf/helpers": "^6.1.4",
|
|
16
|
-
"maplibre-gl": "^1.
|
|
17
|
-
"minisearch": "^2.2.1"
|
|
16
|
+
"maplibre-gl": "^2.1.0",
|
|
17
|
+
"minisearch": "^2.2.1",
|
|
18
|
+
"polylabel": "^1.1.0"
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
"@abi-software/svg-sprite": {
|
|
21
|
-
"version": "0.1.
|
|
22
|
-
"resolved": "https://registry.npmjs.org/@abi-software/svg-sprite/-/svg-sprite-0.1.
|
|
23
|
-
"integrity": "sha512-
|
|
22
|
+
"version": "0.1.14",
|
|
23
|
+
"resolved": "https://registry.npmjs.org/@abi-software/svg-sprite/-/svg-sprite-0.1.14.tgz",
|
|
24
|
+
"integrity": "sha512-nCIgBLfiAV8gMHD+lYCRWCT+y2GM8g/88DG8sjfu5F+wz6M82wA/Y69SVlMTJ7TQiFIlCguxYb4RltUGpo2YCg==",
|
|
24
25
|
"requires": {
|
|
25
26
|
"core-js": "^3.6.5",
|
|
26
27
|
"svg-inline-loader": "^0.8.2",
|
|
@@ -1281,20 +1282,15 @@
|
|
|
1281
1282
|
"minimist": "^1.2.5"
|
|
1282
1283
|
}
|
|
1283
1284
|
},
|
|
1284
|
-
"@mapbox/geojson-types": {
|
|
1285
|
-
"version": "1.0.2",
|
|
1286
|
-
"resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz",
|
|
1287
|
-
"integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw=="
|
|
1288
|
-
},
|
|
1289
1285
|
"@mapbox/jsonlint-lines-primitives": {
|
|
1290
1286
|
"version": "2.0.2",
|
|
1291
1287
|
"resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz",
|
|
1292
1288
|
"integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ="
|
|
1293
1289
|
},
|
|
1294
1290
|
"@mapbox/mapbox-gl-supported": {
|
|
1295
|
-
"version": "
|
|
1296
|
-
"resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-
|
|
1297
|
-
"integrity": "sha512
|
|
1291
|
+
"version": "2.0.1",
|
|
1292
|
+
"resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-2.0.1.tgz",
|
|
1293
|
+
"integrity": "sha512-HP6XvfNIzfoMVfyGjBckjiAOQK9WfX0ywdLubuPMPv+Vqf5fj0uCbgBQYpiqcWZT6cbyyRnTSXDheT1ugvF6UQ=="
|
|
1298
1294
|
},
|
|
1299
1295
|
"@mapbox/point-geometry": {
|
|
1300
1296
|
"version": "0.1.0",
|
|
@@ -1302,14 +1298,14 @@
|
|
|
1302
1298
|
"integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI="
|
|
1303
1299
|
},
|
|
1304
1300
|
"@mapbox/tiny-sdf": {
|
|
1305
|
-
"version": "
|
|
1306
|
-
"resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-
|
|
1307
|
-
"integrity": "sha512-
|
|
1301
|
+
"version": "2.0.4",
|
|
1302
|
+
"resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.4.tgz",
|
|
1303
|
+
"integrity": "sha512-CBtL2rhZiYmdIryksp0zh4Mmx54iClYfNb0mpYeHrZnq4z84lVjre7LBWGPEjWspEn6AiF0lxC1HaZDye89m3g=="
|
|
1308
1304
|
},
|
|
1309
1305
|
"@mapbox/unitbezier": {
|
|
1310
|
-
"version": "0.0.
|
|
1311
|
-
"resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.
|
|
1312
|
-
"integrity": "
|
|
1306
|
+
"version": "0.0.1",
|
|
1307
|
+
"resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.1.tgz",
|
|
1308
|
+
"integrity": "sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw=="
|
|
1313
1309
|
},
|
|
1314
1310
|
"@mapbox/vector-tile": {
|
|
1315
1311
|
"version": "1.3.1",
|
|
@@ -1341,65 +1337,90 @@
|
|
|
1341
1337
|
"dev": true
|
|
1342
1338
|
},
|
|
1343
1339
|
"@soda/friendly-errors-webpack-plugin": {
|
|
1344
|
-
"version": "1.8.
|
|
1345
|
-
"resolved": "https://registry.npmjs.org/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.
|
|
1346
|
-
"integrity": "sha512-
|
|
1340
|
+
"version": "1.8.1",
|
|
1341
|
+
"resolved": "https://registry.npmjs.org/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz",
|
|
1342
|
+
"integrity": "sha512-h2ooWqP8XuFqTXT+NyAFbrArzfQA7R6HTezADrvD9Re8fxMLTPPniLdqVTdDaO0eIoLaAwKT+d6w+5GeTk7Vbg==",
|
|
1347
1343
|
"dev": true,
|
|
1348
1344
|
"requires": {
|
|
1349
|
-
"chalk": "^
|
|
1350
|
-
"error-stack-parser": "^2.0.
|
|
1351
|
-
"string-width": "^2.
|
|
1352
|
-
"strip-ansi": "^
|
|
1345
|
+
"chalk": "^3.0.0",
|
|
1346
|
+
"error-stack-parser": "^2.0.6",
|
|
1347
|
+
"string-width": "^4.2.3",
|
|
1348
|
+
"strip-ansi": "^6.0.1"
|
|
1353
1349
|
},
|
|
1354
1350
|
"dependencies": {
|
|
1355
1351
|
"ansi-regex": {
|
|
1352
|
+
"version": "5.0.1",
|
|
1353
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
1354
|
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
1355
|
+
"dev": true
|
|
1356
|
+
},
|
|
1357
|
+
"ansi-styles": {
|
|
1358
|
+
"version": "4.3.0",
|
|
1359
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
|
1360
|
+
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
|
1361
|
+
"dev": true,
|
|
1362
|
+
"requires": {
|
|
1363
|
+
"color-convert": "^2.0.1"
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"chalk": {
|
|
1356
1367
|
"version": "3.0.0",
|
|
1357
|
-
"resolved": "https://registry.npmjs.org/
|
|
1358
|
-
"integrity": "
|
|
1368
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
|
1369
|
+
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
|
1370
|
+
"dev": true,
|
|
1371
|
+
"requires": {
|
|
1372
|
+
"ansi-styles": "^4.1.0",
|
|
1373
|
+
"supports-color": "^7.1.0"
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
"color-convert": {
|
|
1377
|
+
"version": "2.0.1",
|
|
1378
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
1379
|
+
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
|
1380
|
+
"dev": true,
|
|
1381
|
+
"requires": {
|
|
1382
|
+
"color-name": "~1.1.4"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"color-name": {
|
|
1386
|
+
"version": "1.1.4",
|
|
1387
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
|
1388
|
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
|
1359
1389
|
"dev": true
|
|
1360
1390
|
},
|
|
1361
|
-
"
|
|
1362
|
-
"version": "
|
|
1363
|
-
"resolved": "https://registry.npmjs.org/
|
|
1364
|
-
"integrity": "
|
|
1391
|
+
"has-flag": {
|
|
1392
|
+
"version": "4.0.0",
|
|
1393
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
|
1394
|
+
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
|
1365
1395
|
"dev": true
|
|
1366
1396
|
},
|
|
1367
1397
|
"string-width": {
|
|
1368
|
-
"version": "2.
|
|
1369
|
-
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.
|
|
1370
|
-
"integrity": "sha512-
|
|
1398
|
+
"version": "4.2.3",
|
|
1399
|
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
|
1400
|
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
|
1371
1401
|
"dev": true,
|
|
1372
1402
|
"requires": {
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1375
|
-
|
|
1376
|
-
"dependencies": {
|
|
1377
|
-
"strip-ansi": {
|
|
1378
|
-
"version": "4.0.0",
|
|
1379
|
-
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
|
1380
|
-
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
|
|
1381
|
-
"dev": true,
|
|
1382
|
-
"requires": {
|
|
1383
|
-
"ansi-regex": "^3.0.0"
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1403
|
+
"emoji-regex": "^8.0.0",
|
|
1404
|
+
"is-fullwidth-code-point": "^3.0.0",
|
|
1405
|
+
"strip-ansi": "^6.0.1"
|
|
1386
1406
|
}
|
|
1387
1407
|
},
|
|
1388
1408
|
"strip-ansi": {
|
|
1389
|
-
"version": "
|
|
1390
|
-
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-
|
|
1391
|
-
"integrity": "sha512-
|
|
1409
|
+
"version": "6.0.1",
|
|
1410
|
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
1411
|
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
1392
1412
|
"dev": true,
|
|
1393
1413
|
"requires": {
|
|
1394
|
-
"ansi-regex": "^
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1414
|
+
"ansi-regex": "^5.0.1"
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"supports-color": {
|
|
1418
|
+
"version": "7.2.0",
|
|
1419
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
|
1420
|
+
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
1421
|
+
"dev": true,
|
|
1422
|
+
"requires": {
|
|
1423
|
+
"has-flag": "^4.0.0"
|
|
1403
1424
|
}
|
|
1404
1425
|
}
|
|
1405
1426
|
}
|
|
@@ -6101,9 +6122,9 @@
|
|
|
6101
6122
|
}
|
|
6102
6123
|
},
|
|
6103
6124
|
"follow-redirects": {
|
|
6104
|
-
"version": "1.14.
|
|
6105
|
-
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.
|
|
6106
|
-
"integrity": "sha512
|
|
6125
|
+
"version": "1.14.7",
|
|
6126
|
+
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz",
|
|
6127
|
+
"integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==",
|
|
6107
6128
|
"dev": true
|
|
6108
6129
|
},
|
|
6109
6130
|
"for-in": {
|
|
@@ -6401,9 +6422,9 @@
|
|
|
6401
6422
|
}
|
|
6402
6423
|
},
|
|
6403
6424
|
"gl-matrix": {
|
|
6404
|
-
"version": "3.3
|
|
6405
|
-
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.3.
|
|
6406
|
-
"integrity": "sha512-
|
|
6425
|
+
"version": "3.4.3",
|
|
6426
|
+
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz",
|
|
6427
|
+
"integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA=="
|
|
6407
6428
|
},
|
|
6408
6429
|
"glob": {
|
|
6409
6430
|
"version": "7.1.7",
|
|
@@ -6474,11 +6495,6 @@
|
|
|
6474
6495
|
"integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==",
|
|
6475
6496
|
"dev": true
|
|
6476
6497
|
},
|
|
6477
|
-
"grid-index": {
|
|
6478
|
-
"version": "1.1.0",
|
|
6479
|
-
"resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz",
|
|
6480
|
-
"integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA=="
|
|
6481
|
-
},
|
|
6482
6498
|
"gzip-size": {
|
|
6483
6499
|
"version": "5.1.1",
|
|
6484
6500
|
"resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz",
|
|
@@ -7689,9 +7705,9 @@
|
|
|
7689
7705
|
"dev": true
|
|
7690
7706
|
},
|
|
7691
7707
|
"json-schema": {
|
|
7692
|
-
"version": "0.
|
|
7693
|
-
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.
|
|
7694
|
-
"integrity": "
|
|
7708
|
+
"version": "0.4.0",
|
|
7709
|
+
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
|
|
7710
|
+
"integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
|
|
7695
7711
|
"dev": true
|
|
7696
7712
|
},
|
|
7697
7713
|
"json-schema-traverse": {
|
|
@@ -7735,14 +7751,14 @@
|
|
|
7735
7751
|
}
|
|
7736
7752
|
},
|
|
7737
7753
|
"jsprim": {
|
|
7738
|
-
"version": "1.4.
|
|
7739
|
-
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.
|
|
7740
|
-
"integrity": "
|
|
7754
|
+
"version": "1.4.2",
|
|
7755
|
+
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
|
|
7756
|
+
"integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
|
|
7741
7757
|
"dev": true,
|
|
7742
7758
|
"requires": {
|
|
7743
7759
|
"assert-plus": "1.0.0",
|
|
7744
7760
|
"extsprintf": "1.3.0",
|
|
7745
|
-
"json-schema": "0.
|
|
7761
|
+
"json-schema": "0.4.0",
|
|
7746
7762
|
"verror": "1.10.0"
|
|
7747
7763
|
}
|
|
7748
7764
|
},
|
|
@@ -8039,33 +8055,29 @@
|
|
|
8039
8055
|
}
|
|
8040
8056
|
},
|
|
8041
8057
|
"maplibre-gl": {
|
|
8042
|
-
"version": "1.
|
|
8043
|
-
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-1.
|
|
8044
|
-
"integrity": "sha512-
|
|
8058
|
+
"version": "2.1.1",
|
|
8059
|
+
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-2.1.1.tgz",
|
|
8060
|
+
"integrity": "sha512-FRAHc4kPYKDF0+QMm8tnkyhv65Ed5SKLbzcH6hHM20XAK+9pqHMIHxlwpxcb4zGl+czz1bUegYf/KXjJRh9aDA==",
|
|
8045
8061
|
"requires": {
|
|
8046
|
-
"@mapbox/geojson-rewind": "^0.5.
|
|
8047
|
-
"@mapbox/geojson-types": "^1.0.2",
|
|
8062
|
+
"@mapbox/geojson-rewind": "^0.5.1",
|
|
8048
8063
|
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
|
|
8049
|
-
"@mapbox/mapbox-gl-supported": "^
|
|
8064
|
+
"@mapbox/mapbox-gl-supported": "^2.0.1",
|
|
8050
8065
|
"@mapbox/point-geometry": "^0.1.0",
|
|
8051
|
-
"@mapbox/tiny-sdf": "^
|
|
8052
|
-
"@mapbox/unitbezier": "^0.0.
|
|
8066
|
+
"@mapbox/tiny-sdf": "^2.0.4",
|
|
8067
|
+
"@mapbox/unitbezier": "^0.0.1",
|
|
8053
8068
|
"@mapbox/vector-tile": "^1.3.1",
|
|
8054
8069
|
"@mapbox/whoots-js": "^3.1.0",
|
|
8055
8070
|
"csscolorparser": "~1.0.3",
|
|
8056
|
-
"earcut": "^2.2.
|
|
8071
|
+
"earcut": "^2.2.3",
|
|
8057
8072
|
"geojson-vt": "^3.2.1",
|
|
8058
|
-
"gl-matrix": "^3.
|
|
8059
|
-
"grid-index": "^1.1.0",
|
|
8060
|
-
"minimist": "^1.2.5",
|
|
8073
|
+
"gl-matrix": "^3.4.3",
|
|
8061
8074
|
"murmurhash-js": "^1.0.0",
|
|
8062
8075
|
"pbf": "^3.2.1",
|
|
8063
|
-
"potpack": "^1.0.
|
|
8076
|
+
"potpack": "^1.0.2",
|
|
8064
8077
|
"quickselect": "^2.0.0",
|
|
8065
|
-
"
|
|
8066
|
-
"supercluster": "^7.1.0",
|
|
8078
|
+
"supercluster": "^7.1.4",
|
|
8067
8079
|
"tinyqueue": "^2.0.3",
|
|
8068
|
-
"vt-pbf": "^3.1.
|
|
8080
|
+
"vt-pbf": "^3.1.3"
|
|
8069
8081
|
}
|
|
8070
8082
|
},
|
|
8071
8083
|
"md5.js": {
|
|
@@ -9371,6 +9383,14 @@
|
|
|
9371
9383
|
"ts-pnp": "^1.1.6"
|
|
9372
9384
|
}
|
|
9373
9385
|
},
|
|
9386
|
+
"polylabel": {
|
|
9387
|
+
"version": "1.1.0",
|
|
9388
|
+
"resolved": "https://registry.npmjs.org/polylabel/-/polylabel-1.1.0.tgz",
|
|
9389
|
+
"integrity": "sha512-bxaGcA40sL3d6M4hH72Z4NdLqxpXRsCFk8AITYg6x1rn1Ei3izf00UMLklerBZTO49aPA3CYrIwVulx2Bce2pA==",
|
|
9390
|
+
"requires": {
|
|
9391
|
+
"tinyqueue": "^2.0.3"
|
|
9392
|
+
}
|
|
9393
|
+
},
|
|
9374
9394
|
"portfinder": {
|
|
9375
9395
|
"version": "1.0.28",
|
|
9376
9396
|
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz",
|
|
@@ -9997,9 +10017,9 @@
|
|
|
9997
10017
|
"dev": true
|
|
9998
10018
|
},
|
|
9999
10019
|
"potpack": {
|
|
10000
|
-
"version": "1.0.
|
|
10001
|
-
"resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.
|
|
10002
|
-
"integrity": "sha512-
|
|
10020
|
+
"version": "1.0.2",
|
|
10021
|
+
"resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
|
|
10022
|
+
"integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ=="
|
|
10003
10023
|
},
|
|
10004
10024
|
"prelude-ls": {
|
|
10005
10025
|
"version": "1.1.2",
|
|
@@ -10055,9 +10075,9 @@
|
|
|
10055
10075
|
"dev": true
|
|
10056
10076
|
},
|
|
10057
10077
|
"protocol-buffers-schema": {
|
|
10058
|
-
"version": "3.
|
|
10059
|
-
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.
|
|
10060
|
-
"integrity": "sha512-
|
|
10078
|
+
"version": "3.6.0",
|
|
10079
|
+
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz",
|
|
10080
|
+
"integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw=="
|
|
10061
10081
|
},
|
|
10062
10082
|
"proxy-addr": {
|
|
10063
10083
|
"version": "2.0.7",
|
|
@@ -10485,9 +10505,9 @@
|
|
|
10485
10505
|
"dev": true
|
|
10486
10506
|
},
|
|
10487
10507
|
"nth-check": {
|
|
10488
|
-
"version": "2.0.
|
|
10489
|
-
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.
|
|
10490
|
-
"integrity": "sha512-
|
|
10508
|
+
"version": "2.0.1",
|
|
10509
|
+
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz",
|
|
10510
|
+
"integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==",
|
|
10491
10511
|
"dev": true,
|
|
10492
10512
|
"requires": {
|
|
10493
10513
|
"boolbase": "^1.0.0"
|
|
@@ -10691,11 +10711,6 @@
|
|
|
10691
10711
|
"aproba": "^1.1.1"
|
|
10692
10712
|
}
|
|
10693
10713
|
},
|
|
10694
|
-
"rw": {
|
|
10695
|
-
"version": "1.3.3",
|
|
10696
|
-
"resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
|
|
10697
|
-
"integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q="
|
|
10698
|
-
},
|
|
10699
10714
|
"rxjs": {
|
|
10700
10715
|
"version": "6.6.7",
|
|
10701
10716
|
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
|
|
@@ -11752,9 +11767,9 @@
|
|
|
11752
11767
|
},
|
|
11753
11768
|
"dependencies": {
|
|
11754
11769
|
"ansi-regex": {
|
|
11755
|
-
"version": "5.0.
|
|
11756
|
-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.
|
|
11757
|
-
"integrity": "sha512-
|
|
11770
|
+
"version": "5.0.1",
|
|
11771
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
11772
|
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
11758
11773
|
"dev": true
|
|
11759
11774
|
}
|
|
11760
11775
|
}
|
|
@@ -11817,9 +11832,9 @@
|
|
|
11817
11832
|
}
|
|
11818
11833
|
},
|
|
11819
11834
|
"supercluster": {
|
|
11820
|
-
"version": "7.1.
|
|
11821
|
-
"resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.
|
|
11822
|
-
"integrity": "sha512-
|
|
11835
|
+
"version": "7.1.4",
|
|
11836
|
+
"resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.4.tgz",
|
|
11837
|
+
"integrity": "sha512-GhKkRM1jMR6WUwGPw05fs66pOFWhf59lXq+Q3J3SxPvhNcmgOtLRV6aVQPMRsmXdpaeFJGivt+t7QXUPL3ff4g==",
|
|
11823
11838
|
"requires": {
|
|
11824
11839
|
"kdbush": "^3.0.0"
|
|
11825
11840
|
}
|
|
@@ -13655,45 +13670,12 @@
|
|
|
13655
13670
|
"dev": true
|
|
13656
13671
|
},
|
|
13657
13672
|
"wide-align": {
|
|
13658
|
-
"version": "1.1.
|
|
13659
|
-
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.
|
|
13660
|
-
"integrity": "sha512-
|
|
13673
|
+
"version": "1.1.5",
|
|
13674
|
+
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
|
|
13675
|
+
"integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
|
|
13661
13676
|
"dev": true,
|
|
13662
13677
|
"requires": {
|
|
13663
|
-
"string-width": "^1.0.2 || 2"
|
|
13664
|
-
},
|
|
13665
|
-
"dependencies": {
|
|
13666
|
-
"ansi-regex": {
|
|
13667
|
-
"version": "3.0.0",
|
|
13668
|
-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
|
|
13669
|
-
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
|
|
13670
|
-
"dev": true
|
|
13671
|
-
},
|
|
13672
|
-
"is-fullwidth-code-point": {
|
|
13673
|
-
"version": "2.0.0",
|
|
13674
|
-
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
|
|
13675
|
-
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
|
|
13676
|
-
"dev": true
|
|
13677
|
-
},
|
|
13678
|
-
"string-width": {
|
|
13679
|
-
"version": "2.1.1",
|
|
13680
|
-
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
|
|
13681
|
-
"integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
|
|
13682
|
-
"dev": true,
|
|
13683
|
-
"requires": {
|
|
13684
|
-
"is-fullwidth-code-point": "^2.0.0",
|
|
13685
|
-
"strip-ansi": "^4.0.0"
|
|
13686
|
-
}
|
|
13687
|
-
},
|
|
13688
|
-
"strip-ansi": {
|
|
13689
|
-
"version": "4.0.0",
|
|
13690
|
-
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
|
13691
|
-
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
|
|
13692
|
-
"dev": true,
|
|
13693
|
-
"requires": {
|
|
13694
|
-
"ansi-regex": "^3.0.0"
|
|
13695
|
-
}
|
|
13696
|
-
}
|
|
13678
|
+
"string-width": "^1.0.2 || 2 || 3 || 4"
|
|
13697
13679
|
}
|
|
13698
13680
|
},
|
|
13699
13681
|
"word-wrap": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-beta-2",
|
|
4
4
|
"main": "./dist/flatmapvuer.common.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint": "vue-cli-service lint"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@abi-software/flatmap-viewer": "
|
|
20
|
-
"@abi-software/svg-sprite": "^0.1.
|
|
19
|
+
"@abi-software/flatmap-viewer": "2.2.0-beta.4",
|
|
20
|
+
"@abi-software/svg-sprite": "^0.1.14",
|
|
21
21
|
"core-js": "^3.3.2",
|
|
22
22
|
"css-element-queries": "^1.2.2",
|
|
23
23
|
"current-script-polyfill": "^1.0.0",
|
package/src/App.vue
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
element-loading-spinner="el-icon-loading"
|
|
7
7
|
element-loading-background="rgba(0, 0, 0, 0.3)"
|
|
8
8
|
>
|
|
9
|
-
<
|
|
9
|
+
<map-svg-sprite-color />
|
|
10
10
|
<div style="height:100%;width:100%;position:relative;overflow-y:none">
|
|
11
11
|
<div style="height:100%;width:100%;" ref="display"></div>
|
|
12
12
|
<el-popover
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
popper-class="flatmap-popper left-popper"
|
|
38
38
|
v-model="hoverVisibilities[0].value"
|
|
39
39
|
>
|
|
40
|
-
<
|
|
40
|
+
<map-svg-icon
|
|
41
41
|
icon="zoomIn"
|
|
42
42
|
class="icon-button zoomIn"
|
|
43
43
|
slot="reference"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
popper-class="flatmap-popper popper-zoomout"
|
|
55
55
|
v-model="hoverVisibilities[1].value"
|
|
56
56
|
>
|
|
57
|
-
<
|
|
57
|
+
<map-svg-icon
|
|
58
58
|
icon="zoomOut"
|
|
59
59
|
class="icon-button zoomOut"
|
|
60
60
|
slot="reference"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
popper-class="flatmap-popper"
|
|
72
72
|
v-model="hoverVisibilities[2].value"
|
|
73
73
|
>
|
|
74
|
-
<
|
|
74
|
+
<map-svg-icon
|
|
75
75
|
icon="resetZoom"
|
|
76
76
|
class="icon-button resetView"
|
|
77
77
|
slot="reference"
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
trigger="manual"
|
|
198
198
|
popper-class="flatmap-popper right-popper"
|
|
199
199
|
>
|
|
200
|
-
<
|
|
200
|
+
<map-svg-icon
|
|
201
201
|
v-popover:backgroundPopover
|
|
202
202
|
icon="changeBckgd"
|
|
203
203
|
class="icon-button background-colour"
|
|
@@ -211,6 +211,7 @@
|
|
|
211
211
|
ref="tooltip"
|
|
212
212
|
class="tooltip"
|
|
213
213
|
:content="tooltipContent"
|
|
214
|
+
:flatmapAPI="flatmapAPI"
|
|
214
215
|
@resource-selected="resourceSelected"
|
|
215
216
|
/>
|
|
216
217
|
</div>
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
/* eslint-disable no-alert, no-console */
|
|
222
223
|
import Vue from "vue";
|
|
223
224
|
import Tooltip from "./Tooltip";
|
|
224
|
-
import {
|
|
225
|
+
import { MapSvgIcon, MapSvgSpriteColor } from "@abi-software/svg-sprite";
|
|
225
226
|
import {
|
|
226
227
|
Checkbox,
|
|
227
228
|
CheckboxGroup,
|
|
@@ -253,8 +254,8 @@ const mapResize = map => {
|
|
|
253
254
|
export default {
|
|
254
255
|
name: "FlatmapVuer",
|
|
255
256
|
components: {
|
|
256
|
-
|
|
257
|
-
|
|
257
|
+
MapSvgIcon,
|
|
258
|
+
MapSvgSpriteColor,
|
|
258
259
|
Tooltip
|
|
259
260
|
},
|
|
260
261
|
beforeCreate: function() {
|
|
@@ -352,10 +353,8 @@ export default {
|
|
|
352
353
|
eventType: eventType
|
|
353
354
|
};
|
|
354
355
|
// Disable the nueron pop up for now.
|
|
355
|
-
/*
|
|
356
356
|
if (feature && feature.type !== "marker")
|
|
357
357
|
this.checkAndCreatePopups(data);
|
|
358
|
-
*/
|
|
359
358
|
this.$emit("resource-selected", data);
|
|
360
359
|
};
|
|
361
360
|
},
|
|
@@ -43,6 +43,13 @@ export default {
|
|
|
43
43
|
type: String,
|
|
44
44
|
default: ''
|
|
45
45
|
},
|
|
46
|
+
/**
|
|
47
|
+
* Specify the endpoint of the flatmap server.
|
|
48
|
+
*/
|
|
49
|
+
flatmapAPI: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: "https://mapcore-demo.org/flatmaps/"
|
|
52
|
+
}
|
|
46
53
|
},
|
|
47
54
|
watch: {
|
|
48
55
|
'featureId': function (val){
|
|
@@ -85,8 +92,9 @@ export default {
|
|
|
85
92
|
flatmapQuery: function(identifier){
|
|
86
93
|
this.pubmeds = []
|
|
87
94
|
this.loading.response = true
|
|
95
|
+
let endpoint = this.flatmapAPI + 'knowledge/query/';
|
|
88
96
|
const data = { sql: 'select publication from publications where entity=?', "params": [identifier]};
|
|
89
|
-
fetch(
|
|
97
|
+
fetch(endpoint, {
|
|
90
98
|
method: 'POST',
|
|
91
99
|
headers: {
|
|
92
100
|
'Content-Type': 'application/json',
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
<pubmed-viewer v-if="content.featureId" class="block" :featureId="content.featureId" @pubmedSearchUrl="pubmedSearchUrlUpdate"/>
|
|
12
|
+
<pubmed-viewer v-if="content.featureId" class="block" :flatmapAPI=flatmapAPI :featureId="content.featureId" @pubmedSearchUrl="pubmedSearchUrlUpdate"/>
|
|
13
13
|
<div v-if="content.components" class="block">
|
|
14
14
|
<div class="attribute-title">Components</div>
|
|
15
15
|
<span class="attribute-content">{{content.components}}</span>
|
|
@@ -71,6 +71,13 @@ export default {
|
|
|
71
71
|
content: {
|
|
72
72
|
type: Object,
|
|
73
73
|
default: undefined
|
|
74
|
+
},
|
|
75
|
+
/**
|
|
76
|
+
* Specify the endpoint of the flatmap server.
|
|
77
|
+
*/
|
|
78
|
+
flatmapAPI: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: "https://mapcore-demo.org/flatmaps/"
|
|
74
81
|
}
|
|
75
82
|
},
|
|
76
83
|
data: function() {
|