@abi-software/mapintegratedvuer 1.9.0-beta.1 → 1.9.0-beta.2

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,12 +1,12 @@
1
- import { _ as d, E as h, t as u, T as s, a as r } from "./index-BFdnIlxA.js";
2
- import { C as I } from "./ContentMixin-CukPHyXB.js";
3
- import { D as g, R as M } from "./style-DeVkU2io.js";
4
- import { resolveComponent as l, openBlock as p, createElementBlock as v, createVNode as y, createBlock as C, createCommentVNode as S } from "vue";
5
- const w = {
1
+ import { _ as c, G as h, t as u, T as l, E as r } from "./index-z8CoyNjc.js";
2
+ import { C as g } from "./ContentMixin-DhYKJqtq.js";
3
+ import { D as M, p as I } from "./style-DwAEhcnj.js";
4
+ import { resolveComponent as p, openBlock as s, createElementBlock as y, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
5
+ const F = {
6
6
  name: "Flatmap",
7
- mixins: [I, g],
7
+ mixins: [g, M],
8
8
  components: {
9
- FlatmapVuer: M,
9
+ FlatmapVuer: I,
10
10
  HelpModeDialog: h
11
11
  },
12
12
  methods: {
@@ -23,69 +23,69 @@ const w = {
23
23
  var e;
24
24
  return (e = this.$refs.flatmap) == null ? void 0 : e.mapImp;
25
25
  },
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
- s.sendEvent({
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);
35
+ l.sendEvent({
36
36
  event: "interaction_event",
37
37
  event_name: "portal_maps_connectivity",
38
- category: n,
38
+ category: t,
39
39
  location: e + " " + this.$refs.flatmap.viewingMode
40
40
  });
41
41
  }
42
42
  },
43
43
  flatmapReadyCall: function(e) {
44
- let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
45
- r.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.flatmapReadyForMarkerUpdates(e), r.emit("mapLoaded", 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);
46
46
  },
47
47
  onPathwaySelectionChanged: function(e) {
48
- const { label: t, property: a, checked: n, selectionsTitle: i } = e;
49
- s.sendEvent({
48
+ const { label: a, property: n, checked: t, selectionsTitle: i } = e;
49
+ l.sendEvent({
50
50
  event: "interaction_event",
51
51
  event_name: "portal_maps_pathway_change",
52
- category: t + " [" + a + "] " + n,
52
+ category: a + " [" + n + "] " + t,
53
53
  location: i
54
54
  });
55
55
  },
56
56
  highlightFeatures: function(e) {
57
- let t = e.name;
58
- const a = this.$refs.flatmap.mapImp;
59
- if (t) {
60
- const n = a.search(t);
61
- n.featureIds[0] && a.highlightFeatures([
62
- a.modelForFeature(n.featureIds[0])
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])
63
63
  ]);
64
64
  }
65
65
  },
66
66
  /**
67
67
  * Append the list of suggested terms to suggestions
68
68
  */
69
- searchSuggestions: function(e, t) {
69
+ searchSuggestions: function(e, a) {
70
70
  if (e && this.$refs.flatmap.mapImp) {
71
- const a = this.$refs.flatmap.mapImp.search(e);
72
- (a.__featureIds || a.featureIds).forEach((i) => {
71
+ const n = this.$refs.flatmap.mapImp.search(e);
72
+ (n.__featureIds || n.featureIds).forEach((i) => {
73
73
  const o = this.$refs.flatmap.mapImp.annotation(i);
74
- o && o.label && t.push(o.label);
74
+ o && o.label && a.push(o.label);
75
75
  });
76
76
  }
77
77
  },
78
- zoomToFeatures: function(e, t) {
79
- let a = e.name;
80
- const n = this.$refs.flatmap.mapImp;
81
- if (a) {
82
- const i = n.search(a);
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
83
  if (i.featureIds.length) {
84
- let o = n.modelForFeature(i.featureIds[0]);
85
- o ? (t && n.selectFeatures(o), n.zoomToFeatures(o)) : n.clearSearchResults();
84
+ let o = t.modelForFeature(i.featureIds[0]);
85
+ o ? (a && t.selectFeatures(o), t.zoomToFeatures(o)) : t.clearSearchResults();
86
86
  }
87
87
  } else
88
- n.clearSearchResults();
88
+ t.clearSearchResults();
89
89
  },
90
90
  changeViewingMode: function(e) {
91
91
  this.$refs.flatmap.changeViewingMode(e);
@@ -97,33 +97,32 @@ const w = {
97
97
  }
98
98
  },
99
99
  mounted: function() {
100
- r.on("annotation-close", (e) => {
101
- const t = this.$refs.flatmap;
102
- e != null && e.tabClose && t && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
100
+ r.on("annotation-close", () => {
101
+ this.$refs.flatmap && this.$refs.flatmap.annotationEventCallback({}, { type: "aborted" });
103
102
  }), r.on("markerUpdate", () => {
104
103
  this.flatmapMarkerUpdate(void 0);
105
104
  }), r.on("hoverUpdate", () => {
106
- this.mapHoverHighlight();
105
+ this.cardHoverHighlight();
107
106
  }), r.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,
107
+ const { featureIds: a, offset: n } = e, t = this.$refs.flatmap;
108
+ t && t.moveMap(a, {
109
+ offsetX: n ? -150 : 0,
111
110
  zoom: 4
112
111
  });
113
112
  }), r.on("show-reference-connectivities", (e) => {
114
- const t = this.$refs.flatmap;
115
- t && t.showConnectivitiesByReference(e);
113
+ const a = this.$refs.flatmap;
114
+ a && a.showConnectivitiesByReference(e);
116
115
  });
117
116
  }
118
- }, F = { class: "viewer-container" };
119
- function b(e, t, a, n, i, o) {
120
- const m = l("FlatmapVuer"), f = l("HelpModeDialog");
121
- return p(), v("div", F, [
122
- y(m, {
117
+ }, w = { class: "viewer-container" };
118
+ function b(e, a, n, t, i, o) {
119
+ const m = p("FlatmapVuer"), f = p("HelpModeDialog");
120
+ return s(), y("div", w, [
121
+ v(m, {
123
122
  state: e.entry.state,
124
123
  entry: e.entry.resource,
125
124
  mapManager: e.mapManager,
126
- onResourceSelected: t[0] || (t[0] = (c) => o.flatmaprResourceSelected(e.entry.type, c)),
125
+ onResourceSelected: a[0] || (a[0] = (d) => o.flatmaprResourceSelected(e.entry.type, d)),
127
126
  onPanZoomCallback: e.flatmapPanZoomCallback,
128
127
  name: e.entry.resource,
129
128
  style: { height: "100%", width: "100%" },
@@ -139,7 +138,6 @@ function b(e, t, a, n, i, o) {
139
138
  onAnnotationClose: e.onAnnotationClose,
140
139
  annotationSidebar: e.annotationSidebar,
141
140
  onConnectivityInfoOpen: e.onConnectivityInfoOpen,
142
- onConnectivityInfoClose: e.onConnectivityInfoClose,
143
141
  onConnectivityGraphError: e.onConnectivityGraphError,
144
142
  connectivityInfoSidebar: e.connectivityInfoSidebar,
145
143
  pathControls: !0,
@@ -153,18 +151,18 @@ function b(e, t, a, n, i, o) {
153
151
  onOpenMap: e.openMap,
154
152
  onPathwaySelectionChanged: o.onPathwaySelectionChanged,
155
153
  onMapmanagerLoaded: e.onMapmanagerLoaded
156
- }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityGraphError", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
157
- e.helpMode && e.useHelpModeDialog ? (p(), C(f, {
154
+ }, null, 8, ["state", "entry", "mapManager", "onPanZoomCallback", "name", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityGraphError", "connectivityInfoSidebar", "onReady", "flatmapAPI", "sparcAPI", "onOpenMap", "onPathwaySelectionChanged", "onMapmanagerLoaded"]),
155
+ e.helpMode && e.useHelpModeDialog ? (s(), S(f, {
158
156
  key: 0,
159
157
  ref: "flatmapHelp",
160
158
  flatmapRef: e.flatmapRef,
161
159
  lastItem: e.helpModeLastItem,
162
160
  onShowNext: e.onHelpModeShowNext,
163
161
  onFinishHelpMode: e.onFinishHelpMode
164
- }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : S("", !0)
162
+ }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
165
163
  ]);
166
164
  }
167
- const k = /* @__PURE__ */ d(w, [["render", b], ["__scopeId", "data-v-e3d04e7c"]]);
165
+ const k = /* @__PURE__ */ c(F, [["render", b], ["__scopeId", "data-v-393c126c"]]);
168
166
  export {
169
167
  k as default
170
168
  };
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-CukPHyXB.js";
1
+ import { C as r } from "./ContentMixin-DhYKJqtq.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-BFdnIlxA.js";
3
+ import { _ as n } from "./index-z8CoyNjc.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,8 +1,8 @@
1
- import { _ as u, E as h, b as y, g, a as r, t as M, T as p } from "./index-BFdnIlxA.js";
2
- import { C as v } from "./ContentMixin-CukPHyXB.js";
3
- import { D as I, q as C } from "./style-DeVkU2io.js";
4
- import { resolveComponent as f, openBlock as c, createElementBlock as S, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
5
- const b = '<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) => {
1
+ import { _ as u, G as h, a as y, g, E as s, t as M, T as p } from "./index-z8CoyNjc.js";
2
+ import { C as v } from "./ContentMixin-DhYKJqtq.js";
3
+ import { D as I, A as C } from "./style-DwAEhcnj.js";
4
+ import { resolveComponent as f, openBlock as c, createElementBlock as S, createVNode as F, createBlock as w, createCommentVNode as k } from "vue";
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 = [
7
7
  {
8
8
  display: "Open AC Map",
@@ -28,7 +28,7 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
28
28
  break;
29
29
  }
30
30
  return t;
31
- }, R = {
31
+ }, b = {
32
32
  name: "MultiFlatmap",
33
33
  mixins: [v, I],
34
34
  components: {
@@ -71,9 +71,9 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
71
71
  layout: "2vertpanel",
72
72
  type: "SyncMap",
73
73
  isBodyScaffold: !0
74
- }), e && r.emit("SyncModeRequest", { flag: !0, action: e });
74
+ }), e && s.emit("SyncModeRequest", { id: this.entry.id, flag: !0, action: e });
75
75
  } else
76
- r.emit("SyncModeRequest", { flag: !1 });
76
+ s.emit("SyncModeRequest", { id: this.entry.id, lag: !1 });
77
77
  },
78
78
  getState: function() {
79
79
  if (this.flatmapReady) return this.$refs.multiflatmap.getState();
@@ -103,8 +103,8 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
103
103
  if (e && a.mapImp) {
104
104
  const n = a.mapImp.search(e);
105
105
  (n.__featureIds || n.featureIds).forEach((i) => {
106
- const s = a.mapImp.annotation(i);
107
- s && s.label && t.push(s.label);
106
+ const r = a.mapImp.annotation(i);
107
+ r && r.label && t.push(r.label);
108
108
  });
109
109
  }
110
110
  },
@@ -149,12 +149,12 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
149
149
  handleSyncPanZoomEvent: function(e) {
150
150
  if (!this.mouseHovered && e.type !== this.entry.type) {
151
151
  const t = e.payload.zoom, a = e.payload.target, n = this.$el.clientHeight, o = this.$el.clientWidth, i = Math.max(o, n);
152
- let s = o / i / t;
152
+ let r = o / i / t;
153
153
  const l = n / i / t, m = [
154
- a[0] / 2 + 0.5 - s / 2,
154
+ a[0] / 2 + 0.5 - r / 2,
155
155
  0.5 - a[1] / 2 - l / 2
156
156
  ];
157
- this.$refs.multiflatmap.getCurrentFlatmap().mapImp.panZoomTo(m, [s, l]);
157
+ this.$refs.multiflatmap.getCurrentFlatmap().mapImp.panZoomTo(m, [r, l]);
158
158
  }
159
159
  },
160
160
  displayTooltip: function(e) {
@@ -184,11 +184,11 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
184
184
  const e = this.getFlatmapImp();
185
185
  if (e) {
186
186
  let t = { id: this.entry.id, prov: e.provenance };
187
- this.$emit("flatmap-provenance-ready", t);
187
+ s.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t);
188
188
  }
189
189
  },
190
190
  flatmapChanged: async function(e) {
191
- this.activeSpecies = e, this.openMapOptions = d(e), this.$emit("species-changed", e), this.entry.state && this.entry.state.species === this.activeSpecies || this.syncMode == !0 && await this.toggleSyncMode(), this.updateProvCard(), this.onConnectivityInfoClose(), p.sendEvent({
191
+ this.activeSpecies = e, this.openMapOptions = d(e), this.$emit("species-changed", e), this.entry.state && this.entry.state.species === this.activeSpecies || this.syncMode == !0 && await this.toggleSyncMode(), this.updateProvCard(), p.sendEvent({
192
192
  event: "interaction_event",
193
193
  event_name: "portal_maps_species_change",
194
194
  category: this.activeSpecies
@@ -198,7 +198,7 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
198
198
  if (e) {
199
199
  e.enablePanZoomEvents(!0), this.flatmapReady = !0;
200
200
  const t = e.mapImp;
201
- this.flatmapMarkerUpdate(t), this.updateProvCard(), r.emit("mapLoaded", e);
201
+ this.flatmapMarkerUpdate(t), this.updateProvCard(), this.loadConnectivityKnowledge(t), s.emit("mapLoaded", e);
202
202
  }
203
203
  },
204
204
  getFlatmapImp: function() {
@@ -211,7 +211,7 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
211
211
  label: "Unused",
212
212
  val: this.getFlatmapImp().visibleMarkerAnatomicalIds().map((n) => this.idNamePair[n])
213
213
  };
214
- r.emit("PopoverActionClick", a);
214
+ s.emit("PopoverActionClick", a);
215
215
  },
216
216
  restoreFeaturedMarkers: function(e) {
217
217
  this.settingsStore.resetFeaturedMarkerIdentifier();
@@ -232,15 +232,15 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
232
232
  let o = a;
233
233
  if (o || (o = this.getFlatmapImp()), o) {
234
234
  let i = document.createElement("div");
235
- i.innerHTML = b;
236
- const s = o.addMarker(e, {
235
+ i.innerHTML = R;
236
+ const r = o.addMarker(e, {
237
237
  element: i,
238
238
  className: "highlight-marker",
239
239
  cluster: !1
240
240
  });
241
241
  return this.settingsStore.updateFeaturedMarkerIdentifier({
242
242
  index: t,
243
- markerIdentifier: s
243
+ markerIdentifier: r
244
244
  }), !0;
245
245
  }
246
246
  return !1;
@@ -253,6 +253,9 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
253
253
  },
254
254
  showConnectivityTooltips: function(e) {
255
255
  this.flatmapReady && this.$refs.multiflatmap.getCurrentFlatmap().showConnectivityTooltips(e);
256
+ },
257
+ changeConnectivitySource: function(e) {
258
+ this.flatmapReady && this.$refs.multiflatmap.getCurrentFlatmap().changeConnectivitySource(e);
256
259
  }
257
260
  },
258
261
  computed: {
@@ -272,9 +275,9 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
272
275
  }
273
276
  },
274
277
  mounted: function() {
275
- this.getFeaturedDatasets(), r.on("annotation-close", (e) => {
276
- e != null && e.tabClose && this.flatmapReady && this.$refs.multiflatmap && this.$refs.multiflatmap.getCurrentFlatmap().annotationEventCallback({}, { type: "aborted" });
277
- }), r.on("show-connectivity", (e) => {
278
+ this.getFeaturedDatasets(), s.on("annotation-close", () => {
279
+ this.flatmapReady && this.$refs.multiflatmap && this.$refs.multiflatmap.getCurrentFlatmap().annotationEventCallback({}, { type: "aborted" });
280
+ }), s.on("show-connectivity", (e) => {
278
281
  const { featureIds: t, offset: a } = e;
279
282
  if (this.flatmapReady && this.$refs.multiflatmap) {
280
283
  const n = this.$refs.multiflatmap.getCurrentFlatmap();
@@ -283,24 +286,31 @@ const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
283
286
  zoom: 4
284
287
  });
285
288
  }
286
- }), r.on("show-reference-connectivities", (e) => {
289
+ }), s.on("show-reference-connectivities", (e) => {
287
290
  if (this.flatmapReady && this.$refs.multiflatmap) {
288
291
  const t = this.$refs.multiflatmap.getCurrentFlatmap();
289
292
  t && t.showConnectivitiesByReference(e);
290
293
  }
291
- }), r.on("connectivity-component-click", (e) => {
294
+ }), s.on("connectivity-hovered", (e) => {
292
295
  this.showConnectivityTooltips(e);
293
- }), r.on("markerUpdate", () => {
296
+ }), s.on("connectivity-source-change", (e) => {
297
+ this.changeConnectivitySource(e);
298
+ }), s.on("markerUpdate", () => {
294
299
  this.flatmapReady && this.flatmapMarkerUpdate(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
295
- }), r.on("hoverUpdate", () => {
296
- this.flatmapReady && this.mapHoverHighlight();
300
+ }), s.on("hoverUpdate", () => {
301
+ this.flatmapReady && this.cardHoverHighlight();
302
+ }), s.on("connectivity-query-filter", (e) => {
303
+ if (this.flatmapReady && this.$refs.multiflatmap) {
304
+ const t = this.$refs.multiflatmap.getCurrentFlatmap();
305
+ t && t.mapImp && this.connectivityQueryFilter(t, e);
306
+ }
297
307
  });
298
308
  }
299
309
  }, H = { class: "viewer-container" };
300
310
  function L(e, t, a, n, o, i) {
301
- const s = f("MultiFlatmapVuer"), l = f("HelpModeDialog");
311
+ const r = f("MultiFlatmapVuer"), l = f("HelpModeDialog");
302
312
  return c(), S("div", H, [
303
- F(s, {
313
+ F(r, {
304
314
  availableSpecies: e.availableSpecies,
305
315
  onFlatmapChanged: i.flatmapChanged,
306
316
  onReady: i.multiFlatmapReady,
@@ -319,7 +329,6 @@ function L(e, t, a, n, o, i) {
319
329
  onAnnotationClose: e.onAnnotationClose,
320
330
  annotationSidebar: e.annotationSidebar,
321
331
  onConnectivityInfoOpen: e.onConnectivityInfoOpen,
322
- onConnectivityInfoClose: e.onConnectivityInfoClose,
323
332
  onConnectivityGraphError: e.onConnectivityGraphError,
324
333
  connectivityInfoSidebar: e.connectivityInfoSidebar,
325
334
  ref: "multiflatmap",
@@ -335,18 +344,18 @@ function L(e, t, a, n, o, i) {
335
344
  onPathwaySelectionChanged: i.onPathwaySelectionChanged,
336
345
  onOpenPubmedUrl: i.onOpenPubmedUrl,
337
346
  onMapmanagerLoaded: e.onMapmanagerLoaded
338
- }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityGraphError", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
339
- e.helpMode && e.useHelpModeDialog ? (c(), k(l, {
347
+ }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "mapManager", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onAnnotationOpen", "onAnnotationClose", "annotationSidebar", "onConnectivityInfoOpen", "onConnectivityGraphError", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl", "onMapmanagerLoaded"]),
348
+ e.helpMode && e.useHelpModeDialog ? (c(), w(l, {
340
349
  key: 0,
341
350
  ref: "multiflatmapHelp",
342
351
  multiflatmapRef: e.multiflatmapRef,
343
352
  lastItem: e.helpModeLastItem,
344
353
  onShowNext: e.onHelpModeShowNext,
345
354
  onFinishHelpMode: e.onFinishHelpMode
346
- }, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
355
+ }, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : k("", !0)
347
356
  ]);
348
357
  }
349
- const T = /* @__PURE__ */ u(R, [["render", L], ["__scopeId", "data-v-4f713fcd"]]);
358
+ const T = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-7b3be366"]]);
350
359
  export {
351
360
  T as default
352
361
  };
@@ -1,7 +1,7 @@
1
1
  import { PlotVuer as o } from "@abi-software/plotvuer";
2
- import { C as r } from "./ContentMixin-CukPHyXB.js";
2
+ import { C as r } from "./ContentMixin-DhYKJqtq.js";
3
3
  import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
4
- import { _ as m } from "./index-BFdnIlxA.js";
4
+ import { _ as m } from "./index-z8CoyNjc.js";
5
5
  const p = {
6
6
  name: "Plot",
7
7
  mixins: [r],
@@ -1,5 +1,5 @@
1
- import { c as K1, k as Q1, w as ew, h as tw, x as iw, S as rw, _ as nw, E as ow, a as Wu } from "./index-BFdnIlxA.js";
2
- import { C as aw } from "./ContentMixin-CukPHyXB.js";
1
+ import { z as K1, U as Q1, w as ew, h as tw, K as iw, W as rw, _ as nw, G as ow, E as Wu } from "./index-z8CoyNjc.js";
2
+ import { C as aw } from "./ContentMixin-DhYKJqtq.js";
3
3
  import { ref as Ee, defineComponent as Pe, computed as he, openBlock as ye, createElementBlock as Ce, mergeProps as Rr, unref as V, renderSlot as $e, useAttrs as sw, useSlots as au, shallowRef as Ci, watch as Qe, nextTick as yt, onMounted as ti, toRef as Ii, createCommentVNode as Ue, Fragment as zt, normalizeClass as Re, createElementVNode as ze, createBlock as Ve, withCtx as ve, resolveDynamicComponent as Ni, withModifiers as si, createVNode as le, toDisplayString as vt, normalizeStyle as Ct, provide as ui, reactive as $i, onActivated as lw, onUpdated as ip, inject as ht, onBeforeUnmount as rr, withDirectives as Ot, cloneVNode as cw, Text as n0, Comment as uw, Transition as hl, vShow as mi, readonly as o0, onDeactivated as hw, toHandlers as dw, withKeys as pr, createTextVNode as mt, createSlots as pw, toRefs as ln, getCurrentInstance as ni, h as ba, renderList as Qi, onUnmounted as a0, markRaw as Wt, watchEffect as s0, warn as fw, onBeforeMount as mw, toRaw as rp, getCurrentScope as l0, onScopeDispose as c0, isRef as Lo, isVNode as Kh, Teleport as gw, resolveComponent as Ei, resolveDirective as vw, toHandlerKey as yw, vModelText as bw, createApp as xw, hasInjectionContext as ww, effectScope as _w, isReactive as np } from "vue";
4
4
  const Jr = (i, e, { checkForDefaultPrevented: t = !0 } = {}) => (r) => {
5
5
  const n = i == null ? void 0 : i(r);
@@ -39328,7 +39328,7 @@ const H1 = m4("main", {
39328
39328
  data: function() {
39329
39329
  return {
39330
39330
  display: !1,
39331
- annotationEntry: {},
39331
+ annotationEntry: [],
39332
39332
  ElIconDelete: Ci(Zc)
39333
39333
  };
39334
39334
  },
@@ -39344,16 +39344,16 @@ const H1 = m4("main", {
39344
39344
  if (this.visible && this.label && this.label !== "") {
39345
39345
  if (this.display = !0, this.annotationDisplay) {
39346
39346
  const i = this.region ? this.region + "/" : "";
39347
- this.annotationEntry = {
39347
+ this.annotationEntry.push({
39348
39348
  featureId: i + this.label,
39349
39349
  resourceId: this.scaffoldUrl,
39350
39350
  resource: this.scaffoldUrl,
39351
39351
  feature: this.annotationFeature,
39352
39352
  offline: this.offlineAnnotationEnabled
39353
- };
39353
+ });
39354
39354
  }
39355
39355
  } else
39356
- this.display = !1, this.annotationEntry = {};
39356
+ this.display = !1, this.annotationEntry = [];
39357
39357
  },
39358
39358
  hideTriggered: function() {
39359
39359
  this.$emit("tooltip-hide");
@@ -39469,7 +39469,7 @@ function x4(i, e, t, r, n, o) {
39469
39469
  }, 8, ["visible", "onHide"])
39470
39470
  ], 4);
39471
39471
  }
39472
- const G1 = /* @__PURE__ */ xn(g4, [["render", x4], ["__scopeId", "data-v-4d16262d"]]);
39472
+ const G1 = /* @__PURE__ */ xn(g4, [["render", x4], ["__scopeId", "data-v-10b34096"]]);
39473
39473
  /*! js-cookie v3.0.5 | MIT */
39474
39474
  function Ic(i) {
39475
39475
  for (var e = 1; e < arguments.length; e++) {
@@ -42867,13 +42867,13 @@ const $4 = {
42867
42867
  const r = Wv(this.$module.scene, i);
42868
42868
  if (r && r.objects.length > 0)
42869
42869
  if (this.annotationSidebar) {
42870
- const n = {
42870
+ const n = [{
42871
42871
  featureId: (this.tData.region ? this.tData.region + "/" : "") + this.tData.label,
42872
42872
  resourceId: this.url,
42873
42873
  resource: this.url,
42874
42874
  feature: this.annotationFeature,
42875
42875
  offline: this.offlineAnnotationEnabled
42876
- };
42876
+ }];
42877
42877
  this.$emit("annotation-open", {
42878
42878
  annotationEntry: n,
42879
42879
  createData: this.createData,
@@ -43720,7 +43720,7 @@ function oF(i, e, t, r, n, o) {
43720
43720
  [x, i.loading]
43721
43721
  ]);
43722
43722
  }
43723
- const aF = /* @__PURE__ */ xn($4, [["render", oF], ["__scopeId", "data-v-62fb1890"]]), sF = {
43723
+ const aF = /* @__PURE__ */ xn($4, [["render", oF], ["__scopeId", "data-v-878f81c4"]]), sF = {
43724
43724
  name: "Scaffold",
43725
43725
  mixins: [aw],
43726
43726
  components: {
@@ -43829,7 +43829,7 @@ const aF = /* @__PURE__ */ xn($4, [["render", oF], ["__scopeId", "data-v-62fb189
43829
43829
  return this.entry.isBodyScaffold ? "This map displays the anatomical location and connectivity of nerves, through which the neuron populations from the ApiNATOMY models available in SCKAN can be routed." : "Under active development";
43830
43830
  },
43831
43831
  markerLabels: function() {
43832
- return this.settingsStore.globalSettings.displayMarker ? this.settingsStore.numberOfDatasetsForFacets : {};
43832
+ return this.settingsStore.globalSettings.displayMarkers ? this.settingsStore.numberOfDatasetsForFacets : {};
43833
43833
  }
43834
43834
  },
43835
43835
  data: function() {
@@ -43843,7 +43843,7 @@ const aF = /* @__PURE__ */ xn($4, [["render", oF], ["__scopeId", "data-v-62fb189
43843
43843
  this.scaffoldCamera = this.$refs.scaffold.$module.scene.getZincCameraControls(), Wu.on("startHelp", () => {
43844
43844
  this.startHelp();
43845
43845
  }), Wu.on("hoverUpdate", () => {
43846
- this.scaffoldLoaded && this.mapHoverHighlight();
43846
+ this.scaffoldLoaded && this.cardHoverHighlight();
43847
43847
  });
43848
43848
  }
43849
43849
  }, lF = { class: "viewer-container" };
@@ -43892,7 +43892,7 @@ function cF(i, e, t, r, n, o) {
43892
43892
  }, null, 8, ["scaffoldRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : Ue("", !0)
43893
43893
  ]);
43894
43894
  }
43895
- const pF = /* @__PURE__ */ nw(sF, [["render", cF], ["__scopeId", "data-v-55bdf74d"]]);
43895
+ const pF = /* @__PURE__ */ nw(sF, [["render", cF], ["__scopeId", "data-v-fa031bde"]]);
43896
43896
  export {
43897
43897
  pF as default
43898
43898
  };
@@ -1,7 +1,7 @@
1
- import { C as i } from "./ContentMixin-CukPHyXB.js";
1
+ import { C as i } from "./ContentMixin-DhYKJqtq.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-BFdnIlxA.js";
4
+ import { _ as m } from "./index-z8CoyNjc.js";
5
5
  const c = {
6
6
  name: "Simulation",
7
7
  mixins: [i],