@abi-software/mapintegratedvuer 1.19.0 → 1.20.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,5 +1,5 @@
1
- import { _ as c, N as h, E as m } from "./index-CsTb2Qef.js";
2
- import { C as y } from "./ContentMixin-B-51garm.js";
1
+ import { _ as c, N as h, E as m } from "./index-B6Cnscja.js";
2
+ import { C as y } from "./ContentMixin-jHFoA2A8.js";
3
3
  import { resolveComponent as p, openBlock as d, createElementBlock as l, createVNode as v } from "vue";
4
4
  const g = {
5
5
  name: "ConnectivityGraph",
@@ -1,5 +1,5 @@
1
1
  import { markRaw as A } from "vue";
2
- import { H as _, c as E, u as O, d as N, e as x, f as P, T as L, E as m, h as w, l as B, Q as X } from "./index-CsTb2Qef.js";
2
+ import { H as _, c as E, u as O, d as N, e as x, f as P, T as L, E as m, h as w, l as B, Q as X } from "./index-B6Cnscja.js";
3
3
  import { mapStores as U } from "pinia";
4
4
  const d = function(e) {
5
5
  return e ? [...new Set(e.map((n) => JSON.stringify(n)))].map(
@@ -1136,7 +1136,7 @@ const I = [
1136
1136
  "FMA subclasses (in human nerves)": ["FMA:6892", "FMA:6893"],
1137
1137
  "subclass labels": ["Right T9 grey ramus communicans", "Left T9 grey ramus communicans"]
1138
1138
  }
1139
- ], D = () => {
1139
+ ], $ = () => {
1140
1140
  const e = {};
1141
1141
  return I.forEach((n) => {
1142
1142
  const r = n.nerve_id, t = n.label.toLowerCase(), a = n["subclass labels"];
@@ -1151,7 +1151,7 @@ const I = [
1151
1151
  };
1152
1152
  }
1153
1153
  }), e;
1154
- }, k = () => {
1154
+ }, D = () => {
1155
1155
  let e = [], n = {
1156
1156
  key: "scaffold.connectivity.nerve",
1157
1157
  label: "Nerves",
@@ -1176,7 +1176,7 @@ const I = [
1176
1176
  }
1177
1177
  return r.length && (n.children = r.sort((t, a) => t.label.localeCompare(a.label)), e.push(n)), e;
1178
1178
  };
1179
- function H(e) {
1179
+ function k(e) {
1180
1180
  return e[0].toUpperCase() + e.substring(1);
1181
1181
  }
1182
1182
  const K = {
@@ -1220,7 +1220,7 @@ const K = {
1220
1220
  this.alive = !1;
1221
1221
  },
1222
1222
  mounted: function() {
1223
- this.multiflatmapRef = A(this.$refs.multiflatmap), this.flatmapRef = A(this.$refs.flatmap), this.iframeRef = A(this.$refs.iframe), this.plotRef = A(this.$refs.plot), this.simulationRef = A(this.$refs.simulation), (this.iframeRef || this.plotRef || this.simulationRef) && this.loadExplorerConfig(), this.connectivityKnowledge = this.connectivitiesStore.globalConnectivities, this.connectivityFilterOptions = this.connectivitiesStore.filterOptions, this.connectivityFilterSources = this.connectivitiesStore.filterSources;
1223
+ this.$refs.multiflatmap && (this.multiflatmapRef = A(this.$refs.multiflatmap)), this.$refs.flatmap && (this.flatmapRef = A(this.$refs.flatmap)), this.$refs.iframe && (this.iframeRef = A(this.$refs.iframe)), this.$refs.plot && (this.plotRef = A(this.$refs.plot)), this.$refs.simulation && (this.simulationRef = A(this.$refs.simulation)), (this.iframeRef || this.plotRef || this.simulationRef) && this.loadExplorerConfig(), this.connectivityKnowledge = this.connectivitiesStore.globalConnectivities, this.connectivityFilterOptions = this.connectivitiesStore.filterOptions, this.connectivityFilterSources = this.connectivitiesStore.filterSources;
1224
1224
  },
1225
1225
  methods: {
1226
1226
  toggleMinimap: function(e, n) {
@@ -1335,7 +1335,7 @@ const K = {
1335
1335
  } else r.eventType == "mouseenter" && (l.eventType = "highlighted", a = !0);
1336
1336
  else e == "Scaffold" && (r && ((((i = r.data) == null ? void 0 : i.id) === void 0 || ((h = r.data) == null ? void 0 : h.id) === "") && (r.data.id = (o = r.data) == null ? void 0 : o.group), l.internalName = r.data.id, r.data.lastActionOnMarker === !0 && (t = {
1337
1337
  type: "Facet",
1338
- facets: [H(r.data.id)]
1338
+ facets: [k(r.data.id)]
1339
1339
  })), l.eventType = "selected", a = !0);
1340
1340
  t && m.emit("PopoverActionClick", t), a && this.$emit("resource-selected", l);
1341
1341
  },
@@ -1553,14 +1553,14 @@ const K = {
1553
1553
  }
1554
1554
  return p;
1555
1555
  }
1556
- }, h = k();
1556
+ }, h = D();
1557
1557
  return {
1558
1558
  mockup: !0,
1559
1559
  getFilterOptions: async (u, c) => {
1560
1560
  const f = await X(this.flatmapAPI, u, c, void 0);
1561
1561
  return [...h, ...f];
1562
1562
  },
1563
- getTermNerveMaps: D,
1563
+ getTermNerveMaps: $,
1564
1564
  mapImp: i
1565
1565
  };
1566
1566
  },
@@ -1,6 +1,6 @@
1
- import { _ as d, q as c, T as h, E as l } from "./index-CsTb2Qef.js";
2
- import { C as u } from "./ContentMixin-B-51garm.js";
3
- import { D as y } from "./style-NF-Z9w_E.js";
1
+ import { _ as d, q as c, T as h, E as l } from "./index-B6Cnscja.js";
2
+ import { C as u } from "./ContentMixin-jHFoA2A8.js";
3
+ import { D as y } from "./style-DuFTyFX4.js";
4
4
  import { FlatmapVuer as g } from "@abi-software/flatmapvuer";
5
5
  import { resolveComponent as r, openBlock as p, createElementBlock as M, createVNode as C, createBlock as v, createCommentVNode as I } from "vue";
6
6
  const S = {
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-B-51garm.js";
1
+ import { C as r } from "./ContentMixin-jHFoA2A8.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as a } from "vue";
3
- import { _ as s } from "./index-CsTb2Qef.js";
3
+ import { _ as s } from "./index-B6Cnscja.js";
4
4
  const n = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,6 +1,6 @@
1
- import { _ as c, q as h, E as r, T as l, a as g } from "./index-CsTb2Qef.js";
2
- import { C as M } from "./ContentMixin-B-51garm.js";
3
- import { D as y } from "./style-NF-Z9w_E.js";
1
+ import { _ as c, q as h, E as r, T as l, a as g } from "./index-B6Cnscja.js";
2
+ import { C as M } from "./ContentMixin-jHFoA2A8.js";
3
+ import { D as y } from "./style-DuFTyFX4.js";
4
4
  import { MultiFlatmapVuer as C } from "@abi-software/flatmapvuer";
5
5
  import { resolveComponent as p, openBlock as m, createElementBlock as v, createVNode as I, createBlock as S, createCommentVNode as F } from "vue";
6
6
  const w = '<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,7 +1,7 @@
1
1
  import { PlotVuer as o } from "@abi-software/plotvuer";
2
- import { C as r } from "./ContentMixin-B-51garm.js";
2
+ import { C as r } from "./ContentMixin-jHFoA2A8.js";
3
3
  import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
4
- import { _ as p } from "./index-CsTb2Qef.js";
4
+ import { _ as p } from "./index-B6Cnscja.js";
5
5
  const l = {
6
6
  name: "Plot",
7
7
  mixins: [r],
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent as g, openBlock as c, createElementBlock as y, createBlock as m, createCommentVNode as v, markRaw as d } from "vue";
2
- import { _ as w, q as b, E as h, g as S, b as $ } from "./index-CsTb2Qef.js";
3
- import { C as M } from "./ContentMixin-B-51garm.js";
2
+ import { _ as w, q as b, E as h, g as S, b as $ } from "./index-B6Cnscja.js";
3
+ import { C as M } from "./ContentMixin-jHFoA2A8.js";
4
4
  import { ScaffoldVuer as C } from "@abi-software/scaffoldvuer";
5
5
  const O = {
6
6
  name: "Scaffold",
@@ -1,7 +1,7 @@
1
- import { C as n } from "./ContentMixin-B-51garm.js";
1
+ import { C as n } from "./ContentMixin-jHFoA2A8.js";
2
2
  import { SimulationVuer as e } from "@abi-software/simulationvuer";
3
3
  import { resolveComponent as r, openBlock as a, createBlock as c } from "vue";
4
- import { _ as m } from "./index-CsTb2Qef.js";
4
+ import { _ as m } from "./index-B6Cnscja.js";
5
5
  const s = {
6
6
  name: "Simulation",
7
7
  mixins: [n],