@abi-software/mapintegratedvuer 1.12.2 → 1.12.4

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 { markRaw as L } from "vue";
2
- import { u as C, c as E, d as O, E as f, T as y, e as R, f as N, h as w, l as x, J as P } from "./index-d6lIRou_.js";
2
+ import { u as C, c as E, d as O, E as f, T as y, e as R, f as N, h as w, l as x, J as P } from "./index-QOPChEwx.js";
3
3
  import { mapStores as B } from "pinia";
4
4
  const M = function(e) {
5
5
  return e ? [...new Set(e.map((r) => JSON.stringify(r)))].map(
@@ -1,6 +1,6 @@
1
- import { _ as d, q as h, t as u, T as s, E as r } from "./index-d6lIRou_.js";
2
- import { C as y } from "./ContentMixin-Cr34tOdt.js";
3
- import { D as g } from "./style-BvLt3kE9.js";
1
+ import { _ as d, q as h, t as u, T as s, E as r } from "./index-QOPChEwx.js";
2
+ import { C as y } from "./ContentMixin-CSEGbP7G.js";
3
+ import { D as g } from "./style-JL7U0dZL.js";
4
4
  import { FlatmapVuer as v } from "@abi-software/flatmapvuer";
5
5
  import { resolveComponent as p, openBlock as f, createElementBlock as C, createVNode as M, createBlock as I, createCommentVNode as S } from "vue";
6
6
  const w = {
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-Cr34tOdt.js";
1
+ import { C as r } from "./ContentMixin-CSEGbP7G.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as a } from "vue";
3
- import { _ as s } from "./index-d6lIRou_.js";
3
+ import { _ as s } from "./index-QOPChEwx.js";
4
4
  const n = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,6 +1,6 @@
1
- import { _ as c, q as h, a as g, t as y, T as r, E as l } from "./index-d6lIRou_.js";
2
- import { C as M } from "./ContentMixin-Cr34tOdt.js";
3
- import { D as v } from "./style-BvLt3kE9.js";
1
+ import { _ as c, q as h, a as g, t as y, T as r, E as l } from "./index-QOPChEwx.js";
2
+ import { C as M } from "./ContentMixin-CSEGbP7G.js";
3
+ import { D as v } from "./style-JL7U0dZL.js";
4
4
  import { MultiFlatmapVuer as C } from "@abi-software/flatmapvuer";
5
5
  import { resolveComponent as p, openBlock as m, createElementBlock as S, createVNode as I, createBlock as F, createCommentVNode as w } from "vue";
6
6
  const k = '<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>', f = (e) => [
@@ -1,7 +1,7 @@
1
1
  import { PlotVuer as o } from "@abi-software/plotvuer";
2
- import { C as r } from "./ContentMixin-Cr34tOdt.js";
2
+ import { C as r } from "./ContentMixin-CSEGbP7G.js";
3
3
  import { resolveComponent as a, openBlock as n, createBlock as s } from "vue";
4
- import { _ as p } from "./index-d6lIRou_.js";
4
+ import { _ as p } from "./index-QOPChEwx.js";
5
5
  const l = {
6
6
  name: "Plot",
7
7
  mixins: [r],
@@ -1,5 +1,5 @@
1
- import { _ as g, q as m, g as v, b as y, E as c } from "./index-d6lIRou_.js";
2
- import { C as w } from "./ContentMixin-Cr34tOdt.js";
1
+ import { _ as g, q as m, g as v, b as y, E as c } from "./index-QOPChEwx.js";
2
+ import { C as w } from "./ContentMixin-CSEGbP7G.js";
3
3
  import { ScaffoldVuer as b } from "@abi-software/scaffoldvuer";
4
4
  import { resolveComponent as p, openBlock as u, createElementBlock as S, createVNode as M, createBlock as $, createCommentVNode as C } from "vue";
5
5
  const N = {
@@ -1,7 +1,7 @@
1
- import { C as n } from "./ContentMixin-Cr34tOdt.js";
1
+ import { C as n } from "./ContentMixin-CSEGbP7G.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-d6lIRou_.js";
4
+ import { _ as m } from "./index-QOPChEwx.js";
5
5
  const s = {
6
6
  name: "Simulation",
7
7
  mixins: [n],
@@ -41759,7 +41759,7 @@ const tSe = 1.3, nSe = 24 * 60 * 60 * 1e3, rSe = "Reset position", dP = "Lock zo
41759
41759
  },
41760
41760
  start: function() {
41761
41761
  this.run().then((e) => {
41762
- e != null && e.success ? this.showGraph(this.entry) : e != null && e.error ? this.loadingError = e.error : this.loadingError = "Loading error!";
41762
+ e != null && e.success ? this.showGraph(this.entry) : e != null && e.error ? (this.loadingError = e.error, this.hideSpinner()) : (this.loadingError = "Loading error!", this.hideSpinner());
41763
41763
  }).catch((e) => {
41764
41764
  this.loadingError = "Loading error!", this.hideSpinner();
41765
41765
  });
@@ -41767,11 +41767,11 @@ const tSe = 1.3, nSe = 24 * 60 * 60 * 1e3, rSe = "Reset position", dP = "Lock zo
41767
41767
  run: async function() {
41768
41768
  return this.schemaVersion || (this.schemaVersion = await this.getSchemaVersion(), sessionStorage.setItem("connectivity-graph-schema-version", this.schemaVersion), this.updateCacheExpiry()), this.schemaVersion < tSe ? {
41769
41769
  error: `No server available for schema-version ${this.schemaVersion}.`
41770
- } : (this.availableSources.length || (this.availableSources = await this.loadAvailableSources()), this.isSCKANVersionAvailable() ? (await this.setPathList(this.selectedSource), {
41771
- success: !0
41772
- }) : {
41770
+ } : (this.availableSources.length || (this.availableSources = await this.loadAvailableSources()), !this.connectivityFromMap && !this.isSCKANVersionAvailable() ? {
41773
41771
  error: `No data available for SCKAN version ${this.selectedSource}.`
41774
- });
41772
+ } : (await this.setPathList(this.selectedSource), {
41773
+ success: !0
41774
+ }));
41775
41775
  },
41776
41776
  showGraph: async function(e) {
41777
41777
  const t = this.$refs.graphCanvas;
@@ -41900,7 +41900,7 @@ const tSe = 1.3, nSe = 24 * 60 * 60 * 1e3, rSe = "Reset position", dP = "Lock zo
41900
41900
  }, cSe = {
41901
41901
  ref: "graphCanvas",
41902
41902
  class: "graph-canvas"
41903
- }, dSe = { class: "control-panel control-panel-tools" }, pSe = { class: "visually-hidden" }, fSe = { class: "visually-hidden" }, hSe = { class: "visually-hidden" }, vSe = { class: "visually-hidden" }, gSe = /* @__PURE__ */ yW('<div class="control-panel control-panel-nodes" data-v-1239b5ce><div class="node-key" data-v-1239b5ce><div class="key-box-container" data-v-1239b5ce><div class="key-box key-box-dendrite" data-v-1239b5ce> Origin </div><div class="key-box key-box-node" data-v-1239b5ce> Components </div><div class="key-box key-box-axon" data-v-1239b5ce> Destination </div></div></div></div>', 1), mSe = { class: "connectivity-graph-error" }, ySe = {
41903
+ }, dSe = { class: "control-panel control-panel-tools" }, pSe = { class: "visually-hidden" }, fSe = { class: "visually-hidden" }, hSe = { class: "visually-hidden" }, vSe = { class: "visually-hidden" }, gSe = /* @__PURE__ */ yW('<div class="control-panel control-panel-nodes" data-v-95331209><div class="node-key" data-v-95331209><div class="key-box-container" data-v-95331209><div class="key-box key-box-dendrite" data-v-95331209> Origin </div><div class="key-box key-box-node" data-v-95331209> Components </div><div class="key-box key-box-axon" data-v-95331209> Destination </div></div></div></div>', 1), mSe = { class: "connectivity-graph-error" }, ySe = {
41904
41904
  key: 0,
41905
41905
  class: "loading-error"
41906
41906
  };
@@ -42034,7 +42034,7 @@ function bSe(e, t, n, r, o, a) {
42034
42034
  [f, e.loading]
42035
42035
  ]);
42036
42036
  }
42037
- const wSe = /* @__PURE__ */ wl(lSe, [["render", bSe], ["__scopeId", "data-v-1239b5ce"]]), xSe = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), kSe = (e) => new Promise((t) => setTimeout(t, e)), CSe = {
42037
+ const wSe = /* @__PURE__ */ wl(lSe, [["render", bSe], ["__scopeId", "data-v-95331209"]]), xSe = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), kSe = (e) => new Promise((t) => setTimeout(t, e)), CSe = {
42038
42038
  name: "ConnectivityList",
42039
42039
  components: {
42040
42040
  Button: ua,
@@ -48462,7 +48462,7 @@ function v3e(e, t, n, r, o, a) {
48462
48462
  })
48463
48463
  ]);
48464
48464
  }
48465
- const GV = /* @__PURE__ */ Ka(p3e, [["render", v3e], ["__scopeId", "data-v-61f2f88c"]]), g3e = cd(() => import("./Flatmap-BtGp01rR.js")), m3e = cd(() => import("./Iframe-BOJbJpej.js")), y3e = cd(() => import("./MultiFlatmap-EBLsphT8.js")), b3e = cd(() => import("./Plot-CmWRVHD-.js")), w3e = cd(() => import("./Scaffold-DbaOlxqp.js")), x3e = cd(() => import("./Simulation-BzCOz07f.js")), k3e = {
48465
+ const GV = /* @__PURE__ */ Ka(p3e, [["render", v3e], ["__scopeId", "data-v-61f2f88c"]]), g3e = cd(() => import("./Flatmap-DX7vdhah.js")), m3e = cd(() => import("./Iframe-CjY_VCK6.js")), y3e = cd(() => import("./MultiFlatmap-DLRSNwLa.js")), b3e = cd(() => import("./Plot-nDa1teji.js")), w3e = cd(() => import("./Scaffold-CAZt83-7.js")), x3e = cd(() => import("./Simulation-DcJ--KHu.js")), k3e = {
48466
48466
  name: "ContentVuer",
48467
48467
  props: {
48468
48468
  /**
@@ -72716,18 +72716,11 @@ class YG {
72716
72716
  return s.forEach((d) => {
72717
72717
  const p = d.toLowerCase();
72718
72718
  i.forEach((h) => {
72719
- const f = h.toLowerCase(), v = `${p}.${f}`, m = [], g = l.some((b) => {
72720
- const x = b.toLowerCase();
72721
- if (x === v) {
72722
- const w = u.find((k) => k.toLocaleLowerCase().includes(x));
72723
- if (w) {
72724
- const k = w.replace(`${x}.`, "");
72725
- i.map((C) => C.toLowerCase()).includes(k) && m.push(k);
72726
- }
72727
- return !0;
72728
- }
72729
- });
72730
- m.length && c.push(...m.map((b) => b.toLowerCase())), g && c.push(f);
72719
+ const f = h.toLowerCase(), v = `${p}.${f}`;
72720
+ l.some((m) => {
72721
+ const g = m.toLowerCase();
72722
+ return g === v ? !0 : u.find((b) => `${g}.${f}` === b);
72723
+ }) && c.push(f);
72731
72724
  });
72732
72725
  }), c;
72733
72726
  }
@@ -1,4 +1,4 @@
1
- import { M as a } from "./index-d6lIRou_.js";
1
+ import { M as a } from "./index-QOPChEwx.js";
2
2
  export {
3
3
  a as MapContent
4
4
  };