@abi-software/mapintegratedvuer 1.5.1-beta-1 → 1.5.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,4 +1,4 @@
1
- import { u as p, b as g, E as l, T as y, c as m, d as w } from "./index-DBVNcOgU.js";
1
+ import { u as p, d as g, E as l, T as y, e as m, f as w } from "./index-MHjuR5rt.js";
2
2
  import { mapStores as A } from "pinia";
3
3
  let c = 7, s = 5;
4
4
  const N = [
@@ -361,17 +361,14 @@ const B = {
361
361
  facetPropPath: "anatomy.organ.category.name",
362
362
  term: "Anatomical structure"
363
363
  }, n = !0, e == "MultiFlatmap" && this.$refs.multiflatmap.getCurrentFlatmap().mapImp.clearSearchResults();
364
- } else
365
- t.feature.type == "feature" && this.syncMode && (n = !0);
366
- else
367
- t.eventType == "mouseenter" && (a.eventType = "highlighted", n = !0);
368
- else
369
- e == "Scaffold" && (t && t[0] && ((((o = t[0].data) == null ? void 0 : o.id) === void 0 || ((r = t[0].data) == null ? void 0 : r.id) === "") && (t[0].data.id = (f = t[0].data) == null ? void 0 : f.group), a.internalName = t[0].data.id, t[0].data.lastActionOnMarker === !0 && (i = {
370
- type: "Facet",
371
- facet: v(t[0].data.id),
372
- facetPropPath: "anatomy.organ.category.name",
373
- term: "Anatomical structure"
374
- })), a.eventType = "selected", n = !0);
364
+ } else t.feature.type == "feature" && this.syncMode && (n = !0);
365
+ else t.eventType == "mouseenter" && (a.eventType = "highlighted", n = !0);
366
+ else e == "Scaffold" && (t && t[0] && ((((o = t[0].data) == null ? void 0 : o.id) === void 0 || ((r = t[0].data) == null ? void 0 : r.id) === "") && (t[0].data.id = (f = t[0].data) == null ? void 0 : f.group), a.internalName = t[0].data.id, t[0].data.lastActionOnMarker === !0 && (i = {
367
+ type: "Facet",
368
+ facet: v(t[0].data.id),
369
+ facetPropPath: "anatomy.organ.category.name",
370
+ term: "Anatomical structure"
371
+ })), a.eventType = "selected", n = !0);
375
372
  i && l.emit("PopoverActionClick", i), n && this.$emit("resource-selected", a);
376
373
  },
377
374
  resourceHasAction: function(e) {
@@ -398,8 +395,7 @@ const B = {
398
395
  if (this.$refs.scaffold.findObjectsWithGroupName(t).length === 0) {
399
396
  if (e.resource && e.resource.feature) {
400
397
  const o = m(e.resource.feature.models);
401
- if (o.length > 0)
402
- return o;
398
+ if (o.length > 0) return o;
403
399
  }
404
400
  let a = w(t);
405
401
  if (a)
@@ -468,8 +464,7 @@ const B = {
468
464
  */
469
465
  getFeaturedDatasets: async function() {
470
466
  let e = [], t = await this.oldFeaturedDatasetApiHasInfo();
471
- if (t)
472
- e = t;
467
+ if (t) e = t;
473
468
  else {
474
469
  let i = await this.newFeaturedDatasetApiHasInfo();
475
470
  i && (e = i);
@@ -1,6 +1,6 @@
1
- import { _ as c, L as h, t as u, T as s, E as l } from "./index-DBVNcOgU.js";
2
- import { C as I } from "./ContentMixin-BY38ulup.js";
3
- import { D as y, B as g } from "./style-C32DKsFv.js";
1
+ import { _ as c, C as h, t as u, T as s, E as l } from "./index-MHjuR5rt.js";
2
+ import { C as I } from "./ContentMixin-Dobs-hRb.js";
3
+ import { D as y, L as g } from "./style-B8c5hJnJ.js";
4
4
  import { resolveComponent as p, openBlock as r, createElementBlock as M, createVNode as v, createBlock as S, createCommentVNode as C } from "vue";
5
5
  const w = {
6
6
  name: "Flatmap",
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-BY38ulup.js";
1
+ import { C as r } from "./ContentMixin-Dobs-hRb.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-DBVNcOgU.js";
3
+ import { _ as n } from "./index-MHjuR5rt.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,6 +1,6 @@
1
- import { _ as u, L as h, a as y, g, E as s, t as M, T as p } from "./index-DBVNcOgU.js";
2
- import { C as v } from "./ContentMixin-BY38ulup.js";
3
- import { D as I, K as S } from "./style-C32DKsFv.js";
1
+ import { _ as u, C as h, a as y, g, E as s, t as M, T as p } from "./index-MHjuR5rt.js";
2
+ import { C as v } from "./ContentMixin-Dobs-hRb.js";
3
+ import { D as I, a as S } from "./style-B8c5hJnJ.js";
4
4
  import { resolveComponent as f, openBlock as c, createElementBlock as C, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
5
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 = [
@@ -76,8 +76,7 @@ const R = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><pa
76
76
  s.emit("SyncModeRequest", { flag: !1 });
77
77
  },
78
78
  getState: function() {
79
- if (this.flatmapReady)
80
- return this.$refs.multiflatmap.getState();
79
+ if (this.flatmapReady) return this.$refs.multiflatmap.getState();
81
80
  },
82
81
  flatmapPanZoomCallback: function(e) {
83
82
  if (this.mouseHovered) {
@@ -326,7 +325,7 @@ function L(e, t, a, n, o, i) {
326
325
  }, null, 8, ["multiflatmapRef", "lastItem", "onShowNext", "onFinishHelpMode"])) : w("", !0)
327
326
  ]);
328
327
  }
329
- const _ = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-2900d620"]]);
328
+ const D = /* @__PURE__ */ u(b, [["render", L], ["__scopeId", "data-v-2900d620"]]);
330
329
  export {
331
- _ as default
330
+ D as default
332
331
  };
@@ -0,0 +1,24 @@
1
+ import { y as o } from "./plotvuer-DSwGHaaa.js";
2
+ import { C as a } from "./ContentMixin-Dobs-hRb.js";
3
+ import { resolveComponent as r, openBlock as n, createBlock as s } from "vue";
4
+ import { _ as m } from "./index-MHjuR5rt.js";
5
+ const p = {
6
+ name: "Plot",
7
+ mixins: [a],
8
+ components: {
9
+ PlotVuer: o
10
+ }
11
+ };
12
+ function l(e, c, u, d, i, f) {
13
+ const t = r("PlotVuer");
14
+ return n(), s(t, {
15
+ "data-source": e.entry.resource.dataSource,
16
+ metadata: e.entry.resource.metadata,
17
+ "supplemental-data": e.entry.resource.supplementalData,
18
+ style: { overflow: "hidden" }
19
+ }, null, 8, ["data-source", "metadata", "supplemental-data"]);
20
+ }
21
+ const C = /* @__PURE__ */ m(p, [["render", l]]);
22
+ export {
23
+ C as default
24
+ };