@abi-software/mapintegratedvuer 1.14.0-beta.0 → 1.14.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-DUtjlaOg.js → ContentMixin-CNJBk8X5.js} +17 -16
- package/dist/{Flatmap-DkkEcztU.js → Flatmap-Br1QH3KB.js} +14 -11
- package/dist/{Iframe-D4q2gvGG.js → Iframe-By3z2E5s.js} +2 -2
- package/dist/{MultiFlatmap-EvhvF0Dr.js → MultiFlatmap-6VIoa11Z.js} +16 -13
- package/dist/{Plot-DT9AD75n.js → Plot-0VRwsvjv.js} +2 -2
- package/dist/{Scaffold-DHTiUuP6.js → Scaffold-du_4ru_3.js} +21 -18
- package/dist/{Simulation-CJVUrAoC.js → Simulation-BrFO_3Hy.js} +2 -2
- package/dist/{index-Cl5VNhAK.js → index-Dj4nDRx6.js} +8301 -8304
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +169 -169
- package/dist/{style-DpvEBAhd.js → style-CwTC2nuF.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/src/App.vue +12 -4
- package/src/components/ContentVuer.vue +2 -2
- package/src/components/MapContent.vue +14 -3
- package/src/components/SplitDialog.vue +8 -2
- package/src/components/SplitFlow.vue +0 -7
- package/src/components/scripts/utilities.js +5 -2
- package/src/components/viewers/Flatmap.vue +7 -3
- package/src/components/viewers/MultiFlatmap.vue +8 -3
- package/src/components/viewers/Scaffold.vue +10 -3
- package/src/mixins/ContentMixin.js +15 -10
- package/src/stores/settings.js +0 -2
- package/map-side-bar.js +0 -25181
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { markRaw as y } from "vue";
|
|
2
|
-
import { c as C, u as E, d as O, e as N, E as f, T as b, f as R, h as x, i as w, l as P,
|
|
3
|
-
import { mapStores as
|
|
2
|
+
import { c as C, u as E, d as O, e as N, E as f, T as b, f as R, h as x, i as w, l as P, j as B, J as X } from "./index-Dj4nDRx6.js";
|
|
3
|
+
import { mapStores as U } from "pinia";
|
|
4
4
|
const M = function(e) {
|
|
5
5
|
return e ? [...new Set(e.map((r) => JSON.stringify(r)))].map(
|
|
6
6
|
(r) => JSON.parse(r)
|
|
@@ -1085,7 +1085,7 @@ const I = [
|
|
|
1085
1085
|
"FMA subclasses (in human nerves)": ["FMA:6892", "FMA:6893"],
|
|
1086
1086
|
"subclass labels": ["Right T9 grey ramus communicans", "Left T9 grey ramus communicans"]
|
|
1087
1087
|
}
|
|
1088
|
-
],
|
|
1088
|
+
], $ = () => {
|
|
1089
1089
|
const e = {};
|
|
1090
1090
|
return I.forEach((r) => {
|
|
1091
1091
|
const t = r.nerve_id, n = r.label.toLowerCase(), a = r["subclass labels"];
|
|
@@ -1100,7 +1100,7 @@ const I = [
|
|
|
1100
1100
|
};
|
|
1101
1101
|
}
|
|
1102
1102
|
}), e;
|
|
1103
|
-
},
|
|
1103
|
+
}, H = () => {
|
|
1104
1104
|
let e = [], r = {
|
|
1105
1105
|
key: "scaffold.connectivity.nerve",
|
|
1106
1106
|
label: "Nerves",
|
|
@@ -1125,10 +1125,10 @@ const I = [
|
|
|
1125
1125
|
}
|
|
1126
1126
|
return t.length && (r.children = t.sort((n, a) => n.label.localeCompare(a.label)), e.push(r)), e;
|
|
1127
1127
|
};
|
|
1128
|
-
function
|
|
1128
|
+
function D(e) {
|
|
1129
1129
|
return e[0].toUpperCase() + e.substring(1);
|
|
1130
1130
|
}
|
|
1131
|
-
const
|
|
1131
|
+
const J = {
|
|
1132
1132
|
emits: ["flatmap-provenance-ready", "resource-selected", "species-changed"],
|
|
1133
1133
|
props: {
|
|
1134
1134
|
/**
|
|
@@ -1147,7 +1147,7 @@ const K = {
|
|
|
1147
1147
|
},
|
|
1148
1148
|
inject: ["showGlobalSettings", "showOpenMapButton"],
|
|
1149
1149
|
computed: {
|
|
1150
|
-
...
|
|
1150
|
+
...U(C, E, O, N),
|
|
1151
1151
|
idNamePair() {
|
|
1152
1152
|
return this.splitFlowStore.idNamePair;
|
|
1153
1153
|
},
|
|
@@ -1284,7 +1284,7 @@ const K = {
|
|
|
1284
1284
|
} else t.eventType == "mouseenter" && (i.eventType = "highlighted", a = !0);
|
|
1285
1285
|
else e == "Scaffold" && (t && ((((l = t.data) == null ? void 0 : l.id) === void 0 || ((o = t.data) == null ? void 0 : o.id) === "") && (t.data.id = (c = t.data) == null ? void 0 : c.group), i.internalName = t.data.id, t.data.lastActionOnMarker === !0 && (n = {
|
|
1286
1286
|
type: "Facet",
|
|
1287
|
-
facets: [
|
|
1287
|
+
facets: [D(t.data.id)]
|
|
1288
1288
|
})), i.eventType = "selected", a = !0);
|
|
1289
1289
|
n && f.emit("PopoverActionClick", n), a && this.$emit("resource-selected", i);
|
|
1290
1290
|
},
|
|
@@ -1536,14 +1536,14 @@ const K = {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
return p;
|
|
1538
1538
|
}
|
|
1539
|
-
}, o =
|
|
1539
|
+
}, o = H();
|
|
1540
1540
|
return {
|
|
1541
1541
|
mockup: !0,
|
|
1542
1542
|
getFilterOptions: async (u, h) => {
|
|
1543
|
-
const v = await
|
|
1543
|
+
const v = await X(this.flatmapAPI, u, h, void 0);
|
|
1544
1544
|
return [...o, ...v];
|
|
1545
1545
|
},
|
|
1546
|
-
getTermNerveMaps:
|
|
1546
|
+
getTermNerveMaps: $,
|
|
1547
1547
|
mapImp: l
|
|
1548
1548
|
};
|
|
1549
1549
|
},
|
|
@@ -1603,9 +1603,10 @@ const K = {
|
|
|
1603
1603
|
r.push(await this.knowledgeTooltipQuery(e.data[n]));
|
|
1604
1604
|
this.tooltipEntry = await Promise.all(r), this.tooltipEntry.map((n) => n.featureId[0]).length > 0 && f.emit("connectivity-info-open", this.tooltipEntry);
|
|
1605
1605
|
},
|
|
1606
|
-
changeConnectivitySource: async function(e) {
|
|
1607
|
-
|
|
1608
|
-
|
|
1606
|
+
changeConnectivitySource: async function(e, r) {
|
|
1607
|
+
var i, s;
|
|
1608
|
+
const { entry: t, connectivitySource: n } = e, a = (s = (i = this == null ? void 0 : this.flatmapService) == null ? void 0 : i.mapImp) == null ? void 0 : s.mapMetadata.uuid;
|
|
1609
|
+
r.includes(a) || (r.push(a), await this.flatmapQueries.queryForConnectivityNew(this.flatmapService.mapImp, t.featureId[0], n), this.tooltipEntry = this.tooltipEntry.map((l) => l.featureId[0] === t.featureId[0] ? this.flatmapQueries.updateTooltipData(l) : l), f.emit("connectivity-info-open", this.tooltipEntry));
|
|
1609
1610
|
},
|
|
1610
1611
|
trackEvent: function(e) {
|
|
1611
1612
|
b.sendEvent(e);
|
|
@@ -1614,7 +1615,7 @@ const K = {
|
|
|
1614
1615
|
data: function() {
|
|
1615
1616
|
return {
|
|
1616
1617
|
apiLocation: void 0,
|
|
1617
|
-
activeSpecies:
|
|
1618
|
+
activeSpecies: B,
|
|
1618
1619
|
scaffoldCamera: void 0,
|
|
1619
1620
|
mainStyle: {
|
|
1620
1621
|
height: this.entry.datasetTitle ? "calc(100% - 30px)" : "100%",
|
|
@@ -1650,5 +1651,5 @@ const K = {
|
|
|
1650
1651
|
}
|
|
1651
1652
|
};
|
|
1652
1653
|
export {
|
|
1653
|
-
|
|
1654
|
+
J as C
|
|
1654
1655
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as d, q as c, E as l, T as h } from "./index-
|
|
2
|
-
import { C as u } from "./ContentMixin-
|
|
3
|
-
import { D as y } from "./style-
|
|
1
|
+
import { _ as d, q as c, E as l, T as h } from "./index-Dj4nDRx6.js";
|
|
2
|
+
import { C as u } from "./ContentMixin-CNJBk8X5.js";
|
|
3
|
+
import { D as y } from "./style-CwTC2nuF.js";
|
|
4
4
|
import { FlatmapVuer as g } from "@abi-software/flatmapvuer";
|
|
5
|
-
import { resolveComponent as r, openBlock as p, createElementBlock as M, createVNode as C, createBlock as v, createCommentVNode as
|
|
6
|
-
const
|
|
5
|
+
import { resolveComponent as r, openBlock as p, createElementBlock as M, createVNode as C, createBlock as v, createCommentVNode as I } from "vue";
|
|
6
|
+
const S = {
|
|
7
7
|
name: "Flatmap",
|
|
8
8
|
mixins: [u, y],
|
|
9
9
|
components: {
|
|
@@ -86,8 +86,11 @@ const w = {
|
|
|
86
86
|
t && t.showConnectivitiesByReference(e);
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
-
changeConnectivitySource: function(e) {
|
|
90
|
-
this != null && this.alive && this.flatmapReady
|
|
89
|
+
changeConnectivitySource: function(e, t) {
|
|
90
|
+
if (this != null && this.alive && this.flatmapReady) {
|
|
91
|
+
const a = this.$refs.flatmap, n = a.mapImp.mapMetadata.uuid;
|
|
92
|
+
t.includes(n) || (t.push(n), a.changeConnectivitySource(e));
|
|
93
|
+
}
|
|
91
94
|
},
|
|
92
95
|
zoomToFeatures: function(e, t) {
|
|
93
96
|
let a = e.name;
|
|
@@ -136,10 +139,10 @@ const w = {
|
|
|
136
139
|
return this.settingsStore.facets.species;
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
|
-
},
|
|
142
|
+
}, w = { class: "viewer-container" };
|
|
140
143
|
function F(e, t, a, n, i, o) {
|
|
141
144
|
const s = r("FlatmapVuer"), f = r("HelpModeDialog");
|
|
142
|
-
return p(), M("div",
|
|
145
|
+
return p(), M("div", w, [
|
|
143
146
|
C(s, {
|
|
144
147
|
state: e.entry.state,
|
|
145
148
|
entry: e.entry.resource,
|
|
@@ -190,10 +193,10 @@ function F(e, t, a, n, i, o) {
|
|
|
190
193
|
lastItem: e.helpModeLastItem,
|
|
191
194
|
onShowNext: e.onHelpModeShowNext,
|
|
192
195
|
onFinishHelpMode: e.onFinishHelpMode
|
|
193
|
-
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) :
|
|
196
|
+
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : I("", !0)
|
|
194
197
|
]);
|
|
195
198
|
}
|
|
196
|
-
const $ = /* @__PURE__ */ d(
|
|
199
|
+
const $ = /* @__PURE__ */ d(S, [["render", F], ["__scopeId", "data-v-a87dcfac"]]);
|
|
197
200
|
export {
|
|
198
201
|
$ as default
|
|
199
202
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
|
1
|
+
import { C as r } from "./ContentMixin-CNJBk8X5.js";
|
|
2
2
|
import { openBlock as o, createElementBlock as t, createElementVNode as a } from "vue";
|
|
3
|
-
import { _ as s } from "./index-
|
|
3
|
+
import { _ as s } from "./index-Dj4nDRx6.js";
|
|
4
4
|
const n = {
|
|
5
5
|
name: "Iframe",
|
|
6
6
|
mixins: [r]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as c, q as h, a as g, T as r, E as l } from "./index-
|
|
2
|
-
import { C as M } from "./ContentMixin-
|
|
3
|
-
import { D as C } from "./style-
|
|
1
|
+
import { _ as c, q as h, a as g, T as r, E as l } from "./index-Dj4nDRx6.js";
|
|
2
|
+
import { C as M } from "./ContentMixin-CNJBk8X5.js";
|
|
3
|
+
import { D as C } from "./style-CwTC2nuF.js";
|
|
4
4
|
import { MultiFlatmapVuer as y } from "@abi-software/flatmapvuer";
|
|
5
|
-
import { resolveComponent as p, openBlock as m, createElementBlock as v, createVNode as
|
|
6
|
-
const w = '<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>',
|
|
5
|
+
import { resolveComponent as p, openBlock as m, createElementBlock as v, createVNode as I, createBlock as S, createCommentVNode as F } from "vue";
|
|
6
|
+
const w = '<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) => [
|
|
7
7
|
{
|
|
8
8
|
display: "Open AC Map",
|
|
9
9
|
key: "AC"
|
|
@@ -30,7 +30,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
30
30
|
scaffoldResource: {},
|
|
31
31
|
showStarInLegend: !1,
|
|
32
32
|
speciesHasChanged: !1,
|
|
33
|
-
openMapOptions:
|
|
33
|
+
openMapOptions: d(),
|
|
34
34
|
zoomLevel: 6
|
|
35
35
|
};
|
|
36
36
|
},
|
|
@@ -108,7 +108,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
108
108
|
e && (this.flatmapMarkerUpdate(e.mapImp), this.updateViewerSettings(), this.speciesHasChanged && (this.speciesHasChanged = !1, this.$emit("species-changed", this.activeSpecies)));
|
|
109
109
|
},
|
|
110
110
|
flatmapChanged: async function(e) {
|
|
111
|
-
this.activeSpecies = e, this.openMapOptions =
|
|
111
|
+
this.activeSpecies = e, this.openMapOptions = d();
|
|
112
112
|
const t = this.getFlatmapImp();
|
|
113
113
|
this.updateProvCard(), t && (t.contextLost ? this.speciesHasChanged = !0 : (this.flatmapMarkerUpdate(t), this.updateViewerSettings(), this.speciesHasChanged = !1, this.$emit("species-changed", e))), r.sendEvent({
|
|
114
114
|
event: "interaction_event",
|
|
@@ -193,8 +193,11 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
193
193
|
t && t.showConnectivitiesByReference(e);
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
|
-
changeConnectivitySource: function(e) {
|
|
197
|
-
this != null && this.alive && this.flatmapReady
|
|
196
|
+
changeConnectivitySource: function(e, t) {
|
|
197
|
+
if (this != null && this.alive && this.flatmapReady) {
|
|
198
|
+
const a = this.$refs.multiflatmap.getCurrentFlatmap(), n = a.mapImp.mapMetadata.uuid;
|
|
199
|
+
t.includes(n) || (t.push(n), a.changeConnectivitySource(e));
|
|
200
|
+
}
|
|
198
201
|
},
|
|
199
202
|
updateViewerSettings: function() {
|
|
200
203
|
const {
|
|
@@ -244,9 +247,9 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
244
247
|
}
|
|
245
248
|
}, b = { class: "viewer-container" };
|
|
246
249
|
function R(e, t, a, n, i, o) {
|
|
247
|
-
const s = p("MultiFlatmapVuer"),
|
|
250
|
+
const s = p("MultiFlatmapVuer"), f = p("HelpModeDialog");
|
|
248
251
|
return m(), v("div", b, [
|
|
249
|
-
|
|
252
|
+
I(s, {
|
|
250
253
|
availableSpecies: e.availableSpecies,
|
|
251
254
|
onContextRestored: o.contextRestored,
|
|
252
255
|
onFlatmapChanged: o.flatmapChanged,
|
|
@@ -290,7 +293,7 @@ function R(e, t, a, n, i, o) {
|
|
|
290
293
|
showPathwayFilter: !1,
|
|
291
294
|
onTrackEvent: e.trackEvent
|
|
292
295
|
}, null, 8, ["availableSpecies", "onContextRestored", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "onUpdateOfflineAnnotationEnabled", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "onNeuronConnectionFeatureClick", "connectivityInfoSidebar", "displayMinimap", "showStarInLegend", "openMapOptions", "flatmapAPI", "render", "sparcAPI", "showLocalSettings", "showOpenMapButton", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded", "onTrackEvent"]),
|
|
293
|
-
e.helpMode && e.useHelpModeDialog ? (m(),
|
|
296
|
+
e.helpMode && e.useHelpModeDialog ? (m(), S(f, {
|
|
294
297
|
key: 0,
|
|
295
298
|
ref: "multiflatmapHelp",
|
|
296
299
|
multiflatmapRef: e.multiflatmapRef,
|
|
@@ -300,7 +303,7 @@ function R(e, t, a, n, i, o) {
|
|
|
300
303
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : F("", !0)
|
|
301
304
|
]);
|
|
302
305
|
}
|
|
303
|
-
const E = /* @__PURE__ */ c(k, [["render", R], ["__scopeId", "data-v-
|
|
306
|
+
const E = /* @__PURE__ */ c(k, [["render", R], ["__scopeId", "data-v-3d3287ed"]]);
|
|
304
307
|
export {
|
|
305
308
|
E as default
|
|
306
309
|
};
|
|
@@ -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-CNJBk8X5.js";
|
|
3
3
|
import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
|
|
4
|
-
import { _ as p } from "./index-
|
|
4
|
+
import { _ as p } from "./index-Dj4nDRx6.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "Plot",
|
|
7
7
|
mixins: [r],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as g, q as m, g as v, b as y, E as
|
|
2
|
-
import { C as w } from "./ContentMixin-
|
|
1
|
+
import { _ as g, q as m, g as v, b as y, E as d } from "./index-Dj4nDRx6.js";
|
|
2
|
+
import { C as w } from "./ContentMixin-CNJBk8X5.js";
|
|
3
3
|
import { ScaffoldVuer as b } from "@abi-software/scaffoldvuer";
|
|
4
|
-
import { resolveComponent as p, openBlock as u, createElementBlock as S, createVNode as M, createBlock as
|
|
5
|
-
const
|
|
4
|
+
import { resolveComponent as p, openBlock as u, createElementBlock as S, createVNode as M, createBlock as N, createCommentVNode as $ } from "vue";
|
|
5
|
+
const C = {
|
|
6
6
|
name: "Scaffold",
|
|
7
7
|
mixins: [w],
|
|
8
8
|
components: {
|
|
@@ -36,7 +36,10 @@ const N = {
|
|
|
36
36
|
let t = [];
|
|
37
37
|
const n = !!e;
|
|
38
38
|
if (e) {
|
|
39
|
-
const o =
|
|
39
|
+
const o = [];
|
|
40
|
+
e.OR.forEach((s) => {
|
|
41
|
+
"AND" in s && s.AND.length >= 2 && "models" in s.AND[1] && o.push(...s.AND[1].models);
|
|
42
|
+
});
|
|
40
43
|
for (const s of o) {
|
|
41
44
|
const i = this.nervesKnowledge.find((f) => f.id === s);
|
|
42
45
|
if (i) {
|
|
@@ -79,8 +82,8 @@ const N = {
|
|
|
79
82
|
const l = this.connectivitiesStore.filterOptions[this.entry.resource].find((r) => r.key === `flatmap.connectivity.source.${s}`);
|
|
80
83
|
let a;
|
|
81
84
|
l == null || l.children.forEach((r) => {
|
|
82
|
-
var
|
|
83
|
-
r.label.toLowerCase() === n && (a = r), (
|
|
85
|
+
var c;
|
|
86
|
+
r.label.toLowerCase() === n && (a = r), (c = r.children) == null || c.forEach((h) => {
|
|
84
87
|
h.label.toLowerCase() === n && (a = h);
|
|
85
88
|
});
|
|
86
89
|
}), a && (i = a.key.replace(`flatmap.connectivity.source.${s}.`, ""), this.filter.push({
|
|
@@ -91,7 +94,7 @@ const N = {
|
|
|
91
94
|
}));
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
|
-
|
|
97
|
+
d.emit("neuron-connection-feature-click", {
|
|
95
98
|
filters: this.filter,
|
|
96
99
|
search: this.filter.length ? "" : n
|
|
97
100
|
});
|
|
@@ -100,7 +103,7 @@ const N = {
|
|
|
100
103
|
o.length && this.getKnowledgeTooltip({ data: o, type: this.entry });
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
|
-
} else t.length > 1 ? this.$refs.scaffold.viewingMode === "Exploration" && this.clickedObject && this.$refs.scaffold.$module.setIgnorePicking(!1) : (this.clickedObject = void 0,
|
|
106
|
+
} else t.length > 1 ? this.$refs.scaffold.viewingMode === "Exploration" && this.clickedObject && this.$refs.scaffold.$module.setIgnorePicking(!1) : (this.clickedObject = void 0, d.emit("connectivity-info-close"));
|
|
104
107
|
},
|
|
105
108
|
onResize: function() {
|
|
106
109
|
this.scaffoldCamera.onResize();
|
|
@@ -138,7 +141,7 @@ const N = {
|
|
|
138
141
|
Array.isArray(e) ? n = e : n = [e.name], t && this.$refs.scaffold.changeActiveByName(n, "", !1), this.$refs.scaffold.viewRegion(n);
|
|
139
142
|
},
|
|
140
143
|
scaffoldIsReady: function() {
|
|
141
|
-
this.scaffoldLoaded = !0, this.$refs.scaffold.$module.graphicsHighlight.highlightColour = [1, 0, 1], this.visible && this.entry.rotation && this.entry.rotation, this.updateViewerSettings(),
|
|
144
|
+
this.scaffoldLoaded = !0, this.$refs.scaffold.$module.graphicsHighlight.highlightColour = [1, 0, 1], this.visible && this.entry.rotation && this.entry.rotation, this.updateViewerSettings(), d.emit("mapLoaded", this.$refs.scaffold), setTimeout(() => {
|
|
142
145
|
this.setNerveGreyScale();
|
|
143
146
|
}, 500);
|
|
144
147
|
},
|
|
@@ -190,7 +193,7 @@ const N = {
|
|
|
190
193
|
},
|
|
191
194
|
computed: {
|
|
192
195
|
warningMessage: function() {
|
|
193
|
-
return this.entry.
|
|
196
|
+
return this.entry.discoverId === "307" || this.entry.discoverId === 307 ? "This map displays the anatomical location and connectivity of nerves, through which the neuron populations from the ApiNATOMY models available in SCKAN can be routed." : "Under active development";
|
|
194
197
|
},
|
|
195
198
|
markerLabels: function() {
|
|
196
199
|
return this.settingsStore.globalSettings.displayMarkers ? this.settingsStore.numberOfDatasetsForFacets : {};
|
|
@@ -222,10 +225,10 @@ const N = {
|
|
|
222
225
|
mounted: function() {
|
|
223
226
|
this.scaffoldCamera = this.$refs.scaffold.$module.scene.getZincCameraControls();
|
|
224
227
|
}
|
|
225
|
-
},
|
|
226
|
-
function
|
|
228
|
+
}, I = { class: "viewer-container" };
|
|
229
|
+
function O(e, t, n, o, s, i) {
|
|
227
230
|
const f = p("ScaffoldVuer"), l = p("HelpModeDialog");
|
|
228
|
-
return u(), S("div",
|
|
231
|
+
return u(), S("div", I, [
|
|
229
232
|
M(f, {
|
|
230
233
|
state: e.entry.state,
|
|
231
234
|
url: e.entry.resource,
|
|
@@ -262,20 +265,20 @@ function L(e, t, n, o, s, i) {
|
|
|
262
265
|
showOpenMapButton: e.showOpenMapButton,
|
|
263
266
|
usageConfig: {
|
|
264
267
|
showTubeLinesControls: !1,
|
|
265
|
-
tubeLines: e.entry.discoverId === "307"
|
|
268
|
+
tubeLines: e.entry.discoverId === "307" || e.entry.discoverId === 307
|
|
266
269
|
}
|
|
267
270
|
}, null, 8, ["state", "url", "region", "onOnReady", "onOpenMap", "helpMode", "helpModeActiveItem", "helpModeDialog", "onAnnotationOpen", "onAnnotationClose", "onUpdateOfflineAnnotationEnabled", "annotationSidebar", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "render", "warning-message", "view-u-r-l", "markerLabels", "flatmapAPI", "showLocalSettings", "showOpenMapButton", "usageConfig"]),
|
|
268
|
-
e.helpMode && e.useHelpModeDialog ? (u(),
|
|
271
|
+
e.helpMode && e.useHelpModeDialog ? (u(), N(l, {
|
|
269
272
|
key: 0,
|
|
270
273
|
ref: "scaffoldHelp",
|
|
271
274
|
scaffoldRef: e.scaffoldRef,
|
|
272
275
|
lastItem: e.helpModeLastItem,
|
|
273
276
|
onShowNext: e.onHelpModeShowNext,
|
|
274
277
|
onFinishHelpMode: e.onFinishHelpMode
|
|
275
|
-
}, null, 8, ["scaffoldRef", "lastItem", "onShowNext", "onFinishHelpMode"])) :
|
|
278
|
+
}, null, 8, ["scaffoldRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : $("", !0)
|
|
276
279
|
]);
|
|
277
280
|
}
|
|
278
|
-
const H = /* @__PURE__ */ g(
|
|
281
|
+
const H = /* @__PURE__ */ g(C, [["render", O], ["__scopeId", "data-v-5de11cee"]]);
|
|
279
282
|
export {
|
|
280
283
|
H as default
|
|
281
284
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as n } from "./ContentMixin-
|
|
1
|
+
import { C as n } from "./ContentMixin-CNJBk8X5.js";
|
|
2
2
|
import { SimulationVuer as e } from "@abi-software/simulationvuer";
|
|
3
3
|
import { resolveComponent as r, openBlock as a, createBlock as c } from "vue";
|
|
4
|
-
import { _ as m } from "./index-
|
|
4
|
+
import { _ as m } from "./index-Dj4nDRx6.js";
|
|
5
5
|
const s = {
|
|
6
6
|
name: "Simulation",
|
|
7
7
|
mixins: [n],
|