@abi-software/mapintegratedvuer 1.7.2 → 1.8.0
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-CdE8AlUJ.js → ContentMixin-C2qirqOb.js} +51 -32
- package/dist/{Flatmap-fO2lvKFX.js → Flatmap-DhRfy22j.js} +58 -55
- package/dist/{Iframe-C8wxLuOy.js → Iframe-D950SSLF.js} +2 -2
- package/dist/{MultiFlatmap-Dijv5l_F.js → MultiFlatmap-DZCpHYe8.js} +10 -5
- package/dist/{Plot-iXTevaO7.js → Plot-CJkqVQ9B.js} +2 -2
- package/dist/{Scaffold-_QafxYws.js → Scaffold-qgEXkDkn.js} +14560 -14514
- package/dist/{Simulation-CJ-9g74P.js → Simulation-kw9PXVaE.js} +2 -2
- package/dist/{index-DcTjoXV1.js → index-BphdIf2T.js} +13394 -13147
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +471 -467
- package/dist/{style-C2GyLbPa.js → style-9eo2qwu6.js} +22832 -25530
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/src/App.vue +49 -17
- package/src/components/DialogToolbarContent.vue +18 -1
- package/src/components/MapContent.vue +65 -39
- package/src/components/SplitFlow.vue +8 -7
- package/src/components/viewers/Flatmap.vue +7 -1
- package/src/components/viewers/MultiFlatmap.vue +10 -1
- package/src/components/viewers/Scaffold.vue +2 -2
- package/src/mixins/ContentMixin.js +55 -5
- package/src/mixins/DynamicMarkerMixin.js +1 -1
- package/src/stores/settings.js +28 -5
@@ -1,10 +1,10 @@
|
|
1
1
|
import "vue";
|
2
|
-
import { u as
|
2
|
+
import { u as p, d as u, E as r, T as d, e as h, f as m } from "./index-BphdIf2T.js";
|
3
3
|
import { mapStores as g } from "pinia";
|
4
4
|
function y(e) {
|
5
5
|
return e[0].toUpperCase() + e.substring(1);
|
6
6
|
}
|
7
|
-
const
|
7
|
+
const I = {
|
8
8
|
emits: ["flatmap-provenance-ready", "resource-selected", "species-changed"],
|
9
9
|
props: {
|
10
10
|
/**
|
@@ -22,7 +22,7 @@ const w = {
|
|
22
22
|
}
|
23
23
|
},
|
24
24
|
computed: {
|
25
|
-
...g(
|
25
|
+
...g(p, u),
|
26
26
|
idNamePair() {
|
27
27
|
return this.splitFlowStore.idNamePair;
|
28
28
|
},
|
@@ -56,7 +56,7 @@ const w = {
|
|
56
56
|
this.settingsStore.updateMapManager(e);
|
57
57
|
},
|
58
58
|
trackOpenMap: function(e) {
|
59
|
-
|
59
|
+
d.sendEvent({
|
60
60
|
event: "interaction_event",
|
61
61
|
event_name: "portal_maps_open_map",
|
62
62
|
category: e,
|
@@ -80,12 +80,12 @@ const w = {
|
|
80
80
|
* Callback when the vuers emit a selected event.
|
81
81
|
*/
|
82
82
|
resourceSelected: function(e, t) {
|
83
|
-
var
|
83
|
+
var s, o, l, f;
|
84
84
|
if (this.resourceHasAction(t)) {
|
85
85
|
r.emit("PopoverActionClick", t);
|
86
86
|
return;
|
87
87
|
}
|
88
|
-
let i,
|
88
|
+
let i, n = !1;
|
89
89
|
const a = {
|
90
90
|
paneIndex: this.entry.id,
|
91
91
|
type: e,
|
@@ -94,7 +94,7 @@ const w = {
|
|
94
94
|
eventType: void 0
|
95
95
|
};
|
96
96
|
if (e == "MultiFlatmap" || e == "Flatmap")
|
97
|
-
if (a.internalName = (
|
97
|
+
if (a.internalName = (s = t == null ? void 0 : t.feature) != null && s.label ? t.feature.label : this.idNamePair[t.feature.models], t.eventType == "click")
|
98
98
|
if (a.eventType = "selected", t.feature.type == "marker") {
|
99
99
|
let c = a.internalName;
|
100
100
|
this.settingsStore.isFeaturedMarkerIdentifier(
|
@@ -110,16 +110,16 @@ const w = {
|
|
110
110
|
facet: c,
|
111
111
|
facetPropPath: "anatomy.organ.category.name",
|
112
112
|
term: "Anatomical structure"
|
113
|
-
},
|
114
|
-
} else t.feature.type == "feature" && this.syncMode && (
|
115
|
-
else t.eventType == "mouseenter" && (a.eventType = "highlighted",
|
113
|
+
}, n = !0, e == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
|
114
|
+
} else t.feature.type == "feature" && this.syncMode && (n = !0);
|
115
|
+
else t.eventType == "mouseenter" && (a.eventType = "highlighted", n = !0);
|
116
116
|
else e == "Scaffold" && (t && t[0] && ((((o = t[0].data) == null ? void 0 : o.id) === void 0 || ((l = t[0].data) == null ? void 0 : l.id) === "") && (t[0].data.id = (f = t[0].data) == null ? void 0 : f.group), a.internalName = t[0].data.id, t[0].data.lastActionOnMarker === !0 && (i = {
|
117
117
|
type: "Facet",
|
118
118
|
facet: y(t[0].data.id),
|
119
119
|
facetPropPath: "anatomy.organ.category.name",
|
120
120
|
term: "Anatomical structure"
|
121
|
-
})), a.eventType = "selected",
|
122
|
-
i && r.emit("PopoverActionClick", i),
|
121
|
+
})), a.eventType = "selected", n = !0);
|
122
|
+
i && r.emit("PopoverActionClick", i), n && this.$emit("resource-selected", a);
|
123
123
|
},
|
124
124
|
resourceHasAction: function(e) {
|
125
125
|
return e.type === "URL" || e.type === "Search" || e.type === "Neuron Search" || e.type == "Facet" || e.type == "Facets";
|
@@ -144,24 +144,25 @@ const w = {
|
|
144
144
|
if (e.resource && e.resource.resource && (i = e.resource.resource[0]), this.entry.type === "Scaffold") {
|
145
145
|
if (this.$refs.scaffold.findObjectsWithGroupName(t).length === 0) {
|
146
146
|
if (e.resource && e.resource.feature) {
|
147
|
-
const
|
148
|
-
if (
|
147
|
+
const s = h(e.resource.feature.models);
|
148
|
+
if (s.length > 0) return s;
|
149
149
|
}
|
150
150
|
let a = m(t);
|
151
151
|
if (a)
|
152
152
|
return a;
|
153
153
|
if (i && e.eventType === "selected")
|
154
|
-
return fetch(`${this.apiLocation}get-related-terms/${i}`).then((
|
155
|
-
|
156
|
-
|
154
|
+
return fetch(`${this.apiLocation}get-related-terms/${i}`).then((s) => s.json()).then((s) => {
|
155
|
+
var o;
|
156
|
+
if (((o = s.uberon) == null ? void 0 : o.array.length) > 0)
|
157
|
+
return t = s.uberon.array[0].name.charAt(0).toUpperCase() + s.uberon.array[0].name.slice(1), i = s.uberon.array[0].id.toUpperCase(), { id: i, name: t };
|
157
158
|
});
|
158
159
|
}
|
159
160
|
} else if (this.entry.type === "MultiFlatmap")
|
160
161
|
if (t === "Bladder")
|
161
162
|
t = "Urinary Bladder";
|
162
163
|
else {
|
163
|
-
const
|
164
|
-
|
164
|
+
const n = h(t);
|
165
|
+
n.length > 0 && (t = n[0]);
|
165
166
|
}
|
166
167
|
return { id: i, name: t };
|
167
168
|
},
|
@@ -169,11 +170,11 @@ const w = {
|
|
169
170
|
getDatasetAnatomyInfo: function(e) {
|
170
171
|
fetch(`${this.apiLocation}dataset_info/anatomy?identifier=${e}`).then((t) => t.json()).then((t) => {
|
171
172
|
const i = t.result[0];
|
172
|
-
let
|
173
|
+
let n;
|
173
174
|
try {
|
174
|
-
|
175
|
+
n = i.anatomy.organ[0].curie;
|
175
176
|
} catch {
|
176
|
-
|
177
|
+
n = void 0;
|
177
178
|
}
|
178
179
|
let a;
|
179
180
|
try {
|
@@ -181,21 +182,21 @@ const w = {
|
|
181
182
|
} catch {
|
182
183
|
a = void 0;
|
183
184
|
}
|
184
|
-
let
|
185
|
+
let s;
|
185
186
|
try {
|
186
187
|
let o = 0, l = !1;
|
187
188
|
for (; !l && o < i.organisms.subject.length; ) {
|
188
189
|
const f = i.organisms.subject[o];
|
189
|
-
f.species && (
|
190
|
+
f.species && (s = f.species.name, l = !0), o += 1;
|
190
191
|
}
|
191
192
|
} catch {
|
192
|
-
|
193
|
+
s = void 0;
|
193
194
|
}
|
194
195
|
this.settingsStore.updateFeaturedMarker({
|
195
196
|
identifier: e,
|
196
|
-
marker:
|
197
|
+
marker: n,
|
197
198
|
doi: a,
|
198
|
-
species:
|
199
|
+
species: s
|
199
200
|
});
|
200
201
|
});
|
201
202
|
},
|
@@ -279,11 +280,29 @@ const w = {
|
|
279
280
|
checkEndHelpMouseDown: function(e) {
|
280
281
|
e.target.closest(".help-mode-dialog") || this.endHelp();
|
281
282
|
},
|
282
|
-
|
283
|
+
getConnectivitiesByDOI: async function(e) {
|
284
|
+
return await this.$refs.multiflatmap.getCurrentFlatmap().searchConnectivitiesByReference(e);
|
285
|
+
},
|
286
|
+
highlightAnatomies: async function(e, t, i) {
|
287
|
+
const n = [...t], a = this.settingsStore.hoverHighlightOptions;
|
288
|
+
if (a.highlightConnectedPaths) {
|
289
|
+
const s = await e.queryPathsForFeatures(t);
|
290
|
+
s && n.push(...s);
|
291
|
+
}
|
292
|
+
if (a.highlightDOIPaths) {
|
293
|
+
const s = await this.getConnectivitiesByDOI(i);
|
294
|
+
s && n.push(...s);
|
295
|
+
}
|
296
|
+
return n;
|
297
|
+
},
|
298
|
+
mapHoverHighlight: function() {
|
283
299
|
if (this.visible) {
|
284
|
-
const
|
285
|
-
|
286
|
-
|
300
|
+
const e = this.settingsStore.hoverAnatomies, t = this.settingsStore.hoverOrgans, i = this.settingsStore.hoverDOI;
|
301
|
+
let n = null, a = null;
|
302
|
+
this.flatmapRef && (n = this.$refs.flatmap.mapImp), this.multiflatmapRef && (n = this.$refs.multiflatmap.getCurrentFlatmap().mapImp), this.scaffoldRef && (a = this.$refs.scaffold), n && n.clearSearchResults(), e.length || t.length ? (clearTimeout(this.hoverDelay), this.multiflatmapRef || this.flatmapRef ? this.highlightAnatomies(n, e, i).then((s) => {
|
303
|
+
n.selectFeatures(s);
|
304
|
+
}) : this.scaffoldRef && (a == null || a.changeHighlightedByName(t, "", !1))) : this.hoverDelay = setTimeout(() => {
|
305
|
+
this.multiflatmapRef || this.flatmapRef ? n == null || n.clearSearchResults() : this.scaffoldRef && (a == null || a.changeHighlightedByName(t, "", !1));
|
287
306
|
}, 500);
|
288
307
|
}
|
289
308
|
},
|
@@ -335,5 +354,5 @@ const w = {
|
|
335
354
|
}
|
336
355
|
};
|
337
356
|
export {
|
338
|
-
|
357
|
+
I as C
|
339
358
|
};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { _ as
|
2
|
-
import { C as I } from "./ContentMixin-
|
3
|
-
import { D as g,
|
4
|
-
import { resolveComponent as
|
5
|
-
const
|
1
|
+
import { _ as d, b as h, t as u, T as s, E as r } from "./index-BphdIf2T.js";
|
2
|
+
import { C as I } from "./ContentMixin-C2qirqOb.js";
|
3
|
+
import { D as g, V as M } from "./style-9eo2qwu6.js";
|
4
|
+
import { resolveComponent as l, openBlock as p, createElementBlock as v, createVNode as y, createBlock as C, createCommentVNode as S } from "vue";
|
5
|
+
const w = {
|
6
6
|
name: "Flatmap",
|
7
7
|
mixins: [I, g],
|
8
8
|
components: {
|
@@ -23,69 +23,69 @@ const F = {
|
|
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
|
-
},
|
35
|
-
|
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
|
+
s.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
|
-
r.emit("mapImpProv",
|
44
|
+
let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
|
45
|
+
r.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.flatmapReadyForMarkerUpdates(e), r.emit("mapLoaded", e);
|
46
46
|
},
|
47
47
|
onPathwaySelectionChanged: function(e) {
|
48
|
-
const { label:
|
49
|
-
|
48
|
+
const { label: t, property: a, checked: n, selectionsTitle: i } = e;
|
49
|
+
s.sendEvent({
|
50
50
|
event: "interaction_event",
|
51
51
|
event_name: "portal_maps_pathway_change",
|
52
|
-
category:
|
52
|
+
category: t + " [" + a + "] " + n,
|
53
53
|
location: i
|
54
54
|
});
|
55
55
|
},
|
56
56
|
highlightFeatures: function(e) {
|
57
|
-
let
|
58
|
-
const
|
59
|
-
if (
|
60
|
-
const
|
61
|
-
|
62
|
-
|
57
|
+
let t = e.name;
|
58
|
+
const a = this.$refs.flatmap.mapImp;
|
59
|
+
if (t) {
|
60
|
+
const n = a.search(t);
|
61
|
+
n.featureIds[0] && a.highlightFeatures([
|
62
|
+
a.modelForFeature(n.featureIds[0])
|
63
63
|
]);
|
64
64
|
}
|
65
65
|
},
|
66
66
|
/**
|
67
67
|
* Append the list of suggested terms to suggestions
|
68
68
|
*/
|
69
|
-
searchSuggestions: function(e,
|
69
|
+
searchSuggestions: function(e, t) {
|
70
70
|
if (e && this.$refs.flatmap.mapImp) {
|
71
|
-
const
|
72
|
-
(
|
71
|
+
const a = this.$refs.flatmap.mapImp.search(e);
|
72
|
+
(a.__featureIds || a.featureIds).forEach((i) => {
|
73
73
|
const o = this.$refs.flatmap.mapImp.annotation(i);
|
74
|
-
o && o.label &&
|
74
|
+
o && o.label && t.push(o.label);
|
75
75
|
});
|
76
76
|
}
|
77
77
|
},
|
78
|
-
zoomToFeatures: function(e,
|
79
|
-
let
|
80
|
-
const
|
81
|
-
if (
|
82
|
-
const i =
|
78
|
+
zoomToFeatures: function(e, t) {
|
79
|
+
let a = e.name;
|
80
|
+
const n = this.$refs.flatmap.mapImp;
|
81
|
+
if (a) {
|
82
|
+
const i = n.search(a);
|
83
83
|
if (i.featureIds.length) {
|
84
|
-
let o =
|
85
|
-
o ? (
|
84
|
+
let o = n.modelForFeature(i.featureIds[0]);
|
85
|
+
o ? (t && n.selectFeatures(o), n.zoomToFeatures(o)) : n.clearSearchResults();
|
86
86
|
}
|
87
87
|
} else
|
88
|
-
|
88
|
+
n.clearSearchResults();
|
89
89
|
},
|
90
90
|
changeViewingMode: function(e) {
|
91
91
|
this.$refs.flatmap.changeViewingMode(e);
|
@@ -98,29 +98,32 @@ const F = {
|
|
98
98
|
},
|
99
99
|
mounted: function() {
|
100
100
|
r.on("annotation-close", (e) => {
|
101
|
-
const
|
102
|
-
e != null && e.tabClose &&
|
101
|
+
const t = this.$refs.flatmap;
|
102
|
+
e != null && e.tabClose && t && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
|
103
103
|
}), r.on("markerUpdate", () => {
|
104
104
|
this.flatmapMarkerUpdate(void 0);
|
105
105
|
}), r.on("hoverUpdate", () => {
|
106
|
-
this.mapHoverHighlight(
|
106
|
+
this.mapHoverHighlight();
|
107
107
|
}), r.on("show-connectivity", (e) => {
|
108
|
-
const { featureIds:
|
109
|
-
|
110
|
-
offsetX:
|
108
|
+
const { featureIds: t, offset: a } = e, n = this.$refs.flatmap;
|
109
|
+
n && n.moveMap(t, {
|
110
|
+
offsetX: a ? -150 : 0,
|
111
111
|
zoom: 4
|
112
112
|
});
|
113
|
+
}), r.on("show-reference-connectivities", (e) => {
|
114
|
+
const t = this.$refs.flatmap;
|
115
|
+
t && t.showConnectivitiesByReference(e);
|
113
116
|
});
|
114
117
|
}
|
115
|
-
},
|
116
|
-
function b(e, a, n,
|
117
|
-
const m =
|
118
|
-
return p(),
|
119
|
-
|
118
|
+
}, F = { class: "viewer-container" };
|
119
|
+
function b(e, t, a, n, i, o) {
|
120
|
+
const m = l("FlatmapVuer"), f = l("HelpModeDialog");
|
121
|
+
return p(), v("div", F, [
|
122
|
+
y(m, {
|
120
123
|
state: e.entry.state,
|
121
124
|
entry: e.entry.resource,
|
122
125
|
mapManager: e.mapManager,
|
123
|
-
onResourceSelected:
|
126
|
+
onResourceSelected: t[0] || (t[0] = (c) => o.flatmaprResourceSelected(e.entry.type, c)),
|
124
127
|
onPanZoomCallback: e.flatmapPanZoomCallback,
|
125
128
|
name: e.entry.resource,
|
126
129
|
style: { height: "100%", width: "100%" },
|
@@ -151,17 +154,17 @@ function b(e, a, n, t, i, o) {
|
|
151
154
|
onPathwaySelectionChanged: o.onPathwaySelectionChanged,
|
152
155
|
onMapmanagerLoaded: e.onMapmanagerLoaded
|
153
156
|
}, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityGraphError", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
|
154
|
-
e.helpMode && e.useHelpModeDialog ? (p(),
|
157
|
+
e.helpMode && e.useHelpModeDialog ? (p(), C(f, {
|
155
158
|
key: 0,
|
156
159
|
ref: "flatmapHelp",
|
157
160
|
flatmapRef: e.flatmapRef,
|
158
161
|
lastItem: e.helpModeLastItem,
|
159
162
|
onShowNext: e.onHelpModeShowNext,
|
160
163
|
onFinishHelpMode: e.onFinishHelpMode
|
161
|
-
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) :
|
164
|
+
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : S("", !0)
|
162
165
|
]);
|
163
166
|
}
|
164
|
-
const
|
167
|
+
const k = /* @__PURE__ */ d(w, [["render", b], ["__scopeId", "data-v-e3d04e7c"]]);
|
165
168
|
export {
|
166
|
-
|
169
|
+
k as default
|
167
170
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
1
|
+
import { C as r } from "./ContentMixin-C2qirqOb.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-BphdIf2T.js";
|
4
4
|
const a = {
|
5
5
|
name: "Iframe",
|
6
6
|
mixins: [r]
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as u,
|
2
|
-
import { C as v } from "./ContentMixin-
|
3
|
-
import { D as I,
|
1
|
+
import { _ as u, b as h, a as y, g, E as r, t as M, T as p } from "./index-BphdIf2T.js";
|
2
|
+
import { C as v } from "./ContentMixin-C2qirqOb.js";
|
3
|
+
import { D as I, Z as C } from "./style-9eo2qwu6.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 b = '<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 = [
|
@@ -283,12 +283,17 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
283
283
|
zoom: 4
|
284
284
|
});
|
285
285
|
}
|
286
|
+
}), r.on("show-reference-connectivities", (e) => {
|
287
|
+
if (this.flatmapReady && this.$refs.multiflatmap) {
|
288
|
+
const t = this.$refs.multiflatmap.getCurrentFlatmap();
|
289
|
+
t && t.showConnectivitiesByReference(e);
|
290
|
+
}
|
286
291
|
}), r.on("connectivity-component-click", (e) => {
|
287
292
|
this.showConnectivityTooltips(e);
|
288
293
|
}), r.on("markerUpdate", () => {
|
289
294
|
this.flatmapReady && this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
290
295
|
}), r.on("hoverUpdate", () => {
|
291
|
-
this.flatmapReady && this.mapHoverHighlight(
|
296
|
+
this.flatmapReady && this.mapHoverHighlight();
|
292
297
|
});
|
293
298
|
}
|
294
299
|
}, H = { class: "viewer-container" };
|
@@ -341,7 +346,7 @@ function L(e, t, a, n, o, i) {
|
|
341
346
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
|
342
347
|
]);
|
343
348
|
}
|
344
|
-
const T = /* @__PURE__ */ u(R, [["render", L], ["__scopeId", "data-v-
|
349
|
+
const T = /* @__PURE__ */ u(R, [["render", L], ["__scopeId", "data-v-4f713fcd"]]);
|
345
350
|
export {
|
346
351
|
T as default
|
347
352
|
};
|
@@ -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-C2qirqOb.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-BphdIf2T.js";
|
5
5
|
const p = {
|
6
6
|
name: "Plot",
|
7
7
|
mixins: [r],
|