@abi-software/mapintegratedvuer 1.9.0 → 1.9.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/{ContentMixin-DyVwSF4C.js → ContentMixin-c9DvlJVP.js} +46 -43
- package/dist/{Flatmap-DrfTTLeB.js → Flatmap-D66Ygegj.js} +64 -60
- package/dist/{Iframe-DNML_G7u.js → Iframe-DFAzMMSw.js} +2 -2
- package/dist/{MultiFlatmap-Vp10mrjr.js → MultiFlatmap-BOOSKitQ.js} +9 -8
- package/dist/{Plot-BnuX-0LW.js → Plot-DPxSQnwg.js} +2 -2
- package/dist/{Scaffold-CLNZHo3r.js → Scaffold-DRQEE-j_.js} +2 -2
- package/dist/{Simulation-BEU8ep5d.js → Simulation-BVcaSVmW.js} +2 -2
- package/dist/{index-CVfAy4kK.js → index-qckfB1dl.js} +117 -102
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +13 -13
- package/dist/{style-BM2XOQIb.js → style-C6pIyWak.js} +41 -17
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/SplitDialog.vue +3 -15
- package/src/components/SplitFlow.vue +5 -0
- package/src/components/viewers/Flatmap.vue +10 -2
- package/src/components/viewers/MultiFlatmap.vue +1 -0
- package/src/mixins/ContentMixin.js +6 -5
- package/src/stores/connectivities.js +17 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
import { markRaw as w } from "vue";
|
2
|
-
import { u as b, p as
|
2
|
+
import { u as b, p as C, q as I, E as h, T as M, r as S, s as F, v as A, x as $ } from "./index-qckfB1dl.js";
|
3
3
|
import { mapStores as H } from "pinia";
|
4
|
-
const
|
4
|
+
const d = function(e) {
|
5
5
|
return e ? [...new Set(e.map((t) => JSON.stringify(t)))].map(
|
6
6
|
(t) => JSON.parse(t)
|
7
7
|
) : [];
|
@@ -121,7 +121,7 @@ let N = function() {
|
|
121
121
|
Array.isArray(o) ? n.push(o.flat()) : n.push(o);
|
122
122
|
}), n.flat();
|
123
123
|
}, this.findComponents = function(e, t, i, n) {
|
124
|
-
let o = e.connectivity.flat(), s =
|
124
|
+
let o = e.connectivity.flat(), s = d(o), a = [], r = !1;
|
125
125
|
return s.forEach((l) => {
|
126
126
|
r = !1, y(t, l) && (r = !0), n && y(n, l) && (r = !0), y(i, l) && (r = !0), r || a.push(l);
|
127
127
|
}), a;
|
@@ -217,13 +217,13 @@ let N = function() {
|
|
217
217
|
let n = [], o = [], s;
|
218
218
|
if (t && t["node-phenotypes"]) {
|
219
219
|
const l = ["ilxtr:hasSomaLocatedIn"], c = ["ilxtr:hasAxonPresynapticElementIn", "ilxtr:hasAxonSensorySubcellularElementIn"];
|
220
|
-
l.forEach((
|
221
|
-
n.push(...t["node-phenotypes"][
|
222
|
-
}), n =
|
223
|
-
o.push(...t["node-phenotypes"][
|
224
|
-
}), o =
|
220
|
+
l.forEach((u) => {
|
221
|
+
n.push(...t["node-phenotypes"][u]);
|
222
|
+
}), n = d(n), c.forEach((u) => {
|
223
|
+
o.push(...t["node-phenotypes"][u]);
|
224
|
+
}), o = d(o);
|
225
225
|
} else
|
226
|
-
o =
|
226
|
+
o = d(t.axons), t.somas && t.somas.length > 0 && n.push(...t.somas), t.dendrites && t.dendrites.length > 0 && n.push(...t.dendrites), n = d(n), s = t.somas;
|
227
227
|
const a = this.findComponents(t, o, n, s), r = this.findAllIdsFromConnectivity(t);
|
228
228
|
this.createLabelLookup(e, r).then((l) => {
|
229
229
|
this.origins = n.map(
|
@@ -290,7 +290,7 @@ const D = {
|
|
290
290
|
}
|
291
291
|
},
|
292
292
|
computed: {
|
293
|
-
...H(b,
|
293
|
+
...H(b, C, I),
|
294
294
|
idNamePair() {
|
295
295
|
return this.splitFlowStore.idNamePair;
|
296
296
|
},
|
@@ -308,7 +308,7 @@ const D = {
|
|
308
308
|
}
|
309
309
|
},
|
310
310
|
mounted: function() {
|
311
|
-
|
311
|
+
h.on("startHelp", () => {
|
312
312
|
this.startHelp();
|
313
313
|
}), this.multiflatmapRef = this.$refs.multiflatmap, this.flatmapRef = this.$refs.flatmap, this.scaffoldRef = this.$refs.scaffold, this.connectivityKnowledge = this.connectivitiesStore.globalConnectivities;
|
314
314
|
},
|
@@ -318,13 +318,13 @@ const D = {
|
|
318
318
|
getState: function() {
|
319
319
|
},
|
320
320
|
openMap: function(e) {
|
321
|
-
e === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (
|
321
|
+
e === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (h.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`));
|
322
322
|
},
|
323
323
|
onMapmanagerLoaded: function(e) {
|
324
324
|
this.settingsStore.updateMapManager(e);
|
325
325
|
},
|
326
326
|
trackOpenMap: function(e) {
|
327
|
-
|
327
|
+
M.sendEvent({
|
328
328
|
event: "interaction_event",
|
329
329
|
event_name: "portal_maps_open_map",
|
330
330
|
category: e,
|
@@ -351,7 +351,7 @@ const D = {
|
|
351
351
|
var a, r, l, c;
|
352
352
|
const i = t[0];
|
353
353
|
if (this.resourceHasAction(i)) {
|
354
|
-
|
354
|
+
h.emit("PopoverActionClick", i);
|
355
355
|
return;
|
356
356
|
}
|
357
357
|
let n, o = !1;
|
@@ -365,7 +365,7 @@ const D = {
|
|
365
365
|
if (e == "MultiFlatmap" || e == "Flatmap")
|
366
366
|
if (s.internalName = (a = i == null ? void 0 : i.feature) != null && a.label ? i.feature.label : this.idNamePair[i.feature.models], i.eventType == "click")
|
367
367
|
if (s.eventType = "selected", i.feature.type == "marker") {
|
368
|
-
let
|
368
|
+
let u = s.internalName;
|
369
369
|
if (this.settingsStore.isFeaturedMarkerIdentifier(i.feature.id))
|
370
370
|
n = {
|
371
371
|
type: "Search",
|
@@ -375,17 +375,17 @@ const D = {
|
|
375
375
|
else {
|
376
376
|
n = {
|
377
377
|
type: "Facet",
|
378
|
-
facet:
|
378
|
+
facet: u,
|
379
379
|
facetPropPath: "anatomy.organ.category.name",
|
380
380
|
facetSubPropPath: "anatomy.organ.name",
|
381
381
|
term: "Anatomical structure"
|
382
382
|
};
|
383
|
-
let
|
384
|
-
i.feature["marker-terms"].forEach((
|
385
|
-
|
386
|
-
}),
|
383
|
+
let f = /* @__PURE__ */ new Set();
|
384
|
+
i.feature["marker-terms"].forEach((m) => {
|
385
|
+
f.add(m.label);
|
386
|
+
}), f.add(u), f.size > 0 && (n = {
|
387
387
|
type: "Facets",
|
388
|
-
labels: [...
|
388
|
+
labels: [...f]
|
389
389
|
});
|
390
390
|
}
|
391
391
|
o = !0, e == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
|
@@ -397,7 +397,7 @@ const D = {
|
|
397
397
|
facetPropPath: "anatomy.organ.category.name",
|
398
398
|
term: "Anatomical structure"
|
399
399
|
})), s.eventType = "selected", o = !0);
|
400
|
-
n &&
|
400
|
+
n && h.emit("PopoverActionClick", n), o && this.$emit("resource-selected", s);
|
401
401
|
},
|
402
402
|
resourceHasAction: function(e) {
|
403
403
|
return e.type === "URL" || e.type === "Search" || e.type === "Neuron Search" || e.type == "Facet" || e.type == "Facets";
|
@@ -584,8 +584,8 @@ const D = {
|
|
584
584
|
if (console.log(l), o.length && s.mapImp) {
|
585
585
|
const c = s.mapImp.uuid;
|
586
586
|
r.every(
|
587
|
-
(
|
588
|
-
(
|
587
|
+
(f) => this.connectivityKnowledge[c].some(
|
588
|
+
(m) => m.id === f
|
589
589
|
)
|
590
590
|
) || s.mapImp.clearSearchResults();
|
591
591
|
}
|
@@ -595,16 +595,19 @@ const D = {
|
|
595
595
|
}
|
596
596
|
},
|
597
597
|
onAnnotationOpen: function(e) {
|
598
|
-
|
598
|
+
h.emit("annotation-open", e);
|
599
599
|
},
|
600
600
|
onAnnotationClose: function() {
|
601
|
-
|
601
|
+
h.emit("annotation-close");
|
602
602
|
},
|
603
603
|
onConnectivityInfoOpen: function(e) {
|
604
|
-
|
604
|
+
h.emit("connectivity-info-open", e);
|
605
605
|
},
|
606
606
|
onConnectivityError: function(e) {
|
607
|
-
|
607
|
+
h.emit("connectivity-error", e);
|
608
|
+
},
|
609
|
+
onConnectivityInfoClose: function() {
|
610
|
+
h.emit("connectivity-info-close");
|
608
611
|
},
|
609
612
|
loadConnectivityKnowledge: async function(e) {
|
610
613
|
const t = A(e), i = w(new N());
|
@@ -620,7 +623,7 @@ const D = {
|
|
620
623
|
return r.source === t && ((l = r.connectivity) == null ? void 0 : l.length) && r.id in a;
|
621
624
|
}).sort((r, l) => r.label.localeCompare(l.label));
|
622
625
|
}
|
623
|
-
this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge),
|
626
|
+
this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), h.emit("species-layout-connectivity-update");
|
624
627
|
},
|
625
628
|
getSearchedId: function(e, t) {
|
626
629
|
let i = [];
|
@@ -632,25 +635,25 @@ const D = {
|
|
632
635
|
}), i;
|
633
636
|
},
|
634
637
|
connectivityQueryFilter: async function(e, t) {
|
635
|
-
const i =
|
638
|
+
const i = this.connectivitiesStore.getUniqueConnectivitiesByKeys;
|
636
639
|
if (e.$el.checkVisibility()) {
|
637
|
-
let
|
640
|
+
let n = {
|
638
641
|
state: "default",
|
639
|
-
data: [...
|
642
|
+
data: [...i]
|
640
643
|
};
|
641
644
|
if (t && (t.type === "query-update" ? (this.query !== t.value && (this.target = []), this.query = t.value) : t.type === "filter-update" && (this.filter = t.value)), this.query) {
|
642
|
-
|
643
|
-
let
|
644
|
-
const
|
645
|
-
for (let f = 0; f <
|
646
|
-
|
647
|
-
const
|
648
|
-
let
|
649
|
-
|
650
|
-
let
|
651
|
-
|
645
|
+
n.state = "processed";
|
646
|
+
let o = [], s = {};
|
647
|
+
const a = this.query.split(",").map((f) => f.trim());
|
648
|
+
for (let f = 0; f < a.length; f++)
|
649
|
+
o.push(this.getSearchedId(e, a[f]));
|
650
|
+
const r = await Promise.all(o), l = [...new Set(r.flat())];
|
651
|
+
let c = await e.retrieveConnectedPaths(l, s);
|
652
|
+
c = [...l, ...c.filter((f) => !l.includes(f))];
|
653
|
+
let u = i.filter((f) => c.includes(f.id));
|
654
|
+
n.data = u;
|
652
655
|
}
|
653
|
-
|
656
|
+
h.emit("connectivity-knowledge", n);
|
654
657
|
}
|
655
658
|
}
|
656
659
|
},
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { _ as
|
2
|
-
import { C as
|
3
|
-
import { D as
|
4
|
-
import { resolveComponent as s, openBlock as p, createElementBlock as
|
1
|
+
import { _ as d, k as h, t as u, T as l, E as i } from "./index-qckfB1dl.js";
|
2
|
+
import { C as y } from "./ContentMixin-c9DvlJVP.js";
|
3
|
+
import { D as I, r as g } from "./style-C6pIyWak.js";
|
4
|
+
import { resolveComponent as s, openBlock as p, createElementBlock as M, createVNode as v, createBlock as C, createCommentVNode as S } from "vue";
|
5
5
|
const F = {
|
6
6
|
name: "Flatmap",
|
7
|
-
mixins: [
|
7
|
+
mixins: [y, I],
|
8
8
|
components: {
|
9
|
-
FlatmapVuer:
|
9
|
+
FlatmapVuer: g,
|
10
10
|
HelpModeDialog: h
|
11
11
|
},
|
12
12
|
methods: {
|
@@ -17,75 +17,76 @@ const F = {
|
|
17
17
|
* Perform a local search on this contentvuer
|
18
18
|
*/
|
19
19
|
search: function(e) {
|
20
|
-
return this.$refs.flatmap.searchAndShowResult(e);
|
20
|
+
return this.$refs.flatmap.searchAndShowResult(e, !0);
|
21
21
|
},
|
22
22
|
getFlatmapImp() {
|
23
23
|
var e;
|
24
24
|
return (e = this.$refs.flatmap) == null ? void 0 : e.mapImp;
|
25
25
|
},
|
26
|
-
flatmaprResourceSelected: function(e,
|
27
|
-
if (this.resourceSelected(e,
|
28
|
-
const
|
29
|
-
label:
|
30
|
-
id:
|
31
|
-
featureId:
|
32
|
-
taxonomy:
|
33
|
-
resources:
|
34
|
-
},
|
26
|
+
flatmaprResourceSelected: function(e, t) {
|
27
|
+
if (this.resourceSelected(e, t), t.eventType === "click" && t.feature.type === "feature") {
|
28
|
+
const a = {
|
29
|
+
label: t.label || "",
|
30
|
+
id: t.feature.id || "",
|
31
|
+
featureId: t.feature.featureId || "",
|
32
|
+
taxonomy: t.taxonomy || "",
|
33
|
+
resources: t.resource.join(", ")
|
34
|
+
}, n = u(a);
|
35
35
|
l.sendEvent({
|
36
36
|
event: "interaction_event",
|
37
37
|
event_name: "portal_maps_connectivity",
|
38
|
-
category:
|
38
|
+
category: n,
|
39
39
|
location: e + " " + this.$refs.flatmap.viewingMode
|
40
40
|
});
|
41
41
|
}
|
42
42
|
},
|
43
43
|
flatmapReadyCall: function(e) {
|
44
|
-
let
|
45
|
-
|
44
|
+
let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
|
45
|
+
const a = e.mapImp;
|
46
|
+
i.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.flatmapReadyForMarkerUpdates(e), this.loadConnectivityKnowledge(a), i.emit("mapLoaded", e);
|
46
47
|
},
|
47
48
|
onPathwaySelectionChanged: function(e) {
|
48
|
-
const { label:
|
49
|
+
const { label: t, property: a, checked: n, selectionsTitle: r } = e;
|
49
50
|
l.sendEvent({
|
50
51
|
event: "interaction_event",
|
51
52
|
event_name: "portal_maps_pathway_change",
|
52
|
-
category:
|
53
|
-
location:
|
53
|
+
category: t + " [" + a + "] " + n,
|
54
|
+
location: r
|
54
55
|
});
|
55
56
|
},
|
56
57
|
highlightFeatures: function(e) {
|
57
|
-
let
|
58
|
-
const
|
59
|
-
if (
|
60
|
-
const
|
61
|
-
|
62
|
-
|
58
|
+
let t = e.name;
|
59
|
+
const a = this.$refs.flatmap.mapImp;
|
60
|
+
if (t) {
|
61
|
+
const n = a.search(t);
|
62
|
+
n.featureIds[0] && a.highlightFeatures([
|
63
|
+
a.modelForFeature(n.featureIds[0])
|
63
64
|
]);
|
64
65
|
}
|
65
66
|
},
|
66
67
|
/**
|
67
68
|
* Append the list of suggested terms to suggestions
|
68
69
|
*/
|
69
|
-
searchSuggestions: function(e,
|
70
|
+
searchSuggestions: function(e, t) {
|
70
71
|
if (e && this.$refs.flatmap.mapImp) {
|
71
|
-
const
|
72
|
-
(
|
73
|
-
const o = this.$refs.flatmap.mapImp.annotation(
|
74
|
-
o && o.label &&
|
72
|
+
const a = this.$refs.flatmap.mapImp.search(e);
|
73
|
+
(a.__featureIds || a.featureIds).forEach((r) => {
|
74
|
+
const o = this.$refs.flatmap.mapImp.annotation(r);
|
75
|
+
o && o.label && t.push(o.label);
|
75
76
|
});
|
76
77
|
}
|
77
78
|
},
|
78
|
-
zoomToFeatures: function(e,
|
79
|
-
let
|
80
|
-
const
|
81
|
-
if (
|
82
|
-
const
|
83
|
-
if (
|
84
|
-
let o =
|
85
|
-
o ? (
|
79
|
+
zoomToFeatures: function(e, t) {
|
80
|
+
let a = e.name;
|
81
|
+
const n = this.$refs.flatmap.mapImp;
|
82
|
+
if (a) {
|
83
|
+
const r = n.search(a);
|
84
|
+
if (r.featureIds.length) {
|
85
|
+
let o = n.modelForFeature(r.featureIds[0]);
|
86
|
+
o ? (t && n.selectFeatures(o), n.zoomToFeatures(o)) : n.clearSearchResults();
|
86
87
|
}
|
87
88
|
} else
|
88
|
-
|
89
|
+
n.clearSearchResults();
|
89
90
|
},
|
90
91
|
changeViewingMode: function(e) {
|
91
92
|
this.$refs.flatmap.changeViewingMode(e);
|
@@ -97,32 +98,35 @@ const F = {
|
|
97
98
|
}
|
98
99
|
},
|
99
100
|
mounted: function() {
|
100
|
-
|
101
|
+
i.on("annotation-close", () => {
|
101
102
|
this.$refs.flatmap && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
|
102
|
-
}),
|
103
|
+
}), i.on("markerUpdate", () => {
|
103
104
|
this.flatmapMarkerUpdate(void 0);
|
104
|
-
}),
|
105
|
+
}), i.on("hoverUpdate", () => {
|
105
106
|
this.cardHoverHighlight();
|
106
|
-
}),
|
107
|
-
const { featureIds:
|
108
|
-
|
109
|
-
offsetX:
|
107
|
+
}), i.on("show-connectivity", (e) => {
|
108
|
+
const { featureIds: t, offset: a } = e, n = this.$refs.flatmap;
|
109
|
+
n && n.moveMap(t, {
|
110
|
+
offsetX: a ? -150 : 0,
|
110
111
|
zoom: 4
|
111
112
|
});
|
112
|
-
}),
|
113
|
-
const
|
114
|
-
|
113
|
+
}), i.on("show-reference-connectivities", (e) => {
|
114
|
+
const t = this.$refs.flatmap;
|
115
|
+
t && t.showConnectivitiesByReference(e);
|
116
|
+
}), i.on("connectivity-query-filter", (e) => {
|
117
|
+
const t = this.$refs.flatmap;
|
118
|
+
t && t.mapImp && this.connectivityQueryFilter(t, e);
|
115
119
|
});
|
116
120
|
}
|
117
121
|
}, w = { class: "viewer-container" };
|
118
|
-
function
|
122
|
+
function $(e, t, a, n, r, o) {
|
119
123
|
const m = s("FlatmapVuer"), f = s("HelpModeDialog");
|
120
|
-
return p(),
|
124
|
+
return p(), M("div", w, [
|
121
125
|
v(m, {
|
122
126
|
state: e.entry.state,
|
123
127
|
entry: e.entry.resource,
|
124
128
|
mapManager: e.mapManager,
|
125
|
-
onResourceSelected:
|
129
|
+
onResourceSelected: t[0] || (t[0] = (c) => o.flatmaprResourceSelected(e.entry.type, c)),
|
126
130
|
onPanZoomCallback: e.flatmapPanZoomCallback,
|
127
131
|
name: e.entry.resource,
|
128
132
|
style: { height: "100%", width: "100%" },
|
@@ -139,7 +143,7 @@ function b(e, a, n, t, i, o) {
|
|
139
143
|
annotationSidebar: e.annotationSidebar,
|
140
144
|
onConnectivityInfoOpen: e.onConnectivityInfoOpen,
|
141
145
|
onConnectivityError: e.onConnectivityError,
|
142
|
-
|
146
|
+
onConnectivityInfoClose: e.onConnectivityInfoClose,
|
143
147
|
pathControls: !0,
|
144
148
|
ref: "flatmap",
|
145
149
|
onReady: o.flatmapReadyCall,
|
@@ -151,18 +155,18 @@ function b(e, a, n, t, i, o) {
|
|
151
155
|
onOpenMap: e.openMap,
|
152
156
|
onPathwaySelectionChanged: o.onPathwaySelectionChanged,
|
153
157
|
onMapmanagerLoaded: e.onMapmanagerLoaded
|
154
|
-
}, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "
|
155
|
-
e.helpMode && e.useHelpModeDialog ? (p(),
|
158
|
+
}, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
|
159
|
+
e.helpMode && e.useHelpModeDialog ? (p(), C(f, {
|
156
160
|
key: 0,
|
157
161
|
ref: "flatmapHelp",
|
158
162
|
flatmapRef: e.flatmapRef,
|
159
163
|
lastItem: e.helpModeLastItem,
|
160
164
|
onShowNext: e.onHelpModeShowNext,
|
161
165
|
onFinishHelpMode: e.onFinishHelpMode
|
162
|
-
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) :
|
166
|
+
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : S("", !0)
|
163
167
|
]);
|
164
168
|
}
|
165
|
-
const R = /* @__PURE__ */
|
169
|
+
const R = /* @__PURE__ */ d(F, [["render", $], ["__scopeId", "data-v-4ff4b478"]]);
|
166
170
|
export {
|
167
171
|
R as default
|
168
172
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
1
|
+
import { C as r } from "./ContentMixin-c9DvlJVP.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-qckfB1dl.js";
|
4
4
|
const a = {
|
5
5
|
name: "Iframe",
|
6
6
|
mixins: [r]
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as u, k as h, a as y, g, E as s, t as
|
2
|
-
import { C as
|
3
|
-
import { D as
|
1
|
+
import { _ as u, k as h, a as y, g, E as s, t as v, T as p } from "./index-qckfB1dl.js";
|
2
|
+
import { C as M } from "./ContentMixin-c9DvlJVP.js";
|
3
|
+
import { D as C, h as I } from "./style-C6pIyWak.js";
|
4
4
|
import { resolveComponent as f, openBlock as c, createElementBlock as S, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
|
5
5
|
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>', d = (e) => {
|
6
6
|
const t = [
|
@@ -30,9 +30,9 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
30
30
|
return t;
|
31
31
|
}, b = {
|
32
32
|
name: "MultiFlatmap",
|
33
|
-
mixins: [
|
33
|
+
mixins: [M, C],
|
34
34
|
components: {
|
35
|
-
MultiFlatmapVuer:
|
35
|
+
MultiFlatmapVuer: I,
|
36
36
|
HelpModeDialog: h
|
37
37
|
},
|
38
38
|
data: function() {
|
@@ -117,7 +117,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
117
117
|
featureId: t.feature.featureId || "",
|
118
118
|
taxonomy: t.taxonomy || "",
|
119
119
|
resources: t.resource.join(", ")
|
120
|
-
}, o =
|
120
|
+
}, o = v(n);
|
121
121
|
p.sendEvent({
|
122
122
|
event: "interaction_event",
|
123
123
|
event_name: "portal_maps_connectivity",
|
@@ -330,6 +330,7 @@ function L(e, t, a, n, o, i) {
|
|
330
330
|
annotationSidebar: e.annotationSidebar,
|
331
331
|
onConnectivityInfoOpen: e.onConnectivityInfoOpen,
|
332
332
|
onConnectivityError: e.onConnectivityError,
|
333
|
+
onConnectivityInfoClose: e.onConnectivityInfoClose,
|
333
334
|
connectivityInfoSidebar: e.connectivityInfoSidebar,
|
334
335
|
ref: "multiflatmap",
|
335
336
|
displayMinimap: !0,
|
@@ -344,7 +345,7 @@ function L(e, t, a, n, o, i) {
|
|
344
345
|
onPathwaySelectionChanged: i.onPathwaySelectionChanged,
|
345
346
|
onOpenPubmedUrl: i.onOpenPubmedUrl,
|
346
347
|
onMapmanagerLoaded: e.onMapmanagerLoaded
|
347
|
-
}, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
|
348
|
+
}, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
|
348
349
|
e.helpMode && e.useHelpModeDialog ? (c(), k(l, {
|
349
350
|
key: 0,
|
350
351
|
ref: "multiflatmapHelp",
|
@@ -355,7 +356,7 @@ function L(e, t, a, n, o, i) {
|
|
355
356
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
|
356
357
|
]);
|
357
358
|
}
|
358
|
-
const T = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-
|
359
|
+
const T = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-e96022db"]]);
|
359
360
|
export {
|
360
361
|
T as default
|
361
362
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PlotVuer as o } from "@abi-software/plotvuer";
|
2
|
-
import { C as r } from "./ContentMixin-
|
2
|
+
import { C as r } from "./ContentMixin-c9DvlJVP.js";
|
3
3
|
import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
|
4
|
-
import { _ as m } from "./index-
|
4
|
+
import { _ as m } from "./index-qckfB1dl.js";
|
5
5
|
const p = {
|
6
6
|
name: "Plot",
|
7
7
|
mixins: [r],
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { o as w1, S as _1, w as M1, h as S1, j as T1, A as A1, e as E1, _ as C1, k as R1, E as Cu } from "./index-
|
2
|
-
import { C as L1 } from "./ContentMixin-
|
1
|
+
import { o as w1, S as _1, w as M1, h as S1, j as T1, A as A1, e as E1, _ as C1, k as R1, E as Cu } from "./index-qckfB1dl.js";
|
2
|
+
import { C as L1 } from "./ContentMixin-c9DvlJVP.js";
|
3
3
|
import { ref as Ee, defineComponent as Pe, computed as he, openBlock as ye, createElementBlock as Ce, mergeProps as Sr, unref as V, renderSlot as qe, useAttrs as O1, useSlots as Gc, shallowRef as Ai, watch as Qe, nextTick as _t, onMounted as Qt, toRef as ur, createCommentVNode as Ue, Fragment as kt, normalizeClass as Re, createElementVNode as Fe, createBlock as Ve, withCtx as ve, resolveDynamicComponent as Oi, withModifiers as ni, createVNode as le, toDisplayString as vt, normalizeStyle as Ct, provide as si, reactive as Xi, onActivated as P1, onUpdated as Id, inject as ht, onBeforeUnmount as Qi, withDirectives as Ot, cloneVNode as I1, Text as Rv, Comment as N1, Transition as Js, vShow as pi, readonly as Lv, onDeactivated as D1, toHandlers as B1, withKeys as cr, createTextVNode as mt, createSlots as k1, toRefs as _o, getCurrentInstance as li, h as ca, renderList as Zi, onUnmounted as Ov, markRaw as wi, watchEffect as Pv, warn as F1, onBeforeMount as z1, toRaw as Iv, getCurrentScope as U1, onScopeDispose as V1, isRef as Nv, isVNode as Ih, Teleport as H1, resolveComponent as Si, resolveDirective as G1, toHandlerKey as j1, vModelText as W1, createApp as q1 } from "vue";
|
4
4
|
import { defineStore as $1, mapState as Dv } from "pinia";
|
5
5
|
const Wr = (i, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { C as i } from "./ContentMixin-
|
1
|
+
import { C as i } from "./ContentMixin-c9DvlJVP.js";
|
2
2
|
import { SimulationVuer as t } from "@abi-software/simulationvuer";
|
3
3
|
import { resolveComponent as e, openBlock as r, createBlock as a } from "vue";
|
4
|
-
import { _ as m } from "./index-
|
4
|
+
import { _ as m } from "./index-qckfB1dl.js";
|
5
5
|
const c = {
|
6
6
|
name: "Simulation",
|
7
7
|
mixins: [i],
|