@abi-software/flatmapvuer 0.5.9-fccb.3 → 0.5.9

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/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.5.9-fccb.3",
3
+ "version": "0.5.9",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -10,28 +10,28 @@
10
10
  "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA=="
11
11
  },
12
12
  "@abi-software/flatmap-viewer": {
13
- "version": "2.4.2-b.4",
14
- "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.4.2-b.4.tgz",
15
- "integrity": "sha512-6fc+pVcY3mJremZtNC4y9bT3l/CXAhYkXWg7z3zW+IX9qLNLzHWmYU1XH8voJXCpr7zT+0SYVJiKaUDSYk8hZw==",
13
+ "version": "2.4.4",
14
+ "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.4.4.tgz",
15
+ "integrity": "sha512-ASvkfrxMU3LPohdwIkGZsQaBNYY9/B62WOQJ/rvKNEthnMI2sTTfRbsR3w0FEG6/eMmyke1WaIYh8lUgyQImTA==",
16
16
  "requires": {
17
17
  "@babel/runtime": "^7.10.4",
18
18
  "@fortawesome/fontawesome-free": "^6.4.0",
19
- "@turf/area": "^6.0.1",
20
- "@turf/bbox": "^6.0.1",
21
- "@turf/helpers": "^6.1.4",
19
+ "@turf/area": "^6.5.0",
20
+ "@turf/bbox": "^6.5.0",
21
+ "@turf/helpers": "^6.5.0",
22
22
  "@turf/projection": "^6.5.0",
23
23
  "bezier-js": "^6.1.0",
24
24
  "html-es6cape": "^2.0.2",
25
- "jspanel4": "^4.16.1",
26
- "maplibre-gl": ">=3.0.0",
25
+ "maplibre-gl": ">=3.6.0",
26
+ "mathjax-full": "^3.2.2",
27
27
  "minisearch": "^2.2.1",
28
28
  "polylabel": "^1.1.0"
29
29
  }
30
30
  },
31
31
  "@abi-software/sparc-annotation": {
32
- "version": "0.0.4",
33
- "resolved": "https://registry.npmjs.org/@abi-software/sparc-annotation/-/sparc-annotation-0.0.4.tgz",
34
- "integrity": "sha512-wlrC+gSfkt53w5/DrdNar4in12E1GIgp5Wxo9E0G97iDQmo51+BTnDiiP2fMnUjspZkOwTCAac6TDDDRRJE0wg==",
32
+ "version": "0.0.5",
33
+ "resolved": "https://registry.npmjs.org/@abi-software/sparc-annotation/-/sparc-annotation-0.0.5.tgz",
34
+ "integrity": "sha512-VSaH4LvTqkg+rTuP0nyIQoNAvLL3235zhNepMsNV61dE+1tl+6/iYU4j5Nqft40Q82JY/WUIEs1jaxFep0gB8Q==",
35
35
  "requires": {
36
36
  "@types/js-cookie": "^3.0.6",
37
37
  "js-cookie": "^3.0.5",
@@ -1298,9 +1298,9 @@
1298
1298
  }
1299
1299
  },
1300
1300
  "ignore": {
1301
- "version": "5.2.4",
1302
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
1303
- "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ=="
1301
+ "version": "5.3.0",
1302
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
1303
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg=="
1304
1304
  },
1305
1305
  "import-fresh": {
1306
1306
  "version": "3.3.0",
@@ -1337,9 +1337,9 @@
1337
1337
  }
1338
1338
  },
1339
1339
  "@eslint/js": {
1340
- "version": "8.53.0",
1341
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz",
1342
- "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w=="
1340
+ "version": "8.54.0",
1341
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz",
1342
+ "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ=="
1343
1343
  },
1344
1344
  "@fastify/busboy": {
1345
1345
  "version": "2.1.0",
@@ -1347,9 +1347,9 @@
1347
1347
  "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA=="
1348
1348
  },
