@abi-software/mapintegratedvuer 1.2.1-beta.1 → 1.2.1-beta.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,5 +1,5 @@
1
1
  import { mapStores as FU } from "pinia";
2
- import { u as BU, w as jU, h as zU } from "./index-8kI96-xR.js";
2
+ import { u as BU, w as jU, h as zU } from "./index-jxTP4jdW.js";
3
3
  import { ref as Ee, defineComponent as hr, computed as $t, openBlock as qt, createElementBlock as Oe, mergeProps as S3, unref as pt, renderSlot as Dr, useAttrs as UU, useSlots as s9, shallowRef as a0, watch as t1, nextTick as ln, onMounted as Ni, toRef as t2, withDirectives as Y1, createCommentVNode as cr, Fragment as ui, normalizeClass as xe, createElementVNode as Re, createBlock as gr, withCtx as de, resolveDynamicComponent as yo, withModifiers as yi, createVNode as Ce, toDisplayString as N1, normalizeStyle as pi, vShow as mo, provide as Ji, reactive as S2, onUpdated as GU, inject as y1, onBeforeUnmount as ua, cloneVNode as ZU, Text as tI, Comment as $U, Teleport as eI, Transition as l9, readonly as rI, onDeactivated as WU, isRef as i2, vModelCheckbox as Xd, createTextVNode as w1, toRefs as T0, vModelRadio as nI, h as j5, createSlots as iI, getCurrentInstance as to, markRaw as e0, warn as qU, watchEffect as oI, onBeforeMount as XU, onUnmounted as KU, toRaw as Ac, getCurrentScope as aI, onScopeDispose as Tb, resolveComponent as J2, resolveDirective as YU, renderList as L3, withKeys as Ul, vModelText as JU, createApp as tG, hasInjectionContext as eG, effectScope as rG, isReactive as Qb, pushScopeId as fb, popScopeId as mb, createStaticVNode as nG } from "vue";
4
4
  import { x as iG, _ as oG, k as aG } from "./style-Cq_72gg0.js";
5
5
  const sG = function(e) {
@@ -96108,11 +96108,11 @@ const RSt = ISt("main", {
96108
96108
  displayTooltip: function(e, t = void 0) {
96109
96109
  this.tooltipDisplay = !0;
96110
96110
  let r, n = { className: "flatmapvuer-popover" };
96111
- if (t ? (r = e, n.annotationFeatureGeometry = t) : (r = this.mapImp.modelFeatureIds(e)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar) {
96111
+ if (t ? (r = e, n.annotationFeatureGeometry = t) : (r = this.mapImp.modelFeatureIds(e)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.viewingMode !== "Annotation") {
96112
96112
  const i = [e];
96113
96113
  this.moveMap(i), this.$emit("connectivity-info-open", this.tooltipEntry);
96114
96114
  }
96115
- !this.disableUI && !this.connectivityInfoSidebar && this.$nextTick(() => {
96115
+ !this.disableUI && (!this.connectivityInfoSidebar || this.viewingMode === "Annotation") && this.$nextTick(() => {
96116
96116
  this.mapImp.showPopup(r, this.$refs.tooltip.$el, n), this.popUpCssHacks();
96117
96117
  });
96118
96118
  },
@@ -96724,7 +96724,7 @@ const RSt = ISt("main", {
96724
96724
  mounted: function() {
96725
96725
  this.openMapRef = a0(this.$refs.openMapRef), this.backgroundIconRef = a0(this.$refs.backgroundIconRef), this.tooltipWait = [], this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = new _w(this.flatmapAPI), this.flatmapQueries = new irt(), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
96726
96726
  }
96727
- }, ja = (e) => (fb("data-v-c006c375"), e = e(), mb(), e), BSt = {
96727
+ }, ja = (e) => (fb("data-v-1a87baba"), e = e(), mb(), e), BSt = {
96728
96728
  class: "flatmap-container",
96729
96729
  ref: "flatmapContainer",
96730
96730
  "element-loading-text": "Loading...",
@@ -97479,14 +97479,14 @@ function uEt(e, t, r, n, i, o) {
97479
97479
  annotationDisplay: o.viewingMode === "Annotation",
97480
97480
  onAnnotation: o.commitAnnotationEvent
97481
97481
  }, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation"]), [
97482
- [mo, e.tooltipDisplay && !r.connectivityInfoSidebar]
97482
+ [mo, e.tooltipDisplay]
97483
97483
  ])
97484
97484
  ])
97485
97485
  ])), [
97486
97486
  [ot, e.loading]
97487
97487
  ]);
97488
97488
  }
97489
- const Zj = /* @__PURE__ */ vT(FSt, [["render", uEt], ["__scopeId", "data-v-c006c375"]]);
97489
+ const Zj = /* @__PURE__ */ vT(FSt, [["render", uEt], ["__scopeId", "data-v-1a87baba"]]);
97490
97490
  function hEt(e) {
97491
97491
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, r) {
97492
97492
  var n = e.get(t);