@abi-software/mapintegratedvuer 1.3.4-beta.2 → 1.3.4-beta.3
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-DFsTunqU.js → ContentMixin-e_R3pshi.js} +1 -1
- package/dist/{Flatmap-LwWccT_N.js → Flatmap-C5vT7xKS.js} +14 -12
- package/dist/{Iframe-DKDovlWA.js → Iframe-VUzwonAL.js} +2 -2
- package/dist/{MultiFlatmap-Ccqab9Pf.js → MultiFlatmap-CmpC1OzB.js} +20 -18
- package/dist/{Plot-TMU0MtDa.js → Plot-CmjKwdil.js} +2 -2
- package/dist/{Scaffold-DJ2E8l90.js → Scaffold-DCk59qIg.js} +1081 -1078
- package/dist/{Simulation-VbpYdrJe.js → Simulation-H03BonwT.js} +2 -2
- package/dist/{index-BQV8-ab4.js → index-fNKt5pKW.js} +212 -217
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +41 -41
- package/dist/{style-wUZezVCf.js → style-DTVzdiHD.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -3
- package/src/components/ContentVuer.vue +0 -3
- package/src/components/MapContent.vue +7 -6
- package/src/components/SplitFlow.vue +0 -5
- package/src/components/viewers/Flatmap.vue +5 -2
- package/src/components/viewers/MultiFlatmap.vue +6 -0
- package/src/components/viewers/Scaffold.vue +6 -0
- package/src/stores/index.js +1 -1
@@ -1,14 +1,14 @@
|
|
1
|
-
import { _ as d, t as h, T as s, E as l } from "./index-
|
2
|
-
import { C as u } from "./ContentMixin-
|
3
|
-
import { D as I, W as
|
4
|
-
import { F as
|
1
|
+
import { _ as d, t as h, T as s, E as l } from "./index-fNKt5pKW.js";
|
2
|
+
import { C as u } from "./ContentMixin-e_R3pshi.js";
|
3
|
+
import { D as I, W as g } from "./style-DTVzdiHD.js";
|
4
|
+
import { F as y } from "./style-CJykSWTR.js";
|
5
5
|
import { resolveComponent as p, openBlock as r, createElementBlock as M, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
|
6
|
-
const
|
6
|
+
const w = {
|
7
7
|
name: "Flatmap",
|
8
8
|
mixins: [u, I],
|
9
9
|
components: {
|
10
|
-
FlatmapVuer:
|
11
|
-
HelpModeDialog:
|
10
|
+
FlatmapVuer: g,
|
11
|
+
HelpModeDialog: y
|
12
12
|
},
|
13
13
|
methods: {
|
14
14
|
getState: function() {
|
@@ -47,7 +47,7 @@ const F = {
|
|
47
47
|
},
|
48
48
|
flatmapReadyCall: function(e) {
|
49
49
|
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);
|
50
|
+
l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.entry.resource === "FunctionalConnectivity" && this.flatmapReadyForMarkerUpdates(e), l.emit("mapReady", e);
|
51
51
|
},
|
52
52
|
onPathwaySelectionChanged: function(e) {
|
53
53
|
const { label: t, property: o, checked: a, selectionsTitle: n } = e;
|
@@ -90,7 +90,7 @@ const F = {
|
|
90
90
|
a.clearSearchResults();
|
91
91
|
},
|
92
92
|
changeViewingMode: function(e) {
|
93
|
-
this.$refs.flatmap.
|
93
|
+
this.$refs.flatmap.changeViewingMode(e);
|
94
94
|
}
|
95
95
|
},
|
96
96
|
computed: {
|
@@ -109,12 +109,14 @@ const F = {
|
|
109
109
|
offsetX: o ? -150 : 0,
|
110
110
|
zoom: 4
|
111
111
|
});
|
112
|
+
}), l.on("changeViewingMode", (e) => {
|
113
|
+
this.changeViewingMode(e);
|
112
114
|
});
|
113
115
|
}
|
114
|
-
},
|
116
|
+
}, F = { class: "viewer-container" };
|
115
117
|
function H(e, t, o, a, n, i) {
|
116
118
|
const m = p("FlatmapVuer"), f = p("HelpModeDialog");
|
117
|
-
return r(), M("div",
|
119
|
+
return r(), M("div", F, [
|
118
120
|
v(m, {
|
119
121
|
state: e.entry.state,
|
120
122
|
entry: e.entry.resource,
|
@@ -154,7 +156,7 @@ function H(e, t, o, a, n, i) {
|
|
154
156
|
}, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
|
155
157
|
]);
|
156
158
|
}
|
157
|
-
const T = /* @__PURE__ */ d(
|
159
|
+
const T = /* @__PURE__ */ d(w, [["render", H], ["__scopeId", "data-v-c97b0a1f"]]);
|
158
160
|
export {
|
159
161
|
T as default
|
160
162
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { C as r } from "./ContentMixin-
|
1
|
+
import { C as r } from "./ContentMixin-e_R3pshi.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-fNKt5pKW.js";
|
4
4
|
const a = {
|
5
5
|
name: "Iframe",
|
6
6
|
mixins: [r]
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as u, a as h, g as y, E as
|
2
|
-
import { C as M } from "./ContentMixin-
|
3
|
-
import { D as v, v as I } from "./style-
|
1
|
+
import { _ as u, a as h, g as y, E as s, t as g, T as p } from "./index-fNKt5pKW.js";
|
2
|
+
import { C as M } from "./ContentMixin-e_R3pshi.js";
|
3
|
+
import { D as v, v as I } from "./style-DTVzdiHD.js";
|
4
4
|
import { F as S } from "./style-CJykSWTR.js";
|
5
5
|
import { resolveComponent as f, openBlock as c, createElementBlock as C, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
|
6
6
|
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) => {
|
@@ -72,9 +72,9 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
72
72
|
layout: "2vertpanel",
|
73
73
|
type: "SyncMap",
|
74
74
|
isBodyScaffold: !0
|
75
|
-
}), e &&
|
75
|
+
}), e && s.emit("SyncModeRequest", { flag: !0, action: e });
|
76
76
|
} else
|
77
|
-
|
77
|
+
s.emit("SyncModeRequest", { flag: !1 });
|
78
78
|
},
|
79
79
|
getState: function() {
|
80
80
|
if (this.flatmapReady)
|
@@ -148,12 +148,12 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
148
148
|
handleSyncPanZoomEvent: function(e) {
|
149
149
|
if (!this.mouseHovered && e.type !== this.entry.type) {
|
150
150
|
const t = e.payload.zoom, a = e.payload.target, n = this.$el.clientHeight, o = this.$el.clientWidth, i = Math.max(o, n);
|
151
|
-
let
|
151
|
+
let r = o / i / t;
|
152
152
|
const l = n / i / t, m = [
|
153
|
-
a[0] / 2 + 0.5 -
|
153
|
+
a[0] / 2 + 0.5 - r / 2,
|
154
154
|
0.5 - a[1] / 2 - l / 2
|
155
155
|
];
|
156
|
-
this.$refs.multiflatmap.getCurrentFlatmap().mapImp.panZoomTo(m, [
|
156
|
+
this.$refs.multiflatmap.getCurrentFlatmap().mapImp.panZoomTo(m, [r, l]);
|
157
157
|
}
|
158
158
|
},
|
159
159
|
displayTooltip: function(e) {
|
@@ -197,7 +197,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
197
197
|
if (e) {
|
198
198
|
e.enablePanZoomEvents(!0), this.flatmapReady = !0;
|
199
199
|
const t = e.mapImp;
|
200
|
-
this.flatmapMarkerUpdate(t), this.updateProvCard();
|
200
|
+
this.flatmapMarkerUpdate(t), this.updateProvCard(), s.emit("mapReady", e);
|
201
201
|
}
|
202
202
|
},
|
203
203
|
getFlatmapImp: function() {
|
@@ -210,7 +210,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
210
210
|
label: "Unused",
|
211
211
|
val: this.getFlatmapImp().visibleMarkerAnatomicalIds().map((n) => this.idNamePair[n])
|
212
212
|
};
|
213
|
-
|
213
|
+
s.emit("PopoverActionClick", a);
|
214
214
|
},
|
215
215
|
restoreFeaturedMarkers: function(e) {
|
216
216
|
this.settingsStore.resetFeaturedMarkerIdentifier();
|
@@ -232,14 +232,14 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
232
232
|
if (o || (o = this.getFlatmapImp()), o) {
|
233
233
|
let i = document.createElement("div");
|
234
234
|
i.innerHTML = R;
|
235
|
-
const
|
235
|
+
const r = o.addMarker(e, {
|
236
236
|
element: i,
|
237
237
|
className: "highlight-marker",
|
238
238
|
cluster: !1
|
239
239
|
});
|
240
240
|
return this.settingsStore.updateFeaturedMarkerIdentifier({
|
241
241
|
index: t,
|
242
|
-
markerIdentifier:
|
242
|
+
markerIdentifier: r
|
243
243
|
}), !0;
|
244
244
|
}
|
245
245
|
return !1;
|
@@ -268,7 +268,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
268
268
|
}
|
269
269
|
},
|
270
270
|
mounted: function() {
|
271
|
-
this.getFeaturedDatasets(),
|
271
|
+
this.getFeaturedDatasets(), s.on("show-connectivity", (e) => {
|
272
272
|
const { featureIds: t, offset: a } = e;
|
273
273
|
if (this.flatmapReady && this.$refs.multiflatmap) {
|
274
274
|
const n = this.$refs.multiflatmap.getCurrentFlatmap();
|
@@ -277,17 +277,19 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
|
|
277
277
|
zoom: 4
|
278
278
|
});
|
279
279
|
}
|
280
|
-
}),
|
280
|
+
}), s.on("markerUpdate", () => {
|
281
281
|
this.flatmapReady && this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
282
|
-
}),
|
282
|
+
}), s.on("hoverUpdate", () => {
|
283
283
|
this.flatmapReady && this.mapHoverHighlight(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
284
|
+
}), s.on("changeViewingMode", (e) => {
|
285
|
+
this.flatmapReady && this.changeViewingMode(e);
|
284
286
|
});
|
285
287
|
}
|
286
288
|
}, H = { class: "viewer-container" };
|
287
289
|
function P(e, t, a, n, o, i) {
|
288
|
-
const
|
290
|
+
const r = f("MultiFlatmapVuer"), l = f("HelpModeDialog");
|
289
291
|
return c(), C("div", H, [
|
290
|
-
F(
|
292
|
+
F(r, {
|
291
293
|
availableSpecies: e.availableSpecies,
|
292
294
|
onFlatmapChanged: i.flatmapChanged,
|
293
295
|
onReady: i.multiFlatmapReady,
|
@@ -327,7 +329,7 @@ function P(e, t, a, n, o, i) {
|
|
327
329
|
}, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
|
328
330
|
]);
|
329
331
|
}
|
330
|
-
const _ = /* @__PURE__ */ u(b, [["render", P], ["__scopeId", "data-v-
|
332
|
+
const _ = /* @__PURE__ */ u(b, [["render", P], ["__scopeId", "data-v-b02cb930"]]);
|
331
333
|
export {
|
332
334
|
_ as default
|
333
335
|
};
|
@@ -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-e_R3pshi.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-fNKt5pKW.js";
|
5
5
|
const p = {
|
6
6
|
name: "Plot",
|
7
7
|
mixins: [a],
|