1349
1349
  "@fortawesome/fontawesome-free": {
1350
- "version": "6.4.2",
1351
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.2.tgz",
1352
- "integrity": "sha512-m5cPn3e2+FDCOgi1mz0RexTUvvQibBebOUlUlW0+YrMjDTPkiJ6VTKukA1GRsvRw+12KyJndNjj0O4AgTxm2Pg=="
1350
+ "version": "6.5.1",
1351
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz",
1352
+ "integrity": "sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw=="
1353
1353
  },
1354
1354
  "@frogcat/ttl2jsonld": {
1355
1355
  "version": "0.0.9",
@@ -1765,9 +1765,9 @@
1765
1765
  }
1766
1766
  },
1767
1767
  "@types/geojson": {
1768
- "version": "7946.0.12",
1769
- "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.12.tgz",
1770
- "integrity": "sha512-uK2z1ZHJyC0nQRbuovXFt4mzXDwf27vQeUWNhfKGwRcWW429GOhP8HxUHlM6TLH4bzmlv/HlEjpvJh3JfmGsAA=="
1768
+ "version": "7946.0.13",
1769
+ "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.13.tgz",
1770
+ "integrity": "sha512-bmrNrgKMOhM3WsafmbGmC+6dsF2Z308vLFsQ3a/bT8X8Sv5clVYpPars/UPq+sAaJP+5OoLAYgwbkS5QEJdLUQ=="
1771
1771
  },
1772
1772
  "@types/glob": {
1773
1773
  "version": "7.2.0",
@@ -1804,14 +1804,14 @@
1804
1804
  "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
1805
1805
  },
1806
1806
  "@types/mapbox__point-geometry": {
1807
- "version": "0.1.3",
1808
- "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.3.tgz",
1809
- "integrity": "sha512-2W46IOXlu7vC8m3+M5rDqSnuY22GFxxx3xhkoyqyPWrD+eP2iAwNst0A1+umLYjCTJMJTSpiofphn9h9k+Kw+w=="
1807
+ "version": "0.1.4",
1808
+ "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz",
1809
+ "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA=="
1810
1810
  },
1811
1811
  "@types/mapbox__vector-tile": {
1812
- "version": "1.3.3",
1813
- "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.3.tgz",
1814
- "integrity": "sha512-d263B3KCQtXKVZMHpMJrEW5EeLBsQ8jvAS9nhpUKC5hHIlQaACG9PWkW8qxEeNuceo9120AwPjeS91uNa4ltqA==",
1812
+ "version": "1.3.4",
1813
+ "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz",
1814
+ "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==",
1815
1815
  "requires": {
1816
1816
  "@types/geojson": "*",
1817
1817
  "@types/mapbox__point-geometry": "*",
@@ -1849,9 +1849,9 @@
1849
1849
  "dev": true
1850
1850
  },
1851
1851
  "@types/pbf": {
1852
- "version": "3.0.4",
1853
- "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.4.tgz",
1854
- "integrity": "sha512-SOFlLGZkLbEXJRwcWCqeP/Koyaf/uAqLXHUsdo/nMfjLsNd8kqauwHe9GBOljSmpcHp/LC6kOjo3SidGjNirVA=="
1852
+ "version": "3.0.5",
1853
+ "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz",
1854
+ "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA=="
1855
1855
  },
1856
1856
  "@types/q": {
1857
1857
  "version": "1.5.5",
@@ -1888,9 +1888,9 @@
1888
1888
  "dev": true
1889
1889
  },
1890
1890
  "@types/supercluster": {
1891
- "version": "7.1.2",
1892
- "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.2.tgz",
1893
- "integrity": "sha512-qMhofL945Z4njQUuntadexAgPtpiBC014WvVqU70Prj42LC77Xgmz04us7hSMmwjs7KbgAwGBmje+FSOvDbP0Q==",
1891
+ "version": "7.1.3",
1892
+ "resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz",
1893
+ "integrity": "sha512-Z0pOY34GDFl3Q6hUFYf3HkTwKEE02e7QgtJppBt+beEAxnyOpJua+voGFvxINBHa06GwLFFym7gRPY2SiKIfIA==",
1894
1894
  "requires": {
1895
1895
  "@types/geojson": "*"
1896
1896
  }
@@ -7438,9 +7438,9 @@
7438
7438
  "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw=="
7439
7439
  },
7440
7440
  "ignore": {
7441
- "version": "5.2.4",
7442
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
7443
- "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ=="
7441
+ "version": "5.3.0",
7442
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
7443
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg=="
7444
7444
  },
7445
7445
  "lru-cache": {
7446
7446
  "version": "6.0.0",
@@ -7564,6 +7564,11 @@
7564
7564
  "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
7565
7565
  "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ=="
7566
7566
  },
7567
+ "esm": {
7568
+ "version": "3.2.25",
7569
+ "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz",
7570
+ "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA=="
7571
+ },
7567
7572
  "espree": {
7568
7573
  "version": "5.0.1",
7569
7574
  "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
@@ -10054,11 +10059,6 @@
10054
10059
  }
10055
10060
  }
