@abi-software/mapintegratedvuer 1.2.0-beta.0 → 1.2.0-beta.3
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/{ContentMixin-Chn7-LkR.js → ContentMixin-BF1AsL73.js} +53 -51
- package/dist/{Flatmap-BYa1gZkN.js → Flatmap-B7E6CJXk.js} +8 -8
- package/dist/{Iframe-D4Wz_j32.js → Iframe-CuAgkNdL.js} +2 -2
- package/dist/{MultiFlatmap-C7LuHtEN.js → MultiFlatmap-DBSNZ825.js} +15 -13
- package/dist/{Plot-CI9rJRr9.js → Plot-BZRoihTL.js} +2 -2
- package/dist/{Scaffold-J3mYovrG.js → Scaffold-DI8TuMaq.js} +6339 -6344
- package/dist/{Simulation-B1pfz5o9.js → Simulation-BwirbTjC.js} +2 -2
- package/dist/{flatmapvuer-C31TbLvT.js → flatmapvuer-CWBQT6qg.js} +30117 -29577
- package/dist/{index-CB15HPC-.js → index-BVYbfsK6.js} +3105 -3110
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +517 -517
- package/dist/style-D3tYXMtJ.js +53 -0
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/components/SplitFlow.vue +5 -1
- package/src/components/viewers/MultiFlatmap.vue +6 -1
- package/src/components/viewers/Scaffold.vue +5 -1
- package/src/mixins/ContentMixin.js +6 -1
- package/src/mixins/DynamicMarkerMixin.js +9 -1
- package/src/stores/settings.js +5 -3
- package/dist/style-8EUTEKFl.js +0 -51
@@ -1,5 +1,5 @@
|
|
1
|
-
import { u as
|
2
|
-
import { mapStores as
|
1
|
+
import { u as w, b as N, E as m, T as E } from "./index-BVYbfsK6.js";
|
2
|
+
import { mapStores as b } from "pinia";
|
3
3
|
const u = [
|
4
4
|
{
|
5
5
|
id: "ilxtr:neuron-type-keast-13",
|
@@ -238,7 +238,7 @@ function p(t, a, n, s, i) {
|
|
238
238
|
e.actions = [];
|
239
239
|
return e;
|
240
240
|
}
|
241
|
-
function
|
241
|
+
function S(t, a, n, s, i) {
|
242
242
|
if (t || a) {
|
243
243
|
let e = {};
|
244
244
|
switch (t) {
|
@@ -306,7 +306,7 @@ function N(t, a, n, s, i) {
|
|
306
306
|
return e;
|
307
307
|
}
|
308
308
|
}
|
309
|
-
function
|
309
|
+
function k(t, a, n, s, i) {
|
310
310
|
if (t || a) {
|
311
311
|
let e = {};
|
312
312
|
switch (t) {
|
@@ -444,7 +444,7 @@ function E(t, a, n, s, i) {
|
|
444
444
|
return e;
|
445
445
|
}
|
446
446
|
}
|
447
|
-
function
|
447
|
+
function v(t, a, n, s, i) {
|
448
448
|
if (t || a) {
|
449
449
|
let e = {};
|
450
450
|
switch (t) {
|
@@ -497,7 +497,7 @@ function b(t, a, n, s, i) {
|
|
497
497
|
return e;
|
498
498
|
}
|
499
499
|
}
|
500
|
-
function
|
500
|
+
function R(t, a, n, s, i) {
|
501
501
|
if (t || a) {
|
502
502
|
let e = {};
|
503
503
|
switch (t) {
|
@@ -555,21 +555,21 @@ function S(t, a, n, s, i) {
|
|
555
555
|
return e;
|
556
556
|
}
|
557
557
|
}
|
558
|
-
function
|
558
|
+
function L(t, a, n, s, i, e) {
|
559
559
|
switch (a) {
|
560
560
|
case "NCBITaxon:9606":
|
561
|
-
return N(t, n, s, i, e);
|
562
|
-
case "NCBITaxon:9823":
|
563
561
|
return S(t, n, s, i, e);
|
562
|
+
case "NCBITaxon:9823":
|
563
|
+
return R(t, n, s, i, e);
|
564
564
|
case "NCBITaxon:10090":
|
565
|
-
return
|
565
|
+
return v(t, n, s, i, e);
|
566
566
|
case "NCBITaxon:10114":
|
567
|
-
return
|
567
|
+
return k(t, n, s, i, e);
|
568
568
|
default:
|
569
569
|
return p(t, a, n, s, i);
|
570
570
|
}
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function B() {
|
573
573
|
return [
|
574
574
|
{ id: "UBERON:0000948", name: "Heart", type: "simulation" },
|
575
575
|
{ id: "UBERON:0001156", name: "Colon", type: "simulation" },
|
@@ -580,10 +580,10 @@ function v() {
|
|
580
580
|
{ id: "UBERON:0002107", name: "Liver", type: "simulation" }
|
581
581
|
];
|
582
582
|
}
|
583
|
-
function
|
584
|
-
return
|
583
|
+
function U() {
|
584
|
+
return B();
|
585
585
|
}
|
586
|
-
function
|
586
|
+
function _(t) {
|
587
587
|
if (t)
|
588
588
|
for (let a = 0; a < u.length; a++) {
|
589
589
|
if (u[a].id == t)
|
@@ -593,7 +593,7 @@ function h(t) {
|
|
593
593
|
}
|
594
594
|
return [];
|
595
595
|
}
|
596
|
-
function
|
596
|
+
function A(t) {
|
597
597
|
if (t) {
|
598
598
|
const a = t.toLowerCase();
|
599
599
|
if (a.includes("heart"))
|
@@ -608,20 +608,20 @@ function L(t) {
|
|
608
608
|
return { id: "UBERON:0001255", name: "Bladder" };
|
609
609
|
}
|
610
610
|
}
|
611
|
-
function
|
611
|
+
function O(t, a) {
|
612
612
|
if (t && t.resource) {
|
613
613
|
let n = t.resource;
|
614
614
|
Array.isArray(n) && n[0] && (n = n[0]);
|
615
|
-
let s, i, e, o,
|
616
|
-
if (n.data && n.data.id ? (s = n.data.id, i = n.data.id) : n.feature && (s = n.feature.models, i = n.feature.label, e = n.feature.dataset, o = n.feature.scaffold,
|
617
|
-
let
|
618
|
-
if (
|
619
|
-
return
|
615
|
+
let s, i, e, o, l, c = n.taxonomy;
|
616
|
+
if (n.data && n.data.id ? (s = n.data.id, i = n.data.id) : n.feature && (s = n.feature.models, i = n.feature.label, e = n.feature.dataset, o = n.feature.scaffold, l = n.feature.simulations), s || i) {
|
617
|
+
let d = L(s, c, i, e, o, l);
|
618
|
+
if (d && d.actions)
|
619
|
+
return d.actions[a];
|
620
620
|
}
|
621
621
|
}
|
622
622
|
}
|
623
|
-
let
|
624
|
-
const
|
623
|
+
let h = 7, r = 5;
|
624
|
+
const T = [
|
625
625
|
{
|
626
626
|
id: "UBERON:0000948",
|
627
627
|
name: "heart",
|
@@ -796,7 +796,7 @@ const U = [
|
|
796
796
|
{
|
797
797
|
id: "UBERON:0001736",
|
798
798
|
name: "Submandibular gland",
|
799
|
-
showAtZoom:
|
799
|
+
showAtZoom: h,
|
800
800
|
keyword: !0
|
801
801
|
},
|
802
802
|
{
|
@@ -820,7 +820,7 @@ const U = [
|
|
820
820
|
{
|
821
821
|
id: "UBERON:0003708",
|
822
822
|
name: "Carotid sinus",
|
823
|
-
showAtZoom:
|
823
|
+
showAtZoom: h,
|
824
824
|
keyword: !0
|
825
825
|
},
|
826
826
|
{
|
@@ -832,7 +832,7 @@ const U = [
|
|
832
832
|
{
|
833
833
|
id: "ILX:0485722",
|
834
834
|
name: "Nodose ganglion",
|
835
|
-
showAtZoom:
|
835
|
+
showAtZoom: h,
|
836
836
|
keyword: !0
|
837
837
|
},
|
838
838
|
{
|
@@ -872,10 +872,10 @@ const U = [
|
|
872
872
|
keyword: !0
|
873
873
|
}
|
874
874
|
];
|
875
|
-
function
|
875
|
+
function C(t) {
|
876
876
|
return t[0].toUpperCase() + t.substring(1);
|
877
877
|
}
|
878
|
-
const
|
878
|
+
const I = {
|
879
879
|
emits: ["flatmap-provenance-ready", "resource-selected", "species-changed"],
|
880
880
|
props: {
|
881
881
|
/**
|
@@ -893,7 +893,7 @@ const C = {
|
|
893
893
|
}
|
894
894
|
},
|
895
895
|
computed: {
|
896
|
-
...w
|
896
|
+
...b(w, N),
|
897
897
|
syncMode() {
|
898
898
|
return this.splitFlowStore.syncMode;
|
899
899
|
},
|
@@ -902,7 +902,7 @@ const C = {
|
|
902
902
|
}
|
903
903
|
},
|
904
904
|
mounted: function() {
|
905
|
-
|
905
|
+
m.on("startHelp", () => {
|
906
906
|
this.startHelp();
|
907
907
|
}), this.multiflatmapRef = this.$refs.multiflatmap, this.flatmapRef = this.$refs.flatmap, this.scaffoldRef = this.$refs.scaffold;
|
908
908
|
},
|
@@ -912,10 +912,10 @@ const C = {
|
|
912
912
|
getState: function() {
|
913
913
|
},
|
914
914
|
openMap: function(t) {
|
915
|
-
t === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (
|
915
|
+
t === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (m.emit("OpenNewMap", t), this.trackOpenMap(`open_new_${t}_map`));
|
916
916
|
},
|
917
917
|
trackOpenMap: function(t) {
|
918
|
-
|
918
|
+
E.sendEvent({
|
919
919
|
event: "interaction_event",
|
920
920
|
event_name: "portal_maps_open_map",
|
921
921
|
category: t,
|
@@ -939,8 +939,9 @@ const C = {
|
|
939
939
|
* Callback when the vuers emit a selected event.
|
940
940
|
*/
|
941
941
|
resourceSelected: function(t, a, n) {
|
942
|
+
var l, c, d;
|
942
943
|
if (this.resourceHasAction(a)) {
|
943
|
-
|
944
|
+
m.emit("PopoverActionClick", a);
|
944
945
|
return;
|
945
946
|
}
|
946
947
|
let s, i = "none", e = !1;
|
@@ -954,8 +955,8 @@ const C = {
|
|
954
955
|
if (t == "MultiFlatmap" || t == "Flatmap")
|
955
956
|
if (o.internalName = this.idNamePair[a.feature.models], a.eventType == "click")
|
956
957
|
if (o.eventType = "selected", a.feature.type == "marker") {
|
957
|
-
let
|
958
|
-
(
|
958
|
+
let y = this.idNamePair[a.feature.models], g = T.filter(
|
959
|
+
(f) => f.id === a.feature.models
|
959
960
|
);
|
960
961
|
this.settingsStore.isFeaturedMarkerIdentifier(
|
961
962
|
a.feature.id
|
@@ -965,12 +966,12 @@ const C = {
|
|
965
966
|
a.feature.id
|
966
967
|
),
|
967
968
|
featuredDataset: !0
|
968
|
-
} :
|
969
|
+
} : g.filter((f) => f.keyword).length > 0 ? s = {
|
969
970
|
type: "Search",
|
970
971
|
term: "http://purl.obolibrary.org/obo/" + a.feature.models.replace(":", "_")
|
971
972
|
} : s = {
|
972
973
|
type: "Facet",
|
973
|
-
facet:
|
974
|
+
facet: y,
|
974
975
|
facetPropPath: "anatomy.organ.category.name",
|
975
976
|
term: "Anatomical structure"
|
976
977
|
}, e = !0, t == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
|
@@ -979,13 +980,13 @@ const C = {
|
|
979
980
|
else
|
980
981
|
a.eventType == "mouseenter" && (o.eventType = "highlighted", e = !0);
|
981
982
|
else
|
982
|
-
t == "Scaffold" && (a && a[0] && (o.internalName = a[0].data.id, a[0].data.lastActionOnMarker === !0 && (s = {
|
983
|
+
t == "Scaffold" && (a && a[0] && ((((l = a[0].data) == null ? void 0 : l.id) === void 0 || ((c = a[0].data) == null ? void 0 : c.id) === "") && (a[0].data.id = (d = a[0].data) == null ? void 0 : d.group), o.internalName = a[0].data.id, a[0].data.lastActionOnMarker === !0 && (s = {
|
983
984
|
type: "Facet",
|
984
|
-
facet:
|
985
|
+
facet: C(a[0].data.id),
|
985
986
|
facetPropPath: "anatomy.organ.category.name",
|
986
987
|
term: "Anatomical structure"
|
987
988
|
})), o.eventType = "selected", e = !0, i = "search");
|
988
|
-
s === void 0 && n && (s =
|
989
|
+
s === void 0 && n && (s = O(o, i)), s && m.emit("PopoverActionClick", s), e && this.$emit("resource-selected", o);
|
989
990
|
},
|
990
991
|
resourceHasAction: function(t) {
|
991
992
|
return t.type === "URL" || t.type === "Search" || t.type === "Neuron Search" || t.type == "Facet" || t.type == "Facets";
|
@@ -1010,11 +1011,11 @@ const C = {
|
|
1010
1011
|
if (t.resource && t.resource.resource && (n = t.resource.resource[0]), this.entry.type === "Scaffold") {
|
1011
1012
|
if (this.$refs.scaffold.findObjectsWithGroupName(a).length === 0) {
|
1012
1013
|
if (t.resource && t.resource.feature) {
|
1013
|
-
const e =
|
1014
|
+
const e = _(t.resource.feature.models);
|
1014
1015
|
if (e.length > 0)
|
1015
1016
|
return e;
|
1016
1017
|
}
|
1017
|
-
let i =
|
1018
|
+
let i = A(a);
|
1018
1019
|
if (i)
|
1019
1020
|
return i;
|
1020
1021
|
if (n && t.eventType === "selected")
|
@@ -1027,11 +1028,12 @@ const C = {
|
|
1027
1028
|
if (a === "Bladder")
|
1028
1029
|
a = "Urinary Bladder";
|
1029
1030
|
else {
|
1030
|
-
const s =
|
1031
|
+
const s = _(a);
|
1031
1032
|
s.length > 0 && (a = s[0]);
|
1032
1033
|
}
|
1033
1034
|
return { id: n, name: a };
|
1034
1035
|
},
|
1036
|
+
// Get the species and andaotmy info for the featured datasets
|
1035
1037
|
getDatasetAnatomyInfo: function(t) {
|
1036
1038
|
fetch(`${this.apiLocation}dataset_info/anatomy?identifier=${t}`).then((a) => a.json()).then((a) => {
|
1037
1039
|
const n = a.result[0];
|
@@ -1049,15 +1051,15 @@ const C = {
|
|
1049
1051
|
}
|
1050
1052
|
let e;
|
1051
1053
|
try {
|
1052
|
-
let o = 0,
|
1053
|
-
for (; !
|
1054
|
-
const
|
1055
|
-
|
1054
|
+
let o = 0, l = !1;
|
1055
|
+
for (; !l && o < n.organisms.subject.length; ) {
|
1056
|
+
const c = n.organisms.subject[o];
|
1057
|
+
c.species && (e = c.species.name, l = !0), o += 1;
|
1056
1058
|
}
|
1057
1059
|
} catch {
|
1058
1060
|
e = void 0;
|
1059
1061
|
}
|
1060
|
-
this.
|
1062
|
+
this.settingsStore.updateFeaturedMarker({
|
1061
1063
|
identifier: t,
|
1062
1064
|
marker: s,
|
1063
1065
|
doi: i,
|
@@ -1114,7 +1116,7 @@ const C = {
|
|
1114
1116
|
requestSynchronisedEvent: function() {
|
1115
1117
|
},
|
1116
1118
|
getAvailableTerms: function() {
|
1117
|
-
let t =
|
1119
|
+
let t = U();
|
1118
1120
|
for (let a = 0; a < t.length; a++)
|
1119
1121
|
this.idNamePair[t[a].id] = t[a].name;
|
1120
1122
|
if (this.apiLocation) {
|
@@ -1194,5 +1196,5 @@ const C = {
|
|
1194
1196
|
}
|
1195
1197
|
};
|
1196
1198
|
export {
|
1197
|
-
C
|
1199
|
+
I as C
|
1198
1200
|
};
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
import { _ as u, t as M, T as s, E as i } from "./index-
|
3
|
-
import { C as g } from "./ContentMixin-
|
4
|
-
import { D as I } from "./style-
|
1
|
+
import { $ as h, j as c } from "./flatmapvuer-CWBQT6qg.js";
|
2
|
+
import { _ as u, t as M, T as s, E as i } from "./index-BVYbfsK6.js";
|
3
|
+
import { C as g } from "./ContentMixin-BF1AsL73.js";
|
4
|
+
import { D as I } from "./style-D3tYXMtJ.js";
|
5
5
|
import { resolveComponent as r, openBlock as p, createElementBlock as y, createVNode as v, createBlock as S, createCommentVNode as F } from "vue";
|
6
6
|
const w = {
|
7
7
|
name: "Flatmap",
|
8
8
|
mixins: [g, I],
|
9
9
|
components: {
|
10
|
-
FlatmapVuer:
|
11
|
-
HelpModeDialog:
|
10
|
+
FlatmapVuer: h,
|
11
|
+
HelpModeDialog: c
|
12
12
|
},
|
13
13
|
methods: {
|
14
14
|
getState: function() {
|
@@ -140,7 +140,7 @@ function T(e, t, o, a, n, l) {
|
|
140
140
|
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : F("", !0)
|
141
141
|
]);
|
142
142
|
}
|
143
|
-
const
|
143
|
+
const b = /* @__PURE__ */ u(w, [["render", T], ["__scopeId", "data-v-22cc3124"]]);
|
144
144
|
export {
|
145
|
-
|
145
|
+
b as default
|
146
146
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
1
|
+
import { C as r } from "./ContentMixin-BF1AsL73.js";
|
2
2
|
import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
|
3
|
-
import { _ as n } from "./index-
|
3
|
+
import { _ as n } from "./index-BVYbfsK6.js";
|
4
4
|
const a = {
|
5
5
|
name: "Iframe",
|
6
6
|
mixins: [r]
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { _ as u, a as h, g as M, E as l, t as g, T as p } from "./index-
|
2
|
-
import {
|
3
|
-
import { C as I } from "./ContentMixin-
|
4
|
-
import { D as S } from "./style-
|
5
|
-
import { resolveComponent as d, openBlock as
|
6
|
-
const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><path d="M11.0748 3.25583C11.4141 2.42845 12.5859 2.42845 12.9252 3.25583L14.6493 7.45955C14.793 7.80979 15.1221 8.04889 15.4995 8.07727L20.0303 8.41798C20.922 8.48504 21.2841 9.59942 20.6021 10.1778L17.1369 13.1166C16.8482 13.3614 16.7225 13.7483 16.8122 14.1161L17.8882 18.5304C18.1 19.3992 17.152 20.0879 16.3912 19.618L12.5255 17.2305C12.2034 17.0316 11.7966 17.0316 11.4745 17.2305L7.60881 19.618C6.84796 20.0879 5.90001 19.3992 6.1118 18.5304L7.18785 14.1161C7.2775 13.7483 7.1518 13.3614 6.86309 13.1166L3.3979 10.1778C2.71588 9.59942 3.07796 8.48504 3.96971 8.41798L8.50046 8.07727C8.87794 8.04889 9.20704 7.80979 9.35068 7.45955L11.0748 3.25583Z" stroke="#000000" stroke-width="2"/></svg>',
|
1
|
+
import { _ as u, a as h, g as M, E as l, t as g, T as p } from "./index-BVYbfsK6.js";
|
2
|
+
import { F as y, j as v } from "./flatmapvuer-CWBQT6qg.js";
|
3
|
+
import { C as I } from "./ContentMixin-BF1AsL73.js";
|
4
|
+
import { D as S } from "./style-D3tYXMtJ.js";
|
5
|
+
import { resolveComponent as d, openBlock as f, createElementBlock as F, createVNode as C, createBlock as k, createCommentVNode as w } from "vue";
|
6
|
+
const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><path d="M11.0748 3.25583C11.4141 2.42845 12.5859 2.42845 12.9252 3.25583L14.6493 7.45955C14.793 7.80979 15.1221 8.04889 15.4995 8.07727L20.0303 8.41798C20.922 8.48504 21.2841 9.59942 20.6021 10.1778L17.1369 13.1166C16.8482 13.3614 16.7225 13.7483 16.8122 14.1161L17.8882 18.5304C18.1 19.3992 17.152 20.0879 16.3912 19.618L12.5255 17.2305C12.2034 17.0316 11.7966 17.0316 11.4745 17.2305L7.60881 19.618C6.84796 20.0879 5.90001 19.3992 6.1118 18.5304L7.18785 14.1161C7.2775 13.7483 7.1518 13.3614 6.86309 13.1166L3.3979 10.1778C2.71588 9.59942 3.07796 8.48504 3.96971 8.41798L8.50046 8.07727C8.87794 8.04889 9.20704 7.80979 9.35068 7.45955L11.0748 3.25583Z" stroke="#000000" stroke-width="2"/></svg>', c = (e) => {
|
7
7
|
const t = [
|
8
8
|
{
|
9
9
|
display: "Open AC Map",
|
@@ -43,7 +43,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
43
43
|
availableSpecies: h(),
|
44
44
|
scaffoldResource: {},
|
45
45
|
showStarInLegend: !1,
|
46
|
-
openMapOptions:
|
46
|
+
openMapOptions: c("Rat")
|
47
47
|
};
|
48
48
|
},
|
49
49
|
methods: {
|
@@ -187,7 +187,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
187
187
|
}
|
188
188
|
},
|
189
189
|
flatmapChanged: async function(e) {
|
190
|
-
this.activeSpecies = e, this.openMapOptions =
|
190
|
+
this.activeSpecies = e, this.openMapOptions = c(e), this.$emit("species-changed", e), this.entry.state && this.entry.state.species === this.activeSpecies || this.syncMode == !0 && await this.toggleSyncMode(), this.updateProvCard(), p.sendEvent({
|
191
191
|
event: "interaction_event",
|
192
192
|
event_name: "portal_maps_species_change",
|
193
193
|
category: this.activeSpecies
|
@@ -217,11 +217,13 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
217
217
|
const t = this.settingsStore.featuredMarkers;
|
218
218
|
this.updateFeaturedMarkers(t, e);
|
219
219
|
},
|
220
|
+
// updateFeaturedMarkers will step through the featured markers and add them to the map
|
220
221
|
updateFeaturedMarkers: function(e, t) {
|
221
222
|
this.showStarInLegend = !1;
|
222
223
|
for (let a = 0; a < e.length; ++a)
|
223
224
|
e[a] && (this.settingsStore.featuredMarkerIdentifiers[a] || this.addFeaturedMarker(e[a], a, t) && (this.showStarInLegend = !0));
|
224
225
|
},
|
226
|
+
// addFeaturedMarker: add a featured marker to the map at the specified uberon location
|
225
227
|
addFeaturedMarker: function(e, t, a) {
|
226
228
|
const n = this.settingsStore.featuredMarkerSpecies[t];
|
227
229
|
if (n && !this.activeSpecies.startsWith(n))
|
@@ -261,14 +263,14 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
261
263
|
},
|
262
264
|
mounted: function() {
|
263
265
|
this.getAvailableTerms(), this.getFeaturedDatasets(), l.on("markerUpdate", () => {
|
264
|
-
this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
266
|
+
this.flatmapReady && this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
265
267
|
});
|
266
268
|
}
|
267
269
|
}, H = { class: "viewer-container" };
|
268
270
|
function P(e, t, a, n, o, s) {
|
269
271
|
const i = d("MultiFlatmapVuer"), r = d("HelpModeDialog");
|
270
|
-
return
|
271
|
-
|
272
|
+
return f(), F("div", H, [
|
273
|
+
C(i, {
|
272
274
|
availableSpecies: e.availableSpecies,
|
273
275
|
onFlatmapChanged: s.flatmapChanged,
|
274
276
|
onReady: s.multiFlatmapReady,
|
@@ -295,7 +297,7 @@ function P(e, t, a, n, o, s) {
|
|
295
297
|
onPathwaySelectionChanged: s.onPathwaySelectionChanged,
|
296
298
|
onOpenPubmedUrl: s.onOpenPubmedUrl
|
297
299
|
}, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl"]),
|
298
|
-
e.helpMode && e.useHelpModeDialog ? (
|
300
|
+
e.helpMode && e.useHelpModeDialog ? (f(), k(r, {
|
299
301
|
key: 0,
|
300
302
|
ref: "multiflatmapHelp",
|
301
303
|
multiflatmapRef: e.multiflatmapRef,
|
@@ -305,7 +307,7 @@ function P(e, t, a, n, o, s) {
|
|
305
307
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
|
306
308
|
]);
|
307
309
|
}
|
308
|
-
const E = /* @__PURE__ */ u(b, [["render", P], ["__scopeId", "data-v-
|
310
|
+
const E = /* @__PURE__ */ u(b, [["render", P], ["__scopeId", "data-v-3e284237"]]);
|
309
311
|
export {
|
310
312
|
E as default
|
311
313
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { C as o } from "./plotvuer-X4h-Lj3L.js";
|
2
|
-
import { C as a } from "./ContentMixin-
|
2
|
+
import { C as a } from "./ContentMixin-BF1AsL73.js";
|
3
3
|
import { resolveComponent as r, openBlock as n, createBlock as s } from "vue";
|
4
|
-
import { _ as m } from "./index-
|
4
|
+
import { _ as m } from "./index-BVYbfsK6.js";
|
5
5
|
const p = {
|
6
6
|
name: "Plot",
|
7
7
|
mixins: [a],
|