@abi-software/mapintegratedvuer 1.10.1 → 1.10.2-beta.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.
@@ -1,6 +1,6 @@
1
1
  import { markRaw as F } from "vue";
2
- import { u as C, c as M, d as I, a as h, T as A, e as S, f as N, h as T, l as $ } from "./index-Dg5B_ClS.js";
3
- import { mapStores as H } from "pinia";
2
+ import { u as C, c as I, d as A, E as f, a as M, g as S, e as $, f as H, l as N } from "./index-Dm85KBw6.js";
3
+ import { mapStores as L } from "pinia";
4
4
  const d = function(e) {
5
5
  return e ? [...new Set(e.map((t) => JSON.stringify(t)))].map(
6
6
  (t) => JSON.parse(t)
@@ -32,7 +32,7 @@ const d = function(e) {
32
32
  const i = e.name ?? e, n = t.name ?? t, s = i.toUpperCase(), o = n.toUpperCase();
33
33
  return s < o ? -1 : s > o ? 1 : 0;
34
34
  };
35
- let L = function() {
35
+ let P = function() {
36
36
  this.initialise = function(e) {
37
37
  this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.rawURLs = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "sckan";
38
38
  }, this.createTooltipData = async function(e, t) {
@@ -207,10 +207,10 @@ let L = function() {
207
207
  let n = [], s = [], o;
208
208
  if (t && t["node-phenotypes"]) {
209
209
  const l = ["ilxtr:hasSomaLocatedIn"], c = ["ilxtr:hasAxonPresynapticElementIn", "ilxtr:hasAxonSensorySubcellularElementIn"];
210
- l.forEach((f) => {
211
- f in t["node-phenotypes"] && n.push(...t["node-phenotypes"][f]);
212
- }), n = d(n), c.forEach((f) => {
213
- f in t["node-phenotypes"] && s.push(...t["node-phenotypes"][f]);
210
+ l.forEach((h) => {
211
+ h in t["node-phenotypes"] && n.push(...t["node-phenotypes"][h]);
212
+ }), n = d(n), c.forEach((h) => {
213
+ h in t["node-phenotypes"] && s.push(...t["node-phenotypes"][h]);
214
214
  }), s = d(s);
215
215
  } else
216
216
  s = 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), o = t.somas;
@@ -259,10 +259,10 @@ let L = function() {
259
259
  });
260
260
  };
261
261
  };
262
- function P(e) {
262
+ function T(e) {
263
263
  return e[0].toUpperCase() + e.substring(1);
264
264
  }
265
- const x = {
265
+ const O = {
266
266
  emits: ["flatmap-provenance-ready", "resource-selected", "species-changed"],
267
267
  props: {
268
268
  /**
@@ -281,13 +281,10 @@ const x = {
281
281
  },
282
282
  inject: ["showGlobalSettings", "showOpenMapButton"],
283
283
  computed: {
284
- ...H(C, M, I),
284
+ ...L(C, I, A),
285
285
  idNamePair() {
286
286
  return this.splitFlowStore.idNamePair;
287
287
  },
288
- syncMode() {
289
- return this.splitFlowStore.syncMode;
290
- },
291
288
  useHelpModeDialog() {
292
289
  return this.settingsStore.useHelpModeDialog;
293
290
  },
@@ -318,18 +315,16 @@ const x = {
318
315
  this.flatmapRef && this.flatmapRef.closeTooltip();
319
316
  }
320
317
  },
321
- toggleSyncMode: function() {
322
- },
323
318
  getState: function() {
324
319
  },
325
320
  openMap: function(e) {
326
- e === "SYNC" ? (this.toggleSyncMode(), this.trackOpenMap("toggle_map_sync_mode")) : (h.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`));
321
+ f.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`);
327
322
  },
328
323
  onMapmanagerLoaded: function(e) {
329
324
  this.settingsStore.updateMapManager(e);
330
325
  },
331
326
  trackOpenMap: function(e) {
332
- A.sendEvent({
327
+ M.sendEvent({
333
328
  event: "interaction_event",
334
329
  event_name: "portal_maps_open_map",
335
330
  category: e,
@@ -356,7 +351,7 @@ const x = {
356
351
  var a, r, l, c;
357
352
  const i = t[0];
358
353
  if (this.resourceHasAction(i)) {
359
- h.emit("PopoverActionClick", i);
354
+ f.emit("PopoverActionClick", i);
360
355
  return;
361
356
  }
362
357
  let n, s = !1;
@@ -368,9 +363,9 @@ const x = {
368
363
  eventType: void 0
369
364
  };
370
365
  if (e == "MultiFlatmap" || e == "Flatmap")
371
- if (o.internalName = (a = i == null ? void 0 : i.feature) != null && a.label ? i.feature.label : this.idNamePair[i.feature.models], i.eventType == "click")
366
+ if (o.internalName = (a = i == null ? void 0 : i.feature) != null && a.label ? i.feature.label : this.idNamePair[i.feature.models], i.eventType == "click") {
372
367
  if (o.eventType = "selected", i.feature.type == "marker") {
373
- let f = o.internalName;
368
+ let h = o.internalName;
374
369
  if (this.settingsStore.isFeaturedMarkerIdentifier(i.feature.id))
375
370
  n = {
376
371
  type: "Search",
@@ -380,7 +375,7 @@ const x = {
380
375
  else {
381
376
  n = {
382
377
  type: "Facet",
383
- facet: f,
378
+ facet: h,
384
379
  facetPropPath: "anatomy.organ.category.name",
385
380
  facetSubPropPath: "anatomy.organ.name",
386
381
  term: "Anatomical structure"
@@ -388,21 +383,21 @@ const x = {
388
383
  let u = /* @__PURE__ */ new Set();
389
384
  i.feature["marker-terms"].forEach((y) => {
390
385
  u.add(y.label);
391
- }), u.add(f), u.size > 0 && (n = {
386
+ }), u.add(h), u.size > 0 && (n = {
392
387
  type: "Facets",
393
388
  labels: [...u]
394
389
  });
395
390
  }
396
391
  s = !0, e == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
397
- } else i.feature.type == "feature" && this.syncMode && (s = !0);
398
- else i.eventType == "mouseenter" && (o.eventType = "highlighted", s = !0);
392
+ }
393
+ } else i.eventType == "mouseenter" && (o.eventType = "highlighted", s = !0);
399
394
  else e == "Scaffold" && (i && ((((r = i.data) == null ? void 0 : r.id) === void 0 || ((l = i.data) == null ? void 0 : l.id) === "") && (i.data.id = (c = i.data) == null ? void 0 : c.group), o.internalName = i.data.id, i.data.lastActionOnMarker === !0 && (n = {
400
395
  type: "Facet",
401
- facet: P(i.data.id),
396
+ facet: T(i.data.id),
402
397
  facetPropPath: "anatomy.organ.category.name",
403
398
  term: "Anatomical structure"
404
399
  })), o.eventType = "selected", s = !0);
405
- n && h.emit("PopoverActionClick", n), s && this.$emit("resource-selected", o);
400
+ n && f.emit("PopoverActionClick", n), s && this.$emit("resource-selected", o);
406
401
  },
407
402
  resourceHasAction: function(e) {
408
403
  return e && (e.type === "URL" || e.type === "Search" || e.type === "Neuron Search" || e.type == "Facet" || e.type == "Facets");
@@ -430,7 +425,7 @@ const x = {
430
425
  const o = S(e.resource.feature.models);
431
426
  if (o.length > 0) return o;
432
427
  }
433
- let s = N(t);
428
+ let s = $(t);
434
429
  if (s)
435
430
  return s;
436
431
  if (i && e.eventType === "selected")
@@ -509,27 +504,8 @@ const x = {
509
504
  },
510
505
  zoomToFeatures: function() {
511
506
  },
512
- handleSyncMouseEvent: async function(e) {
513
- let t = await this.getNameAndIdFromSyncData(e);
514
- e.eventType === "highlighted" ? this.highlightFeatures(t) : e.eventType === "selected" && this.displayTooltip(t);
515
- },
516
- /**
517
- * Handle sync pan zoom event
518
- */
519
- handleSyncPanZoomEvent: function() {
520
- },
521
507
  highlightFeatures: function() {
522
508
  },
523
- receiveSynchronisedEvent: async function(e) {
524
- if (e.paneIndex !== this.entry.id)
525
- e.eventType == "panZoom" || this.handleSyncMouseEvent(e);
526
- else if (e.eventType == "selected") {
527
- let t = await this.getNameAndIdFromSyncData(e);
528
- this.zoomToFeatures(t, !1);
529
- }
530
- },
531
- requestSynchronisedEvent: function() {
532
- },
533
509
  flatmapMarkerUpdate() {
534
510
  },
535
511
  onResize: function() {
@@ -583,15 +559,15 @@ const x = {
583
559
  if (this.visible && ((this.flatmapRef || this.multiflatmapRef) && this.flatmapReady || this.scaffoldRef && this.scaffoldLoaded)) {
584
560
  const n = this.settingsStore.hoverAnatomies, s = this.settingsStore.hoverOrgans, o = this.settingsStore.hoverDOI, a = this.settingsStore.hoverConnectivity;
585
561
  let r = null, l = null;
586
- this.flatmapRef && (r = this.flatmapRef), this.multiflatmapRef && (r = this.multiflatmapRef.getCurrentFlatmap()), this.scaffoldRef && (l = this.scaffoldRef), clearTimeout(this.highlightDelay), !n.length && !s.length && !o && !a.length && ((this.multiflatmapRef || this.flatmapRef) && r ? ((t = r.mapImp) == null || t.clearSearchResults(), e.connectivitySearch && ((i = r.mapImp) == null || i.setPaint({ dimmed: !0 }))) : this.scaffoldRef && l && l.changeHighlightedByName(s, "", !1)), this.highlightDelay = setTimeout(() => {
562
+ this.flatmapRef && (r = this.flatmapRef), this.multiflatmapRef && (r = this.multiflatmapRef.getCurrentFlatmap()), this.scaffoldRef && (l = this.scaffoldRef), clearTimeout(this.highlightDelay), !n.length && !s.length && !o && !a.length && ((this.multiflatmapRef || this.flatmapRef) && r ? ((t = r.mapImp) == null || t.clearSearchResults(), e.connectivityProcessed && ((i = r.mapImp) == null || i.setPaint({ dimmed: !0 }))) : this.scaffoldRef && l && l.changeHighlightedByName(s, "", !1)), this.highlightDelay = setTimeout(() => {
587
563
  (n.length || s.length || o || a.length) && ((this.multiflatmapRef || this.flatmapRef) && r ? this.flatmapHighlight(r, n, o, a).then((c) => {
588
564
  try {
589
565
  r.showConnectivityTooltips({
590
566
  connectivityInfo: { featureId: c },
591
567
  data: []
592
568
  });
593
- } catch (f) {
594
- if (console.log(f), a.length && r.mapImp) {
569
+ } catch (h) {
570
+ if (console.log(h), a.length && r.mapImp) {
595
571
  const u = r.mapImp.uuid;
596
572
  c.every(
597
573
  (w) => this.connectivityKnowledge[u].some(
@@ -605,37 +581,45 @@ const x = {
605
581
  }
606
582
  },
607
583
  onAnnotationOpen: function(e) {
608
- h.emit("annotation-open", e);
584
+ f.emit("annotation-open", e);
609
585
  },
610
586
  onAnnotationClose: function() {
611
- h.emit("sidebar-annotation-close");
587
+ f.emit("sidebar-annotation-close");
612
588
  },
613
589
  updateOfflineAnnotationEnabled: function(e) {
614
- h.emit("update-offline-annotation-enabled", e);
590
+ f.emit("update-offline-annotation-enabled", e);
615
591
  },
616
592
  onConnectivityInfoOpen: function(e) {
617
- h.emit("connectivity-info-open", e);
593
+ f.emit("connectivity-info-open", e);
618
594
  },
619
595
  onConnectivityError: function(e) {
620
- h.emit("connectivity-error", e);
596
+ f.emit("connectivity-error", e);
621
597
  },
622
598
  onConnectivityInfoClose: function() {
623
- h.emit("connectivity-info-close");
599
+ f.emit("connectivity-info-close");
624
600
  },
625
601
  onSidebarAnnotationClose: function() {
626
602
  },
603
+ onNeuronConnectionClick: function(e) {
604
+ f.emit("neuron-connection-click", e);
605
+ },
606
+ onNeuronConnectionFeatureClick: function(e) {
607
+ f.emit("neuron-connection-feature-click", e);
608
+ },
627
609
  showConnectivity: function(e) {
628
610
  },
629
- showConnectivitiesByReference: function(e) {
611
+ showConnectivitiesByReference: function() {
612
+ },
613
+ showConnectivityTooltips: function() {
630
614
  },
631
- showConnectivityTooltips: function(e) {
615
+ changeConnectivitySource: function() {
632
616
  },
633
- changeConnectivitySource: function(e) {
617
+ setVisibilityFilter: function() {
634
618
  },
635
619
  loadConnectivityExplorerConfig: async function(e) {
636
- const t = e.mapImp, i = T(t), n = F(new L());
620
+ const t = e.mapImp, i = H(t), n = F(new P());
637
621
  n.initialise(this.flatmapAPI);
638
- const s = await $(t, n), o = t.uuid, a = t.pathways;
622
+ const s = await N(t, n), o = t.uuid, a = t.pathways;
639
623
  if (this.connectivityKnowledge[i] || (this.connectivityKnowledge[i] = s.filter((r) => {
640
624
  var l;
641
625
  return r.source === i && ((l = r.connectivity) == null ? void 0 : l.length);
@@ -643,7 +627,7 @@ const x = {
643
627
  const r = a ? a.paths : {};
644
628
  this.connectivityKnowledge[o] = this.connectivityKnowledge[i].filter((l) => l.id in r);
645
629
  }
646
- this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), this.connectivityFilterOptions[o] || (this.connectivityFilterOptions[o] = await e.getFilterOptions()), this.connectivitiesStore.updateFilterOptions(this.connectivityFilterOptions), this.connectivityFilterSources[o] || (this.connectivityFilterSources[o] = e.getFilterSources()), this.connectivitiesStore.updateFilterSources(this.connectivityFilterSources), h.emit("species-layout-connectivity-update");
630
+ this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), this.connectivityFilterOptions[o] || (this.connectivityFilterOptions[o] = await e.getFilterOptions()), this.connectivitiesStore.updateFilterOptions(this.connectivityFilterOptions), this.connectivityFilterSources[o] || (this.connectivityFilterSources[o] = e.getFilterSources()), this.connectivitiesStore.updateFilterSources(this.connectivityFilterSources), f.emit("species-layout-connectivity-update");
647
631
  }
648
632
  },
649
633
  data: function() {
@@ -682,5 +666,5 @@ const x = {
682
666
  }
683
667
  };
684
668
  export {
685
- x as C
669
+ O as C
686
670
  };
@@ -1,13 +1,13 @@
1
- import { _ as c, E as h, t as u, T as s, a as l } from "./index-Dg5B_ClS.js";
2
- import { C as g } from "./ContentMixin-BjWQ5hyW.js";
3
- import { D as y } from "./style-B7PIw3HT.js";
4
- import { FlatmapVuer as M } from "@abi-software/flatmapvuer";
5
- import { resolveComponent as r, openBlock as p, createElementBlock as I, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
1
+ import { _ as d, T as h, t as u, a as s, E as r } from "./index-Dm85KBw6.js";
2
+ import { C as g } from "./ContentMixin-CGhcj7xh.js";
3
+ import { D as y } from "./style-DF6s1KEf.js";
4
+ import { FlatmapVuer as C } from "@abi-software/flatmapvuer";
5
+ import { resolveComponent as p, openBlock as f, createElementBlock as M, createVNode as I, createBlock as v, createCommentVNode as S } from "vue";
6
6
  const w = {
7
7
  name: "Flatmap",
8
8
  mixins: [g, y],
9
9
  components: {
10
- FlatmapVuer: M,
10
+ FlatmapVuer: C,
11
11
  HelpModeDialog: h
12
12
  },
13
13
  data: function() {
@@ -29,34 +29,34 @@ const w = {
29
29
  var e;
30
30
  return (e = this.$refs.flatmap) == null ? void 0 : e.mapImp;
31
31
  },
32
- flatmaprResourceSelected: function(e, t) {
33
- if (this.resourceSelected(e, t), t.eventType === "click" && t.feature.type === "feature") {
34
- const a = {
35
- label: t.label || "",
36
- id: t.feature.id || "",
37
- featureId: t.feature.featureId || "",
38
- taxonomy: t.taxonomy || "",
39
- resources: t.resource.join(", ")
40
- }, n = u(a);
32
+ flatmaprResourceSelected: function(e, n) {
33
+ if (this.resourceSelected(e, n), n.eventType === "click" && n.feature.type === "feature") {
34
+ const o = {
35
+ label: n.label || "",
36
+ id: n.feature.id || "",
37
+ featureId: n.feature.featureId || "",
38
+ taxonomy: n.taxonomy || "",
39
+ resources: n.resource.join(", ")
40
+ }, t = u(o);
41
41
  s.sendEvent({
42
42
  event: "interaction_event",
43
43
  event_name: "portal_maps_connectivity",
44
- category: n,
44
+ category: t,
45
45
  location: e + " " + this.$refs.flatmap.viewingMode
46
46
  });
47
47
  }
48
48
  },
49
49
  flatmapReadyCall: function(e) {
50
50
  this.flatmapReady = !0;
51
- let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
52
- e.mapImp, l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.flatmapReadyForMarkerUpdates(e), this.updateViewerSettings(), this.loadConnectivityExplorerConfig(e), l.emit("mapLoaded", e);
51
+ let n = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
52
+ e.mapImp, r.emit("mapImpProv", n), this.$emit("flatmap-provenance-ready", n), this.flatmapReadyForMarkerUpdates(e), this.updateViewerSettings(), this.loadConnectivityExplorerConfig(e), r.emit("mapLoaded", e);
53
53
  },
54
54
  onPathwaySelectionChanged: function(e) {
55
- const { label: t, property: a, checked: n, selectionsTitle: i } = e;
55
+ const { label: n, property: o, checked: t, selectionsTitle: i } = e;
56
56
  s.sendEvent({
57
57
  event: "interaction_event",
58
58
  event_name: "portal_maps_pathway_change",
59
- category: t + " [" + a + "] " + n,
59
+ category: n + " [" + o + "] " + t,
60
60
  location: i
61
61
  });
62
62
  },
@@ -64,53 +64,53 @@ const w = {
64
64
  this.flatmapReady && this.$refs.flatmap && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
65
65
  },
66
66
  highlightFeatures: function(e) {
67
- let t = e.name;
68
- const a = this.$refs.flatmap.mapImp;
69
- if (t) {
70
- const n = a.search(t);
71
- n.featureIds[0] && a.highlightFeatures([
72
- a.modelForFeature(n.featureIds[0])
67
+ let n = e.name;
68
+ const o = this.$refs.flatmap.mapImp;
69
+ if (n) {
70
+ const t = o.search(n);
71
+ t.featureIds[0] && o.highlightFeatures([
72
+ o.modelForFeature(t.featureIds[0])
73
73
  ]);
74
74
  }
75
75
  },
76
76
  /**
77
77
  * Append the list of suggested terms to suggestions
78
78
  */
79
- searchSuggestions: function(e, t) {
79
+ searchSuggestions: function(e, n) {
80
80
  if (e && this.$refs.flatmap.mapImp) {
81
- const a = this.$refs.flatmap.mapImp.search(e);
82
- (a.__featureIds || a.featureIds).forEach((i) => {
83
- const o = this.$refs.flatmap.mapImp.annotation(i);
84
- o && o.label && t.push(o.label);
81
+ const o = this.$refs.flatmap.mapImp.search(e);
82
+ (o.__featureIds || o.featureIds).forEach((i) => {
83
+ const a = this.$refs.flatmap.mapImp.annotation(i);
84
+ a && a.label && n.push(a.label);
85
85
  });
86
86
  }
87
87
  },
88
88
  showConnectivity: function(e) {
89
89
  if (this != null && this.alive) {
90
- const { featureIds: t, offset: a } = e, n = this.$refs.flatmap;
91
- n && n.moveMap(t, {
92
- offsetX: a ? -150 : 0,
90
+ const { featureIds: n, offset: o } = e, t = this.$refs.flatmap;
91
+ t && t.moveMap(n, {
92
+ offsetX: o ? -150 : 0,
93
93
  zoom: 4
94
94
  });
95
95
  }
96
96
  },
97
97
  showConnectivitiesByReference: function(e) {
98
98
  if (this != null && this.alive) {
99
- const t = this.$refs.flatmap;
100
- t && t.showConnectivitiesByReference(e);
99
+ const n = this.$refs.flatmap;
100
+ n && n.showConnectivitiesByReference(e);
101
101
  }
102
102
  },
103
- zoomToFeatures: function(e, t) {
104
- let a = e.name;
105
- const n = this.$refs.flatmap.mapImp;
106
- if (a) {
107
- const i = n.search(a);
103
+ zoomToFeatures: function(e, n) {
104
+ let o = e.name;
105
+ const t = this.$refs.flatmap.mapImp;
106
+ if (o) {
107
+ const i = t.search(o);
108
108
  if (i.featureIds.length) {
109
- let o = n.modelForFeature(i.featureIds[0]);
110
- o ? (t && n.selectFeatures(o), n.zoomToFeatures(o)) : n.clearSearchResults();
109
+ let a = t.modelForFeature(i.featureIds[0]);
110
+ a ? (n && t.selectFeatures(a), t.zoomToFeatures(a)) : t.clearSearchResults();
111
111
  }
112
112
  } else
113
- n.clearSearchResults();
113
+ t.clearSearchResults();
114
114
  },
115
115
  changeViewingMode: function(e) {
116
116
  this.$refs.flatmap.changeViewingMode(e);
@@ -118,12 +118,19 @@ const w = {
118
118
  updateViewerSettings: function() {
119
119
  const {
120
120
  backgroundDisplay: e,
121
- viewingMode: t,
122
- flightPathDisplay: a,
123
- organsDisplay: n,
124
- outlinesDisplay: i
125
- } = this.settingsStore.globalSettings, o = this.$refs.flatmap;
126
- o.changeViewingMode(t), o.setFlightPath3D(a), o.setColour(n), o.setOutlines(i), o.backgroundChangeCallback(e);
121
+ viewingMode: n,
122
+ flightPathDisplay: o,
123
+ organsDisplay: t,
124
+ outlinesDisplay: i,
125
+ connectionType: a
126
+ } = this.settingsStore.globalSettings, l = this.$refs.flatmap;
127
+ l.changeViewingMode(n), l.setFlightPath3D(o), l.setColour(t), l.setOutlines(i), l.backgroundChangeCallback(e), l.setConnectionType(a);
128
+ },
129
+ setVisibilityFilter: function(e) {
130
+ if (this != null && this.alive) {
131
+ const n = this.$refs.flatmap;
132
+ n && n.setVisibilityFilter(e);
133
+ }
127
134
  }
128
135
  },
129
136
  computed: {
@@ -131,15 +138,15 @@ const w = {
131
138
  return this.settingsStore.facets.species;
132
139
  }
133
140
  }
134
- }, b = { class: "viewer-container" };
135
- function F(e, t, a, n, i, o) {
136
- const f = r("FlatmapVuer"), m = r("HelpModeDialog");
137
- return p(), I("div", b, [
138
- v(f, {
141
+ }, F = { class: "viewer-container" };
142
+ function b(e, n, o, t, i, a) {
143
+ const l = p("FlatmapVuer"), m = p("HelpModeDialog");
144
+ return f(), M("div", F, [
145
+ I(l, {
139
146
  state: e.entry.state,
140
147
  entry: e.entry.resource,
141
148
  mapManager: e.mapManager,
142
- onResourceSelected: t[0] || (t[0] = (d) => o.flatmaprResourceSelected(e.entry.type, d)),
149
+ onResourceSelected: n[0] || (n[0] = (c) => a.flatmaprResourceSelected(e.entry.type, c)),
143
150
  onPanZoomCallback: e.flatmapPanZoomCallback,
144
151
  name: e.entry.resource,
145
152
  style: { height: "100%", width: "100%" },
@@ -158,10 +165,12 @@ function F(e, t, a, n, i, o) {
158
165
  onConnectivityInfoOpen: e.onConnectivityInfoOpen,
159
166
  onConnectivityError: e.onConnectivityError,
160
167
  onConnectivityInfoClose: e.onConnectivityInfoClose,
168
+ onNeuronConnectionClick: e.onNeuronConnectionClick,
169
+ onNeuronConnectionFeatureClick: e.onNeuronConnectionFeatureClick,
161
170
  connectivityInfoSidebar: e.connectivityInfoSidebar,
162
171
  pathControls: !0,
163
172
  ref: "flatmap",
164
- onReady: o.flatmapReadyCall,
173
+ onReady: a.flatmapReadyCall,
165
174
  displayMinimap: !1,
166
175
  displayWarning: !0,
167
176
  enableOpenMapUI: !0,
@@ -170,20 +179,20 @@ function F(e, t, a, n, i, o) {
170
179
  showLocalSettings: e.showLocalSettings,
171
180
  showOpenMapButton: e.showOpenMapButton,
172
181
  onOpenMap: e.openMap,
173
- onPathwaySelectionChanged: o.onPathwaySelectionChanged,
182
+ onPathwaySelectionChanged: a.onPathwaySelectionChanged,
174
183
  onMapmanagerLoaded: e.onMapmanagerLoaded
175
- }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "onUpdateOfflineAnnotationEnabled", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "showLocalSettings", "showOpenMapButton", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
176
- e.helpMode && e.useHelpModeDialog ? (p(), S(m, {
184
+ }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "onUpdateOfflineAnnotationEnabled", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityError", "onConnectivityInfoClose", "onNeuronConnectionClick", "onNeuronConnectionFeatureClick", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "showLocalSettings", "showOpenMapButton", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
185
+ e.helpMode && e.useHelpModeDialog ? (f(), v(m, {
177
186
  key: 0,
178
187
  ref: "flatmapHelp",
179
188
  flatmapRef: e.flatmapRef,
180
189
  lastItem: e.helpModeLastItem,
181
190
  onShowNext: e.onHelpModeShowNext,
182
191
  onFinishHelpMode: e.onFinishHelpMode
183
- }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
192
+ }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : S("", !0)
184
193
  ]);
185
194
  }
186
- const D = /* @__PURE__ */ c(w, [["render", F], ["__scopeId", "data-v-6da42dc1"]]);
195
+ const T = /* @__PURE__ */ d(w, [["render", b], ["__scopeId", "data-v-9328c2b0"]]);
187
196
  export {
188
- D as default
197
+ T as default
189
198
  };
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-BjWQ5hyW.js";
1
+ import { C as r } from "./ContentMixin-CGhcj7xh.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-Dg5B_ClS.js";
3
+ import { _ as n } from "./index-Dm85KBw6.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]