@abi-software/mapintegratedvuer 1.3.1 → 1.3.3-beta.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.
- package/dist/{ContentMixin-Ckm-JMON.js → ContentMixin-svyIWr7o.js} +1 -1
- package/dist/{Flatmap-BIiOyi0J.js → Flatmap-DBGJETNo.js} +3 -3
- package/dist/{Iframe-D89RXv4T.js → Iframe-CnuriFJv.js} +2 -2
- package/dist/{MultiFlatmap-BpNNpimA.js → MultiFlatmap-B6ele38x.js} +3 -3
- package/dist/{Plot-2NMz7HN0.js → Plot-CgLdOAn1.js} +2 -2
- package/dist/{Scaffold-mZRteDFP.js → Scaffold-q2BtCOez.js} +10241 -10093
- package/dist/{Simulation-DZle4Pid.js → Simulation-D-dTzpbl.js} +2 -2
- package/dist/{index-Bn1LwufT.js → index-Ck3Vv1vk.js} +8 -7
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +88 -88
- package/dist/{style-CMI0WpND.js → style-Dj4SjF8h.js} +14 -4
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/components/MapContent.vue +2 -1
- package/src/stores/settings.js +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { mapStores as BU } from "pinia";
|
2
|
-
import { u as jU, w as zU, h as UU } from "./index-
|
2
|
+
import { u as jU, w as zU, h as UU } from "./index-Ck3Vv1vk.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 GU, useSlots as l9, shallowRef as s0, 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 ZU, inject as y1, onBeforeUnmount as ua, cloneVNode as $U, Text as eI, Comment as WU, Teleport as rI, Transition as c9, readonly as nI, onDeactivated as qU, isRef as i2, vModelCheckbox as Kd, createTextVNode as w1, toRefs as Q0, vModelRadio as iI, h as z5, createSlots as oI, getCurrentInstance as to, markRaw as r0, warn as XU, watchEffect as aI, onBeforeMount as KU, onUnmounted as YU, toRaw as Cc, getCurrentScope as sI, onScopeDispose as Qb, resolveComponent as J2, resolveDirective as JU, renderList as L3, withKeys as Gl, vModelText as tG, createApp as eG, hasInjectionContext as rG, effectScope as nG, isReactive as fb, pushScopeId as mb, popScopeId as gb, createStaticVNode as iG } from "vue";
|
4
4
|
import { T as oG, O as aG, S as sG } from "./style-CJykSWTR.js";
|
5
5
|
const lG = function(e) {
|
@@ -96100,10 +96100,20 @@ const NSt = PSt("main", {
|
|
96100
96100
|
*/
|
96101
96101
|
displayTooltip: function(e, t = void 0) {
|
96102
96102
|
let r, n = { className: "flatmapvuer-popover" };
|
96103
|
-
t ? (r = e, n.annotationFeatureGeometry = t) : (r = this.mapImp.modelFeatureIds(e)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.viewingMode !== "Annotation" && this.$emit("connectivity-info-open", this.tooltipEntry), !this.disableUI && (
|
96103
|
+
t ? (r = e, n.annotationFeatureGeometry = t) : (r = this.mapImp.modelFeatureIds(e)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.isTooltipEntry() && this.viewingMode !== "Annotation" && this.$emit("connectivity-info-open", this.tooltipEntry), !this.disableUI && (this.viewingMode === "Annotation" || this.viewingMode === "Exploration" && !this.connectivityInfoSidebar && this.isTooltipEntry()) && (this.tooltipDisplay = !0, this.$nextTick(() => {
|
96104
96104
|
this.mapImp.showPopup(r, this.$refs.tooltip.$el, n), this.popUpCssHacks();
|
96105
96105
|
}));
|
96106
96106
|
},
|
96107
|
+
isTooltipEntry: function() {
|
96108
|
+
const {
|
96109
|
+
components: e,
|
96110
|
+
destinations: t,
|
96111
|
+
origins: r,
|
96112
|
+
provenanceTaxonomy: n,
|
96113
|
+
provenanceTaxonomyLabel: i
|
96114
|
+
} = this.tooltipEntry;
|
96115
|
+
return !!(e != null && e.length && t != null && t.length && r != null && r.length && n != null && n.length && i != null && i.length);
|
96116
|
+
},
|
96107
96117
|
/**
|
96108
96118
|
* Move the map to the left side
|
96109
96119
|
* to the visible area of the feature IDs
|
@@ -96711,7 +96721,7 @@ const NSt = PSt("main", {
|
|
96711
96721
|
mounted: function() {
|
96712
96722
|
this.openMapRef = s0(this.$refs.openMapRef), this.backgroundIconRef = s0(this.$refs.backgroundIconRef), this.tooltipWait = [], this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = new bw(this.flatmapAPI), this.flatmapQueries = new ort(), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
96713
96723
|
}
|
96714
|
-
}, ja = (e) => (mb("data-v-
|
96724
|
+
}, ja = (e) => (mb("data-v-abc71f59"), e = e(), gb(), e), jSt = {
|
96715
96725
|
class: "flatmap-container",
|
96716
96726
|
ref: "flatmapContainer",
|
96717
96727
|
"element-loading-text": "Loading...",
|
@@ -97473,7 +97483,7 @@ function hEt(e, t, r, n, i, o) {
|
|
97473
97483
|
[ot, e.loading]
|
97474
97484
|
]);
|
97475
97485
|
}
|
97476
|
-
const $j = /* @__PURE__ */ _T(BSt, [["render", hEt], ["__scopeId", "data-v-
|
97486
|
+
const $j = /* @__PURE__ */ _T(BSt, [["render", hEt], ["__scopeId", "data-v-abc71f59"]]);
|
97477
97487
|
function dEt(e) {
|
97478
97488
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, r) {
|
97479
97489
|
var n = e.get(t);
|