10056
10061
  },
10057
- "jspanel4": {
10058
- "version": "4.16.1",
10059
- "resolved": "https://registry.npmjs.org/jspanel4/-/jspanel4-4.16.1.tgz",
10060
- "integrity": "sha512-j6Vb565tSK9pOXBN0NgORjhOKKAzsO/1VbGyz1jv7anb9gtdSwUIX6IKXTtyRd/gU9kQv3TFhYRfto5yLvGLbA=="
10061
- },
10062
10062
  "jsprim": {
10063
10063
  "version": "1.4.2",
10064
10064
  "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
@@ -10404,9 +10404,9 @@
10404
10404
  }
10405
10405
  },
10406
10406
  "maplibre-gl": {
10407
- "version": "3.5.2",
10408
- "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-3.5.2.tgz",
10409
- "integrity": "sha512-deqYA/RiEyXMGroZMDbOWNQTLnFsxREC+mDkQnuyCUNdBWm1KHafsXJYZP7rlLa5RLQNq05IAUAizY9aHTpIUw==",
10407
+ "version": "3.6.2",
10408
+ "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-3.6.2.tgz",
10409
+ "integrity": "sha512-krg2KFIdOpLPngONDhP6ixCoWl5kbdMINP0moMSJFVX7wX1Clm2M9hlNKXS8vBGlVWwR5R3ZfI6IPrYz7c+aCQ==",
10410
10410
  "requires": {
10411
10411
  "@mapbox/geojson-rewind": "^0.5.2",
10412
10412
  "@mapbox/jsonlint-lines-primitives": "^2.0.2",
@@ -10416,11 +10416,11 @@
10416
10416
  "@mapbox/vector-tile": "^1.3.1",
10417
10417
  "@mapbox/whoots-js": "^3.1.0",
10418
10418
  "@maplibre/maplibre-gl-style-spec": "^19.3.3",
10419
- "@types/geojson": "^7946.0.12",
10420
- "@types/mapbox__point-geometry": "^0.1.3",
10421
- "@types/mapbox__vector-tile": "^1.3.3",
10422
- "@types/pbf": "^3.0.4",
10423
- "@types/supercluster": "^7.1.2",
10419
+ "@types/geojson": "^7946.0.13",
10420
+ "@types/mapbox__point-geometry": "^0.1.4",
10421
+ "@types/mapbox__vector-tile": "^1.3.4",
10422
+ "@types/pbf": "^3.0.5",
10423
+ "@types/supercluster": "^7.1.3",
10424
10424
  "earcut": "^2.2.4",
10425
10425
  "geojson-vt": "^3.2.1",
10426
10426
  "gl-matrix": "^3.4.3",
@@ -10435,6 +10435,17 @@
10435
10435
  "vt-pbf": "^3.1.3"
10436
10436
  }
10437
10437
  },
