@abi-software/map-utilities 1.2.2-beta.7 → 1.3.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.
@@ -9861,9 +9861,14 @@ const LS = function(t = {}) {
9861
9861
  return {
9862
9862
  textLabel: this.label,
9863
9863
  autoHideTimeout: 0,
9864
- iconColor: NS
9864
+ iconColor: NS,
9865
+ tooltipContainer: null
9865
9866
  };
9866
9867
  },
9868
+ mounted() {
9869
+ const t = document.querySelector(".mapcontent");
9870
+ t ? this.tooltipContainer = t : this.tooltipContainer = document.body;
9871
+ },
9867
9872
  methods: {
9868
9873
  copyToClipboard: async function() {
9869
9874
  let t = !0;
@@ -9897,7 +9902,9 @@ function zS(t, e, r, n, a, i) {
9897
9902
  placement: "bottom",
9898
9903
  "hide-after": t.autoHideTimeout,
9899
9904
  effect: "clipboard-tooltip",
9900
- onHide: i.resetSettings
9905
+ onHide: i.resetSettings,
9906
+ teleported: !0,
9907
+ "append-to": t.tooltipContainer
9901
9908
  }, {
9902
9909
  default: U(() => [
9903
9910
  X(l, {
@@ -9918,9 +9925,9 @@ function zS(t, e, r, n, a, i) {
9918
9925
  }, 8, ["class", "onClick"])
9919
9926
  ]),
9920
9927
  _: 1
9921
- }, 8, ["content", "hide-after", "onHide"]);
9928
+ }, 8, ["content", "hide-after", "onHide", "append-to"]);
9922
9929
  }
