@abi-software/mapintegratedvuer 1.3.4-beta.6 → 1.3.4-beta.7

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,4 +1,4 @@
1
- import { u as y, b as w, E as l, T as A, c as v, d as u, e as N } from "./index-C4Z7CW9f.js";
1
+ import { u as y, b as w, E as l, T as A, c as v, d as u, e as N } from "./index-CeeUmoIw.js";
2
2
  import { mapStores as R } from "pinia";
3
3
  let c = 7, r = 5;
4
4
  const E = [
@@ -1,14 +1,13 @@
1
- import { _ as d, t as h, T as s, E as l } from "./index-C4Z7CW9f.js";
2
- import { C as u } from "./ContentMixin-BFNQwpnH.js";
3
- import { D as I, W as g } from "./style-BhfrDa4y.js";
4
- import { F as y } from "./style-CJykSWTR.js";
1
+ import { _ as d, L as h, t as u, T as s, E as l } from "./index-CeeUmoIw.js";
2
+ import { C as I } from "./ContentMixin-Bi0UWJRB.js";
3
+ import { D as g, W as y } from "./style-BZjoqF0W.js";
5
4
  import { resolveComponent as p, openBlock as r, createElementBlock as M, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
6
5
  const w = {
7
6
  name: "Flatmap",
8
- mixins: [u, I],
7
+ mixins: [I, g],
9
8
  components: {
10
- FlatmapVuer: g,
11
- HelpModeDialog: y
9
+ FlatmapVuer: y,
10
+ HelpModeDialog: h
12
11
  },
13
12
  methods: {
14
13
  getState: function() {
@@ -36,7 +35,7 @@ const w = {
36
35
  featureId: t.feature.featureId || "",
37
36
  taxonomy: t.taxonomy || "",
38
37
  resources: t.resource.join(", ")
39
- }, a = h(o);
38
+ }, a = u(o);
40
39
  s.sendEvent({
41
40
  event: "interaction_event",
42
41
  event_name: "portal_maps_connectivity",
@@ -47,7 +46,7 @@ const w = {
47
46
  },
48
47
  flatmapReadyCall: function(e) {
49
48
  let t = { id: this.entry.id, prov: this.getFlatmapImp().provenance };
50
- l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.entry.resource !== "FunctionalConnectivity" && this.flatmapReadyForMarkerUpdates(e), l.emit("isLoaded", e);
49
+ l.emit("mapImpProv", t), this.$emit("flatmap-provenance-ready", t), this.entry.resource !== "FunctionalConnectivity" && this.flatmapReadyForMarkerUpdates(e), l.emit("mapLoaded", e);
51
50
  },
52
51
  onPathwaySelectionChanged: function(e) {
53
52
  const { label: t, property: o, checked: a, selectionsTitle: n } = e;
@@ -156,7 +155,7 @@ function H(e, t, o, a, n, i) {
156
155
  }, null, 8, ["flatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : C("", !0)
157
156
  ]);
158
157
  }
159
- const T = /* @__PURE__ */ d(w, [["render", H], ["__scopeId", "data-v-19c79615"]]);
158
+ const P = /* @__PURE__ */ d(w, [["render", H], ["__scopeId", "data-v-4caa00f3"]]);
160
159
  export {
161
- T as default
160
+ P as default
162
161
  };
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-BFNQwpnH.js";
1
+ import { C as r } from "./ContentMixin-Bi0UWJRB.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-C4Z7CW9f.js";
3
+ import { _ as n } from "./index-CeeUmoIw.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,9 +1,8 @@
1
- import { _ as u, a as h, g as y, E as s, t as g, T as p } from "./index-C4Z7CW9f.js";
2
- import { C as M } from "./ContentMixin-BFNQwpnH.js";
3
- import { D as v, v as I } from "./style-BhfrDa4y.js";
4
- import { F as S } from "./style-CJykSWTR.js";
5
- import { resolveComponent as f, openBlock as c, createElementBlock as C, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
6
- const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><path d="M11.0748 3.25583C11.4141 2.42845 12.5859 2.42845 12.9252 3.25583L14.6493 7.45955C14.793 7.80979 15.1221 8.04889 15.4995 8.07727L20.0303 8.41798C20.922 8.48504 21.2841 9.59942 20.6021 10.1778L17.1369 13.1166C16.8482 13.3614 16.7225 13.7483 16.8122 14.1161L17.8882 18.5304C18.1 19.3992 17.152 20.0879 16.3912 19.618L12.5255 17.2305C12.2034 17.0316 11.7966 17.0316 11.4745 17.2305L7.60881 19.618C6.84796 20.0879 5.90001 19.3992 6.1118 18.5304L7.18785 14.1161C7.2775 13.7483 7.1518 13.3614 6.86309 13.1166L3.3979 10.1778C2.71588 9.59942 3.07796 8.48504 3.96971 8.41798L8.50046 8.07727C8.87794 8.04889 9.20704 7.80979 9.35068 7.45955L11.0748 3.25583Z" stroke="#000000" stroke-width="2"/></svg>', d = (e) => {
1
+ import { _ as u, L as h, a as y, g, E as s, t as M, T as p } from "./index-CeeUmoIw.js";
2
+ import { C as v } from "./ContentMixin-Bi0UWJRB.js";
3
+ import { D as I, v as S } from "./style-BZjoqF0W.js";
4
+ import { resolveComponent as f, openBlock as d, createElementBlock as C, createVNode as F, createBlock as k, createCommentVNode as w } 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>', c = (e) => {
7
6
  const t = [
8
7
  {
9
8
  display: "Open AC Map",
@@ -31,19 +30,19 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
31
30
  return t;
32
31
  }, b = {
33
32
  name: "MultiFlatmap",
34
- mixins: [M, v],
33
+ mixins: [v, I],
35
34
  components: {
36
- MultiFlatmapVuer: I,
37
- HelpModeDialog: S
35
+ MultiFlatmapVuer: S,
36
+ HelpModeDialog: h
38
37
  },
39
38
  data: function() {
40
39
  return {
41
40
  zoomLevel: 6,
42
41
  flatmapReady: !1,
43
- availableSpecies: h(),
42
+ availableSpecies: y(),
44
43
  scaffoldResource: {},
45
44
  showStarInLegend: !1,
46
- openMapOptions: d("Rat")
45
+ openMapOptions: c("Rat")
47
46
  };
48
47
  },
49
48
  methods: {
@@ -61,7 +60,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
61
60
  title: "View 3D scaffold",
62
61
  layout: "2horpanel",
63
62
  type: "SyncMap"
64
- } : (this.activeSpecies === "Human Male" || this.activeSpecies === "Human Female") && ("human" in this.scaffoldResource || (this.scaffoldResource.human = await y(this.apiLocation, "human")), e = {
63
+ } : (this.activeSpecies === "Human Male" || this.activeSpecies === "Human Female") && ("human" in this.scaffoldResource || (this.scaffoldResource.human = await g(this.apiLocation, "human")), e = {
65
64
  contextCardUrl: this.scaffoldResource.human.datasetInfo.contextCardUrl,
66
65
  discoverId: this.scaffoldResource.human.datasetInfo.discoverId,
67
66
  s3uri: this.scaffoldResource.human.datasetInfo.s3uri,
@@ -116,7 +115,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
116
115
  featureId: t.feature.featureId || "",
117
116
  taxonomy: t.taxonomy || "",
118
117
  resources: t.resource.join(", ")
119
- }, o = g(n);
118
+ }, o = M(n);
120
119
  p.sendEvent({
121
120
  event: "interaction_event",
122
121
  event_name: "portal_maps_connectivity",
@@ -187,7 +186,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
187
186
  }
188
187
  },
189
188
  flatmapChanged: async function(e) {
190
- 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({
189
+ this.activeSpecies = e, this.openMapOptions = c(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
190
  event: "interaction_event",
192
191
  event_name: "portal_maps_species_change",
193
192
  category: this.activeSpecies
@@ -197,7 +196,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
197
196
  if (e) {
198
197
  e.enablePanZoomEvents(!0), this.flatmapReady = !0;
199
198
  const t = e.mapImp;
200
- this.flatmapMarkerUpdate(t), this.updateProvCard(), s.emit("isLoaded", e);
199
+ this.flatmapMarkerUpdate(t), this.updateProvCard(), s.emit("mapLoaded", e);
201
200
  }
202
201
  },
203
202
  getFlatmapImp: function() {
@@ -288,7 +287,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
288
287
  }, H = { class: "viewer-container" };
289
288
  function L(e, t, a, n, o, i) {
290
289
  const r = f("MultiFlatmapVuer"), l = f("HelpModeDialog");
291
- return c(), C("div", H, [
290
+ return d(), C("div", H, [
292
291
  F(r, {
293
292
  availableSpecies: e.availableSpecies,
294
293
  onFlatmapChanged: i.flatmapChanged,
@@ -319,7 +318,7 @@ function L(e, t, a, n, o, i) {
319
318
  onPathwaySelectionChanged: i.onPathwaySelectionChanged,
320
319
  onOpenPubmedUrl: i.onOpenPubmedUrl
321
320
  }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "initial", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "onConnectivityInfoOpen", "onConnectivityInfoClose", "connectivityInfoSidebar", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap", "onFinishHelpMode", "onPathwaySelectionChanged", "onOpenPubmedUrl"]),
322
- e.helpMode && e.useHelpModeDialog ? (c(), k(l, {
321
+ e.helpMode && e.useHelpModeDialog ? (d(), k(l, {
323
322
  key: 0,
324
323
  ref: "multiflatmapHelp",
325
324
  multiflatmapRef: e.multiflatmapRef,
@@ -329,7 +328,7 @@ function L(e, t, a, n, o, i) {
329
328
  }, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
330
329
  ]);
331
330
  }
332
- const _ = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-4ffb79a8"]]);
331
+ const E = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-5d69f0ef"]]);
333
332
  export {
334
- _ as default
333
+ E as default
335
334
  };
@@ -1,7 +1,7 @@
1
1
  import { C as o } from "./plotvuer-X4h-Lj3L.js";
2
- import { C as a } from "./ContentMixin-BFNQwpnH.js";
2
+ import { C as a } from "./ContentMixin-Bi0UWJRB.js";
3
3
  import { resolveComponent as r, openBlock as n, createBlock as s } from "vue";
4
- import { _ as m } from "./index-C4Z7CW9f.js";
4
+ import { _ as m } from "./index-CeeUmoIw.js";
5
5
  const p = {
6
6
  name: "Plot",
7
7
  mixins: [a],