10438
+ "mathjax-full": {
10439
+ "version": "3.2.2",
10440
+ "resolved": "https://registry.npmjs.org/mathjax-full/-/mathjax-full-3.2.2.tgz",
10441
+ "integrity": "sha512-+LfG9Fik+OuI8SLwsiR02IVdjcnRCy5MufYLi0C3TdMT56L/pjB0alMVGgoWJF8pN9Rc7FESycZB9BMNWIid5w==",
10442
+ "requires": {
10443
+ "esm": "^3.2.25",
10444
+ "mhchemparser": "^4.1.0",
10445
+ "mj-context-menu": "^0.6.1",
10446
+ "speech-rule-engine": "^4.0.6"
10447
+ }
10448
+ },
10438
10449
  "md5.js": {
10439
10450
  "version": "1.3.5",
10440
10451
  "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
@@ -10519,6 +10530,11 @@
10519
10530
  "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
10520
10531
  "dev": true
10521
10532
  },
10533
+ "mhchemparser": {
10534
+ "version": "4.2.1",
10535
+ "resolved": "https://registry.npmjs.org/mhchemparser/-/mhchemparser-4.2.1.tgz",
10536
+ "integrity": "sha512-kYmyrCirqJf3zZ9t/0wGgRZ4/ZJw//VwaRVGA75C4nhE60vtnIzhl9J9ndkX/h6hxSN7pjg/cE0VxbnNM+bnDQ=="
10537
+ },
10522
10538
  "micromatch": {
10523
10539
  "version": "3.1.10",
10524
10540
  "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -10708,6 +10724,11 @@
10708
10724
  }
10709
10725
  }
10710
10726
  },
10727
+ "mj-context-menu": {
10728
+ "version": "0.6.1",
10729
+ "resolved": "https://registry.npmjs.org/mj-context-menu/-/mj-context-menu-0.6.1.tgz",
10730
+ "integrity": "sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA=="
10731
+ },
10711
10732
  "mkdirp": {
10712
10733
  "version": "0.5.6",
10713
10734
  "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
@@ -13763,9 +13784,9 @@
13763
13784
  }
13764
13785
  },
13765
13786
  "rdflib": {
13766
- "version": "2.2.32",
13767
- "resolved": "https://registry.npmjs.org/rdflib/-/rdflib-2.2.32.tgz",
13768
- "integrity": "sha512-JMQ0fPMkgTjpP6AaQK1bMZtgG3Q1FauKdefAtROXVMCfm3JggoHbAn4HwzypajtskN2xyhbePt9SJXxYspUMWw==",
13787
+ "version": "2.2.33",
13788
+ "resolved": "https://registry.npmjs.org/rdflib/-/rdflib-2.2.33.tgz",
13789
+ "integrity": "sha512-5OwoVbjY8CutaSJ7FLx2PhaMTpYX6y2bhDPijLkMESXncDi/eZ+53NH2+FrOWTltSMo3e27VYpiGPh3qhofWrA==",
13769
13790
  "requires": {
13770
13791
  "@babel/runtime": "^7.21.0",
13771
13792
  "@frogcat/ttl2jsonld": "^0.0.9",
@@ -13777,9 +13798,9 @@
13777
13798
  },
13778
13799
  "dependencies": {
13779
13800
  "@babel/runtime": {
13780
- "version": "7.23.2",
13781
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz",
13782
- "integrity": "sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==",
13801
+ "version": "7.23.5",
13802
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz",
13803
+ "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==",
13783
13804
  "requires": {
13784
13805
  "regenerator-runtime": "^0.14.0"
13785
13806
  }
@@ -15450,6 +15471,23 @@
15450
15471
  }
15451
15472
  }
15452
15473
  },
