@abi-software/mapintegratedvuer 1.2.0-beta.5 → 1.2.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/{ContentMixin-DrXO9hYL.js → ContentMixin-DSj_K9Lr.js} +1 -1
- package/dist/{Flatmap-DjJ0kL-x.js → Flatmap-CqttIrVT.js} +4 -4
- package/dist/{Iframe-CDoFGJGq.js → Iframe-CDqWcZ7r.js} +2 -2
- package/dist/{MultiFlatmap-DztXCpBm.js → MultiFlatmap-Bm_0yIiS.js} +4 -4
- package/dist/{Plot-CckYvHYT.js → Plot-l1q7B9Aa.js} +2 -2
- package/dist/{Scaffold-BSeFI_hx.js → Scaffold-yqqseedD.js} +5276 -5251
- package/dist/{Simulation-CHqjWe4Q.js → Simulation-DPrlyQSF.js} +2 -2
- package/dist/{flatmapvuer-xVtutq6J.js → flatmapvuer-CkwE82MV.js} +17 -20
- package/dist/{index-D50UuVi7.js → index-BMXs1ud_.js} +1 -1
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +207 -207
- package/dist/{style-CxmQHlw8.js → style-84fUoaHI.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -1,7 +1,7 @@
|
|
1
|
-
import { C as Cc } from "./ContentMixin-
|
1
|
+
import { C as Cc } from "./ContentMixin-DSj_K9Lr.js";
|
2
2
|
import { ref as N, defineComponent as J, computed as w, openBlock as k, createElementBlock as L, mergeProps as Yt, unref as d, renderSlot as ue, useAttrs as Mc, useSlots as rs, shallowRef as Cn, watch as re, nextTick as we, onMounted as Le, toRef as pt, createCommentVNode as K, Fragment as Ue, normalizeClass as B, createElementVNode as q, createBlock as ee, withCtx as ne, resolveDynamicComponent as dt, withModifiers as Ze, createVNode as ve, toDisplayString as $e, normalizeStyle as Te, provide as at, reactive as At, onUpdated as os, inject as he, onBeforeUnmount as Ot, withDirectives as He, cloneVNode as Pc, Text as as, Comment as Tc, Teleport as zc, Transition as ao, vShow as Tt, readonly as Nc, onDeactivated as Rc, withKeys as Vt, toRefs as Tn, getCurrentInstance as et, h as _n, renderList as Gt, warn as $c, onBeforeMount as Bc, onUnmounted as Lc, toRaw as is, watchEffect as Dc, getCurrentScope as Uc, onScopeDispose as Hc, isRef as ls, resolveComponent as _t, resolveDirective as Zc, vModelText as qc, createTextVNode as An, pushScopeId as Wc, popScopeId as Kc, createApp as Jc } from "vue";
|
3
3
|
import { C as Yc } from "./plotvuer-X4h-Lj3L.js";
|
4
|
-
import { _ as Gc } from "./index-
|
4
|
+
import { _ as Gc } from "./index-BMXs1ud_.js";
|
5
5
|
const jt = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (r) => {
|
6
6
|
const o = e == null ? void 0 : e(r);
|
7
7
|
if (n === !1 || !o)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as Qe, defineComponent as Oe, computed as Zt, openBlock as wt, createElementBlock as ee, mergeProps as Ia, unref as at, renderSlot as Lr, useAttrs as RG, useSlots as l7, shallowRef as oa, watch as wr, nextTick as Cn, onMounted as z1, toRef as o2, withDirectives as en, createCommentVNode as Se, Fragment as ln, normalizeClass as se, createElementVNode as Jt, createBlock as Re, withCtx as Rt, resolveDynamicComponent as ao, withModifiers as y1, createVNode as qt, toDisplayString as Rr, normalizeStyle as On, vShow as Nn, provide as j1, reactive as Wo, onUpdated as RP, inject as pn, onBeforeUnmount as Ta, cloneVNode as DG, Text as DP, Comment as NG, Teleport as NP, Transition as $0, readonly as FP, onDeactivated as FG, createTextVNode as br, isRef as u2, vModelCheckbox as bp, toRefs as k0, vModelRadio as BP, toHandlers as BG, getCurrentInstance as U1, watchEffect as Gb, withKeys as f0, h as J4, createSlots as jP, markRaw as _0, warn as jG, onBeforeMount as zG, onUnmounted as UG, toRaw as nu, getCurrentScope as zP, onScopeDispose as Zb, renderList as F1, resolveComponent as io, resolveDirective as GG, vModelText as ZG, createApp as WG, hasInjectionContext as $G, effectScope as qG, isReactive as Wb, pushScopeId as f6, popScopeId as m6, createStaticVNode as XG } from "vue";
|
2
|
-
import { w as UP, h as KG } from "./index-
|
2
|
+
import { w as UP, h as KG } from "./index-BMXs1ud_.js";
|
3
3
|
const E3 = (e, t, { checkForDefaultPrevented: r = !0 } = {}) => (n) => {
|
4
4
|
const i = e == null ? void 0 : e(n);
|
5
5
|
if (r === !1 || !i)
|
@@ -99490,16 +99490,10 @@ const tOt = YCt("main", {
|
|
99490
99490
|
* (e.g., from 'Exploration' to 'Annotation')
|
99491
99491
|
* All tooltips and popups currently showing on map will be closed
|
99492
99492
|
* when this function is triggered. Optional index can be provided, this will
|
99493
|
-
* switch the provided view mode to the first index.
|
99494
|
-
* active mode is always first displayed.
|
99493
|
+
* switch the provided view mode to the first index.
|
99495
99494
|
*/
|
99496
99495
|
changeViewingMode: function(e = null) {
|
99497
|
-
|
99498
|
-
this.viewingMode = this.viewingModes[e].name;
|
99499
|
-
let t = this.viewingModes[0];
|
99500
|
-
this.viewingModes[0] = this.viewingModes[e], this.viewingModes[e] = t;
|
99501
|
-
}
|
99502
|
-
this.closeTooltip();
|
99496
|
+
e !== null && (this.viewingModeIndex = e), this.closeTooltip();
|
99503
99497
|
},
|
99504
99498
|
/**
|
99505
99499
|
* @vuese
|
@@ -100122,7 +100116,7 @@ const tOt = YCt("main", {
|
|
100122
100116
|
selectedDrawnFeature: void 0,
|
100123
100117
|
// Clicked drawn annotation
|
100124
100118
|
currentHover: "",
|
100125
|
-
|
100119
|
+
viewingModeIndex: 0,
|
100126
100120
|
viewingModes: {
|
100127
100121
|
0: {
|
100128
100122
|
name: "Exploration",
|
@@ -100176,7 +100170,10 @@ const tOt = YCt("main", {
|
|
100176
100170
|
};
|
100177
100171
|
},
|
100178
100172
|
computed: {
|
100179
|
-
...JCt(tOt, ["userToken"])
|
100173
|
+
...JCt(tOt, ["userToken"]),
|
100174
|
+
viewingMode: function() {
|
100175
|
+
return this.viewingModes[this.viewingModeIndex].name;
|
100176
|
+
}
|
100180
100177
|
},
|
100181
100178
|
watch: {
|
100182
100179
|
entry: function() {
|
@@ -100210,7 +100207,7 @@ const tOt = YCt("main", {
|
|
100210
100207
|
mounted: function() {
|
100211
100208
|
this.openMapRef = oa(this.$refs.openMapRef), this.backgroundIconRef = oa(this.$refs.backgroundIconRef), this.tooltipWait = [], this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = new tM(this.flatmapAPI), this.flatmapQueries = new bit(), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
100212
100209
|
}
|
100213
|
-
}, Xa = (e) => (f6("data-v-
|
100210
|
+
}, Xa = (e) => (f6("data-v-abdcb4fd"), e = e(), m6(), e), iOt = {
|
100214
100211
|
class: "flatmap-container",
|
100215
100212
|
ref: "flatmapContainer",
|
100216
100213
|
"element-loading-text": "Loading...",
|
@@ -100356,7 +100353,7 @@ function HOt(e, t, r, n, i, o) {
|
|
100356
100353
|
}, 8, ["class", "onClick"]), [
|
100357
100354
|
[Nn, e.minimapResizeShow]
|
100358
100355
|
]),
|
100359
|
-
|
100356
|
+
o.viewingMode === "Annotation" && e.userInformation && !r.disableUI ? (wt(), Re(Q, {
|
100360
100357
|
key: 0,
|
100361
100358
|
helpMode: r.helpMode,
|
100362
100359
|
hoverVisibilities: e.hoverVisibilities,
|
@@ -100491,7 +100488,7 @@ function HOt(e, t, r, n, i, o) {
|
|
100491
100488
|
_: 1
|
100492
100489
|
}, 8, ["visible"])) : Se("", !0),
|
100493
100490
|
qt(d, {
|
100494
|
-
content: "Find these markers for data. The
|
100491
|
+
content: "Find these markers for data. The number inside the markers is the number of datasets available for each marker.",
|
100495
100492
|
placement: "right",
|
100496
100493
|
teleported: !1,
|
100497
100494
|
width: "200",
|
@@ -100651,8 +100648,8 @@ function HOt(e, t, r, n, i, o) {
|
|
100651
100648
|
(wt(!0), ee(ln, null, F1(e.viewingModes, (it, yt) => (wt(), ee(ln, {
|
100652
100649
|
key: it + yt
|
100653
100650
|
}, [
|
100654
|
-
it.name ===
|
100655
|
-
Jt("b", null, Rr(
|
100651
|
+
it.name === o.viewingMode ? (wt(), ee("span", xOt, [
|
100652
|
+
Jt("b", null, Rr(it.name), 1)
|
100656
100653
|
])) : (wt(), ee("span", {
|
100657
100654
|
key: 1,
|
100658
100655
|
class: "viewing-mode-unselected",
|
@@ -100662,14 +100659,14 @@ function HOt(e, t, r, n, i, o) {
|
|
100662
100659
|
]),
|
100663
100660
|
qt(C, { class: "viewing-mode-description" }, {
|
100664
100661
|
default: Rt(() => [
|
100665
|
-
br(Rr(e.viewingModes[
|
100662
|
+
br(Rr(e.viewingModes[e.viewingModeIndex].description), 1)
|
100666
100663
|
]),
|
100667
100664
|
_: 1
|
100668
100665
|
})
|
100669
100666
|
]),
|
100670
100667
|
_: 1
|
100671
100668
|
}),
|
100672
|
-
|
100669
|
+
o.viewingMode === "Annotation" && e.userInformation ? (wt(), ee(ln, { key: 0 }, [
|
100673
100670
|
qt(C, { class: "backgroundText" }, {
|
100674
100671
|
default: Rt(() => [
|
100675
100672
|
br("Drawn By*")
|
@@ -100956,7 +100953,7 @@ function HOt(e, t, r, n, i, o) {
|
|
100956
100953
|
class: "tooltip",
|
100957
100954
|
annotationEntry: e.annotationEntry,
|
100958
100955
|
entry: e.tooltipEntry,
|
100959
|
-
annotationDisplay:
|
100956
|
+
annotationDisplay: o.viewingMode === "Annotation",
|
100960
100957
|
onAnnotation: o.commitAnnotationEvent
|
100961
100958
|
}, null, 8, ["annotationEntry", "entry", "annotationDisplay", "onAnnotation"]), [
|
100962
100959
|
[Nn, e.tooltipDisplay]
|
@@ -100966,7 +100963,7 @@ function HOt(e, t, r, n, i, o) {
|
|
100966
100963
|
[ot, e.loading]
|
100967
100964
|
]);
|
100968
100965
|
}
|
100969
|
-
const zz = /* @__PURE__ */ Qa(nOt, [["render", HOt], ["__scopeId", "data-v-
|
100966
|
+
const zz = /* @__PURE__ */ Qa(nOt, [["render", HOt], ["__scopeId", "data-v-abdcb4fd"]]), IP = {
|
100970
100967
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
100971
100968
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
100972
100969
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
@@ -11426,7 +11426,7 @@ function ZA(e, t, n, r, o, a) {
|
|
11426
11426
|
})
|
11427
11427
|
]);
|
11428
11428
|
}
|
11429
|
-
const f2 = /* @__PURE__ */ kr(WA, [["render", ZA], ["__scopeId", "data-v-b2e8f6b1"]]), JA = gi(() => import("./Flatmap-
|
11429
|
+
const f2 = /* @__PURE__ */ kr(WA, [["render", ZA], ["__scopeId", "data-v-b2e8f6b1"]]), JA = gi(() => import("./Flatmap-CqttIrVT.js")), XA = gi(() => import("./Iframe-CDqWcZ7r.js")), YA = gi(() => import("./MultiFlatmap-Bm_0yIiS.js")), QA = gi(() => import("./Plot-l1q7B9Aa.js")), eI = gi(() => import("./Scaffold-yqqseedD.js")), tI = gi(() => import("./Simulation-DPrlyQSF.js")), nI = {
|
11430
11430
|
name: "ContentVuer",
|
11431
11431
|
props: {
|
11432
11432
|
/**
|