@abi-software/flatmapvuer 1.7.4-beta.0 → 1.7.4-beta.1
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/flatmapvuer.js +11 -3
- package/dist/flatmapvuer.umd.cjs +40 -40
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/FlatmapVuer.vue +9 -0
package/dist/flatmapvuer.js
CHANGED
|
@@ -102500,8 +102500,16 @@ const qGt = WGt("main", {
|
|
|
102500
102500
|
* @arg {String} `geometry` _(default: `undefined`)_
|
|
102501
102501
|
*/
|
|
102502
102502
|
displayTooltip: function(t, e = void 0) {
|
|
102503
|
+
var i;
|
|
102503
102504
|
let r, n = { className: "flatmapvuer-popover" };
|
|
102504
|
-
e ? (r = t, n.annotationFeatureGeometry = e) : (r = this.mapImp.modelFeatureIds(t)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.hasTooltipEntry() && this.viewingMode !== "Annotation"
|
|
102505
|
+
if (e ? (r = t, n.annotationFeatureGeometry = e) : (r = this.mapImp.modelFeatureIds(t)[0], this.activeDrawTool || (n.positionAtLastClick = !0)), this.connectivityInfoSidebar && this.hasTooltipEntry() && this.viewingMode !== "Annotation") {
|
|
102506
|
+
if (this.featuresAlert && (this.tooltipEntry.featuresAlert = this.featuresAlert), (i = this.mapImp.provenance) != null && i.connectivity) {
|
|
102507
|
+
const o = this.mapImp.provenance.connectivity;
|
|
102508
|
+
"knowledge-source" in o ? this.tooltipEntry["knowledge-source"] = o["knowledge-source"] : "npo" in o && (this.tooltipEntry["knowledge-source"] = `${o.npo.release}-npo`);
|
|
102509
|
+
}
|
|
102510
|
+
this.$emit("connectivity-info-open", this.tooltipEntry);
|
|
102511
|
+
}
|
|
102512
|
+
this.annotationSidebar && this.viewingMode === "Annotation" && this.$emit("annotation-open", { annotationEntry: this.annotationEntry, commitCallback: this.commitAnnotationEvent }), !this.disableUI && (this.viewingMode === "Annotation" && !this.annotationSidebar || this.viewingMode === "Exploration" && !this.connectivityInfoSidebar && this.hasTooltipEntry()) && (this.tooltipDisplay = !0, this.$nextTick(() => {
|
|
102505
102513
|
this.mapImp.showPopup(r, this.$refs.tooltip.$el, n), this.popUpCssHacks();
|
|
102506
102514
|
}));
|
|
102507
102515
|
},
|
|
@@ -103211,7 +103219,7 @@ const qGt = WGt("main", {
|
|
|
103211
103219
|
mounted: function() {
|
|
103212
103220
|
this.openMapRef = IQ(this.$refs.openMapRef), this.backgroundIconRef = IQ(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.flatmapQueries = xo(new F4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
|
103213
103221
|
}
|
|
103214
|
-
}, Qa = (t) => (KM("data-v-
|
|
103222
|
+
}, Qa = (t) => (KM("data-v-f9adc267"), t = t(), YM(), t), t$t = {
|
|
103215
103223
|
class: "flatmap-container",
|
|
103216
103224
|
ref: "flatmapContainer",
|
|
103217
103225
|
"element-loading-text": "Loading...",
|
|
@@ -103927,7 +103935,7 @@ function L$t(t, e, r, n, i, o) {
|
|
|
103927
103935
|
[ct, t.loading]
|
|
103928
103936
|
]);
|
|
103929
103937
|
}
|
|
103930
|
-
const yJ = /* @__PURE__ */ Og(JGt, [["render", L$t], ["__scopeId", "data-v-
|
|
103938
|
+
const yJ = /* @__PURE__ */ Og(JGt, [["render", L$t], ["__scopeId", "data-v-f9adc267"]]);
|
|
103931
103939
|
function w$t(t) {
|
|
103932
103940
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
103933
103941
|
var n = t.get(e);
|