15474
+ "speech-rule-engine": {
15475
+ "version": "4.0.7",
15476
+ "resolved": "https://registry.npmjs.org/speech-rule-engine/-/speech-rule-engine-4.0.7.tgz",
15477
+ "integrity": "sha512-sJrL3/wHzNwJRLBdf6CjJWIlxC04iYKkyXvYSVsWVOiC2DSkHmxsqOhEeMsBA9XK+CHuNcsdkbFDnoUfAsmp9g==",
15478
+ "requires": {
15479
+ "commander": "9.2.0",
15480
+ "wicked-good-xpath": "1.3.0",
15481
+ "xmldom-sre": "0.1.31"
15482
+ },
15483
+ "dependencies": {
15484
+ "commander": {
15485
+ "version": "9.2.0",
15486
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.2.0.tgz",
15487
+ "integrity": "sha512-e2i4wANQiSXgnrBlIatyHtP1odfUp0BbV5Y5nEGbxtIrStkEOAAzCUirvLBNXHLr7kwLvJl6V+4V3XV9x7Wd9w=="
15488
+ }
15489
+ }
15490
+ },
15453
15491
  "split-string": {
15454
15492
  "version": "3.1.0",
15455
15493
  "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
@@ -15574,14 +15612,14 @@
15574
15612
  "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
15575
15613
  },
15576
15614
  "eslint": {
15577
- "version": "8.53.0",
15578
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz",
15579
- "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==",
15615
+ "version": "8.54.0",
15616
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz",
15617
+ "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==",
15580
15618
  "requires": {
15581
15619
  "@eslint-community/eslint-utils": "^4.2.0",
15582
15620
  "@eslint-community/regexpp": "^4.6.1",
15583
15621
  "@eslint/eslintrc": "^2.1.3",
15584
- "@eslint/js": "8.53.0",
15622
+ "@eslint/js": "8.54.0",
15585
15623
  "@humanwhocodes/config-array": "^0.11.13",
15586
15624
  "@humanwhocodes/module-importer": "^1.0.1",
15587
15625
  "@nodelib/fs.walk": "^1.2.8",
@@ -15709,9 +15747,9 @@
15709
15747
  "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
15710
15748
  },
15711
15749
  "ignore": {
15712
- "version": "5.2.4",
15713
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
15714
- "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ=="
15750
+ "version": "5.3.0",
15751
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
15752
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg=="
15715
15753
  },
15716
15754
  "is-path-inside": {
15717
15755
  "version": "3.0.3",
@@ -16998,9 +17036,9 @@
16998
17036
  }
16999
17037
  },
17000
17038
  "undici": {
17001
- "version": "5.27.2",
17002
- "resolved": "https://registry.npmjs.org/undici/-/undici-5.27.2.tgz",
17003
- "integrity": "sha512-iS857PdOEy/y3wlM3yRp+6SNQQ6xU0mmZcwRSriqk+et/cwWAtwmIGf6WkoDN2EK/AMdCO/dfXzIwi+rFMrjjQ==",
17039
+ "version": "5.28.1",
17040
+ "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.1.tgz",
17041
+ "integrity": "sha512-xcIIvj1LOQH9zAL54iWFkuDEaIVEjLrru7qRpa3GrEEHk6OBhb/LycuUY2m7VCcTuDeLziXCxobQVyKExyGeIA==",
17004
17042
  "requires": {
17005
17043
  "@fastify/busboy": "^2.0.0"
17006
17044
  }
@@ -18195,6 +18233,11 @@
18195
18233
  }
18196
18234
  }
18197
18235
  },
18236
+ "wicked-good-xpath": {
18237
+ "version": "1.3.0",
18238
+ "resolved": "https://registry.npmjs.org/wicked-good-xpath/-/wicked-good-xpath-1.3.0.tgz",
18239
+ "integrity": "sha512-Gd9+TUn5nXdwj/hFsPVx5cuHHiF5Bwuc30jZ4+ronF1qHK5O7HD0sgmXWSEgwKquT3ClLoKPVbO6qGwVwLzvAw=="
18240
+ },
18198
18241
  "wide-align": {
18199
18242
  "version": "1.1.5",
18200
18243
  "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
@@ -18290,6 +18333,11 @@
18290
18333
  "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz",
18291
18334
  "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q=="
18292
18335
  },
