@abi-software/mapintegratedvuer 1.2.1-beta.1 → 1.2.1-beta.3
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-Ds5gEPQF.js → ContentMixin-ChB3fpK-.js} +1 -1
- package/dist/{Flatmap-CdfB1CqK.js → Flatmap-CyIvY8qX.js} +20 -14
- package/dist/{Iframe-DbBh33jx.js → Iframe-D-z95qwC.js} +2 -2
- package/dist/{MultiFlatmap-B7-QVKdg.js → MultiFlatmap-JklvXJhE.js} +28 -19
- package/dist/{Plot-HvPAJ33l.js → Plot-BvEleRmR.js} +2 -2
- package/dist/{Scaffold-D6R3P1_c.js → Scaffold-DGqum4RP.js} +2 -2
- package/dist/{Simulation-DdQXHwHW.js → Simulation-DmIk8QHO.js} +2 -2
- package/dist/{index-8kI96-xR.js → index-FGUkjLEg.js} +3126 -3053
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +315 -315
- package/dist/{style-XspK9sVJ.js → style-V3joPT2S.js} +12 -18
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/ContentBar.vue +1 -0
- package/src/components/SplitFlow.vue +15 -0
- package/src/components/viewers/Flatmap.vue +11 -0
- package/src/components/viewers/MultiFlatmap.vue +14 -1
@@ -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-
|
2
|
+
import { u as BU, w as jU, h as zU } from "./index-FGUkjLEg.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) {
|
@@ -96106,15 +96106,10 @@ const RSt = ISt("main", {
|
|
96106
96106
|
* @arg feature
|
96107
96107
|
*/
|
96108
96108
|
displayTooltip: function(e, t = void 0) {
|
96109
|
-
this.tooltipDisplay = !0;
|
96110
96109
|
let r, n = { className: "flatmapvuer-popover" };
|
96111
|
-
|
96112
|
-
const i = [e];
|
96113
|
-
this.moveMap(i), this.$emit("connectivity-info-open", this.tooltipEntry);
|
96114
|
-
}
|
96115
|
-
!this.disableUI && !this.connectivityInfoSidebar && this.$nextTick(() => {
|
96110
|
+
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 && (!this.connectivityInfoSidebar || this.viewingMode === "Annotation") && (this.tooltipDisplay = !0, this.$nextTick(() => {
|
96116
96111
|
this.mapImp.showPopup(r, this.$refs.tooltip.$el, n), this.popUpCssHacks();
|
96117
|
-
});
|
96112
|
+
}));
|
96118
96113
|
},
|
96119
96114
|
/**
|
96120
96115
|
* Move the map to the left side
|
@@ -96122,14 +96117,13 @@ const RSt = ISt("main", {
|
|
96122
96117
|
* because the sidebar is opened
|
96123
96118
|
* @arg featureIds
|
96124
96119
|
*/
|
96125
|
-
moveMap: function(e) {
|
96120
|
+
moveMap: function(e, t = {}) {
|
96126
96121
|
if (this.mapImp) {
|
96127
|
-
const t = this.mapImp._map,
|
96128
|
-
this.mapImp.zoomToFeatures(e, { noZoomIn: !0 }), this.showPathwaysDrawer(!1),
|
96129
|
-
|
96130
|
-
|
96131
|
-
|
96132
|
-
},
|
96122
|
+
const { offsetX: r = 0, offsetY: n = 0, zoom: i = 4 } = t, o = this.mapImp._map, a = this.mapImp._bounds.toArray();
|
96123
|
+
this.mapImp.zoomToFeatures(e, { noZoomIn: !0 }), this.showPathwaysDrawer(!1), a != null && a.length && setTimeout(() => {
|
96124
|
+
o.fitBounds(a, {
|
96125
|
+
offset: [r, n],
|
96126
|
+
zoom: i,
|
96133
96127
|
animate: !0
|
96134
96128
|
});
|
96135
96129
|
});
|
@@ -96724,7 +96718,7 @@ const RSt = ISt("main", {
|
|
96724
96718
|
mounted: function() {
|
96725
96719
|
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
96720
|
}
|
96727
|
-
}, ja = (e) => (fb("data-v-
|
96721
|
+
}, ja = (e) => (fb("data-v-bf497ec4"), e = e(), mb(), e), BSt = {
|
96728
96722
|
class: "flatmap-container",
|
96729
96723
|
ref: "flatmapContainer",
|
96730
96724
|
"element-loading-text": "Loading...",
|
@@ -97479,14 +97473,14 @@ function uEt(e, t, r, n, i, o) {
|
|
97479
97473
|
annotationDisplay: o.viewingMode === "Annotation",
|
97480
97474
|
onAnnotation: o.commitAnnotationEvent
|
97481
97475
|
}, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation"]), [
|
97482
|
-
[mo, e.tooltipDisplay
|
97476
|
+
[mo, e.tooltipDisplay]
|
97483
97477
|
])
|
97484
97478
|
])
|
97485
97479
|
])), [
|
97486
97480
|
[ot, e.loading]
|
97487
97481
|
]);
|
97488
97482
|
}
|
97489
|
-
const Zj = /* @__PURE__ */ vT(FSt, [["render", uEt], ["__scopeId", "data-v-
|
97483
|
+
const Zj = /* @__PURE__ */ vT(FSt, [["render", uEt], ["__scopeId", "data-v-bf497ec4"]]);
|
97490
97484
|
function hEt(e) {
|
97491
97485
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, r) {
|
97492
97486
|
var n = e.get(t);
|