@abi-software/mapintegratedvuer 1.24.0 → 1.24.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,5 +1,5 @@
1
1
  import { F as e, b as t, w as n } from "./connectivities-LtlFwLOp.js";
2
- import { t as r } from "./ContentMixin-Db8nqZax.js";
2
+ import { t as r } from "./ContentMixin-SBI5HTPO.js";
3
3
  import { createElementBlock as i, createVNode as a, openBlock as o, resolveComponent as s } from "vue";
4
4
  //#region src/components/viewers/ConnectivityGraph.vue
5
5
  var c = {
@@ -1603,7 +1603,7 @@ var N = {
1603
1603
  loadConnectivityExplorerConfig: async function(e) {
1604
1604
  let t = e.mapImp, n = a(t), r = e.mockup ? t.resource : t.uuid, o = [];
1605
1605
  if (!this.connectivityKnowledge[n]) {
1606
- this.flatmapQueries = m(new O()), this.flatmapQueries.initialise(this.flatmapAPI);
1606
+ this.flatmapQueries || (this.flatmapQueries = m(new O()), this.flatmapQueries.initialise(this.flatmapAPI));
1607
1607
  let e = await u(t, this.flatmapQueries);
1608
1608
  this.connectivityKnowledge[n] = e.filter((e) => e.connectivity?.length).sort((e, t) => e.label.localeCompare(t.label));
1609
1609
  }
@@ -1636,8 +1636,7 @@ var N = {
1636
1636
  this.connectivitiesStore.updateFilterOptions(this.connectivityFilterOptions), this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), i.emit("species-layout-connectivity-update");
1637
1637
  },
1638
1638
  knowledgeTooltipQuery: async function(e) {
1639
- await this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(this.flatmapService.mapImp, { resource: [e.id] });
1640
- let t = await this.flatmapQueries.createTooltipData(this.flatmapService.mapImp, {
1639
+ let t = await this.flatmapQueries.queryTooltipData(this.flatmapService.mapImp, {
1641
1640
  resource: [e.id],
1642
1641
  label: e.label,
1643
1642
  provenanceTaxonomy: e.taxons,
@@ -1650,10 +1649,7 @@ var N = {
1650
1649
  title: e.label,
1651
1650
  featureId: [e.id],
1652
1651
  ready: !1
1653
- })), i.emit("connectivity-info-open", this.tooltipEntry);
1654
- let t = [];
1655
- for (let n = 0; n < e.data.length; n++) t.push(await this.knowledgeTooltipQuery(e.data[n]));
1656
- this.tooltipEntry = await Promise.all(t), this.tooltipEntry.map((e) => e.featureId[0]).length > 0 && i.emit("connectivity-info-open", this.tooltipEntry);
1652
+ })), i.emit("connectivity-info-open", this.tooltipEntry), this.tooltipEntry = await Promise.all(e.data.map((e) => this.knowledgeTooltipQuery(e))), this.tooltipEntry.map((e) => e.featureId[0]).length > 0 && i.emit("connectivity-info-open", this.tooltipEntry);
1657
1653
  },
1658
1654
  changeConnectivitySource: async function(e, t) {
1659
1655
  let { entry: n, connectivitySource: r } = e, a = this?.flatmapService?.mapImp?.mapMetadata.uuid;
@@ -1,6 +1,6 @@
1
1
  import { C as e, F as t, b as n, y as r } from "./connectivities-LtlFwLOp.js";
2
2
  import "./mapintegratedvuer.js";
3
- import { t as i } from "./ContentMixin-Db8nqZax.js";
3
+ import { t as i } from "./ContentMixin-SBI5HTPO.js";
4
4
  import { t as a } from "./DynamicMarkerMixin-LB2RYdSY.js";
5
5
  import { createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, openBlock as u, resolveComponent as d } from "vue";
6
6
  import { FlatmapVuer as f } from "@abi-software/flatmapvuer";
@@ -1,5 +1,5 @@
1
1
  import { F as e } from "./connectivities-LtlFwLOp.js";
2
- import { t } from "./ContentMixin-Db8nqZax.js";
2
+ import { t } from "./ContentMixin-SBI5HTPO.js";
3
3
  import { createElementBlock as n, createElementVNode as r, openBlock as i } from "vue";
4
4
  //#region src/components/viewers/Iframe.vue
5
5
  var a = {
@@ -1,6 +1,6 @@
1
1
  import { C as e, F as t, b as n, c as r, u as i, y as a } from "./connectivities-LtlFwLOp.js";
2
2
  import "./mapintegratedvuer.js";
3
- import { t as o } from "./ContentMixin-Db8nqZax.js";
3
+ import { t as o } from "./ContentMixin-SBI5HTPO.js";
4
4
  import { t as s } from "./DynamicMarkerMixin-LB2RYdSY.js";
5
5
  import { createBlock as c, createCommentVNode as l, createElementBlock as u, createVNode as d, openBlock as f, resolveComponent as p } from "vue";
6
6
  import { MultiFlatmapVuer as m } from "@abi-software/flatmapvuer";
@@ -1,5 +1,5 @@
1
1
  import { F as e } from "./connectivities-LtlFwLOp.js";
2
- import { t } from "./ContentMixin-Db8nqZax.js";
2
+ import { t } from "./ContentMixin-SBI5HTPO.js";
3
3
  import { createBlock as n, openBlock as r, resolveComponent as i } from "vue";
4
4
  import { PlotVuer as a } from "@abi-software/plotvuer";
5
5
  import "@abi-software/plotvuer/dist/style.css";
@@ -1,6 +1,6 @@
1
1
  import { C as e, F as t, W as n, a as r, b as i, o as a } from "./connectivities-LtlFwLOp.js";
2
2
  import "./mapintegratedvuer.js";
3
- import { t as o } from "./ContentMixin-Db8nqZax.js";
3
+ import { t as o } from "./ContentMixin-SBI5HTPO.js";
4
4
  import { createBlock as s, createCommentVNode as c, createElementBlock as l, markRaw as u, openBlock as d, resolveComponent as f } from "vue";
5
5
  import { ScaffoldVuer as p } from "@abi-software/scaffoldvuer";
6
6
  import "@abi-software/scaffoldvuer/dist/style.css";
@@ -1,5 +1,5 @@
1
1
  import { F as e } from "./connectivities-LtlFwLOp.js";
2
- import { t } from "./ContentMixin-Db8nqZax.js";
2
+ import { t } from "./ContentMixin-SBI5HTPO.js";
3
3
  import { createBlock as n, createElementBlock as r, openBlock as i, resolveComponent as a } from "vue";
4
4
  import { SimulationVuer as o } from "@abi-software/simulationvuer";
5
5
  import "@abi-software/simulationvuer/dist/style.css";
@@ -13898,7 +13898,7 @@ function iC(e, t, n, r, a, o) {
13898
13898
  }, 8, ["show-after"])
13899
13899
  ])])]);
