@abi-software/flatmapvuer 1.5.6-beta.0 → 1.5.6-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.js +5473 -5468
- package/dist/flatmapvuer.umd.cjs +70 -68
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +1 -1
- package/src/components/FlatmapVuer.vue +7 -2
- package/src/services/flatmapQueries.js +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.5.6-beta.
|
|
3
|
+
"version": "1.5.6-beta.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"./src/*": "./src/*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@abi-software/flatmap-viewer": "3.2.
|
|
46
|
+
"@abi-software/flatmap-viewer": "^3.2.2",
|
|
47
47
|
"@abi-software/map-utilities": "^1.1.2",
|
|
48
48
|
"@abi-software/sparc-annotation": "0.3.1",
|
|
49
49
|
"@abi-software/svg-sprite": "^1.0.1",
|
package/src/App.vue
CHANGED
|
@@ -2918,12 +2918,14 @@ export default {
|
|
|
2918
2918
|
.pathway-location {
|
|
2919
2919
|
position: absolute;
|
|
2920
2920
|
bottom: 0px;
|
|
2921
|
+
left: 0px;
|
|
2922
|
+
transform: translateX(0);
|
|
2921
2923
|
transition: all var(--el-transition-duration);
|
|
2922
2924
|
&.open {
|
|
2923
|
-
|
|
2925
|
+
transform: translateX(0);
|
|
2924
2926
|
}
|
|
2925
2927
|
&.close {
|
|
2926
|
-
|
|
2928
|
+
transform: translateX(-100%);
|
|
2927
2929
|
}
|
|
2928
2930
|
}
|
|
2929
2931
|
|
|
@@ -2941,6 +2943,8 @@ export default {
|
|
|
2941
2943
|
text-align: left;
|
|
2942
2944
|
overflow: auto;
|
|
2943
2945
|
border: 1px solid rgb(220, 223, 230);
|
|
2946
|
+
border-left: 0;
|
|
2947
|
+
border-bottom: 0;
|
|
2944
2948
|
padding-bottom: 16px;
|
|
2945
2949
|
background: #ffffff;
|
|
2946
2950
|
overflow-x: hidden;
|
|
@@ -3497,6 +3501,7 @@ export default {
|
|
|
3497
3501
|
}
|
|
3498
3502
|
}
|
|
3499
3503
|
&.close {
|
|
3504
|
+
transform: translateX(22px); // button + border width
|
|
3500
3505
|
i {
|
|
3501
3506
|
transform: rotate(180deg) scaleY(2);
|
|
3502
3507
|
}
|
|
@@ -260,7 +260,6 @@ let FlatmapQueries = function () {
|
|
|
260
260
|
if (processConnectivity) {
|
|
261
261
|
this.processConnectivity(mapImp, connectivity).then((processedConnectivity) => {
|
|
262
262
|
// response.references is publication urls
|
|
263
|
-
// same data as mapImp.queryPublications(keastIds[0]) method
|
|
264
263
|
if (response.references) {
|
|
265
264
|
// with publications
|
|
266
265
|
this.getURLsForPubMed(response.references).then((urls) => {
|
|
@@ -579,8 +578,7 @@ let FlatmapQueries = function () {
|
|
|
579
578
|
const transformedIDs = pmids.join()
|
|
580
579
|
resolve([this.pubmedSearchUrl(transformedIDs)])
|
|
581
580
|
} else {
|
|
582
|
-
|
|
583
|
-
resolve(pmids)
|
|
581
|
+
resolve([])
|
|
584
582
|
}
|
|
585
583
|
})
|
|
586
584
|
})
|
|
@@ -628,7 +626,11 @@ let FlatmapQueries = function () {
|
|
|
628
626
|
if (data.values.length > 0) {
|
|
629
627
|
this.getURLsForPubMed(data.values).then((urls) => {
|
|
630
628
|
this.urls = urls
|
|
631
|
-
|
|
629
|
+
if (urls.length) {
|
|
630
|
+
resolve(true)
|
|
631
|
+
} else {
|
|
632
|
+
resolve(false)
|
|
633
|
+
}
|
|
632
634
|
})
|
|
633
635
|
.catch(() => {
|
|
634
636
|
this.urls = []
|