@abi-software/map-utilities 1.1.3-beta.7 → 1.1.3-beta.8
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/map-utilities.js
CHANGED
|
@@ -28499,7 +28499,7 @@ class JL extends EventTarget {
|
|
|
28499
28499
|
minZoom: 0.5,
|
|
28500
28500
|
maxZoom: 10,
|
|
28501
28501
|
wheelSensitivity: 0.4
|
|
28502
|
-
}).on("mouseover", "node", this.overNode.bind(this)).on("mouseout", "node", this.exitNode.bind(this)).on("position", "node", this.moveNode.bind(this)).on("tap",
|
|
28502
|
+
}).on("mouseover", "node", this.overNode.bind(this)).on("mouseout", "node", this.exitNode.bind(this)).on("position", "node", this.moveNode.bind(this)).on("tap", this.tapNode.bind(this)), this.tooltip = document.createElement("div"), this.tooltip.className = "cy-graph-tooltip", this.tooltip.hidden = !0, (a = n == null ? void 0 : n.lastChild) == null || a.appendChild(this.tooltip);
|
|
28503
28503
|
}
|
|
28504
28504
|
remove() {
|
|
28505
28505
|
this.cy && this.cy.destroy();
|
|
@@ -28714,14 +28714,16 @@ const eF = 1.3, tF = 24 * 60 * 60 * 1e3, rF = "Reset position", fv = "Lock zoom
|
|
|
28714
28714
|
toggleZoom: function() {
|
|
28715
28715
|
this.zoomEnabled = !this.zoomEnabled, this.zoomLockLabel = this.zoomEnabled ? nF : fv, this.connectivityGraph.enableZoom(!this.zoomEnabled);
|
|
28716
28716
|
},
|
|
28717
|
-
|
|
28718
|
-
this.errorMessage = t
|
|
28717
|
+
showErrorMessage: function(t) {
|
|
28718
|
+
this.errorMessage = t, setTimeout(() => {
|
|
28719
|
+
this.errorMessage = "";
|
|
28720
|
+
}, 3e3);
|
|
28719
28721
|
}
|
|
28720
28722
|
}
|
|
28721
28723
|
}, oF = { class: "connectivity-graph" }, sF = {
|
|
28722
28724
|
ref: "graphCanvas",
|
|
28723
28725
|
class: "graph-canvas"
|
|
28724
|
-
}, lF = { class: "control-panel" }, uF = /* @__PURE__ */ P0('<div class="node-key" data-v-
|
|
28726
|
+
}, lF = { class: "control-panel" }, uF = /* @__PURE__ */ P0('<div class="node-key" data-v-13b701c2><div class="key-head" data-v-13b701c2>Node type:</div><div data-v-13b701c2><div data-v-13b701c2><span data-v-13b701c2>Node:</span><span class="key-box" style="background:#80F0F0;" data-v-13b701c2></span></div><div data-v-13b701c2><span data-v-13b701c2>Axon:</span><span class="key-box" style="background:green;" data-v-13b701c2></span></div><div data-v-13b701c2><span data-v-13b701c2>Dendrite:</span><span class="key-box" style="background:red;" data-v-13b701c2></span></div><div data-v-13b701c2><span data-v-13b701c2>Both:</span><span class="key-box" style="background:gray;" data-v-13b701c2></span></div></div></div>', 1), cF = { class: "tools" }, dF = { class: "visually-hidden" }, fF = { class: "visually-hidden" }, vF = {
|
|
28725
28727
|
key: 0,
|
|
28726
28728
|
class: "connectivity-graph-error"
|
|
28727
28729
|
};
|
|
@@ -28789,7 +28791,7 @@ function hF(t, e, r, n, a, i) {
|
|
|
28789
28791
|
[v, t.loading]
|
|
28790
28792
|
]);
|
|
28791
28793
|
}
|
|
28792
|
-
const EF = /* @__PURE__ */ rn(iF, [["render", hF], ["__scopeId", "data-v-
|
|
28794
|
+
const EF = /* @__PURE__ */ rn(iF, [["render", hF], ["__scopeId", "data-v-13b701c2"]]);
|
|
28793
28795
|
export {
|
|
28794
28796
|
EF as ConnectivityGraph,
|
|
28795
28797
|
xF as CopyToClipboard,
|