13900
13900
  }
13901
- var aC = /*#__PURE__*/ r(QS, [["render", iC], ["__scopeId", "data-v-a4a65049"]]), oC = ze(() => import("./Flatmap-CqUzOkdl.js")), sC = ze(() => import("./Iframe-I-xdZ2FP.js")), cC = ze(() => import("./MultiFlatmap-11L97ycJ.js")), lC = ze(() => import("./ConnectivityGraph-CCxk8vcE.js")), uC = ze(() => import("./Plot-Bd9RqyVD.js")), dC = ze(() => import("./Scaffold-CySWXQxI.js")), fC = ze(() => import("./Simulation-ChUbGudZ.js")), pC = {
13901
+ var aC = /*#__PURE__*/ r(QS, [["render", iC], ["__scopeId", "data-v-a4a65049"]]), oC = ze(() => import("./Flatmap-TcOqOyD5.js")), sC = ze(() => import("./Iframe-D-Eq3G6T.js")), cC = ze(() => import("./MultiFlatmap-C122IUmB.js")), lC = ze(() => import("./ConnectivityGraph-Cye6QvZR.js")), uC = ze(() => import("./Plot-DTv-vd63.js")), dC = ze(() => import("./Scaffold-B2g3O1xF.js")), fC = ze(() => import("./Simulation-ClMZ5HHt.js")), pC = {
13902
13902
  name: "ContentVuer",
13903
13903
  props: {
13904
13904
  entry: Object,