@abi-software/mapintegratedvuer 1.21.2 → 1.22.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/{ConnectivityGraph-DrSaFEDd.js → ConnectivityGraph-BBZ3Dgat.js} +2 -2
- package/dist/{ContentMixin-Xg0PjBqG.js → ContentMixin-B-O_IwPg.js} +15 -17
- package/dist/{DynamicMarkerMixin-D5Ruu_hd.js → DynamicMarkerMixin-B9iqtP_f.js} +1 -1
- package/dist/{Flatmap-CxN8TbnS.js → Flatmap-BoEFI50b.js} +3 -3
- package/dist/{Iframe-CkgbLfJt.js → Iframe-Slj-LQTF.js} +2 -2
- package/dist/{MultiFlatmap-CkejvAJe.js → MultiFlatmap-l6aBn6x3.js} +17 -5
- package/dist/{Plot-BfwoipSl.js → Plot-CIhEip5b.js} +2 -2
- package/dist/{Scaffold-DCqsTKpg.js → Scaffold-D5ZGCDvt.js} +2 -2
- package/dist/{Simulation-BOtU3kTT.js → Simulation-C5o5DXRb.js} +2 -2
- package/dist/{connectivities-DyeS8w0c.js → connectivities-Br3MpoAv.js} +28 -0
- package/dist/mapintegratedvuer.js +21 -8
- package/dist/mapintegratedvuer.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/eslint.config.js +1 -1
- package/package.json +3 -3
- package/src/App.vue +16 -32
- package/src/components/ContentBar.vue +1 -0
- package/src/components/MapContent.vue +21 -1
- package/src/components/SplitFlow.vue +12 -2
- package/src/components/viewers/MultiFlatmap.vue +14 -0
- package/src/stores/splitFlow.js +31 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as e, _ as t, b as n } from "./connectivities-
|
|
2
|
-
import { t as r } from "./ContentMixin-
|
|
1
|
+
import { T as e, _ as t, b as n } from "./connectivities-Br3MpoAv.js";
|
|
2
|
+
import { t as r } from "./ContentMixin-B-O_IwPg.js";
|
|
3
3
|
import { createElementBlock as i, createVNode as a, openBlock as o, resolveComponent as s } from "vue";
|
|
4
4
|
//#region src/components/viewers/ConnectivityGraph.vue
|
|
5
5
|
var c = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, b as t, i as n, n as r, r as i, s as a, t as o, u as s, v as c, w as l, y as u } from "./connectivities-
|
|
1
|
+
import { O as e, b as t, i as n, n as r, r as i, s as a, t as o, u as s, v as c, w as l, y as u } from "./connectivities-Br3MpoAv.js";
|
|
2
2
|
import { markRaw as d } from "vue";
|
|
3
3
|
import { mapStores as f } from "pinia";
|
|
4
4
|
//#region node_modules/@abi-software/flatmapvuer/src/services/flatmapQueries.js
|
|
@@ -36,7 +36,7 @@ var p = function(e) {
|
|
|
36
36
|
this.initialise = function(e) {
|
|
37
37
|
this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.hasSingleConnectivityList = !1, this.rawURLs = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "map", this.noMapConnectivity = !1;
|
|
38
38
|
}, this.createTooltipData = async function(e, t) {
|
|
39
|
-
let n
|
|
39
|
+
let n;
|
|
40
40
|
n = t.feature.hyperlinks && t.feature.hyperlinks.length > 0 ? t.feature.hyperlinks : this.rawURLs;
|
|
41
41
|
let r;
|
|
42
42
|
if (t.provenanceTaxonomy) {
|
|
@@ -90,19 +90,17 @@ var p = function(e) {
|
|
|
90
90
|
return e.forEach((e) => {
|
|
91
91
|
n.push(this.createLabelFromNeuralNode(e[0]), t), e.length === 2 && n.push(this.createLabelFromNeuralNode(e[1]), t);
|
|
92
92
|
}), n;
|
|
93
|
-
}, this.createLabelLookup = function(e, t) {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}), n(r));
|
|
105
|
-
});
|
|
93
|
+
}, this.createLabelLookup = async function(e, t) {
|
|
94
|
+
let n = {};
|
|
95
|
+
this.uberons = [];
|
|
96
|
+
let r = await g(e, t);
|
|
97
|
+
return r.length && r.forEach((e) => {
|
|
98
|
+
let { taxon: t, label: r } = e;
|
|
99
|
+
n[t] = r, this.uberons.push({
|
|
100
|
+
id: t,
|
|
101
|
+
name: r
|
|
102
|
+
});
|
|
103
|
+
}), n;
|
|
106
104
|
}, this.buildConnectivitySqlStatement = function(e) {
|
|
107
105
|
let t = "select knowledge from knowledge where entity in (";
|
|
108
106
|
if (e.length === 1) t += `'${e[0]}')`;
|
|
@@ -129,7 +127,7 @@ var p = function(e) {
|
|
|
129
127
|
o = !1, _(t, e) && (o = !0), r && _(r, e) && (o = !0), _(n, e) && (o = !0), o || a.push(e);
|
|
130
128
|
}), a;
|
|
131
129
|
}, this.retrieveFlatmapKnowledgeForEvent = async function(e, t) {
|
|
132
|
-
this.controller && this.controller.abort(), this.controller = new AbortController()
|
|
130
|
+
this.controller && this.controller.abort(), this.controller = new AbortController();
|
|
133
131
|
let n = t.resource;
|
|
134
132
|
if (this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.rawURLs = [], !n || n.length === 0 || !n[0]) return;
|
|
135
133
|
let r = await this.queryForConnectivityNew(e, n[0]);
|
|
@@ -163,7 +161,7 @@ var p = function(e) {
|
|
|
163
161
|
if (!e.ok) throw Error(`Response status: ${e.status}`);
|
|
164
162
|
return await e.json();
|
|
165
163
|
} catch (e) {
|
|
166
|
-
throw Error(e);
|
|
164
|
+
throw Error(e, { cause: e });
|
|
167
165
|
}
|
|
168
166
|
}, this.queryForConnectivity = function(e, t, n, r = !0) {
|
|
169
167
|
let i = { sql: this.buildConnectivitySqlStatement(t) }, a = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as e, _ as t, b as n, y as r } from "./connectivities-
|
|
1
|
+
import { C as e, _ as t, b as n, y as r } from "./connectivities-Br3MpoAv.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as i } from "./ContentMixin-
|
|
4
|
-
import { t as a } from "./DynamicMarkerMixin-
|
|
3
|
+
import { t as i } from "./ContentMixin-B-O_IwPg.js";
|
|
4
|
+
import { t as a } from "./DynamicMarkerMixin-B9iqtP_f.js";
|
|
5
5
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, openBlock as u, resolveComponent as d } from "vue";
|
|
6
6
|
import { FlatmapVuer as f } from "@abi-software/flatmapvuer";
|
|
7
7
|
import "@abi-software/flatmapvuer/dist/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./connectivities-
|
|
2
|
-
import { t } from "./ContentMixin-
|
|
1
|
+
import { _ as e } from "./connectivities-Br3MpoAv.js";
|
|
2
|
+
import { t } from "./ContentMixin-B-O_IwPg.js";
|
|
3
3
|
import { createElementBlock as n, createElementVNode as r, openBlock as i } from "vue";
|
|
4
4
|
//#region src/components/viewers/Iframe.vue
|
|
5
5
|
var a = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as e, _ as t, b as n, c as r, u as i, y as a } from "./connectivities-
|
|
1
|
+
import { C as e, _ as t, b as n, c as r, u as i, y as a } from "./connectivities-Br3MpoAv.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as o } from "./ContentMixin-
|
|
4
|
-
import { t as s } from "./DynamicMarkerMixin-
|
|
3
|
+
import { t as o } from "./ContentMixin-B-O_IwPg.js";
|
|
4
|
+
import { t as s } from "./DynamicMarkerMixin-B9iqtP_f.js";
|
|
5
5
|
import { createBlock as c, createCommentVNode as l, createElementBlock as u, createVNode as d, openBlock as f, resolveComponent as p } from "vue";
|
|
6
6
|
import { MultiFlatmapVuer as m } from "@abi-software/flatmapvuer";
|
|
7
7
|
import "@abi-software/flatmapvuer/dist/style.css";
|
|
@@ -59,6 +59,17 @@ var h = "<svg width=\"72px\" height=\"72px\" viewBox=\"0 0 24 24\" fill=\"yellow
|
|
|
59
59
|
search: function(e) {
|
|
60
60
|
return this.$refs.multiflatmap.getCurrentFlatmap().searchAndShowResult(e, !0, !0);
|
|
61
61
|
},
|
|
62
|
+
openMapSpecies: function(e) {
|
|
63
|
+
n.emit("SetCurrentEntry", {
|
|
64
|
+
resource: e,
|
|
65
|
+
type: "MultiFlatmap",
|
|
66
|
+
mode: "main",
|
|
67
|
+
state: void 0,
|
|
68
|
+
label: "",
|
|
69
|
+
discoverId: void 0,
|
|
70
|
+
sourceId: this.entry.id
|
|
71
|
+
}), this.trackOpenMap(`open_new_AC_map_${e}`);
|
|
72
|
+
},
|
|
62
73
|
searchSuggestions: function(e, t) {
|
|
63
74
|
let n = this.$refs.multiflatmap.getCurrentFlatmap();
|
|
64
75
|
if (e && n.mapImp) {
|
|
@@ -277,6 +288,7 @@ function y(e, t, n, r, i, a) {
|
|
|
277
288
|
showOpenMapButton: e.showOpenMapButton,
|
|
278
289
|
onPanZoomCallback: a.flatmapPanZoomCallback,
|
|
279
290
|
onOpenMap: e.openMap,
|
|
291
|
+
onOpenMapSpecies: a.openMapSpecies,
|
|
280
292
|
onFinishHelpMode: e.endHelp,
|
|
281
293
|
onPathwaySelectionChanged: a.onPathwaySelectionChanged,
|
|
282
294
|
onOpenPubmedUrl: a.onOpenPubmedUrl,
|
|
@@ -284,7 +296,7 @@ function y(e, t, n, r, i, a) {
|
|
|
284
296
|
showPathwayFilter: !1,
|
|
285
297
|
tooltipContentProvider: e.tooltipPathLabelProvider,
|
|
286
298
|
onTrackEvent: e.trackEvent
|
|
287
|
-
}, null, 8, /* @__PURE__ */ "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.tooltipContentProvider.onTrackEvent".split(".")), e.helpMode && e.useHelpModeDialog ? (f(), c(s, {
|
|
299
|
+
}, null, 8, /* @__PURE__ */ "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.onOpenMapSpecies.onFinishHelpMode.onPathwaySelectionChanged.onOpenPubmedUrl.onMapmanagerLoaded.tooltipContentProvider.onTrackEvent".split(".")), e.helpMode && e.useHelpModeDialog ? (f(), c(s, {
|
|
288
300
|
key: 0,
|
|
289
301
|
ref: "multiflatmapHelp",
|
|
290
302
|
multiflatmapRef: e.multiflatmapRef,
|
|
@@ -298,6 +310,6 @@ function y(e, t, n, r, i, a) {
|
|
|
298
310
|
"onFinishHelpMode"
|
|
299
311
|
])) : l("", !0)]);
|
|
300
312
|
}
|
|
301
|
-
var b = /*#__PURE__*/ t(_, [["render", y], ["__scopeId", "data-v-
|
|
313
|
+
var b = /*#__PURE__*/ t(_, [["render", y], ["__scopeId", "data-v-6beb85ff"]]);
|
|
302
314
|
//#endregion
|
|
303
315
|
export { b as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./connectivities-
|
|
2
|
-
import { t } from "./ContentMixin-
|
|
1
|
+
import { _ as e } from "./connectivities-Br3MpoAv.js";
|
|
2
|
+
import { t } from "./ContentMixin-B-O_IwPg.js";
|
|
3
3
|
import { createBlock as n, openBlock as r, resolveComponent as i } from "vue";
|
|
4
4
|
import { PlotVuer as a } from "@abi-software/plotvuer";
|
|
5
5
|
import "@abi-software/plotvuer/dist/style.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, _ as t, a as n, b as r, o as i } from "./connectivities-
|
|
1
|
+
import { C as e, _ as t, a as n, b as r, o as i } from "./connectivities-Br3MpoAv.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as a } from "./ContentMixin-
|
|
3
|
+
import { t as a } from "./ContentMixin-B-O_IwPg.js";
|
|
4
4
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, markRaw as l, openBlock as u, resolveComponent as d } from "vue";
|
|
5
5
|
import { ScaffoldVuer as f } from "@abi-software/scaffoldvuer";
|
|
6
6
|
import "@abi-software/scaffoldvuer/dist/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./connectivities-
|
|
2
|
-
import { t } from "./ContentMixin-
|
|
1
|
+
import { _ as e } from "./connectivities-Br3MpoAv.js";
|
|
2
|
+
import { t } from "./ContentMixin-B-O_IwPg.js";
|
|
3
3
|
import { createBlock as n, openBlock as r, resolveComponent as i } from "vue";
|
|
4
4
|
import { SimulationVuer as a } from "@abi-software/simulationvuer";
|
|
5
5
|
import "@abi-software/simulationvuer/dist/style.css";
|
|
@@ -35570,6 +35570,34 @@ var QU = (e) => {
|
|
|
35570
35570
|
let t = nW(this.customLayout, e), n = this.customLayout["pane-1"].id;
|
|
35571
35571
|
this.customLayout["pane-1"].id = e, t && (this.customLayout[t].id = n);
|
|
35572
35572
|
},
|
|
35573
|
+
placeEntryInSplitView(e) {
|
|
35574
|
+
let { id: t, sourceId: n, entries: r } = e;
|
|
35575
|
+
if (this.activeView === "singlepanel") {
|
|
35576
|
+
if (nW(this.customLayout, n) !== "pane-1") {
|
|
35577
|
+
this.setIdToPrimaryPane(t);
|
|
35578
|
+
return;
|
|
35579
|
+
}
|
|
35580
|
+
this.updateActiveView({
|
|
35581
|
+
view: "2vertpanel",
|
|
35582
|
+
entries: r
|
|
35583
|
+
}, !1), this.assignOrSwapPaneWithIds({
|
|
35584
|
+
source: t,
|
|
35585
|
+
target: this.customLayout["pane-2"].id
|
|
35586
|
+
}, !1);
|
|
35587
|
+
} else {
|
|
35588
|
+
let e = nW(this.customLayout, n);
|
|
35589
|
+
if (!e || !this.isPaneActive(e)) {
|
|
35590
|
+
this.setIdToPrimaryPane(t);
|
|
35591
|
+
return;
|
|
35592
|
+
}
|
|
35593
|
+
let r = e === "pane-1" ? "pane-2" : "pane-1";
|
|
35594
|
+
this.assignOrSwapPaneWithIds({
|
|
35595
|
+
source: t,
|
|
35596
|
+
target: this.customLayout[r].id
|
|
35597
|
+
}, !1);
|
|
35598
|
+
}
|
|
35599
|
+
this.updateSplitPanels();
|
|
35600
|
+
},
|
|
35573
35601
|
reset() {
|
|
35574
35602
|
let e = rW();
|
|
35575
35603
|
this.activeView = e.activeView, this.customLayout = e.customLayout, this.splitters = e.splitters;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, P as m, Q as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as w, _ as T, at as E, b as D, d as O, et as ee, f as k, g as A, h as j, it as te, j as ne, k as re, l as ie, m as ae, n as oe, nt as se, ot as ce, p as le, q as ue, r as de, rt as fe, t as pe, tt as me, u as he, v as ge, x as _e, y as ve, z as ye } from "./connectivities-
|
|
1
|
+
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, P as m, Q as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as w, _ as T, at as E, b as D, d as O, et as ee, f as k, g as A, h as j, it as te, j as ne, k as re, l as ie, m as ae, n as oe, nt as se, ot as ce, p as le, q as ue, r as de, rt as fe, t as pe, tt as me, u as he, v as ge, x as _e, y as ve, z as ye } from "./connectivities-Br3MpoAv.js";
|
|
2
2
|
import { Comment as be, Fragment as M, Suspense as xe, Teleport as Se, Text as Ce, Transition as we, cloneVNode as Te, computed as N, createApp as Ee, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createSlots as De, createTextVNode as R, createVNode as z, defineAsyncComponent as Oe, defineComponent as B, getCurrentInstance as ke, getCurrentScope as Ae, guardReactiveProps as je, h as Me, hasInjectionContext as Ne, inject as V, isRef as Pe, isVNode as Fe, markRaw as Ie, mergeProps as Le, nextTick as H, normalizeClass as U, normalizeProps as Re, normalizeStyle as ze, onActivated as Be, onBeforeMount as Ve, onBeforeUnmount as He, onBeforeUpdate as Ue, onDeactivated as We, onMounted as Ge, onScopeDispose as Ke, onUnmounted as qe, onUpdated as Je, openBlock as W, provide as Ye, reactive as Xe, readonly as Ze, ref as G, render as Qe, renderList as $e, renderSlot as K, resolveComponent as et, resolveDirective as tt, resolveDynamicComponent as nt, shallowReactive as rt, shallowReadonly as it, shallowRef as at, toDisplayString as q, toHandlerKey as ot, toHandlers as st, toRaw as ct, toRef as lt, toRefs as ut, toValue as dt, unref as J, useAttrs as ft, useSlots as pt, vModelCheckbox as mt, vModelRadio as ht, vModelText as gt, vShow as _t, warn as vt, watch as Y, watchEffect as yt, withCtx as X, withDirectives as bt, withKeys as xt, withModifiers as St } from "vue";
|
|
3
3
|
import { defineStore as Ct, mapStores as wt } from "pinia";
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
@@ -12554,7 +12554,7 @@ function zx(e, t, n, r, i, a) {
|
|
|
12554
12554
|
}, 8, ["show-after"])
|
|
12555
12555
|
])]);
|
|
12556
12556
|
}
|
|
12557
|
-
var Bx = /*#__PURE__*/ T(Fx, [["render", zx], ["__scopeId", "data-v-
|
|
12557
|
+
var Bx = /*#__PURE__*/ T(Fx, [["render", zx], ["__scopeId", "data-v-2e904772"]]), Vx = Oe(() => import("./Flatmap-BoEFI50b.js")), Hx = Oe(() => import("./Iframe-Slj-LQTF.js")), Ux = Oe(() => import("./MultiFlatmap-l6aBn6x3.js")), Wx = Oe(() => import("./ConnectivityGraph-BBZ3Dgat.js")), Gx = Oe(() => import("./Plot-CIhEip5b.js")), Kx = Oe(() => import("./Scaffold-D5ZGCDvt.js")), qx = Oe(() => import("./Simulation-C5o5DXRb.js")), Jx = {
|
|
12558
12558
|
name: "ContentVuer",
|
|
12559
12559
|
props: {
|
|
12560
12560
|
entry: Object,
|
|
@@ -42553,9 +42553,13 @@ var Vae = Ct("main", {
|
|
|
42553
42553
|
getNewEntryId: function() {
|
|
42554
42554
|
return this.entries.length ? this.entries[this.entries.length - 1].id + 1 : 1;
|
|
42555
42555
|
},
|
|
42556
|
-
createNewEntry: function(e) {
|
|
42557
|
-
let
|
|
42558
|
-
return
|
|
42556
|
+
createNewEntry: function(e, t = {}) {
|
|
42557
|
+
let n = {};
|
|
42558
|
+
return n.viewUrl = void 0, n.state = void 0, Object.assign(n, e), n.mode = "normal", n.id = this.getNewEntryId(), n.discoverId = e.discoverId, this.entriesStore.addNewEntry(n), t.openInSplitView ? this.splitFlowStore.placeEntryInSplitView({
|
|
42559
|
+
id: n.id,
|
|
42560
|
+
sourceId: t.sourceId,
|
|
42561
|
+
entries: this.entries
|
|
42562
|
+
}) : this.splitFlowStore.setIdToPrimaryPane(n.id), this.$refs.sideBar && this.$refs.sideBar.setDrawerOpen(!1), n.id;
|
|
42559
42563
|
},
|
|
42560
42564
|
openNewMap: async function(e) {
|
|
42561
42565
|
let t = await le(e, this.settingsStore.sparcApi);
|
|
@@ -42865,7 +42869,7 @@ function Wae(e, t, n, r, i, a) {
|
|
|
42865
42869
|
_: 1
|
|
42866
42870
|
});
|
|
42867
42871
|
}
|
|
42868
|
-
var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-
|
|
42872
|
+
var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]]), Gae = {
|
|
42869
42873
|
name: "MapContent",
|
|
42870
42874
|
components: {
|
|
42871
42875
|
MapSvgSpriteColor: Px,
|
|
@@ -42968,6 +42972,10 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-73c881d4"]
|
|
|
42968
42972
|
showOpenMapButton: {
|
|
42969
42973
|
type: Boolean,
|
|
42970
42974
|
default: !0
|
|
42975
|
+
},
|
|
42976
|
+
openNewSpeciesInSplitView: {
|
|
42977
|
+
type: Boolean,
|
|
42978
|
+
default: !0
|
|
42971
42979
|
}
|
|
42972
42980
|
},
|
|
42973
42981
|
provide: function() {
|
|
@@ -43052,7 +43060,10 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-73c881d4"]
|
|
|
43052
43060
|
discoverId: e.dataset_id,
|
|
43053
43061
|
version: e.dataset_version
|
|
43054
43062
|
};
|
|
43055
|
-
this.$refs.flow.createNewEntry(t
|
|
43063
|
+
this.$refs.flow.createNewEntry(t, {
|
|
43064
|
+
openInSplitView: this.openNewSpeciesInSplitView && e.sourceId !== void 0,
|
|
43065
|
+
sourceId: e.sourceId
|
|
43066
|
+
});
|
|
43056
43067
|
} else {
|
|
43057
43068
|
let t = "";
|
|
43058
43069
|
if (e.taxo && (t = O(e)), t ||= he, t) {
|
|
@@ -43117,6 +43128,8 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-73c881d4"]
|
|
|
43117
43128
|
this.displaySearchFromQuery && setTimeout(() => {
|
|
43118
43129
|
this.$refs.flow.onDisplaySearch({ term: this.displaySearchFromQuery }), this.displaySearchFromQuery = "";
|
|
43119
43130
|
}), this.$emit("mapLoaded", e);
|
|
43131
|
+
}), D.on("SetCurrentEntry", (e) => {
|
|
43132
|
+
e && this.setCurrentEntry(e);
|
|
43120
43133
|
}), this.isReady = !0, this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog), this.settingsStore.updateConnectivityInfoSidebar(this.connectivityInfoSidebar), this.settingsStore.updateAnnotationSidebar(this.annotationSidebar);
|
|
43121
43134
|
}
|
|
43122
43135
|
}, Kae = {
|
|
@@ -43141,6 +43154,6 @@ function qae(e, t, n, r, i, a) {
|
|
|
43141
43154
|
"onVnodeMounted"
|
|
43142
43155
|
])) : F("", !0)])), [[c, !e.isReady]]);
|
|
43143
43156
|
}
|
|
43144
|
-
var Jae = /*#__PURE__*/ T(Gae, [["render", qae], ["__scopeId", "data-v-
|
|
43157
|
+
var Jae = /*#__PURE__*/ T(Gae, [["render", qae], ["__scopeId", "data-v-ed58a1d5"]]);
|
|
43145
43158
|
//#endregion
|
|
43146
43159
|
export { Jae as MapContent };
|