@abi-software/mapintegratedvuer 1.3.4-beta.6 → 1.3.4-beta.8
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-BFNQwpnH.js → ContentMixin-DOsFoWgc.js} +1 -1
- package/dist/{Flatmap-2HBPCy-_.js → Flatmap-oE6MGkVh.js} +9 -12
- package/dist/{Iframe-VsNAew31.js → Iframe-wxShj_4p.js} +2 -2
- package/dist/{MultiFlatmap-idyRjbhs.js → MultiFlatmap-CAOVXWnw.js} +12 -15
- package/dist/{Plot-DAj-afal.js → Plot-DoQKNBIB.js} +2 -2
- package/dist/Scaffold-CUmecqSk.js +56196 -0
- package/dist/{Simulation-Bw4nkk8k.js → Simulation-DmKZAUId.js} +2 -2
- package/dist/index-CxxWkeZL.js +56091 -0
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +2155 -838
- package/dist/{style-BhfrDa4y.js → style-907L63ni.js} +57508 -45701
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/App.vue +4 -4
- package/src/components/ContentBar.vue +1 -1
- package/src/components/ContextCard.vue +132 -20
- package/src/components/FlatmapContextCard.vue +56 -8
- package/src/components/MapContent.vue +2 -5
- package/src/components/viewers/Flatmap.vue +1 -4
- package/src/components/viewers/MultiFlatmap.vue +1 -6
- package/src/components/viewers/Scaffold.vue +1 -6
- package/src/stores/index.js +1 -1
- package/dist/Scaffold-BFQCXv7m.js +0 -44371
- package/dist/index-C4Z7CW9f.js +0 -35925
- package/dist/style-CJykSWTR.js +0 -11999
@@ -1,14 +1,13 @@
|
|
1
|
-
import { _ as d,
|
2
|
-
import { C as
|
3
|
-
import { D as
|
4
|
-
import { F as y } from "./style-CJykSWTR.js";
|
1
|
+
import { _ as d, L as h, t as u, T as s, E as l } from "./index-CxxWkeZL.js";
|
2
|
+
import { C as I } from "./ContentMixin-DOsFoWgc.js";
|
3
|
+
import { D as y, W as g } from "./style-907L63ni.js";
|
5
4
|
import { resolveComponent as p, openBlock as r, createElementBlock as M, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
|
6
5
|
const w = {
|
7
6
|
name: "Flatmap",
|
8
|
-
mixins: [
|
7
|
+
mixins: [I, y],
|
9
8
|
components: {
|
10
9
|
FlatmapVuer: g,
|
11
|
-
HelpModeDialog:
|
10
|
+
HelpModeDialog: h
|
12
11
|
},
|
13
12
|
methods: {
|
14
13
|
getState: function() {
|
@@ -36,7 +35,7 @@ const w = {
|
|
36
35
|
featureId: t.feature.featureId || "",
|
37
36
|
taxonomy: t.taxonomy || "",
|
38
37
|
resources: t.resource.join(", ")
|
39
|
-
}, a =
|
38
|
+
}, a = u(o);
|
40
39
|
s.sendEvent({
|
41
40
|
event: "interaction_event",
|
42
41
|
event_name: "portal_maps_connectivity",
|
@@ -47,7 +46,7 @@ const w = {
|
|
47
46
|
},
|
48
47
|
flatmapReadyCall: function(e) {
|
49
48
|
let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
|
50
|
-
l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.entry.resource !== "FunctionalConnectivity" && this.flatmapReadyForMarkerUpdates(e), l.emit("
|
49
|
+
l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.entry.resource !== "FunctionalConnectivity" && this.flatmapReadyForMarkerUpdates(e), l.emit("mapLoaded", e);
|
51
50
|
},
|
52
51
|
onPathwaySelectionChanged: function(e) {
|
53
52
|
const { label: t, property: o, checked: a, selectionsTitle: n } = e;
|
@@ -109,8 +108,6 @@ const w = {
|
|
109
108
|
offsetX: o ? -150 : 0,
|
110
109
|
zoom: 4
|
111
110
|
});
|
112
|
-
}), l.on("changeViewingMode", (e) => {
|
113
|
-
this.changeViewingMode(e);
|
114
111
|
});
|
115
112
|
}
|
116
113
|
}, F = { class: "viewer-container" };
|
@@ -156,7 +153,7 @@ function H(e, t, o, a, n, i) {
|
|
156
153
|
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
|
157
154
|
]);
|
158
155
|
}
|
159
|
-
const
|
156
|
+
const P = /* @__PURE__ */ d(w, [["render", H], ["__scopeId", "data-v-4e497e4f"]]);
|
160
157
|
export {
|
161
|
-
|
158
|
+
P as default
|
162
159
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
1
|
+
import { C as r } from "./ContentMixin-DOsFoWgc.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-CxxWkeZL.js";
|
4
4
|
const a = {
|
5
5
|
name: "Iframe",
|
6
6
|
mixins: [r]
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { _ as u,
|
2
|
-
import { C as
|
3
|
-
import { D as
|
4
|
-
import { F as S } from "./style-CJykSWTR.js";
|
1
|
+
import { _ as u, L as h, a as y, g, E as s, t as M, T as p } from "./index-CxxWkeZL.js";
|
2
|
+
import { C as v } from "./ContentMixin-DOsFoWgc.js";
|
3
|
+
import { D as I, v as S } from "./style-907L63ni.js";
|
5
4
|
import { resolveComponent as f, openBlock as c, createElementBlock as C, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
|
6
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) => {
|
7
6
|
const t = [
|
@@ -31,16 +30,16 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
31
30
|
return t;
|
32
31
|
}, b = {
|
33
32
|
name: "MultiFlatmap",
|
34
|
-
mixins: [
|
33
|
+
mixins: [v, I],
|
35
34
|
components: {
|
36
|
-
MultiFlatmapVuer:
|
37
|
-
HelpModeDialog:
|
35
|
+
MultiFlatmapVuer: S,
|
36
|
+
HelpModeDialog: h
|
38
37
|
},
|
39
38
|
data: function() {
|
40
39
|
return {
|
41
40
|
zoomLevel: 6,
|
42
41
|
flatmapReady: !1,
|
43
|
-
availableSpecies:
|
42
|
+
availableSpecies: y(),
|
44
43
|
scaffoldResource: {},
|
45
44
|
showStarInLegend: !1,
|
46
45
|
openMapOptions: d("Rat")
|
@@ -61,7 +60,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
61
60
|
title: "View 3D scaffold",
|
62
61
|
layout: "2horpanel",
|
63
62
|
type: "SyncMap"
|
64
|
-
} : (this.activeSpecies === "Human Male" || this.activeSpecies === "Human Female") && ("human" in this.scaffoldResource || (this.scaffoldResource.human = await
|
63
|
+
} : (this.activeSpecies === "Human Male" || this.activeSpecies === "Human Female") && ("human" in this.scaffoldResource || (this.scaffoldResource.human = await g(this.apiLocation, "human")), e = {
|
65
64
|
contextCardUrl: this.scaffoldResource.human.datasetInfo.contextCardUrl,
|
66
65
|
discoverId: this.scaffoldResource.human.datasetInfo.discoverId,
|
67
66
|
s3uri: this.scaffoldResource.human.datasetInfo.s3uri,
|
@@ -116,7 +115,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
116
115
|
featureId: t.feature.featureId || "",
|
117
116
|
taxonomy: t.taxonomy || "",
|
118
117
|
resources: t.resource.join(", ")
|
119
|
-
}, o =
|
118
|
+
}, o = M(n);
|
120
119
|
p.sendEvent({
|
121
120
|
event: "interaction_event",
|
122
121
|
event_name: "portal_maps_connectivity",
|
@@ -197,7 +196,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
197
196
|
if (e) {
|
198
197
|
e.enablePanZoomEvents(!0), this.flatmapReady = !0;
|
199
198
|
const t = e.mapImp;
|
200
|
-
this.flatmapMarkerUpdate(t), this.updateProvCard(), s.emit("
|
199
|
+
this.flatmapMarkerUpdate(t), this.updateProvCard(), s.emit("mapLoaded", e);
|
201
200
|
}
|
202
201
|
},
|
203
202
|
getFlatmapImp: function() {
|
@@ -281,8 +280,6 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
281
280
|
this.flatmapReady && this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
282
281
|
}), s.on("hoverUpdate", () => {
|
283
282
|
this.flatmapReady && this.mapHoverHighlight(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
284
|
-
}), s.on("changeViewingMode", (e) => {
|
285
|
-
this.flatmapReady && this.changeViewingMode(e);
|
286
283
|
});
|
287
284
|
}
|
288
285
|
}, H = { class: "viewer-container" };
|
@@ -329,7 +326,7 @@ function L(e, t, a, n, o, i) {
|
|
329
326
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
|
330
327
|
]);
|
331
328
|
}
|
332
|
-
const
|
329
|
+
const E = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-d723825f"]]);
|
333
330
|
export {
|
334
|
-
|
331
|
+
E as default
|
335
332
|
};
|
@@ -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-DOsFoWgc.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-CxxWkeZL.js";
|
5
5
|
const p = {
|
6
6
|
name: "Plot",
|
7
7
|
mixins: [a],
|