@abi-software/flatmapvuer 1.21.1-demo.0 → 1.21.1-demo.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.
@@ -9630,7 +9630,7 @@ var _v = new gv(), vv = "cannot be found on the map.", yv = 500, bv = (e) => {
9630
9630
  }
9631
9631
  return e;
9632
9632
  }, []), t = [...new Set(e)], s = [...r, ...t], c = [...this.mapImp.modelFeatureIdList(s), ...i];
9633
- this.mapImp.selectGeoJSONFeatures(c);
9633
+ return this.mapImp.selectGeoJSONFeatures(c), c;
9634
9634
  }
9635
9635
  },
9636
9636
  showConnectivitiesByReference: function(e) {
@@ -10425,7 +10425,7 @@ function Hv(e, n, r, i, a, o) {
10425
10425
  area: "map-info",
10426
10426
  order: 1,
10427
10427
  title: "Explore the map",
10428
- description: "<b>Hover</b> over a feature on the map to see its name, <b>click</b> on it to see more information such as its connectivity.",
10428
+ description: "<b>Hover</b> over a feature on the map to see its name, <b>click</b> on it to see more information (depending on the viewing mode).",
10429
10429
  placement: "bottom",
10430
10430
  target: () => e.$el.querySelector(".flatmap-popup-popper"),
10431
10431
  onEnter: o.openFlatmapHelpPopup,
@@ -10501,7 +10501,7 @@ function Hv(e, n, r, i, a, o) {
10501
10501
  id: "flatmap-whats-new",
10502
10502
  area: "map-info",
10503
10503
  title: "What's new?",
10504
- description: "See the latest changes and improvements made to this map.",
10504
+ description: "See the latest changes and improvements made to this viewer.",
10505
10505
  placement: "right"
10506
10506
  }]]) : l("", !0)]),
10507
10507
  default: H(() => [...n[13] ||= [
@@ -10557,7 +10557,7 @@ function Hv(e, n, r, i, a, o) {
10557
10557
  placement: "left",
10558
10558
  teleported: !1,
10559
10559
  trigger: "hover",
10560
- width: "70",
10560
+ width: "max-content",
10561
10561
  "popper-class": "flatmap-popper",
10562
10562
  "show-after": e.tooltipDelay,
10563
10563
  "hide-after": e.tooltipDelay,
@@ -10573,7 +10573,7 @@ function Hv(e, n, r, i, a, o) {
10573
10573
  id: "flatmap-zoom-in",
10574
10574
  area: "zoom",
10575
10575
  title: "Zoom in",
10576
- description: "Zoom in to see more detail. You can also scroll or pinch on the map.",
10576
+ description: "Zoom in to see more detail. You can also scroll, or pinch open on a touch screen.",
10577
10577
  placement: "left"
10578
10578
  }]])]),
10579
10579
  _: 1
@@ -10583,7 +10583,7 @@ function Hv(e, n, r, i, a, o) {
10583
10583
  placement: "top-end",
10584
10584
  teleported: !1,
10585
10585
  trigger: "hover",
10586
- width: "70",
10586
+ width: "max-content",
10587
10587
  "popper-class": "flatmap-popper",
10588
10588
  "show-after": e.tooltipDelay,
10589
10589
  "hide-after": e.tooltipDelay,
@@ -10599,21 +10599,21 @@ function Hv(e, n, r, i, a, o) {
10599
10599
  id: "flatmap-zoom-out",
10600
10600
  area: "zoom",
10601
10601
  title: "Zoom out",
10602
- description: "Zoom out to see more of the map.",
10602
+ description: "Zoom out to see more. You can also scroll, or pinch closed on a touch screen.",
10603
10603
  placement: "top"
10604
10604
  }]])]),
10605
10605
  _: 1
10606
10606
  }, 8, ["show-after", "hide-after"]),
10607
10607
  m(_, {
10608
- content: "Reset",
10609
10608
  placement: "top",
10610
10609
  teleported: !1,
10611
10610
  trigger: "hover",
10612
- width: "70",
10611
+ width: "max-content",
10613
10612
  "popper-class": "flatmap-popper",
10614
10613
  "show-after": e.tooltipDelay,
10615
10614
  "hide-after": e.tooltipDelay,
10616
- ref: "zoomFitPopover"
10615
+ ref: "zoomFitPopover",
10616
+ content: "Fit to view"
10617
10617
  }, {
10618
10618
  reference: H(() => [U((M(), u("div", {
10619
10619
  class: "icon-button-container",
@@ -10624,15 +10624,10 @@ function Hv(e, n, r, i, a, o) {
10624
10624
  })])), [[N, {
10625
10625
  id: "flatmap-zoom-fit",
10626
10626
  area: "zoom",
10627
- title: "Fit to window",
10628
- description: "Reset the view so the whole map fits in the window.",
10627
+ title: "Fit to view",
10628
+ description: "Reset the zoom and position so everything fits in this view.",
10629
10629
  placement: "top"
10630
10630
  }]])]),
10631
- default: H(() => [n[14] ||= d("div", null, [
10632
- p(" Fit to "),
10633
- d("br"),
10634
- p(" window ")
10635
- ], -1)]),
10636
10631
  _: 1
10637
10632
  }, 8, ["show-after", "hide-after"])
