@abi-software/flatmapvuer 1.19.1-demo.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.
@@ -8538,7 +8538,7 @@ var A_ = /*#__PURE__*/ n_(S_, [["render", k_], ["__scopeId", "data-v-3238f52a"]]
8538
8538
  return i < a ? -1 : +(i > a);
8539
8539
  }, R_ = function() {
8540
8540
  this.initialise = function(e) {
8541
- this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.hasSingleConnectivityList = !1, this.rawURLs = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "map", this.noMapConnectivity = !1;
8541
+ this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.hasSingleConnectivityList = !1, this.rawURLs = [], this.expertConsultants = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "map", this.noMapConnectivity = !1;
8542
8542
  }, this.createTooltipData = async function(e, t) {
8543
8543
  let n;
8544
8544
  n = t.feature.hyperlinks && t.feature.hyperlinks.length > 0 ? t.feature.hyperlinks : this.rawURLs;
@@ -8569,6 +8569,7 @@ var A_ = /*#__PURE__*/ n_(S_, [["render", k_], ["__scopeId", "data-v-3238f52a"]]
8569
8569
  title: t.label,
8570
8570
  featureId: t.resource,
8571
8571
  hyperlinks: n,
8572
+ "expert-consultants": this.expertConsultants,
8572
8573
  provenanceTaxonomy: t.provenanceTaxonomy,
8573
8574
  provenanceTaxonomyLabel: r,
8574
8575
  connectivitySource: this.connectivitySource,
@@ -8633,7 +8634,7 @@ var A_ = /*#__PURE__*/ n_(S_, [["render", k_], ["__scopeId", "data-v-3238f52a"]]
8633
8634
  }, this.retrieveFlatmapKnowledgeForEvent = async function(e, t) {
8634
8635
  this.controller && this.controller.abort(), this.controller = new AbortController();
8635
8636
  let n = t.resource;
8636
- if (this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.rawURLs = [], !n || n.length === 0 || !n[0]) return;
8637
+ if (this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.rawURLs = [], this.expertConsultants = [], !n || n.length === 0 || !n[0]) return;
8637
8638
  let r = await this.queryForConnectivityNew(e, n[0]);
8638
8639
  return await Promise.all([r]);
8639
8640
  }, this.queryForConnectivityNew = async function(e, t, n = "map", r = !0) {
@@ -8644,13 +8645,13 @@ var A_ = /*#__PURE__*/ n_(S_, [["render", k_], ["__scopeId", "data-v-3238f52a"]]
8644
8645
  this.connectivitySource === "map" && (this.noMapConnectivity = !1);
8645
8646
  let t = i;
8646
8647
  r ? this.processConnectivity(e, t).then((e) => {
8647
- i.references && (this.rawURLs = [...i.references]), n(e);
8648
+ i.references && (this.rawURLs = [...i.references]), i["expert-consultants"] && (this.expertConsultants = [...i["expert-consultants"]]), n(e);
8648
8649
  }) : n(t);
8649
8650
  } else this.connectivitySource === "map" ? (this.connectivitySource = "sckan", this.noMapConnectivity = !0, e.queryKnowledge(t).then((t) => {
8650
8651
  if (this.checkConnectivityExists(t)) {
8651
8652
  let i = t;
8652
8653
  r ? this.processConnectivity(e, i).then((e) => {
8653
- t.references && (this.rawURLs = [...t.references]), n(e);
8654
+ t.references && (this.rawURLs = [...t.references]), t["expert-consultants"] && (this.expertConsultants = [...t["expert-consultants"]]), n(e);
8654
8655
  }) : n(i);
8655
8656
  } else n(!1);
8656
8657
  }).catch(() => n(!1))) : n(!1);
@@ -9001,63 +9002,7 @@ var q_ = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), J_ = (e) => {
9001
9002
  }
9002
9003
  return o;
9003
9004
  });
9004
- })))()), Z_ = Ie, Q_ = "#1b7f6b", $_ = "#f4f1de", ev = "#12312b", tv = "99+", nv = function(e) {
9005
- return (Array.isArray(e) ? e : []).map((e) => ({
9006
- label: String(e?.label || "").trim(),
9007
- curie: String(e?.curie || "").trim(),
9008
- count: Number(e?.count || 0)
9009
- })).filter((e) => e.curie && e.count > 0);
9010
- }, rv = function(e) {
9011
- return e > 99 ? tv : String(e);
9012
- }, iv = function(e) {
9013
- let t = document.createElement("div");
9014
- return t.className = "flatmapvuer-soma-location-marker", t.title = e.label || e.curie, t.style.width = "34px", t.style.height = "48px", t.style.display = "flex", t.style.alignItems = "center", t.style.justifyContent = "center", t.style.transform = "translate(-50%, -100%)", t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 27 42" width="34" height="48" aria-hidden="true">
9015
- <ellipse style="fill: rgb(0, 0, 0); fill-opacity: 0.18;" cx="12" cy="36" rx="8" ry="4"/>
9016
- <path d="M12.25.25a12.254 12.254 0 0 0-12 12.494
9017
- c0 6.444 6.488 12.109 11.059 22.564.549 1.256 1.333 1.256 1.882 0
9018
- C17.762 24.853 24.25 19.186 24.25 12.744A12.254 12.254 0 0 0 12.25.25Z"
9019
- style="fill:${Q_};stroke:${$_};stroke-width:1.1"/>
9020
- <circle cx="12.5" cy="12.5" r="8" fill="${$_}"/>
9021
- <text x="12.5" y="16.1" text-anchor="middle" style="font-size:7.5px;font-weight:700;fill:${ev};font-family:Arial, sans-serif">${rv(e.count)}</text>
9022
- </svg>`, t;
9023
- }, av = function(e, t) {
9024
- let n = Array.isArray(e?.modelFeatureIds?.(t)) ? e.modelFeatureIds(t) : [], r = [], i = /* @__PURE__ */ new Set();
9025
- for (let t of n) {
9026
- let n = e.annotation(t), a = String(n?.uri || "").trim();
9027
- a && !i.has(a) && (i.add(a), r.push({
9028
- type: "feature-uri",
9029
- value: a
9030
- }));
9031
- }
9032
- return !r.length && n.length && r.push({
9033
- type: "model",
9034
- value: t
9035
- }), r;
9036
- }, ov = function(e) {
9037
- if (!e || e.addSomaLocationMarkers) return e;
9038
- let t = [];
9039
- return e.clearSomaLocationMarkers = function() {
9040
- t.forEach((t) => {
9041
- e.removeMarker(t);
9042
- }), t = [];
9043
- }, e.addSomaLocationMarkers = function(n) {
9044
- let r = nv(n), i = [];
9045
- return e.clearSomaLocationMarkers(), r.forEach((n) => {
9046
- let r = av(e, n.curie);
9047
- if (!r.length) return;
9048
- let a = !1;
9049
- r.forEach((r) => {
9050
- let i = iv(n), o = [];
9051
- if (r.type === "feature-uri") o = e.addMarkerByFeatureUri(r.value, { element: i });
9052
- else if (r.type === "model") {
9053
- let t = e.addMarker(r.value, { element: i });
9054
- o = t > -1 ? [t] : [];
9055
- }
9056
- o.length && (t.push(...o), a = !0);
9057
- }), a && i.push(n);
9058
- }), i;
9059
- }, e;
9060
- }, sv = Re("main", {
9005
+ })))()), Z_ = Ie, Q_ = Re("main", {
9061
9006
  state: () => ({ userProfile: { token: "" } }),
9062
9007
  getters: { userToken(e) {
9063
9008
  return e.userProfile.token;
@@ -9068,7 +9013,7 @@ var q_ = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), J_ = (e) => {
9068
9013
  });
9069
9014
  //#endregion
9070
9015
  //#region node_modules/mitt/dist/mitt.mjs
9071
- function cv(e) {
9016
+ function $_(e) {
9072
9017
  return {
9073
9018
  all: e ||= /* @__PURE__ */ new Map(),
9074
9019
  on: function(t, n) {
@@ -9091,7 +9036,7 @@ function cv(e) {
9091
9036
  }
9092
9037
  //#endregion
9093
9038
  //#region src/components/EventBus.js
9094
- var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9039
+ var ev = new $_(), tv = "cannot be found on the map.", nv = (e) => {
9095
9040
  let t = {
9096
9041
  lng: 0,
9097
9042
  lat: 0
@@ -9099,17 +9044,17 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9099
9044
  return e.type === "Polygon" ? e.coordinates.length && (n = e.coordinates[0]) : n = e.coordinates, n && (e.type === "Point" ? (t.lng += parseFloat(n[0]), t.lat += parseFloat(n[1])) : (n.map((e) => {
9100
9045
  t.lng += parseFloat(e[0]), t.lat += parseFloat(e[1]);
9101
9046
  }), t.lng /= n.length, t.lat /= n.length)), t;
9102
- }, fv = (e, t) => {
9047
+ }, rv = (e, t) => {
9103
9048
  let n = [], r = e.organs ? e.organs : e.ftus, i = r ? r.filter((e, t) => r.findIndex((t) => t.label === e.label) === t) : void 0;
9104
9049
  return i && i.forEach((e) => {
9105
9050
  let r = {
9106
9051
  label: e.label,
9107
9052
  models: e.models,
9108
9053
  key: `${t}.${e.label}`
9109
- }, i = fv(e, r.key);
9054
+ }, i = rv(e, r.key);
9110
9055
  i.length > 0 && (r.children = i), n.push(r);
9111
9056
  }), n;
9112
- }, pv = {
9057
+ }, iv = {
9113
9058
  name: "FlatmapVuer",
9114
9059
  components: {
9115
9060
  MapSvgIcon: Oe,
@@ -9285,7 +9230,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9285
9230
  enabled: e.enabled,
9286
9231
  label: e.id,
9287
9232
  key: e.id
9288
- }, r = fv(e, n.key);
9233
+ }, r = rv(e, n.key);
9289
9234
  r.length > 0 && (n.children = r), t.children.push(n);
9290
9235
  }), this.systems.push(t);
9291
9236
  }
@@ -9591,7 +9536,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9591
9536
  emitConnectivityError: function(e) {
9592
9537
  this.$emit("connectivity-error", { data: {
9593
9538
  errorData: e,
9594
- errorMessage: uv
9539
+ errorMessage: tv
9595
9540
  } });
9596
9541
  },
9597
9542
  checkConnectivityTooltipEntry: function(e) {
@@ -9615,7 +9560,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9615
9560
  featureId: e.featureId ? e.featureId : e.feature?.id,
9616
9561
  offline: this.offlineAnnotationEnabled
9617
9562
  });
9618
- }), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id, dv(t[0].feature.geometry))) : this.rollbackAnnotationEvent();
9563
+ }), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id, nv(t[0].feature.geometry))) : this.rollbackAnnotationEvent();
9619
9564
  else {
9620
9565
  let e = this.annotationEntry.filter((e) => e.featureId && e.models).map((e) => e.models);
9621
9566
  e.length > 0 && this.displayTooltip(e);
@@ -9850,7 +9795,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9850
9795
  container: this.$refs.display,
9851
9796
  tooltipDelay: 15
9852
9797
  }).then((t) => {
9853
- this.mapImp = ov(t), this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
9798
+ this.mapImp = t, this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
9854
9799
  let n = this.mapImp.details.version;
9855
9800
  this.setFlightPathInfo(n);
9856
9801
  let r = this._stateToBeSet ? this._stateToBeSet : e;
@@ -9985,7 +9930,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
9985
9930
  return this.mapImp ? this.mapImp.search(e) : [];
9986
9931
  },
9987
9932
  onActionClick: function(e) {
9988
- lv.emit("onActionClick", e);
9933
+ ev.emit("onActionClick", e);
9989
9934
  },
9990
9935
  setConnectionType: function(e) {
9991
9936
  this.connectionType = e;
@@ -10343,7 +10288,7 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
10343
10288
  };
10344
10289
  },
10345
10290
  computed: {
10346
- ...ze(sv, ["userToken"]),
10291
+ ...ze(Q_, ["userToken"]),
10347
10292
  isValidDrawnCreated: function() {
10348
10293
  return Object.keys(this.drawnCreatedEvent).length > 0;
10349
10294
  },
@@ -10436,39 +10381,39 @@ var lv = new cv(), uv = "cannot be found on the map.", dv = (e) => {
10436
10381
  beforeUnmount: function() {
10437
10382
  this.tooltipObserver &&= (this.tooltipObserver.disconnect(), null);
10438
10383
  }
10439
- }, mv = {
10384
+ }, av = {
10440
10385
  class: "flatmap-container",
10441
10386
  ref: "flatmapContainer",
10442
10387
  "element-loading-text": "Loading...",
10443
10388
  "element-loading-background": "rgba(0, 0, 0, 0.3)"
10444
- }, hv = { style: {
10389
+ }, ov = { style: {
10445
10390
  height: "100%",
10446
10391
  width: "100%",
10447
10392
  position: "relative",
10448
10393
  "overflow-y": "none"
10449
- } }, gv = {
10394
+ } }, sv = {
10450
10395
  style: {
10451
10396
  height: "100%",
10452
10397
  width: "100%"
10453
10398
  },
10454
10399
  ref: "display",
10455
10400
  class: "flatmap-display"
10456
- }, _v = { class: "beta-popovers" }, vv = {
10401
+ }, cv = { class: "beta-popovers" }, lv = {
10457
10402
  key: 2,
10458
10403
  class: "warning-text"
10459
- }, yv = { class: "bottom-right-control" }, bv = ["innerHTML"], xv = { style: { "margin-bottom": "2px" } }, Sv = {
10404
+ }, uv = { class: "bottom-right-control" }, dv = ["innerHTML"], fv = { style: { "margin-bottom": "2px" } }, pv = {
10460
10405
  key: 0,
10461
10406
  class: "viewing-mode-title"
10462
- }, Cv = ["onClick"], wv = ["onClick"];
10463
- function Tv(e, n, r, i, a, o) {
10407
+ }, mv = ["onClick"], hv = ["onClick"];
10408
+ function gv(e, n, r, i, a, o) {
10464
10409
  let s = L("map-svg-sprite-color"), f = A_, h = De, g = Mf, _ = Wg, v = ye, y = L("DrawToolbar"), b = L("map-svg-icon"), x = x_, S = L("tree-controls"), C = u_, w = be, D = fh, O = Pg, k = Fg, ee = Yh, A = Jh, j = kg, te = Ag, ne = L("Tooltip"), N = Ug, re = t_;
10465
- return U((M(), u("div", mv, [m(s), d("div", hv, [
10466
- d("div", gv, null, 512),
10410
+ return U((M(), u("div", av, [m(s), d("div", ov, [
10411
+ d("div", sv, null, 512),
10467
10412
  e.flatmapError ? (M(), c(f, {
10468
10413
  key: 0,
10469
10414
  flatmapError: e.flatmapError
10470
10415
  }, null, 8, ["flatmapError"])) : l("", !0),
10471
- U(d("div", _v, [d("div", null, [r.displayWarning || r.isLegacy ? (M(), c(_, {
10416
+ U(d("div", cv, [d("div", null, [r.displayWarning || r.isLegacy ? (M(), c(_, {
10472
10417
  key: 0,
10473
10418
  placement: "right",
10474
10419
  "popper-class": "warning-popper flatmap-popper",
@@ -10486,7 +10431,7 @@ function Tv(e, n, r, i, a, o) {
10486
10431
  })) : l("", !0), r.isLegacy ? (M(), u(t, { key: 1 }, [n[31] ||= d("span", { class: "warning-text" }, "Legacy Map", -1), d("div", {
10487
10432
  class: "latest-map-text",
10488
10433
  onClick: n[6] ||= (...e) => o.viewLatestMap && o.viewLatestMap(...e)
10489
- }, " Click here for the latest map ")], 64)) : r.displayWarning ? (M(), u("span", vv, "Beta")) : l("", !0)], 32)]),
10434
+ }, " Click here for the latest map ")], 64)) : r.displayWarning ? (M(), u("span", lv, "Beta")) : l("", !0)], 32)]),
10490
10435
  default: H(() => [r.isLegacy ? (M(), u("p", {
10491
10436
  key: 0,
10492
10437
  onMouseover: n[0] ||= (e) => o.showTooltip(7),
@@ -10596,7 +10541,7 @@ function Tv(e, n, r, i, a, o) {
10596
10541
  "onShowTooltip",
10597
10542
  "onHideTooltip"
10598
10543
  ])) : l("", !0),
10599
- U(d("div", yv, [
10544
+ U(d("div", uv, [
10600
10545
  m(_, {
10601
10546
  content: "Zoom in",
10602
10547
  placement: "left",
@@ -10710,7 +10655,7 @@ function Tv(e, n, r, i, a, o) {
10710
10655
  reference: H(() => [U(d("div", {
10711
10656
  class: "flatmap-marker-help",
10712
10657
  innerHTML: e.flatmapMarker
10713
- }, null, 8, bv), [[ge, e.hoverVisibilities[0].value], [
10658
+ }, null, 8, dv), [[ge, e.hoverVisibilities[0].value], [
10714
10659
  N,
10715
10660
  void 0,
10716
10661
  "markerPopover"
@@ -10850,11 +10795,11 @@ function Tv(e, n, r, i, a, o) {
10850
10795
  }),
10851
10796
  m(O, { class: "backgroundControl" }, {
10852
10797
  default: H(() => [
10853
- d("div", xv, [(M(!0), u(t, null, F(e.viewingModes, (n, r) => (M(), u(t, { key: r }, [r === e.viewingMode ? (M(), u("span", Sv, [d("b", null, R(r), 1)])) : (M(), u("span", {
10798
+ d("div", fv, [(M(!0), u(t, null, F(e.viewingModes, (n, r) => (M(), u(t, { key: r }, [r === e.viewingMode ? (M(), u("span", pv, [d("b", null, R(r), 1)])) : (M(), u("span", {
10854
10799
  key: 1,
10855
10800
  class: "viewing-mode-unselected",
10856
10801
  onClick: (e) => o.changeViewingMode(r)
10857
- }, R(r), 9, Cv))], 64))), 128))]),
10802
+ }, R(r), 9, mv))], 64))), 128))]),
10858
10803
  m(O, { class: "viewing-mode-description" }, {
10859
10804
  default: H(() => [p(R(o.modeDescription), 1)]),
10860
10805
  _: 1
@@ -10992,7 +10937,7 @@ function Tv(e, n, r, i, a, o) {
10992
10937
  t == e.currentBackground ? "active" : ""
10993
10938
  ]),
10994
10939
  onClick: (e) => o.backgroundChangeCallback(t)
10995
- }, null, 10, wv))), 128))]),
10940
+ }, null, 10, hv))), 128))]),
10996
10941
  _: 1
10997
10942
  })
10998
10943
  ])]),
@@ -11064,22 +11009,22 @@ function Tv(e, n, r, i, a, o) {
11064
11009
  ])) : l("", !0)
11065
11010
  ])])), [[re, e.loading]]);
11066
11011
  }
11067
- var Ev = /*#__PURE__*/ n_(pv, [["render", Tv], ["__scopeId", "data-v-d2e5e646"]]), Dv = {
11012
+ var _v = /*#__PURE__*/ n_(iv, [["render", gv], ["__scopeId", "data-v-5d2365bc"]]), vv = {
11068
11013
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
11069
11014
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
11070
11015
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
11071
11016
  "NCBITaxon:10090": "25285fab-48a0-5620-a6a0-f9a0374837d5",
11072
11017
  "NCBITaxon:9685": "73060497-46a6-52bf-b975-cac511c127cb"
11073
- }, Ov = {
11018
+ }, yv = {
11074
11019
  name: "MultiFlatmapVuer",
11075
- components: { FlatmapVuer: Ev },
11020
+ components: { FlatmapVuer: _v },
11076
11021
  created: function() {
11077
11022
  this.loadMapManager();
11078
11023
  },
11079
11024
  mounted: function() {
11080
- this.initialise(), lv.on("onActionClick", (e) => {
11025
+ this.initialise(), ev.on("onActionClick", (e) => {
11081
11026
  this.resourceSelected(e);
11082
- }), lv.on("open-pubmed-url", (e) => {
11027
+ }), ev.on("open-pubmed-url", (e) => {
11083
11028
  this.$emit("open-pubmed-url", e);
11084
11029
  });
11085
11030
  },
@@ -11227,7 +11172,7 @@ var Ev = /*#__PURE__*/ n_(pv, [["render", Tv], ["__scopeId", "data-v-d2e5e646"]]
11227
11172
  let n = e.state;
11228
11173
  if (!n.uuid) {
11229
11174
  if (n.entry) {
11230
- let r = n.entry in Dv ? Dv[n.entry] : void 0;
11175
+ let r = n.entry in vv ? vv[n.entry] : void 0;
11231
11176
  t(this.createLegacyEntry(e, n.entry, r) || e);
11232
11177
  }
11233
11178
  } else if (n.entry) return new Promise(() => {
@@ -11437,23 +11382,23 @@ var Ev = /*#__PURE__*/ n_(pv, [["render", Tv], ["__scopeId", "data-v-d2e5e646"]]
11437
11382
  t && this.$refs[t][0].forceContextLoss();
11438
11383
  } }
11439
11384
  }
11440
- }, kv = {
11385
+ }, bv = {
11441
11386
  class: "multi-container",
11442
11387
  ref: "multiContainer"
11443
- }, Av = {
11388
+ }, xv = {
11444
11389
  key: 0,
11445
11390
  style: {
11446
11391
  position: "absolute",
11447
11392
  "z-index": "100"
11448
11393
  }
11449
- }, jv = { class: "option-label" }, Mv = { class: "option-title" }, Nv = { class: "select-box-icon" }, Pv = {
11394
+ }, Sv = { class: "option-label" }, Cv = { class: "option-title" }, wv = { class: "select-box-icon" }, Tv = {
11450
11395
  key: 1,
11451
11396
  class: "option-title active-species"
11452
- }, Fv = { class: "select-box-icon" }, Iv = ["aria-label", "onClick"];
11453
- function Lv(e, n, r, i, a, o) {
11454
- let s = am, f = Yh, h = Jh, g = Wg, _ = Ev, v = A_;
11455
- return M(), u("div", kv, [
11456
- r.disableUI ? l("", !0) : (M(), u("div", Av, [n[3] ||= d("div", { class: "species-display-text" }, "Species", -1), m(g, {
11397
+ }, Ev = { class: "select-box-icon" }, Dv = ["aria-label", "onClick"];
11398
+ function Ov(e, n, r, i, a, o) {
11399
+ let s = am, f = Yh, h = Jh, g = Wg, _ = _v, v = A_;
11400
+ return M(), u("div", bv, [
11401
+ r.disableUI ? l("", !0) : (M(), u("div", xv, [n[3] ||= d("div", { class: "species-display-text" }, "Species", -1), m(g, {
11457
11402
  content: "Select a species",
11458
11403
  placement: "right",
11459
11404
  trigger: "manual",
@@ -11479,7 +11424,7 @@ function Lv(e, n, r, i, a, o) {
11479
11424
  label: i,
11480
11425
  value: i
11481
11426
  }, {
11482
- default: H(() => [d("span", jv, [e.activeSpecies === i ? (M(), u("span", Pv, [d("span", Fv, [d("i", { class: T(t.iconClass) }, null, 2)]), p(" " + R(i), 1)])) : (M(), c(s, {
11427
+ default: H(() => [d("span", Sv, [e.activeSpecies === i ? (M(), u("span", Tv, [d("span", Ev, [d("i", { class: T(t.iconClass) }, null, 2)]), p(" " + R(i), 1)])) : (M(), c(s, {
11483
11428
  key: 0,
11484
11429
  content: `Change species to ${i}`,
11485
11430
  placement: "top",
@@ -11487,7 +11432,7 @@ function Lv(e, n, r, i, a, o) {
11487
11432
  "show-after": 200,
11488
11433
  "popper-class": "flatmap-species-option-tooltip"
11489
11434
  }, {
11490
- default: H(() => [d("span", Mv, [d("span", Nv, [d("i", { class: T(t.iconClass) }, null, 2)]), p(" " + R(i), 1)])]),
11435
+ default: H(() => [d("span", Cv, [d("span", wv, [d("i", { class: T(t.iconClass) }, null, 2)]), p(" " + R(i), 1)])]),
11491
11436
  _: 2
11492
11437
  }, 1032, ["content"])), r.enableOpenMapUI ? (M(), c(s, {
11493
11438
  key: 2,
@@ -11522,7 +11467,7 @@ function Lv(e, n, r, i, a, o) {
11522
11467
  }),
11523
11468
  d("path", { d: "M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3" }),
11524
11469
  d("path", { d: "M14.5 11.5v6M11.5 14.5h6" })
11525
- ], -1)]], 8, Iv)]),
11470
+ ], -1)]], 8, Dv)]),
11526
11471
  _: 2
11527
11472
  }, 1032, ["content"])) : l("", !0)])]),
11528
11473
  _: 2
@@ -11588,6 +11533,6 @@ function Lv(e, n, r, i, a, o) {
11588
11533
  }, null, 8, ["flatmapError"])) : l("", !0)
11589
11534
  ], 512);
11590
11535
  }
11591
- var Rv = /*#__PURE__*/ n_(Ov, [["render", Lv], ["__scopeId", "data-v-c3226113"]]);
11536
+ var kv = /*#__PURE__*/ n_(yv, [["render", Ov], ["__scopeId", "data-v-c3226113"]]);
11592
11537
  //#endregion
11593
- export { Ev as FlatmapVuer, Rv as MultiFlatmapVuer };
11538
+ export { _v as FlatmapVuer, kv as MultiFlatmapVuer };