18336
+ "xmldom-sre": {
18337
+ "version": "0.1.31",
18338
+ "resolved": "https://registry.npmjs.org/xmldom-sre/-/xmldom-sre-0.1.31.tgz",
18339
+ "integrity": "sha512-f9s+fUkX04BxQf+7mMWAp5zk61pciie+fFLC9hX9UVvCeJQfNHRHXpeo5MPcR0EUf57PYLdt+ZO4f3Ipk2oZUw=="
18340
+ },
18293
18341
  "xtend": {
18294
18342
  "version": "4.0.2",
18295
18343
  "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.5.9-fccb.3",
3
+ "version": "0.5.9",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/flatmapvuer.common.js",
6
6
  "files": [
@@ -27,8 +27,8 @@
27
27
  "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
28
28
  },
29
29
  "dependencies": {
30
- "@abi-software/flatmap-viewer": "^2.4.2-b.4",
31
- "@abi-software/sparc-annotation": "0.0.4",
30
+ "@abi-software/flatmap-viewer": "^2.4.3",
31
+ "@abi-software/sparc-annotation": "0.0.5",
32
32
  "@abi-software/svg-sprite": "^0.3.0",
33
33
  "core-js": "^3.3.2",
34
34
  "css-element-queries": "^1.2.2",
@@ -29,7 +29,7 @@
29
29
  </el-row>
30
30
  <div class="entry" v-for="(sub, index) in prevSubs" :key="index">
31
31
  <el-row class="dialog-text">
32
- <strong>{{ formatTime(sub.created) }}</strong> Anonymous
32
+ <strong>{{ formatTime(sub.created) }}</strong> {{ sub.creator.name }}
33
33
  </el-row>
34
34
  <el-row class="dialog-text">
35
35
  <strong>Evidence: </strong>
@@ -43,9 +43,9 @@
43
43
  </div>
44
44
  </template>
45
45
  </template>
46
- <el-row class="dialog-spacer"></el-row>
47
46
  <template v-if="authenticated">
48
47
  <template v-if="isEditable">
48
+ <el-row class="dialog-spacer"></el-row>
49
49
  <el-row v-if="!editing">
50
50
  <i
51
51
  class="el-icon-edit standard-icon"
@@ -115,12 +115,12 @@
115
115
  </el-button>
116
116
  </el-row>
117
117
  </template>
118
+ <el-row class="dialog-text" v-if="errorMessage">
119
+ <strong class="sub-title"> {{ errorMessage }}
120
+ </strong>
121
+ </el-row>
118
122
  </template>
119
123
  </template>
120
- <el-row class="dialog-text" v-if="errorMessage">
121
- <strong class="sub-title"> {{ errorMessage }}
122
- </strong>
123
- </el-row>
124
124
  </template>
125
125
  </div>
126
126
  </el-main>
@@ -131,7 +131,7 @@
131
131
  /* eslint-disable no-alert, no-console */
132
132
  /* eslint-disable no-alert, no-console */
133
133
  import Vue from "vue";
134
- //import { AnnotationService } from "@abi-software/sparc-annotation";
134
+ import { AnnotationService } from "@abi-software/sparc-annotation";
135
135
  import { Button, Col, Input, Main, Row, Select } from "element-ui";
136
136
  import lang from "element-ui/lib/locale/lang/en";
137
137
  import locale from "element-ui/lib/locale";
@@ -171,24 +171,12 @@ export default {
171
171
  authenticated: false,
172
172
  newEvidence: '',
173
173
  comment: '',
174
- //prevSubs: [ ],
174
+ prevSubs: [ ],
175
175
  showSubmissions: true,
176
176
  errorMessage: "",
177
- submissions: [ ],
178
177
  }
179
178
  },
180
179
  computed: {
181
- prevSubs: function() {
182
- return this.submissions.filter(sub => {
183
- if (this.annotationEntry) {
184
- if (sub.resource === this.annotationEntry.resourceId &&
185
- sub.item === this.annotationEntry.featureId) {
186
- return true;
187
- }
188
- }
189
- return false;
190
- });
191
- },
192
180
  isEditable: function() {
193
181
  return this.annotationEntry['resourceId'] && this.annotationEntry['featureId'];
194
182
  },
@@ -206,7 +194,7 @@ export default {
206
194
  return new Date(dateString).toLocaleDateString(undefined, options);
207
195
  },
208
196
  updatePrevSubmissions: function() {
209
- if (this.$annotator) {
197
+ if (this.$annotator && this.authenticated) {
210
198
  if (this.annotationEntry['resourceId'] &&
211
199
  this.annotationEntry['featureId']) {
212
200
  this.$annotator.itemAnnotations(this.annotationEntry['resourceId'],
@@ -221,7 +209,6 @@ export default {
221
209
  },
222
210
  submit: function() {
223
211
  if ((this.evidence.length > 0) || this.comment) {
224
- const now = new Date();
225
212
  if (this.annotationEntry['resourceId'] &&
226
213
  this.annotationEntry['featureId']) {
227
214
  const evidenceURLs = [];
@@ -231,7 +218,7 @@ export default {
231
218
  evidenceURLs.push(new URL(link));
232
219
  } else if (evidence.includes("PMID:")) {
233
220
  const link = evidence.replace("PMID:", "https://pubmed.ncbi.nlm.nih.gov/");
234
- evidenceURLs.push(link);
221
+ evidenceURLs.push(new URL(link));
235
222
  }
236
223
  });
237
224
  const userAnnotation = {
@@ -239,11 +226,7 @@ export default {
239
226
  item: this.annotationEntry['featureId'],
240
227
  evidence: evidenceURLs,
241
228
  comment: this.comment,
242
- created: now,
243
229
  }
244
- this.submissions.push(userAnnotation);
245
- this.resetSubmission();
246
- /*
247
230
  this.$annotator.addAnnotation(userAnnotation).then(() => {
248
231
  this.errorMessage = "";
249
232
  this.resetSubmission();
@@ -252,7 +235,6 @@ export default {
252
235
  .catch(() => {
253
236
  this.errorMessage = "There is a problem with the submission, please try again later";
254
237
  });
255
- */
256
238
  }
257
239
  }
258
240
  },
@@ -270,15 +252,13 @@ export default {
270
252
  annotationEntry: {
271
253
  handler: function() {
272
254
  this.resetSubmission();
273
- //this.updatePrevSubmissions();
255
+ this.updatePrevSubmissions();
274
256
  },
275
257
  immediate: false,
276
258
  deep: false,
277
259
  }
278
260
  },
279
261
  mounted: function() {
280
- this.authenticated = true;
281
- /*
282
262
  if (!this.$annotator) {
283
263
  Vue.prototype.$annotator = new AnnotationService(
284
264
  `${this.flatmapAPI}annotator`);
@@ -286,11 +266,11 @@ export default {
286
266
  this.$annotator.authenticate().then((userData) => {
287
267
  if (userData.name && userData.email) {
288
268
  this.authenticated = true;
269
+ this.updatePrevSubmissions();
289
270
  } else {
290
- this.errorMessage = "You cannot view some of the information as you are not logged in or without the correct permission."
271
+ this.errorMessage = "";
291
272
  }
292
273
  })
293
- */
294
274
  }
295
275
  };
296
276
  </script>
@@ -197,6 +197,19 @@
197
197
  v-popover:checkBoxPopover
198
198
  >
199
199
  <svg-legends v-if="!isFC" class="svg-legends-container" />
200
+ <el-popover
201
+ content="Location of the featured dataset"
202
+ placement="right"
203
+ :appendToBody="false"
204
+ trigger="hover"
205
+ popper-class="flatmap-popper popper-bump-right right-popper"
206
+ v-model="hoverVisibilities[9].value"
207
+ ref="featuredMarkerPopover"
208
+ >
209
+ </el-popover>
210
+ <div v-show="showStarInLegend" v-popover:featuredMarkerPopover class="yellow-star-legend" v-html="yellowstar"></div>
211
+ <!-- The line below places the yellowstar svg on the left, and the text "Featured markers on the right" with css so they are both centered in the div -->
212
+
200
213
  <el-popover
201
214
  content="Find these markers for data"
202
215
  placement="right"
@@ -418,8 +431,6 @@
418
431
  ref="tooltip"
419
432
  class="tooltip"
420
433
  :annotationEntry="annotationEntry"
421
- @highlightConnectedPaths="highlightConnectedPaths"
422
- @onClose="closeTooltip"
423
434
  :entry="tooltipEntry"
424
435
  :annotationDisplay="viewingMode === 'Annotation'"
425
436
  />
@@ -447,10 +458,8 @@ import {
447
458
  import lang from "element-ui/lib/locale/lang/en";
448
459
  import locale from "element-ui/lib/locale";
449
460
  import flatmapMarker from "../icons/flatmap-marker";
450
- import {
451
- FlatmapQueries,
452
- findTaxonomyLabel,
453
- } from "../services/flatmapQueries.js";
461
+ import {FlatmapQueries, findTaxonomyLabel} from "../services/flatmapQueries.js";
462
+ import yellowstar from "../icons/yellowstar";
454
463
 
455
464
  locale.use(lang);
456
465
  Vue.use(Button);
@@ -1221,6 +1230,10 @@ export default {
1221
1230
  ];
1222
1231
  },
1223
1232
  },
1233
+ showStarInLegend: {
1234
+ type: Boolean,
1235
+ default: false
1236
+ },
1224
1237
  isLegacy: {
1225
1238
  type: Boolean,
1226
1239
  default: false,
@@ -1291,7 +1304,9 @@ export default {
1291
1304
  { value: false },
1292
1305
  { value: false },
1293
1306
  { value: false },
1307
+ { value: false },
1294
1308
  ],
1309
+ yellowstar: yellowstar,
1295
1310
  isFC: false,
1296
1311
  inHelp: false,
1297
1312
  currentBackground: "white",
@@ -1606,6 +1621,11 @@ export default {
1606
1621
  padding-left: 8px;
1607
1622
  }
1608
1623
 
1624
+ .yellow-star-legend {
1625
+ width: 130px;
1626
+ cursor: pointer;
1627
+ }
1628
+
1609
1629
  .settings-group {
1610
1630
  bottom: 16px;
1611
1631
  position: absolute;
@@ -53,6 +53,7 @@
53
53
  :helpMode="helpMode"
54
54
  :renderAtMounted="renderAtMounted"
55
55
  :displayMinimap="displayMinimap"
56
+ :showStarInLegend="showStarInLegend"
56
57
  style="height:100%"
57
58
  :flatmapAPI="flatmapAPI"
58
59
  :sparcAPI="sparcAPI"
@@ -386,6 +387,10 @@ export default {
386
387
  type: Boolean,
387
388
  default: false
388
389
  },
390
+ showStarInLegend: {
391
+ type: Boolean,
392
+ default: false
393
+ },
389
394
  /**
390
395
  * Flag to determine rather open map UI should be
391
396
  * presented or not.
@@ -5,9 +5,6 @@
5
5
  <div v-if="entry.provenanceTaxonomyLabel && entry.provenanceTaxonomyLabel.length > 0" class="subtitle">
6
6
  {{provSpeciesDescription}}
7
7
  </div>
8
- <el-button @click="showConnectedPaths">
9
- Show connected paths
10
- </el-button>
11
8
  </div>
12
9
  <div class="block" v-else>
13
10
  <span class="title">{{entry.featureId}}</span>
@@ -182,16 +179,9 @@ export default {
182
179
  titleCase: function(title){
183
180
  return titleCase(title)
184
181
  },
185
- showConnectedPaths(){
186
- this.$emit('highlightConnectedPaths', this.entry.featureId)
187
- this.$emit('onClose')
188
- },
189
182
  capitalise: function(text){
190
183
  return capitalise(text)
191
184
  },
192
- onClose: function() {
193
- this.$emit("onClose")
194
- },
195
185
  openUrl: function(url){
196
186
  window.open(url, '_blank')
197
187
  },