10638
10633
  ], 512), [[ge, !r.disableUI]]),
@@ -10659,7 +10654,7 @@ function Hv(e, n, r, i, a, o) {
10659
10654
  U((M(), u("div", Pv, [d("div", {
10660
10655
  class: "flatmap-marker-help-icon",
10661
10656
  innerHTML: e.flatmapMarker
10662
- }, null, 8, Fv), n[15] ||= d("span", { class: "flatmap-marker-help-label" }, "Dataset markers", -1)])), [[ge, e.helpModeMarkerVisible], [N, {
10657
+ }, null, 8, Fv), n[14] ||= d("span", { class: "flatmap-marker-help-label" }, "Dataset markers", -1)])), [[ge, e.helpModeMarkerVisible], [N, {
10663
10658
  id: "flatmap-marker",
10664
10659
  area: "legends",
10665
10660
  title: "Dataset markers",
@@ -10748,7 +10743,7 @@ function Hv(e, n, r, i, a, o) {
10748
10743
  id: "flatmap-pathways",
10749
10744
  area: "legends",
10750
10745
  title: r.showPathwayFilter ? "Pathways and legends" : "Legends",
10751
- description: r.showPathwayFilter ? "Show or hide pathways, systems and other map layers using the checkboxes in this panel." : "The legends explain the symbols and colours used on this map.",
10746
+ description: r.showPathwayFilter ? "Show or hide pathways, systems and other map layers using the checkboxes in this panel." : "The legends explain the symbols and colors used on this map.",
10752
10747
  placement: "right",
10753
10748
  onEnter: o.openHelpModeDrawer,
10754
10749
  onLeave: o.restoreHelpModeDrawer
@@ -10798,7 +10793,7 @@ function Hv(e, n, r, i, a, o) {
10798
10793
  }, {
10799
10794
  default: H(() => [d("div", null, [
10800
10795
  m(O, { class: "backgroundText" }, {
10801
- default: H(() => [...n[16] ||= [p("Viewing Mode", -1)]]),
10796
+ default: H(() => [...n[15] ||= [p("Viewing Mode", -1)]]),
10802
10797
  _: 1
10803
10798
  }),
10804
10799
  m(O, { class: "backgroundControl" }, {
@@ -10816,14 +10811,14 @@ function Hv(e, n, r, i, a, o) {
10816
10811
  key: 0,
10817
10812
  class: "viewing-mode-description"
10818
10813
  }, {
10819
- default: H(() => [...n[17] ||= [p(" (Anonymous annotate) ", -1)]]),
10814
+ default: H(() => [...n[16] ||= [p(" (Anonymous annotate) ", -1)]]),
10820
10815
  _: 1
10821
10816
  })) : l("", !0)
10822
10817
  ]),
10823
10818
  _: 1
10824
10819
  }),
10825
10820
  e.viewingMode === "Annotation" && e.authorisedUser ? (M(), u(t, { key: 0 }, [m(O, { class: "backgroundText" }, {
10826
- default: H(() => [...n[18] ||= [p("Annotations From", -1)]]),
10821
+ default: H(() => [...n[17] ||= [p("Annotations From", -1)]]),
10827
10822
  _: 1
10828
10823
  }), m(O, { class: "backgroundControl" }, {
10829
10824
  default: H(() => [m(A, {
@@ -10861,7 +10856,7 @@ function Hv(e, n, r, i, a, o) {
10861
10856
  key: 2,
10862
10857
  class: "backgroundText"
10863
10858
  }, {
10864
- default: H(() => [...n[19] ||= [p("Flight path display", -1)]]),
10859
+ default: H(() => [...n[18] ||= [p("Flight path display", -1)]]),
10865
10860
  _: 1
10866
10861
  })) : l("", !0),
10867
10862
  e.displayFlightPathOption ? (M(), c(O, {
@@ -10875,10 +10870,10 @@ function Hv(e, n, r, i, a, o) {
10875
10870
  onChange: o.setFlightPath3D
10876
10871
  }, {
10877
10872
  default: H(() => [m(j, { value: !1 }, {
10878
- default: H(() => [...n[20] ||= [p("2D", -1)]]),
10873
+ default: H(() => [...n[19] ||= [p("2D", -1)]]),
10879
10874
  _: 1
10880
10875
  }), m(j, { value: !0 }, {
10881
- default: H(() => [...n[21] ||= [p("3D", -1)]]),
10876
+ default: H(() => [...n[20] ||= [p("3D", -1)]]),
10882
10877
  _: 1
10883
10878
  })]),
10884
10879
  _: 1
@@ -10887,7 +10882,7 @@ function Hv(e, n, r, i, a, o) {
10887
10882
  })) : l("", !0),
10888
10883
  m(O, { class: "backgroundSpacer" }),
10889
10884
  m(O, { class: "backgroundText" }, {
10890
- default: H(() => [...n[22] ||= [p("Organs display", -1)]]),
10885
+ default: H(() => [...n[21] ||= [p("Organs display", -1)]]),
10891
10886
  _: 1
10892
10887
  }),
10893
10888
  m(O, { class: "backgroundControl" }, {
@@ -10898,10 +10893,10 @@ function Hv(e, n, r, i, a, o) {
10898
10893
  onChange: o.setColour
10899
10894
  }, {
10900
10895
  default: H(() => [m(j, { value: !0 }, {
10901
- default: H(() => [...n[23] ||= [p("Colour", -1)]]),
10896
+ default: H(() => [...n[22] ||= [p("Colour", -1)]]),
10902
10897
  _: 1
10903
10898
  }), m(j, { value: !1 }, {
10904
- default: H(() => [...n[24] ||= [p("Greyscale", -1)]]),
10899
+ default: H(() => [...n[23] ||= [p("Greyscale", -1)]]),
10905
10900
  _: 1
10906
10901
  })]),
10907
10902
  _: 1
@@ -10910,7 +10905,7 @@ function Hv(e, n, r, i, a, o) {
10910
10905
  }),
10911
10906
  m(O, { class: "backgroundSpacer" }),
10912
10907
  m(O, { class: "backgroundText" }, {
10913
- default: H(() => [...n[25] ||= [p("Outlines display", -1)]]),
10908
+ default: H(() => [...n[24] ||= [p("Outlines display", -1)]]),
10914
10909
  _: 1
10915
10910
  }),
10916
10911
  m(O, { class: "backgroundControl" }, {
@@ -10921,10 +10916,10 @@ function Hv(e, n, r, i, a, o) {
10921
10916
  onChange: o.setOutlines
10922
10917
  }, {
10923
10918
  default: H(() => [m(j, { value: !0 }, {
10924
- default: H(() => [...n[26] ||= [p("Show", -1)]]),
10919
+ default: H(() => [...n[25] ||= [p("Show", -1)]]),
10925
10920
  _: 1
10926
10921
  }), m(j, { value: !1 }, {
10927
- default: H(() => [...n[27] ||= [p("Hide", -1)]]),
10922
+ default: H(() => [...n[26] ||= [p("Hide", -1)]]),
10928
10923
  _: 1
10929
10924
  })]),
10930
10925
  _: 1
@@ -10933,7 +10928,7 @@ function Hv(e, n, r, i, a, o) {
10933
10928
  }),
10934
10929
  m(O, { class: "backgroundSpacer" }),
10935
10930
  m(O, { class: "backgroundText" }, {
10936
- default: H(() => [...n[28] ||= [p("Change background", -1)]]),
10931
+ default: H(() => [...n[27] ||= [p("Change background", -1)]]),
10937
10932
  _: 1
10938
10933
  }),
10939
10934
  m(O, { class: "backgroundControl" }, {
@@ -10972,7 +10967,7 @@ function Hv(e, n, r, i, a, o) {
10972
10967
  id: "flatmap-open-map",
10973
10968
  area: "map-settings",
10974
10969
  title: "Open new map",
10975
- description: "Open another map, such as a different species or a connectivity map.",
10970
+ description: "Open another map viewer, such as a different species or a connectivity map.",
10976
10971
  placement: "right"
10977
10972
  }]]) : l("", !0)]),
10978
10973
  _: 1
@@ -11021,7 +11016,7 @@ function Hv(e, n, r, i, a, o) {
11021
11016
  ])) : l("", !0)
11022
11017
  ])])), [[re, e.loading]]);
11023
11018
  }
11024
- var Uv = /*#__PURE__*/ i_(Sv, [["render", Hv], ["__scopeId", "data-v-4eee1dfc"]]), Wv = {
11019
+ var Uv = /*#__PURE__*/ i_(Sv, [["render", Hv], ["__scopeId", "data-v-f52dd5ae"]]), Wv = {
11025
11020
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
11026
11021
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
11027
11022
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
@@ -11455,7 +11450,7 @@ function ey(e, n, r, i, a, o) {
11455
11450
  id: "multiflatmap-species-select",
11456
11451
  area: "map-info",
11457
11452
  title: "Select a species",
11458
- description: "Switch between the maps of the available species.",
11453
+ description: "Set the species for this viewer or open the map in new viewer.",
11459
11454
  placement: "right"
11460
11455
  }]])])),
11461
11456
  (M(!0), u(t, null, F(e.speciesList, (t, i) => U((M(), c(h, {
@@ -11508,6 +11503,6 @@ function ey(e, n, r, i, a, o) {
11508
11503
  }, null, 8, ["flatmapError"])) : l("", !0)
11509
11504
  ], 512);
11510
11505
  }
11511
- var ty = /*#__PURE__*/ i_(Gv, [["render", ey], ["__scopeId", "data-v-7bcc9c0b"]]);
11506
+ var ty = /*#__PURE__*/ i_(Gv, [["render", ey], ["__scopeId", "data-v-69d7dfea"]]);
11512
11507
  //#endregion
11513
11508
  export { Uv as FlatmapVuer, ty as MultiFlatmapVuer };