@abi-software/flatmapvuer 0.2.3-fixes-2 → 0.2.4-beta-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/dist/flatmapvuer.common.js +97 -82
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +97 -82
- 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 +102 -110
- package/package.json +2 -2
- package/src/App.vue +1 -1
- package/src/components/FlatmapVuer.vue +10 -11
- package/src/components/PubmedViewer.vue +9 -1
- package/src/components/Tooltip.vue +8 -1
package/package-lock.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-beta-0",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"@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-
|
|
21
|
+
"version": "0.1.14",
|
|
22
|
+
"resolved": "https://registry.npmjs.org/@abi-software/svg-sprite/-/svg-sprite-0.1.14.tgz",
|
|
23
|
+
"integrity": "sha512-nCIgBLfiAV8gMHD+lYCRWCT+y2GM8g/88DG8sjfu5F+wz6M82wA/Y69SVlMTJ7TQiFIlCguxYb4RltUGpo2YCg==",
|
|
24
24
|
"requires": {
|
|
25
25
|
"core-js": "^3.6.5",
|
|
26
26
|
"svg-inline-loader": "^0.8.2",
|
|
@@ -1341,65 +1341,90 @@
|
|
|
1341
1341
|
"dev": true
|
|
1342
1342
|
},
|
|
1343
1343
|
"@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-
|
|
1344
|
+
"version": "1.8.1",
|
|
1345
|
+
"resolved": "https://registry.npmjs.org/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz",
|
|
1346
|
+
"integrity": "sha512-h2ooWqP8XuFqTXT+NyAFbrArzfQA7R6HTezADrvD9Re8fxMLTPPniLdqVTdDaO0eIoLaAwKT+d6w+5GeTk7Vbg==",
|
|
1347
1347
|
"dev": true,
|
|
1348
1348
|
"requires": {
|
|
1349
|
-
"chalk": "^
|
|
1350
|
-
"error-stack-parser": "^2.0.
|
|
1351
|
-
"string-width": "^2.
|
|
1352
|
-
"strip-ansi": "^
|
|
1349
|
+
"chalk": "^3.0.0",
|
|
1350
|
+
"error-stack-parser": "^2.0.6",
|
|
1351
|
+
"string-width": "^4.2.3",
|
|
1352
|
+
"strip-ansi": "^6.0.1"
|
|
1353
1353
|
},
|
|
1354
1354
|
"dependencies": {
|
|
1355
1355
|
"ansi-regex": {
|
|
1356
|
+
"version": "5.0.1",
|
|
1357
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
1358
|
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
1359
|
+
"dev": true
|
|
1360
|
+
},
|
|
1361
|
+
"ansi-styles": {
|
|
1362
|
+
"version": "4.3.0",
|
|
1363
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
|
1364
|
+
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
|
1365
|
+
"dev": true,
|
|
1366
|
+
"requires": {
|
|
1367
|
+
"color-convert": "^2.0.1"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"chalk": {
|
|
1356
1371
|
"version": "3.0.0",
|
|
1357
|
-
"resolved": "https://registry.npmjs.org/
|
|
1358
|
-
"integrity": "
|
|
1372
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
|
1373
|
+
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
|
1374
|
+
"dev": true,
|
|
1375
|
+
"requires": {
|
|
1376
|
+
"ansi-styles": "^4.1.0",
|
|
1377
|
+
"supports-color": "^7.1.0"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"color-convert": {
|
|
1381
|
+
"version": "2.0.1",
|
|
1382
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
1383
|
+
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
|
1384
|
+
"dev": true,
|
|
1385
|
+
"requires": {
|
|
1386
|
+
"color-name": "~1.1.4"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"color-name": {
|
|
1390
|
+
"version": "1.1.4",
|
|
1391
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
|
1392
|
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
|
|
1359
1393
|
"dev": true
|
|
1360
1394
|
},
|
|
1361
|
-
"
|
|
1362
|
-
"version": "
|
|
1363
|
-
"resolved": "https://registry.npmjs.org/
|
|
1364
|
-
"integrity": "
|
|
1395
|
+
"has-flag": {
|
|
1396
|
+
"version": "4.0.0",
|
|
1397
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
|
1398
|
+
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
|
1365
1399
|
"dev": true
|
|
1366
1400
|
},
|
|
1367
1401
|
"string-width": {
|
|
1368
|
-
"version": "2.
|
|
1369
|
-
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.
|
|
1370
|
-
"integrity": "sha512-
|
|
1402
|
+
"version": "4.2.3",
|
|
1403
|
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
|
1404
|
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
|
1371
1405
|
"dev": true,
|
|
1372
1406
|
"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
|
-
}
|
|
1407
|
+
"emoji-regex": "^8.0.0",
|
|
1408
|
+
"is-fullwidth-code-point": "^3.0.0",
|
|
1409
|
+
"strip-ansi": "^6.0.1"
|
|
1386
1410
|
}
|
|
1387
1411
|
},
|
|
1388
1412
|
"strip-ansi": {
|
|
1389
|
-
"version": "
|
|
1390
|
-
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-
|
|
1391
|
-
"integrity": "sha512-
|
|
1413
|
+
"version": "6.0.1",
|
|
1414
|
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
|
1415
|
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
|
1392
1416
|
"dev": true,
|
|
1393
1417
|
"requires": {
|
|
1394
|
-
"ansi-regex": "^
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1418
|
+
"ansi-regex": "^5.0.1"
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
"supports-color": {
|
|
1422
|
+
"version": "7.2.0",
|
|
1423
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
|
1424
|
+
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
1425
|
+
"dev": true,
|
|
1426
|
+
"requires": {
|
|
1427
|
+
"has-flag": "^4.0.0"
|
|
1403
1428
|
}
|
|
1404
1429
|
}
|
|
1405
1430
|
}
|
|
@@ -6101,9 +6126,9 @@
|
|
|
6101
6126
|
}
|
|
6102
6127
|
},
|
|
6103
6128
|
"follow-redirects": {
|
|
6104
|
-
"version": "1.14.
|
|
6105
|
-
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.
|
|
6106
|
-
"integrity": "sha512
|
|
6129
|
+
"version": "1.14.7",
|
|
6130
|
+
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz",
|
|
6131
|
+
"integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==",
|
|
6107
6132
|
"dev": true
|
|
6108
6133
|
},
|
|
6109
6134
|
"for-in": {
|
|
@@ -6401,9 +6426,9 @@
|
|
|
6401
6426
|
}
|
|
6402
6427
|
},
|
|
6403
6428
|
"gl-matrix": {
|
|
6404
|
-
"version": "3.3
|
|
6405
|
-
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.3.
|
|
6406
|
-
"integrity": "sha512-
|
|
6429
|
+
"version": "3.4.3",
|
|
6430
|
+
"resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz",
|
|
6431
|
+
"integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA=="
|
|
6407
6432
|
},
|
|
6408
6433
|
"glob": {
|
|
6409
6434
|
"version": "7.1.7",
|
|
@@ -7689,9 +7714,9 @@
|
|
|
7689
7714
|
"dev": true
|
|
7690
7715
|
},
|
|
7691
7716
|
"json-schema": {
|
|
7692
|
-
"version": "0.
|
|
7693
|
-
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.
|
|
7694
|
-
"integrity": "
|
|
7717
|
+
"version": "0.4.0",
|
|
7718
|
+
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
|
|
7719
|
+
"integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==",
|
|
7695
7720
|
"dev": true
|
|
7696
7721
|
},
|
|
7697
7722
|
"json-schema-traverse": {
|
|
@@ -7735,14 +7760,14 @@
|
|
|
7735
7760
|
}
|
|
7736
7761
|
},
|
|
7737
7762
|
"jsprim": {
|
|
7738
|
-
"version": "1.4.
|
|
7739
|
-
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.
|
|
7740
|
-
"integrity": "
|
|
7763
|
+
"version": "1.4.2",
|
|
7764
|
+
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
|
|
7765
|
+
"integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
|
|
7741
7766
|
"dev": true,
|
|
7742
7767
|
"requires": {
|
|
7743
7768
|
"assert-plus": "1.0.0",
|
|
7744
7769
|
"extsprintf": "1.3.0",
|
|
7745
|
-
"json-schema": "0.
|
|
7770
|
+
"json-schema": "0.4.0",
|
|
7746
7771
|
"verror": "1.10.0"
|
|
7747
7772
|
}
|
|
7748
7773
|
},
|
|
@@ -9997,9 +10022,9 @@
|
|
|
9997
10022
|
"dev": true
|
|
9998
10023
|
},
|
|
9999
10024
|
"potpack": {
|
|
10000
|
-
"version": "1.0.
|
|
10001
|
-
"resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.
|
|
10002
|
-
"integrity": "sha512-
|
|
10025
|
+
"version": "1.0.2",
|
|
10026
|
+
"resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
|
|
10027
|
+
"integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ=="
|
|
10003
10028
|
},
|
|
10004
10029
|
"prelude-ls": {
|
|
10005
10030
|
"version": "1.1.2",
|
|
@@ -10055,9 +10080,9 @@
|
|
|
10055
10080
|
"dev": true
|
|
10056
10081
|
},
|
|
10057
10082
|
"protocol-buffers-schema": {
|
|
10058
|
-
"version": "3.
|
|
10059
|
-
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.
|
|
10060
|
-
"integrity": "sha512-
|
|
10083
|
+
"version": "3.6.0",
|
|
10084
|
+
"resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz",
|
|
10085
|
+
"integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw=="
|
|
10061
10086
|
},
|
|
10062
10087
|
"proxy-addr": {
|
|
10063
10088
|
"version": "2.0.7",
|
|
@@ -10485,9 +10510,9 @@
|
|
|
10485
10510
|
"dev": true
|
|
10486
10511
|
},
|
|
10487
10512
|
"nth-check": {
|
|
10488
|
-
"version": "2.0.
|
|
10489
|
-
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.
|
|
10490
|
-
"integrity": "sha512-
|
|
10513
|
+
"version": "2.0.1",
|
|
10514
|
+
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz",
|
|
10515
|
+
"integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==",
|
|
10491
10516
|
"dev": true,
|
|
10492
10517
|
"requires": {
|
|
10493
10518
|
"boolbase": "^1.0.0"
|
|
@@ -11752,9 +11777,9 @@
|
|
|
11752
11777
|
},
|
|
11753
11778
|
"dependencies": {
|
|
11754
11779
|
"ansi-regex": {
|
|
11755
|
-
"version": "5.0.
|
|
11756
|
-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.
|
|
11757
|
-
"integrity": "sha512-
|
|
11780
|
+
"version": "5.0.1",
|
|
11781
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
|
11782
|
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
|
11758
11783
|
"dev": true
|
|
11759
11784
|
}
|
|
11760
11785
|
}
|
|
@@ -11817,9 +11842,9 @@
|
|
|
11817
11842
|
}
|
|
11818
11843
|
},
|
|
11819
11844
|
"supercluster": {
|
|
11820
|
-
"version": "7.1.
|
|
11821
|
-
"resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.
|
|
11822
|
-
"integrity": "sha512-
|
|
11845
|
+
"version": "7.1.4",
|
|
11846
|
+
"resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.4.tgz",
|
|
11847
|
+
"integrity": "sha512-GhKkRM1jMR6WUwGPw05fs66pOFWhf59lXq+Q3J3SxPvhNcmgOtLRV6aVQPMRsmXdpaeFJGivt+t7QXUPL3ff4g==",
|
|
11823
11848
|
"requires": {
|
|
11824
11849
|
"kdbush": "^3.0.0"
|
|
11825
11850
|
}
|
|
@@ -13655,45 +13680,12 @@
|
|
|
13655
13680
|
"dev": true
|
|
13656
13681
|
},
|
|
13657
13682
|
"wide-align": {
|
|
13658
|
-
"version": "1.1.
|
|
13659
|
-
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.
|
|
13660
|
-
"integrity": "sha512-
|
|
13683
|
+
"version": "1.1.5",
|
|
13684
|
+
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
|
|
13685
|
+
"integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
|
|
13661
13686
|
"dev": true,
|
|
13662
13687
|
"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
|
-
}
|
|
13688
|
+
"string-width": "^1.0.2 || 2 || 3 || 4"
|
|
13697
13689
|
}
|
|
13698
13690
|
},
|
|
13699
13691
|
"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-1",
|
|
4
4
|
"main": "./dist/flatmapvuer.common.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@abi-software/flatmap-viewer": "^2.1.0-beta.14",
|
|
20
|
-
"@abi-software/svg-sprite": "^0.1.
|
|
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
|
},
|
|
@@ -635,7 +634,7 @@ export default {
|
|
|
635
634
|
},
|
|
636
635
|
warningMessage: {
|
|
637
636
|
type: String,
|
|
638
|
-
default: "Beta feature -
|
|
637
|
+
default: "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress."
|
|
639
638
|
},
|
|
640
639
|
/**
|
|
641
640
|
* State containing state of the flatmap.
|
|
@@ -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() {
|