9923
- const Uh = /* @__PURE__ */ Ur(RS, [["render", zS], ["__scopeId", "data-v-4f7842bc"]]), VS = {
9930
+ const Uh = /* @__PURE__ */ Ur(RS, [["render", zS], ["__scopeId", "data-v-08b3bab3"]]), VS = {
9924
9931
  name: "AnnotationPopup",
9925
9932
  props: {
9926
9933
  annotationEntry: {
@@ -27000,15 +27007,19 @@ const jO = 1.3, ZO = 24 * 60 * 60 * 1e3, XO = "Reset position", pv = "Lock zoom"
27000
27007
  iconColor: tL,
27001
27008
  zoomEnabled: !1,
27002
27009
  connectivityError: null,
27003
- timeoutID: void 0
27010
+ timeoutID: void 0,
27011
+ connectivityGraphContainer: null
27004
27012
  };
27005
27013
  },
27006
27014
  mounted() {
27007
- this.refreshCache(), this.loadCacheData(), this.run().then((t) => {
27015
+ this.updateTooltipContainer(), this.refreshCache(), this.loadCacheData(), this.run().then((t) => {
27008
27016
  this.showGraph(this.entry);
27009
27017
  });
27010
27018
  },
27011
27019
  methods: {
27020
+ updateTooltipContainer: function() {
27021
+ this.connectivityGraphContainer = this.$refs.connectivityGraphRef;
27022
+ },
27012
27023
  loadCacheData: function() {
27013
27024
  const t = sessionStorage.getItem("connectivity-graph-source"), e = sessionStorage.getItem("connectivity-graph-labels"), r = sessionStorage.getItem("connectivity-graph-pathlist"), n = sessionStorage.getItem("connectivity-graph-schema-version");
27014
27025
  if (t && (this.selectedSource = t), r && (this.pathList = JSON.parse(r)), e) {
@@ -27167,10 +27178,13 @@ const jO = 1.3, ZO = 24 * 60 * 60 * 1e3, XO = "Reset position", pv = "Lock zoom"
27167
27178
  }, rL);
27168
27179
  }
27169
27180
  }
27170
- }, aL = { class: "connectivity-graph" }, iL = {
27181
+ }, aL = {
27182
+ class: "connectivity-graph",
27183
+ ref: "connectivityGraphRef"
27184
+ }, iL = {
27171
27185
  ref: "graphCanvas",
27172
27186
  class: "graph-canvas"
27173
- }, oL = { class: "control-panel control-panel-tools" }, sL = { class: "visually-hidden" }, lL = { class: "visually-hidden" }, uL = { class: "visually-hidden" }, cL = { class: "visually-hidden" }, dL = /* @__PURE__ */ Mm('<div class="control-panel control-panel-nodes" data-v-6acf6401><div class="node-key" data-v-6acf6401><div class="key-box-container" data-v-6acf6401><div class="key-box key-box-dendrite" data-v-6acf6401> Origin </div><div class="key-box key-box-node" data-v-6acf6401> Components </div><div class="key-box key-box-axon" data-v-6acf6401> Destination </div></div></div></div>', 1), fL = {
27187
+ }, oL = { class: "control-panel control-panel-tools" }, sL = { class: "visually-hidden" }, lL = { class: "visually-hidden" }, uL = { class: "visually-hidden" }, cL = { class: "visually-hidden" }, dL = /* @__PURE__ */ Mm('<div class="control-panel control-panel-nodes" data-v-14856fe8><div class="node-key" data-v-14856fe8><div class="key-box-container" data-v-14856fe8><div class="key-box key-box-dendrite" data-v-14856fe8> Origin </div><div class="key-box key-box-node" data-v-14856fe8> Components </div><div class="key-box key-box-axon" data-v-14856fe8> Destination </div></div></div></div>', 1), fL = {
27174
27188
  key: 0,
27175
27189
  class: "connectivity-graph-error"
27176
27190
  }, vL = { key: 0 };
@@ -27185,7 +27199,9 @@ function hL(t, e, r, n, a, i) {
27185
27199
  X(u, {
27186
27200
  content: t.resetLabel,
27187
27201
  placement: "top",
27188
- effect: "control-tooltip"
27202
+ effect: "control-tooltip",
27203
+ teleported: !0,
27204
+ "append-to": t.connectivityGraphContainer
27189
27205
  }, {
27190
27206
  default: U(() => [
27191
27207
  X(l, {
@@ -27206,11 +27222,13 @@ function hL(t, e, r, n, a, i) {
27206
27222
  }, 8, ["onClick"])
27207
27223
  ]),
27208
27224
  _: 1
27209
- }, 8, ["content"]),
27225
+ }, 8, ["content", "append-to"]),
27210
27226
  X(u, {
27211
27227
  content: t.zoomLockLabel,
27212
27228
  placement: "top",
27213
- effect: "control-tooltip"
27229
+ effect: "control-tooltip",
27230
+ teleported: !0,
27231
+ "append-to": t.connectivityGraphContainer
27214
27232
  }, {
27215
27233
  default: U(() => [
27216
27234
  X(l, {
@@ -27231,11 +27249,13 @@ function hL(t, e, r, n, a, i) {
27231
27249
  }, 8, ["onClick"])
27232
27250
  ]),
27233
27251
  _: 1
27234
- }, 8, ["content"]),
27252
+ }, 8, ["content", "append-to"]),
27235
27253
  X(u, {
27236
27254
  content: t.zoomInLabel,
27237
27255
  placement: "left",
27238
- effect: "control-tooltip"
27256
+ effect: "control-tooltip",
27257
+ teleported: !0,
27258
+ "append-to": t.connectivityGraphContainer
27239
27259
  }, {
27240
27260
  default: U(() => [
27241
27261
  X(l, {
@@ -27256,11 +27276,13 @@ function hL(t, e, r, n, a, i) {
27256
27276
  }, 8, ["onClick"])
27257
27277
  ]),
27258
27278
  _: 1
27259
- }, 8, ["content"]),
27279
+ }, 8, ["content", "append-to"]),
27260
27280
  X(u, {
27261
27281
  content: t.zoomOutLabel,
27262
27282
  placement: "left",
27263
- effect: "control-tooltip"
27283
+ effect: "control-tooltip",
27284
+ teleported: !0,
27285
+ "append-to": t.connectivityGraphContainer
27264
27286
  }, {
27265
27287
  default: U(() => [
27266
27288
  X(l, {
@@ -27281,7 +27303,7 @@ function hL(t, e, r, n, a, i) {
27281
27303
  }, 8, ["onClick"])
27282
27304
  ]),
27283
27305
  _: 1
27284
- }, 8, ["content"])
27306
+ }, 8, ["content", "append-to"])
27285
27307
  ], 2)
27286
27308
  ]),
27287
27309
  dL,
@@ -27293,7 +27315,7 @@ function hL(t, e, r, n, a, i) {
27293
27315
  [f, t.loading]
27294
27316
  ]);
27295
27317
  }
27296
- const nF = /* @__PURE__ */ Ur(nL, [["render", hL], ["__scopeId", "data-v-6acf6401"]]), pL = function(t) {
27318
+ const nF = /* @__PURE__ */ Ur(nL, [["render", hL], ["__scopeId", "data-v-14856fe8"]]), pL = function(t) {
27297
27319
  return t ? t.charAt(0).toUpperCase() + t.slice(1) : "";
27298
27320
  }, gL = {
27299
27321
  name: "ConnectionDialog",