@abi-software/mapintegratedvuer 1.9.0 → 1.9.1

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.
@@ -1,7 +1,7 @@
1
1
  import { markRaw as w } from "vue";
2
- import { u as b, p as I, q as M, E as u, T as C, r as S, s as F, v as A, x as $ } from "./index-CVfAy4kK.js";
2
+ import { u as b, p as C, q as I, E as h, T as M, r as S, s as F, v as A, x as $ } from "./index-qckfB1dl.js";
3
3
  import { mapStores as H } from "pinia";
4
- const m = function(e) {
4
+ const d = function(e) {
5
5
  return e ? [...new Set(e.map((t) => JSON.stringify(t)))].map(
6
6
  (t) => JSON.parse(t)
7
7
  ) : [];
@@ -121,7 +121,7 @@ let N = function() {
121
121
  Array.isArray(o) ? n.push(o.flat()) : n.push(o);
122
122
  }), n.flat();
123
123
  }, this.findComponents = function(e, t, i, n) {
124
- let o = e.connectivity.flat(), s = m(o), a = [], r = !1;
124
+ let o = e.connectivity.flat(), s = d(o), a = [], r = !1;
125
125
  return s.forEach((l) => {
126
126
  r = !1, y(t, l) && (r = !0), n && y(n, l) && (r = !0), y(i, l) && (r = !0), r || a.push(l);
127
127
  }), a;
@@ -217,13 +217,13 @@ let N = function() {
217
217
  let n = [], o = [], s;
218
218
  if (t && t["node-phenotypes"]) {
219
219
  const l = ["ilxtr:hasSomaLocatedIn"], c = ["ilxtr:hasAxonPresynapticElementIn", "ilxtr:hasAxonSensorySubcellularElementIn"];
220
- l.forEach((h) => {
221
- n.push(...t["node-phenotypes"][h]);
222
- }), n = m(n), c.forEach((h) => {
223
- o.push(...t["node-phenotypes"][h]);
224
- }), o = m(o);
220
+ l.forEach((u) => {
221
+ n.push(...t["node-phenotypes"][u]);
222
+ }), n = d(n), c.forEach((u) => {
223
+ o.push(...t["node-phenotypes"][u]);
224
+ }), o = d(o);
225
225
  } else
226
- o = m(t.axons), t.somas && t.somas.length > 0 && n.push(...t.somas), t.dendrites && t.dendrites.length > 0 && n.push(...t.dendrites), n = m(n), s = t.somas;
226
+ o = d(t.axons), t.somas && t.somas.length > 0 && n.push(...t.somas), t.dendrites && t.dendrites.length > 0 && n.push(...t.dendrites), n = d(n), s = t.somas;
227
227
  const a = this.findComponents(t, o, n, s), r = this.findAllIdsFromConnectivity(t);
228
228
  this.createLabelLookup(e, r).then((l) => {
229
229
  this.origins = n.map(
@@ -290,7 +290,7 @@ const D = {
290
290
  }
291
291
  },
292
292
  computed: {
293
- ...H(b, I, M),
293
+ ...H(b, C, I),
294
294
  idNamePair() {
295
295
  return this.splitFlowStore.idNamePair;
296
296
  },
@@ -308,7 +308,7 @@ const D = {
308
308
  }
309
309
  },
310
310
  mounted: function() {
311
- u.on("startHelp", () => {
311
+ h.on("startHelp", () => {
312
312
  this.startHelp();
313
313
  }), this.multiflatmapRef = this.$refs.multiflatmap, this.flatmapRef = this.$refs.flatmap, this.scaffoldRef = this.$refs.scaffold, this.connectivityKnowledge = this.connectivitiesStore.globalConnectivities;
314
314
  },
@@ -318,13 +318,13 @@ const D = {
318
318
  getState: function() {
319
319
  },
320
320
  openMap: function(e) {
321
- e === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (u.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`));
321
+ e === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (h.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`));
322
322
  },
323
323
  onMapmanagerLoaded: function(e) {
324
324
  this.settingsStore.updateMapManager(e);
325
325
  },
326
326
  trackOpenMap: function(e) {
327
- C.sendEvent({
327
+ M.sendEvent({
328
328
  event: "interaction_event",
329
329
  event_name: "portal_maps_open_map",
330
330
  category: e,
@@ -351,7 +351,7 @@ const D = {
351
351
  var a, r, l, c;
352
352
  const i = t[0];
353
353
  if (this.resourceHasAction(i)) {
354
- u.emit("PopoverActionClick", i);
354
+ h.emit("PopoverActionClick", i);
355
355
  return;
356
356
  }
357
357
  let n, o = !1;
@@ -365,7 +365,7 @@ const D = {
365
365
  if (e == "MultiFlatmap" || e == "Flatmap")
366
366
  if (s.internalName = (a = i == null ? void 0 : i.feature) != null && a.label ? i.feature.label : this.idNamePair[i.feature.models], i.eventType == "click")
367
367
  if (s.eventType = "selected", i.feature.type == "marker") {
368
- let h = s.internalName;
368
+ let u = s.internalName;
369
369
  if (this.settingsStore.isFeaturedMarkerIdentifier(i.feature.id))
370
370
  n = {
371
371
  type: "Search",
@@ -375,17 +375,17 @@ const D = {
375
375
  else {
376
376
  n = {
377
377
  type: "Facet",
378
- facet: h,
378
+ facet: u,
379
379
  facetPropPath: "anatomy.organ.category.name",
380
380
  facetSubPropPath: "anatomy.organ.name",
381
381
  term: "Anatomical structure"
382
382
  };
383
- let d = /* @__PURE__ */ new Set();
384
- i.feature["marker-terms"].forEach((f) => {
385
- d.add(f.label);
386
- }), d.add(h), d.size > 0 && (n = {
383
+ let f = /* @__PURE__ */ new Set();
384
+ i.feature["marker-terms"].forEach((m) => {
385
+ f.add(m.label);
386
+ }), f.add(u), f.size > 0 && (n = {
387
387
  type: "Facets",
388
- labels: [...d]
388
+ labels: [...f]
389
389
  });
390
390
  }
391
391
  o = !0, e == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
@@ -397,7 +397,7 @@ const D = {
397
397
  facetPropPath: "anatomy.organ.category.name",
398
398
  term: "Anatomical structure"
399
399
  })), s.eventType = "selected", o = !0);
400
- n && u.emit("PopoverActionClick", n), o && this.$emit("resource-selected", s);
400
+ n && h.emit("PopoverActionClick", n), o && this.$emit("resource-selected", s);
401
401
  },
402
402
  resourceHasAction: function(e) {
403
403
  return e.type === "URL" || e.type === "Search" || e.type === "Neuron Search" || e.type == "Facet" || e.type == "Facets";
@@ -584,8 +584,8 @@ const D = {
584
584
  if (console.log(l), o.length && s.mapImp) {
585
585
  const c = s.mapImp.uuid;
586
586
  r.every(
587
- (d) => this.connectivityKnowledge[c].some(
588
- (f) => f.id === d
587
+ (f) => this.connectivityKnowledge[c].some(
588
+ (m) => m.id === f
589
589
  )
590
590
  ) || s.mapImp.clearSearchResults();
591
591
  }
@@ -595,16 +595,19 @@ const D = {
595
595
  }
596
596
  },
597
597
  onAnnotationOpen: function(e) {
598
- u.emit("annotation-open", e);
598
+ h.emit("annotation-open", e);
599
599
  },
600
600
  onAnnotationClose: function() {
601
- u.emit("annotation-close");
601
+ h.emit("annotation-close");
602
602
  },
603
603
  onConnectivityInfoOpen: function(e) {
604
- u.emit("connectivity-info-open", e);
604
+ h.emit("connectivity-info-open", e);
605
605
  },
606
606
  onConnectivityError: function(e) {
607
- u.emit("connectivity-error", e);
607
+ h.emit("connectivity-error", e);
608
+ },
609
+ onConnectivityInfoClose: function() {
610
+ h.emit("connectivity-info-close");
608
611
  },
609
612
  loadConnectivityKnowledge: async function(e) {
610
613
  const t = A(e), i = w(new N());
@@ -620,7 +623,7 @@ const D = {
620
623
  return r.source === t && ((l = r.connectivity) == null ? void 0 : l.length) && r.id in a;
621
624
  }).sort((r, l) => r.label.localeCompare(l.label));
622
625
  }
623
- this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), u.emit("species-layout-connectivity-update");
626
+ this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), h.emit("species-layout-connectivity-update");
624
627
  },
625
628
  getSearchedId: function(e, t) {
626
629
  let i = [];
@@ -632,25 +635,25 @@ const D = {
632
635
  }), i;
633
636
  },
634
637
  connectivityQueryFilter: async function(e, t) {
635
- const i = e.mapImp.uuid, n = this.connectivitiesStore.activeConnectivityKey || i;
638
+ const i = this.connectivitiesStore.getUniqueConnectivitiesByKeys;
636
639
  if (e.$el.checkVisibility()) {
637
- let o = {
640
+ let n = {
638
641
  state: "default",
639
- data: [...this.connectivityKnowledge[n]]
642
+ data: [...i]
640
643
  };
641
644
  if (t && (t.type === "query-update" ? (this.query !== t.value && (this.target = []), this.query = t.value) : t.type === "filter-update" && (this.filter = t.value)), this.query) {
642
- o.state = "processed";
643
- let s = [], a = {};
644
- const r = this.query.split(",").map((f) => f.trim());
645
- for (let f = 0; f < r.length; f++)
646
- s.push(this.getSearchedId(e, r[f]));
647
- const l = await Promise.all(s), c = [...new Set(l.flat())];
648
- let h = await e.retrieveConnectedPaths(c, a);
649
- h = [...c, ...h.filter((f) => !c.includes(f))];
650
- let d = this.connectivityKnowledge[n].filter((f) => h.includes(f.id));
651
- o.data = d;
645
+ n.state = "processed";
646
+ let o = [], s = {};
647
+ const a = this.query.split(",").map((f) => f.trim());
648
+ for (let f = 0; f < a.length; f++)
649
+ o.push(this.getSearchedId(e, a[f]));
650
+ const r = await Promise.all(o), l = [...new Set(r.flat())];
651
+ let c = await e.retrieveConnectedPaths(l, s);
652
+ c = [...l, ...c.filter((f) => !l.includes(f))];
653
+ let u = i.filter((f) => c.includes(f.id));
654
+ n.data = u;
652
655
  }
653
- u.emit("connectivity-knowledge", o);
656
+ h.emit("connectivity-knowledge", n);
654
657
  }
655
658
  }
656
659
  },
@@ -1,12 +1,12 @@
1
- import { _ as c, k as h, t as u, T as l, E as r } from "./index-CVfAy4kK.js";
2
- import { C as g } from "./ContentMixin-DyVwSF4C.js";
3
- import { D as M, r as I } from "./style-BM2XOQIb.js";
4
- import { resolveComponent as s, openBlock as p, createElementBlock as y, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
1
+ import { _ as d, k as h, t as u, T as l, E as i } from "./index-qckfB1dl.js";
2
+ import { C as y } from "./ContentMixin-c9DvlJVP.js";
3
+ import { D as I, r as g } from "./style-C6pIyWak.js";
4
+ import { resolveComponent as s, openBlock as p, createElementBlock as M, createVNode as v, createBlock as C, createCommentVNode as S } from "vue";
5
5
  const F = {
6
6
  name: "Flatmap",
7
- mixins: [g, M],
7
+ mixins: [y, I],
8
8
  components: {
9
- FlatmapVuer: I,
9
+ FlatmapVuer: g,
10
10
  HelpModeDialog: h
11
11
  },
12
12
  methods: {
@@ -17,75 +17,76 @@ const F = {
17
17
  * Perform a local search on this contentvuer
18
18
  */
19
19
  search: function(e) {
20
- return this.$refs.flatmap.searchAndShowResult(e);
20
+ return this.$refs.flatmap.searchAndShowResult(e, !0);
21
21
  },
22
22
  getFlatmapImp() {
23
23
  var e;
24
24
  return (e = this.$refs.flatmap) == null ? void 0 : e.mapImp;
25
25
  },
26
- flatmaprResourceSelected: function(e, a) {
27
- if (this.resourceSelected(e, a), a.eventType === "click" && a.feature.type === "feature") {
28
- const n = {
29
- label: a.label || "",
30
- id: a.feature.id || "",
31
- featureId: a.feature.featureId || "",
32
- taxonomy: a.taxonomy || "",
33
- resources: a.resource.join(", ")
34
- }, t = u(n);
26
+ flatmaprResourceSelected: function(e, t) {
27
+ if (this.resourceSelected(e, t), t.eventType === "click" && t.feature.type === "feature") {
28
+ const a = {
29
+ label: t.label || "",
30
+ id: t.feature.id || "",
31
+ featureId: t.feature.featureId || "",
32
+ taxonomy: t.taxonomy || "",
33
+ resources: t.resource.join(", ")
34
+ }, n = u(a);
35
35
  l.sendEvent({
36
36
  event: "interaction_event",
37
37
  event_name: "portal_maps_connectivity",
38
- category: t,
38
+ category: n,
39
39
  location: e + " " + this.$refs.flatmap.viewingMode
40
40
  });
41
41
  }
42
42
  },
43
43
  flatmapReadyCall: function(e) {
44
- let a = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
45
- r.emit("mapImpProv", a), this.$emit("flatmap-provenance-ready", a), this.flatmapReadyForMarkerUpdates(e), r.emit("mapLoaded", e);
44
+ let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
45
+ const a = e.mapImp;
46
+ i.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.flatmapReadyForMarkerUpdates(e), this.loadConnectivityKnowledge(a), i.emit("mapLoaded", e);
46
47
  },
47
48
  onPathwaySelectionChanged: function(e) {
48
- const { label: a, property: n, checked: t, selectionsTitle: i } = e;
49
+ const { label: t, property: a, checked: n, selectionsTitle: r } = e;
49
50
  l.sendEvent({
50
51
  event: "interaction_event",
51
52
  event_name: "portal_maps_pathway_change",
52
- category: a + " [" + n + "] " + t,
53
- location: i
53
+ category: t + " [" + a + "] " + n,
54
+ location: r
54
55
  });
55
56
  },
56
57
  highlightFeatures: function(e) {
57
- let a = e.name;
58
- const n = this.$refs.flatmap.mapImp;
59
- if (a) {
60
- const t = n.search(a);
61
- t.featureIds[0] && n.highlightFeatures([
62
- n.modelForFeature(t.featureIds[0])
58
+ let t = e.name;
59
+ const a = this.$refs.flatmap.mapImp;
60
+ if (t) {
61
+ const n = a.search(t);
62
+ n.featureIds[0] && a.highlightFeatures([
63
+ a.modelForFeature(n.featureIds[0])
63
64
  ]);
64
65
  }
65
66
  },
66
67
  /**
67
68
  * Append the list of suggested terms to suggestions
68
69
  */
69
- searchSuggestions: function(e, a) {
70
+ searchSuggestions: function(e, t) {
70
71
  if (e && this.$refs.flatmap.mapImp) {
71
- const n = this.$refs.flatmap.mapImp.search(e);
72
- (n.__featureIds || n.featureIds).forEach((i) => {
73
- const o = this.$refs.flatmap.mapImp.annotation(i);
74
- o && o.label && a.push(o.label);
72
+ const a = this.$refs.flatmap.mapImp.search(e);
73
+ (a.__featureIds || a.featureIds).forEach((r) => {
74
+ const o = this.$refs.flatmap.mapImp.annotation(r);
75
+ o && o.label && t.push(o.label);
75
76
  });
76
77
  }
77
78
  },
78
- zoomToFeatures: function(e, a) {
79
- let n = e.name;
80
- const t = this.$refs.flatmap.mapImp;
81
- if (n) {
82
- const i = t.search(n);
83
- if (i.featureIds.length) {
84
- let o = t.modelForFeature(i.featureIds[0]);
85
- o ? (a && t.selectFeatures(o), t.zoomToFeatures(o)) : t.clearSearchResults();
79
+ zoomToFeatures: function(e, t) {
80
+ let a = e.name;
81
+ const n = this.$refs.flatmap.mapImp;
82
+ if (a) {
83
+ const r = n.search(a);
84
+ if (r.featureIds.length) {
85
+ let o = n.modelForFeature(r.featureIds[0]);
86
+ o ? (t && n.selectFeatures(o), n.zoomToFeatures(o)) : n.clearSearchResults();
86
87
  }
87
88
  } else
88
- t.clearSearchResults();
89
+ n.clearSearchResults();
89
90
  },
90
91
  changeViewingMode: function(e) {
91
92
  this.$refs.flatmap.changeViewingMode(e);
@@ -97,32 +98,35 @@ const F = {
97
98
  }
98
99
  },
99
100
  mounted: function() {
100
- r.on("annotation-close", () => {
101
+ i.on("annotation-close", () => {
101
102
  this.$refs.flatmap && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
102
- }), r.on("markerUpdate", () => {
103
+ }), i.on("markerUpdate", () => {
103
104
  this.flatmapMarkerUpdate(void 0);
104
- }), r.on("hoverUpdate", () => {
105
+ }), i.on("hoverUpdate", () => {
105
106
  this.cardHoverHighlight();
106
- }), r.on("show-connectivity", (e) => {
107
- const { featureIds: a, offset: n } = e, t = this.$refs.flatmap;
108
- t && t.moveMap(a, {
109
- offsetX: n ? -150 : 0,
107
+ }), i.on("show-connectivity", (e) => {
108
+ const { featureIds: t, offset: a } = e, n = this.$refs.flatmap;
109
+ n && n.moveMap(t, {
110
+ offsetX: a ? -150 : 0,
110
111
  zoom: 4
111
112
  });
112
- }), r.on("show-reference-connectivities", (e) => {
113
- const a = this.$refs.flatmap;
114
- a && a.showConnectivitiesByReference(e);
113
+ }), i.on("show-reference-connectivities", (e) => {
114
+ const t = this.$refs.flatmap;
115
+ t && t.showConnectivitiesByReference(e);
116
+ }), i.on("connectivity-query-filter", (e) => {
117
+ const t = this.$refs.flatmap;
118
+ t && t.mapImp && this.connectivityQueryFilter(t, e);
115
119
  });
116
120
  }
117
121
  }, w = { class: "viewer-container" };
118
- function b(e, a, n, t, i, o) {
122
+ function $(e, t, a, n, r, o) {
119
123
  const m = s("FlatmapVuer"), f = s("HelpModeDialog");
120
- return p(), y("div", w, [
124
+ return p(), M("div", w, [
121
125
  v(m, {
122
126
  state: e.entry.state,
123
127
  entry: e.entry.resource,
124
128
  mapManager: e.mapManager,
125
- onResourceSelected: a[0] || (a[0] = (d) => o.flatmaprResourceSelected(e.entry.type, d)),
129
+ onResourceSelected: t[0] || (t[0] = (c) => o.flatmaprResourceSelected(e.entry.type, c)),
126
130
  onPanZoomCallback: e.flatmapPanZoomCallback,
127
131
  name: e.entry.resource,
128
132
  style: { height: "100%", width: "100%" },
@@ -139,7 +143,7 @@ function b(e, a, n, t, i, o) {
139
143
  annotationSidebar: e.annotationSidebar,
140
144
  onConnectivityInfoOpen: e.onConnectivityInfoOpen,
141
145
  onConnectivityError: e.onConnectivityError,
142
- connectivityInfoSidebar: e.connectivityInfoSidebar,
146
+ onConnectivityInfoClose: e.onConnectivityInfoClose,
143
147
  pathControls: !0,
144
148
  ref: "flatmap",
145
149
  onReady: o.flatmapReadyCall,
@@ -151,18 +155,18 @@ function b(e, a, n, t, i, o) {
151
155
  onOpenMap: e.openMap,
152
156
  onPathwaySelectionChanged: o.onPathwaySelectionChanged,
153
157
  onMapmanagerLoaded: e.onMapmanagerLoaded
154
- }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
155
- e.helpMode && e.useHelpModeDialog ? (p(), S(f, {
158
+ }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
159
+ e.helpMode && e.useHelpModeDialog ? (p(), C(f, {
156
160
  key: 0,
157
161
  ref: "flatmapHelp",
158
162
  flatmapRef: e.flatmapRef,
159
163
  lastItem: e.helpModeLastItem,
160
164
  onShowNext: e.onHelpModeShowNext,
161
165
  onFinishHelpMode: e.onFinishHelpMode
162
- }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
166
+ }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : S("", !0)
163
167
  ]);
164
168
  }
165
- const R = /* @__PURE__ */ c(F, [["render", b], ["__scopeId", "data-v-b420acb4"]]);
169
+ const R = /* @__PURE__ */ d(F, [["render", $], ["__scopeId", "data-v-4ff4b478"]]);
166
170
  export {
167
171
  R as default
168
172
  };
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-DyVwSF4C.js";
1
+ import { C as r } from "./ContentMixin-c9DvlJVP.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-CVfAy4kK.js";
3
+ import { _ as n } from "./index-qckfB1dl.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,6 +1,6 @@
1
- import { _ as u, k as h, a as y, g, E as s, t as M, T as p } from "./index-CVfAy4kK.js";
2
- import { C as v } from "./ContentMixin-DyVwSF4C.js";
3
- import { D as I, h as C } from "./style-BM2XOQIb.js";
1
+ import { _ as u, k as h, a as y, g, E as s, t as v, T as p } from "./index-qckfB1dl.js";
2
+ import { C as M } from "./ContentMixin-c9DvlJVP.js";
3
+ import { D as C, h as I } from "./style-C6pIyWak.js";
4
4
  import { resolveComponent as f, openBlock as c, createElementBlock as S, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
5
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) => {
6
6
  const t = [
@@ -30,9 +30,9 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
30
30
  return t;
31
31
  }, b = {
32
32
  name: "MultiFlatmap",
33
- mixins: [v, I],
33
+ mixins: [M, C],
34
34
  components: {
35
- MultiFlatmapVuer: C,
35
+ MultiFlatmapVuer: I,
36
36
  HelpModeDialog: h
37
37
  },
38
38
  data: function() {
@@ -117,7 +117,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
117
117
  featureId: t.feature.featureId || "",
118
118
  taxonomy: t.taxonomy || "",
119
119
  resources: t.resource.join(", ")
120
- }, o = M(n);
120
+ }, o = v(n);
121
121
  p.sendEvent({
122
122
  event: "interaction_event",
123
123
  event_name: "portal_maps_connectivity",
@@ -330,6 +330,7 @@ function L(e, t, a, n, o, i) {
330
330
  annotationSidebar: e.annotationSidebar,
331
331
  onConnectivityInfoOpen: e.onConnectivityInfoOpen,
332
332
  onConnectivityError: e.onConnectivityError,
333
+ onConnectivityInfoClose: e.onConnectivityInfoClose,
333
334
  connectivityInfoSidebar: e.connectivityInfoSidebar,
334
335
  ref: "multiflatmap",
335
336
  displayMinimap: !0,
@@ -344,7 +345,7 @@ function L(e, t, a, n, o, i) {
344
345
  onPathwaySelectionChanged: i.onPathwaySelectionChanged,
345
346
  onOpenPubmedUrl: i.onOpenPubmedUrl,
346
347
  onMapmanagerLoaded: e.onMapmanagerLoaded
347
- }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
348
+ }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
348
349
  e.helpMode && e.useHelpModeDialog ? (c(), k(l, {
349
350
  key: 0,
350
351
  ref: "multiflatmapHelp",
@@ -355,7 +356,7 @@ function L(e, t, a, n, o, i) {
355
356
  }, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
356
357
  ]);
357
358
  }
358
- const T = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-5da34951"]]);
359
+ const T = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-e96022db"]]);
359
360
  export {
360
361
  T as default
361
362
  };
@@ -1,7 +1,7 @@
1
1
  import { PlotVuer as o } from "@abi-software/plotvuer";
2
- import { C as r } from "./ContentMixin-DyVwSF4C.js";
2
+ import { C as r } from "./ContentMixin-c9DvlJVP.js";
3
3
  import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
4
- import { _ as m } from "./index-CVfAy4kK.js";
4
+ import { _ as m } from "./index-qckfB1dl.js";
5
5
  const p = {
6
6
  name: "Plot",
7
7
  mixins: [r],
@@ -1,5 +1,5 @@
1
- import { o as w1, S as _1, w as M1, h as S1, j as T1, A as A1, e as E1, _ as C1, k as R1, E as Cu } from "./index-CVfAy4kK.js";
2
- import { C as L1 } from "./ContentMixin-DyVwSF4C.js";
1
+ import { o as w1, S as _1, w as M1, h as S1, j as T1, A as A1, e as E1, _ as C1, k as R1, E as Cu } from "./index-qckfB1dl.js";
2
+ import { C as L1 } from "./ContentMixin-c9DvlJVP.js";
3
3
  import { ref as Ee, defineComponent as Pe, computed as he, openBlock as ye, createElementBlock as Ce, mergeProps as Sr, unref as V, renderSlot as qe, useAttrs as O1, useSlots as Gc, shallowRef as Ai, watch as Qe, nextTick as _t, onMounted as Qt, toRef as ur, createCommentVNode as Ue, Fragment as kt, normalizeClass as Re, createElementVNode as Fe, createBlock as Ve, withCtx as ve, resolveDynamicComponent as Oi, withModifiers as ni, createVNode as le, toDisplayString as vt, normalizeStyle as Ct, provide as si, reactive as Xi, onActivated as P1, onUpdated as Id, inject as ht, onBeforeUnmount as Qi, withDirectives as Ot, cloneVNode as I1, Text as Rv, Comment as N1, Transition as Js, vShow as pi, readonly as Lv, onDeactivated as D1, toHandlers as B1, withKeys as cr, createTextVNode as mt, createSlots as k1, toRefs as _o, getCurrentInstance as li, h as ca, renderList as Zi, onUnmounted as Ov, markRaw as wi, watchEffect as Pv, warn as F1, onBeforeMount as z1, toRaw as Iv, getCurrentScope as U1, onScopeDispose as V1, isRef as Nv, isVNode as Ih, Teleport as H1, resolveComponent as Si, resolveDirective as G1, toHandlerKey as j1, vModelText as W1, createApp as q1 } from "vue";
4
4
  import { defineStore as $1, mapState as Dv } from "pinia";
5
5
  const Wr = (i, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
@@ -1,7 +1,7 @@
1
- import { C as i } from "./ContentMixin-DyVwSF4C.js";
1
+ import { C as i } from "./ContentMixin-c9DvlJVP.js";
2
2
  import { SimulationVuer as t } from "@abi-software/simulationvuer";
3
3
  import { resolveComponent as e, openBlock as r, createBlock as a } from "vue";
4
- import { _ as m } from "./index-CVfAy4kK.js";
4
+ import { _ as m } from "./index-qckfB1dl.js";
5
5
  const c = {
6
6
  name: "Simulation",
7
7
  mixins: [i],