@abi-software/mapintegratedvuer 1.17.0 → 1.17.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/{ConnectivityGraph-DbqPx-8k.js → ConnectivityGraph-BL4B9GZX.js} +2 -2
- package/dist/{ContentMixin-R9Bw7Ou4.js → ContentMixin-Djmb_gqk.js} +7 -7
- package/dist/{Flatmap-BYUfDJ9B.js → Flatmap-uPEQNDkK.js} +3 -3
- package/dist/{Iframe-2ofJ9NJW.js → Iframe-ByYxT4Yq.js} +2 -2
- package/dist/{MultiFlatmap-CYxpB20e.js → MultiFlatmap-DSkdlRiS.js} +9 -9
- package/dist/{Plot-DmQzP7lz.js → Plot-ymkHVq_A.js} +2 -2
- package/dist/{Scaffold-C8x1IHb9.js → Scaffold-bw7posKm.js} +2 -2
- package/dist/{Simulation-D9pblkqI.js → Simulation-C_gdqDes.js} +2 -2
- package/dist/{index-raNlNgsS.js → index-CwfUgFL1.js} +19617 -19605
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +158 -158
- package/dist/{style-QpNSY6to.js → style-Czqe2bTf.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as h, B as m, E as r } from "./index-
|
|
2
|
-
import { C as y } from "./ContentMixin-
|
|
1
|
+
import { _ as h, B as m, E as r } from "./index-CwfUgFL1.js";
|
|
2
|
+
import { C as y } from "./ContentMixin-Djmb_gqk.js";
|
|
3
3
|
import { resolveComponent as p, openBlock as d, createElementBlock as l, createVNode as v } from "vue";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "ConnectivityGraph",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { markRaw as y } from "vue";
|
|
2
|
-
import { G as _, c as E, u as O, d as N, e as x,
|
|
2
|
+
import { G as _, c as E, u as O, d as N, e as x, f as P, T as M, E as m, h as R, l as B, i as w, j as X, k as U } from "./index-CwfUgFL1.js";
|
|
3
3
|
import { mapStores as k } from "pinia";
|
|
4
4
|
const b = function(e) {
|
|
5
5
|
return e ? [...new Set(e.map((n) => JSON.stringify(n)))].map(
|
|
@@ -1347,10 +1347,10 @@ const K = {
|
|
|
1347
1347
|
if (e.resource && e.resource.resource && (r = e.resource.resource[0]), this.entry.type === "Scaffold") {
|
|
1348
1348
|
if (this.$refs.scaffold.findObjectsWithGroupName(n).length === 0) {
|
|
1349
1349
|
if (e.resource && e.resource.feature) {
|
|
1350
|
-
const i =
|
|
1350
|
+
const i = w(e.resource.feature.models);
|
|
1351
1351
|
if (i.length > 0) return i;
|
|
1352
1352
|
}
|
|
1353
|
-
let a =
|
|
1353
|
+
let a = X(n);
|
|
1354
1354
|
if (a)
|
|
1355
1355
|
return a;
|
|
1356
1356
|
if (r && e.eventType === "selected")
|
|
@@ -1364,7 +1364,7 @@ const K = {
|
|
|
1364
1364
|
if (n === "Bladder")
|
|
1365
1365
|
n = "Urinary Bladder";
|
|
1366
1366
|
else {
|
|
1367
|
-
const t =
|
|
1367
|
+
const t = w(n);
|
|
1368
1368
|
t.length > 0 && (n = t[0]);
|
|
1369
1369
|
}
|
|
1370
1370
|
return { id: r, name: n };
|
|
@@ -1593,7 +1593,7 @@ const K = {
|
|
|
1593
1593
|
},
|
|
1594
1594
|
loadConnectivityExplorerConfig: async function(e) {
|
|
1595
1595
|
var i;
|
|
1596
|
-
const n = e.mapImp, r =
|
|
1596
|
+
const n = e.mapImp, r = R(n), t = e.mockup ? n.resource : n.uuid;
|
|
1597
1597
|
let a = [];
|
|
1598
1598
|
if (!this.connectivityKnowledge[r]) {
|
|
1599
1599
|
this.flatmapQueries = y(new S()), this.flatmapQueries.initialise(this.flatmapAPI);
|
|
@@ -1638,7 +1638,7 @@ const K = {
|
|
|
1638
1638
|
provenanceTaxonomy: e.taxons,
|
|
1639
1639
|
feature: []
|
|
1640
1640
|
});
|
|
1641
|
-
return n.knowledgeSource =
|
|
1641
|
+
return n.knowledgeSource = R(this.flatmapService.mapImp), n.mapId = this.flatmapService.mapImp.mapMetadata.id, n.mapuuid = this.flatmapService.mapImp.mapMetadata.uuid, n["nerve-label"] = e["nerve-label"], n.ready = !0, n;
|
|
1642
1642
|
},
|
|
1643
1643
|
getKnowledgeTooltip: async function(e) {
|
|
1644
1644
|
this.tooltipEntry = [], e.data.forEach((t) => this.tooltipEntry.push({ title: t.label, featureId: [t.id], ready: !1 })), m.emit("connectivity-info-open", this.tooltipEntry);
|
|
@@ -1659,7 +1659,7 @@ const K = {
|
|
|
1659
1659
|
data: function() {
|
|
1660
1660
|
return {
|
|
1661
1661
|
apiLocation: void 0,
|
|
1662
|
-
activeSpecies:
|
|
1662
|
+
activeSpecies: P,
|
|
1663
1663
|
scaffoldCamera: void 0,
|
|
1664
1664
|
mainStyle: {
|
|
1665
1665
|
height: this.entry.datasetTitle ? "calc(100% - 30px)" : "100%",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as d, z as c,
|
|
2
|
-
import { C as u } from "./ContentMixin-
|
|
3
|
-
import { D as y } from "./style-
|
|
1
|
+
import { _ as d, z as c, T as h, E as l } from "./index-CwfUgFL1.js";
|
|
2
|
+
import { C as u } from "./ContentMixin-Djmb_gqk.js";
|
|
3
|
+
import { D as y } from "./style-Czqe2bTf.js";
|
|
4
4
|
import { FlatmapVuer as g } from "@abi-software/flatmapvuer";
|
|
5
5
|
import { resolveComponent as r, openBlock as p, createElementBlock as M, createVNode as C, createBlock as v, createCommentVNode as I } from "vue";
|
|
6
6
|
const S = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
|
1
|
+
import { C as r } from "./ContentMixin-Djmb_gqk.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-CwfUgFL1.js";
|
|
4
4
|
const n = {
|
|
5
5
|
name: "Iframe",
|
|
6
6
|
mixins: [r]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as c, z as h,
|
|
2
|
-
import { C as M } from "./ContentMixin-
|
|
3
|
-
import { D as y } from "./style-
|
|
1
|
+
import { _ as c, z as h, E as r, T as l, a as g } from "./index-CwfUgFL1.js";
|
|
2
|
+
import { C as M } from "./ContentMixin-Djmb_gqk.js";
|
|
3
|
+
import { D as y } from "./style-Czqe2bTf.js";
|
|
4
4
|
import { MultiFlatmapVuer as C } from "@abi-software/flatmapvuer";
|
|
5
5
|
import { resolveComponent as p, openBlock as m, createElementBlock as v, createVNode as I, createBlock as S, createCommentVNode as F } from "vue";
|
|
6
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) => [
|
|
@@ -74,7 +74,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
74
74
|
},
|
|
75
75
|
onPathwaySelectionChanged: function(e) {
|
|
76
76
|
const { label: t, property: a, checked: n, selectionsTitle: i } = e;
|
|
77
|
-
|
|
77
|
+
l.sendEvent({
|
|
78
78
|
event: "interaction_event",
|
|
79
79
|
event_name: "portal_maps_pathway_change",
|
|
80
80
|
category: t + " [" + a + "] " + n,
|
|
@@ -85,7 +85,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
85
85
|
this.flatmapReady && this.$refs.multiflatmap.getCurrentFlatmap().annotationEventCallback({}, { type: "aborted" });
|
|
86
86
|
},
|
|
87
87
|
onOpenPubmedUrl: function(e) {
|
|
88
|
-
|
|
88
|
+
l.sendEvent({
|
|
89
89
|
event: "interaction_event",
|
|
90
90
|
event_name: "portal_maps_pubmed_url",
|
|
91
91
|
file_path: e,
|
|
@@ -105,7 +105,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
105
105
|
const e = this.getFlatmapImp();
|
|
106
106
|
if (e) {
|
|
107
107
|
let t = { id: this.entry.id, prov: e.mapMetadata };
|
|
108
|
-
|
|
108
|
+
r.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t);
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
contextRestored: function(e) {
|
|
@@ -114,7 +114,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
114
114
|
flatmapChanged: async function(e) {
|
|
115
115
|
this.activeSpecies = e, this.openMapOptions = d();
|
|
116
116
|
const t = this.getFlatmapImp();
|
|
117
|
-
this.updateProvCard(), t && (t.contextLost ? this.speciesHasChanged = !0 : (this.flatmapMarkerUpdate(t), this.updateViewerSettings(), this.speciesHasChanged = !1, this.$emit("species-changed", e))),
|
|
117
|
+
this.updateProvCard(), t && (t.contextLost ? this.speciesHasChanged = !0 : (this.flatmapMarkerUpdate(t), this.updateViewerSettings(), this.speciesHasChanged = !1, this.$emit("species-changed", e))), l.sendEvent({
|
|
118
118
|
event: "interaction_event",
|
|
119
119
|
event_name: "portal_maps_species_change",
|
|
120
120
|
category: this.activeSpecies
|
|
@@ -125,7 +125,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
125
125
|
e.enablePanZoomEvents(!0), this.flatmapReady = !0;
|
|
126
126
|
const t = e.mapImp;
|
|
127
127
|
this.flatmapMarkerUpdate(t), this.updateProvCard(), this.updateViewerSettings(), this.loadConnectivityExplorerConfig(e).then(() => {
|
|
128
|
-
|
|
128
|
+
r.emit("mapLoaded", e);
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
},
|
|
@@ -139,7 +139,7 @@ const w = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
|
139
139
|
label: "Unused",
|
|
140
140
|
val: this.getFlatmapImp().visibleMarkerAnatomicalIds().map((n) => this.idNamePair[n])
|
|
141
141
|
};
|
|
142
|
-
|
|
142
|
+
r.emit("PopoverActionClick", a);
|
|
143
143
|
},
|
|
144
144
|
flatmapIsReady() {
|
|
145
145
|
return this.flatmapReady;
|
|
@@ -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-Djmb_gqk.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-CwfUgFL1.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "Plot",
|
|
7
7
|
mixins: [r],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as g, z as m,
|
|
2
|
-
import { C as w } from "./ContentMixin-
|
|
1
|
+
import { _ as g, z as m, E as d, g as v, b as y } from "./index-CwfUgFL1.js";
|
|
2
|
+
import { C as w } from "./ContentMixin-Djmb_gqk.js";
|
|
3
3
|
import { ScaffoldVuer as b } from "@abi-software/scaffoldvuer";
|
|
4
4
|
import { resolveComponent as p, openBlock as u, createElementBlock as S, createVNode as M, createBlock as N, createCommentVNode as $ } from "vue";
|
|
5
5
|
const C = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as n } from "./ContentMixin-
|
|
1
|
+
import { C as n } from "./ContentMixin-Djmb_gqk.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-CwfUgFL1.js";
|
|
5
5
|
const s = {
|
|
6
6
|
name: "Simulation",
|
|
7
7
|
mixins: [n],
|