@abi-software/flatmapvuer 0.6.0-vue3.8 → 0.6.1-vue3.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/LICENSE +201 -201
- package/README.md +107 -107
- package/dist/flatmapvuer.js +17 -17
- package/dist/flatmapvuer.umd.cjs +2 -2
- package/dist/index.html +17 -17
- package/dist/style.css +1 -1
- package/package.json +84 -84
- package/public/index.html +17 -17
- package/src/App.vue +319 -318
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +5 -5
- package/src/components/AnnotationTool.vue +437 -437
- package/src/components/EventBus.js +3 -3
- package/src/components/ExternalResourceCard.vue +106 -106
- package/src/components/FlatmapVuer.vue +2129 -2129
- package/src/components/MultiFlatmapVuer.vue +613 -613
- package/src/components/ProvenancePopup.vue +490 -490
- package/src/components/SelectionsGroup.vue +255 -255
- package/src/components/Tooltip.vue +50 -50
- package/src/components/TreeControls.vue +231 -231
- package/src/components/index.js +7 -7
- package/src/components/legends/DynamicLegends.vue +106 -106
- package/src/components/legends/SvgLegends.vue +112 -112
- package/src/icons/flatmap-marker.js +1 -1
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/icons/yellowstar.js +5 -5
- package/src/legends/legend.svg +25 -25
- package/src/main.js +4 -4
- package/src/nerve-map.js +99 -0
- package/src/services/flatmapQueries.js +451 -451
- package/vite.config.js +66 -66
- package/vite.static-build.js +12 -12
package/dist/flatmapvuer.js
CHANGED
|
@@ -10054,7 +10054,7 @@ function gB(e, t, r, n, i, a) {
|
|
|
10054
10054
|
]))), 128))
|
|
10055
10055
|
]);
|
|
10056
10056
|
}
|
|
10057
|
-
const Fx = /* @__PURE__ */ S6(yB, [["render", gB], ["__scopeId", "data-v-
|
|
10057
|
+
const Fx = /* @__PURE__ */ S6(yB, [["render", gB], ["__scopeId", "data-v-1160491b"]]);
|
|
10058
10058
|
function _B(e) {
|
|
10059
10059
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, r) {
|
|
10060
10060
|
var n = e.get(t);
|
|
@@ -10161,7 +10161,7 @@ const E8 = new _B(), xB = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperC
|
|
|
10161
10161
|
this.pubmedSearchUrl = e;
|
|
10162
10162
|
}
|
|
10163
10163
|
}
|
|
10164
|
-
}, W0 = (e) => (sa("data-v-
|
|
10164
|
+
}, W0 = (e) => (sa("data-v-5464af49"), e = e(), la(), e), HB = {
|
|
10165
10165
|
key: 0,
|
|
10166
10166
|
class: "main"
|
|
10167
10167
|
}, wB = {
|
|
@@ -10360,7 +10360,7 @@ function $B(e, t, r, n, i, a) {
|
|
|
10360
10360
|
[g, e.loading]
|
|
10361
10361
|
]) : wt("", !0);
|
|
10362
10362
|
}
|
|
10363
|
-
const Rx = /* @__PURE__ */ S6(bB, [["render", $B], ["__scopeId", "data-v-
|
|
10363
|
+
const Rx = /* @__PURE__ */ S6(bB, [["render", $B], ["__scopeId", "data-v-5464af49"]]);
|
|
10364
10364
|
var Nx = {}, Vl = {}, jx = { exports: {} };
|
|
10365
10365
|
/*! js-cookie v3.0.5 | MIT */
|
|
10366
10366
|
(function(e, t) {
|
|
@@ -10749,7 +10749,7 @@ const WB = {
|
|
|
10749
10749
|
e.name && e.email ? (this.authenticated = !0, this.updatePrevSubmissions()) : this.errorMessage = "";
|
|
10750
10750
|
});
|
|
10751
10751
|
}
|
|
10752
|
-
}, A5 = (e) => (sa("data-v-
|
|
10752
|
+
}, A5 = (e) => (sa("data-v-23ee0a25"), e = e(), la(), e), XB = { class: "block" }, KB = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("span", { class: "title" }, "Feature Annotations", -1)), JB = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", { class: "sub-title" }, "Previous submissions:", -1)), YB = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", null, "Evidence: ", -1)), eF = ["href"], tF = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", null, "Comment: ", -1)), rF = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", { class: "sub-title" }, "Suggest changes:", -1)), nF = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", null, "Evidvence:", -1)), iF = /* @__PURE__ */ A5(() => /* @__PURE__ */ $e("strong", null, "Comment:", -1)), aF = { class: "sub-title" };
|
|
10753
10753
|
function oF(e, t, r, n, i, a) {
|
|
10754
10754
|
const c = Gr, o = _l, d = M3, T = wn, f = L_, p = A6, y = A0, g = Sl, L = ha, b = wl, S = Zr, H = Vx;
|
|
10755
10755
|
return xe(), Et(H, { class: "main" }, {
|
|
@@ -10998,7 +10998,7 @@ function oF(e, t, r, n, i, a) {
|
|
|
10998
10998
|
_: 1
|
|
10999
10999
|
});
|
|
11000
11000
|
}
|
|
11001
|
-
const zx = /* @__PURE__ */ S6(WB, [["render", oF], ["__scopeId", "data-v-
|
|
11001
|
+
const zx = /* @__PURE__ */ S6(WB, [["render", oF], ["__scopeId", "data-v-23ee0a25"]]), sF = {
|
|
11002
11002
|
name: "Tooltip",
|
|
11003
11003
|
components: {
|
|
11004
11004
|
AnnotationTool: zx,
|
|
@@ -11029,7 +11029,7 @@ function uF(e, t, r, n, i, a) {
|
|
|
11029
11029
|
}, null, 8, ["entry"]))
|
|
11030
11030
|
]);
|
|
11031
11031
|
}
|
|
11032
|
-
const $x = /* @__PURE__ */ S6(sF, [["render", uF], ["__scopeId", "data-v-
|
|
11032
|
+
const $x = /* @__PURE__ */ S6(sF, [["render", uF], ["__scopeId", "data-v-193cf123"]]), cF = {
|
|
11033
11033
|
name: "SelectionsGroup",
|
|
11034
11034
|
components: {
|
|
11035
11035
|
Checkbox: Cl,
|
|
@@ -11201,7 +11201,7 @@ function fF(e, t, r, n, i, a) {
|
|
|
11201
11201
|
}, 8, ["modelValue", "onChange"])
|
|
11202
11202
|
]);
|
|
11203
11203
|
}
|
|
11204
|
-
const Zx = /* @__PURE__ */ S6(cF, [["render", fF], ["__scopeId", "data-v-
|
|
11204
|
+
const Zx = /* @__PURE__ */ S6(cF, [["render", fF], ["__scopeId", "data-v-9c4fff49"]]), pF = {
|
|
11205
11205
|
name: "TreeControls",
|
|
11206
11206
|
components: {
|
|
11207
11207
|
Checkbox: Cl,
|
|
@@ -11254,7 +11254,7 @@ const Zx = /* @__PURE__ */ S6(cF, [["render", fF], ["__scopeId", "data-v-4d3741d
|
|
|
11254
11254
|
return "colour" in e ? { background: e.colour } : {};
|
|
11255
11255
|
}
|
|
11256
11256
|
}
|
|
11257
|
-
}, mF = (e) => (sa("data-v-
|
|
11257
|
+
}, mF = (e) => (sa("data-v-27e4d901"), e = e(), la(), e), yF = { class: "container" }, vF = /* @__PURE__ */ mF(() => /* @__PURE__ */ $e("div", { class: "title-text" }, "Systems", -1)), gF = { class: "tree-container" }, _F = ["onClick", "onMouseover"];
|
|
11258
11258
|
function xF(e, t, r, n, i, a) {
|
|
11259
11259
|
const c = A6, o = Gr, d = Bx;
|
|
11260
11260
|
return xe(), ze("div", yF, [
|
|
@@ -11299,9 +11299,9 @@ function xF(e, t, r, n, i, a) {
|
|
|
11299
11299
|
])
|
|
11300
11300
|
]);
|
|
11301
11301
|
}
|
|
11302
|
-
const qx = /* @__PURE__ */ S6(pF, [["render", xF], ["__scopeId", "data-v-
|
|
11302
|
+
const qx = /* @__PURE__ */ S6(pF, [["render", xF], ["__scopeId", "data-v-27e4d901"]]), LF = {
|
|
11303
11303
|
name: "SvgLegends"
|
|
11304
|
-
}, bF = (e) => (sa("data-v-
|
|
11304
|
+
}, bF = (e) => (sa("data-v-7a368b29"), e = e(), la(), e), HF = { class: "legends-container" }, wF = {
|
|
11305
11305
|
version: "1.1",
|
|
11306
11306
|
id: "Layer_1",
|
|
11307
11307
|
x: "0px",
|
|
@@ -11310,7 +11310,7 @@ const qx = /* @__PURE__ */ S6(pF, [["render", xF], ["__scopeId", "data-v-df24201
|
|
|
11310
11310
|
style: { "enable-background": "new 0 0 500 500" },
|
|
11311
11311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11312
11312
|
"xmlns:bx": "https://boxy-svg.com"
|
|
11313
|
-
}, MF = /* @__PURE__ */ uM('<defs data-v-
|
|
11313
|
+
}, MF = /* @__PURE__ */ uM('<defs data-v-7a368b29><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-7a368b29></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-7a368b29></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-7a368b29></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-7a368b29></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-7a368b29></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Ganglionated nerve plexus </text>', 9), CF = [
|
|
11314
11314
|
MF
|
|
11315
11315
|
], AF = /* @__PURE__ */ bF(() => /* @__PURE__ */ $e("svg", {
|
|
11316
11316
|
width: "72px",
|
|
@@ -11324,7 +11324,7 @@ function SF(e, t, r, n, i, a) {
|
|
|
11324
11324
|
AF
|
|
11325
11325
|
]);
|
|
11326
11326
|
}
|
|
11327
|
-
const Gx = /* @__PURE__ */ S6(LF, [["render", SF], ["__scopeId", "data-v-
|
|
11327
|
+
const Gx = /* @__PURE__ */ S6(LF, [["render", SF], ["__scopeId", "data-v-7a368b29"]]), EF = '<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>', q7 = function(e) {
|
|
11328
11328
|
return [...new Set(e.map((t) => JSON.stringify(t)))].map(
|
|
11329
11329
|
(t) => JSON.parse(t)
|
|
11330
11330
|
);
|
|
@@ -11548,7 +11548,7 @@ let VF = function() {
|
|
|
11548
11548
|
return r.append("term", e), t + r.toString();
|
|
11549
11549
|
};
|
|
11550
11550
|
};
|
|
11551
|
-
const OF = '<svg width="195px" height="24px" viewBox="0 0
|
|
11551
|
+
const OF = '<svg width="195px" height="24px" viewBox="0 0 200 24" fill="yellow"><path d="M22.0748 3.25583C22.4141 2.42845 23.5859 2.42845 23.9252 3.25583L25.6493 7.45955C25.793 7.80979 26.1221 8.04889 26.4995 8.07727L31.0303 8.41798C31.922 8.48504 32.2841 9.59942 31.6021 10.1778L28.1369 13.1166C27.8482 13.3614 27.7225 13.7483 27.8122 14.1161L28.8882 18.5304C29.1 19.3992 28.152 20.0879 27.3912 19.618L23.5255 17.2305C23.2034 17.0316 22.7966 17.0316 22.4745 17.2305L18.60881 19.618C17.84796 20.0879 16.9 19.3992 17.1118 18.5304L18.18785 14.1161C18.2775 13.7483 18.1518 13.3614 17.86309 13.1166L14.3979 10.1778C13.71588 9.59942 14.07796 8.48504 14.96971 8.41798L19.50046 8.07727C19.87794 8.04889 20.20704 7.80979 20.35068 7.45955L22.0748 3.25583Z" stroke="#000000" stroke-width="2"/><text x="42" y="50%" dominant-baseline="middle" text-anchor="start" font-family="Asap, sans-serif" font-size="12" fill="#000000">Featured dataset marker</text></svg>';
|
|
11552
11552
|
var Wx = { exports: {} };
|
|
11553
11553
|
(function(e, t) {
|
|
11554
11554
|
(function(r, n) {
|
|
@@ -67983,7 +67983,7 @@ const Kb = (e, t) => {
|
|
|
67983
67983
|
mounted: function() {
|
|
67984
67984
|
this.openMapRef = _4(this.$refs.openMapRef), this.backgroundIconRef = _4(this.$refs.backgroundIconRef), this.tooltipWait = [], this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = new Xb(this.flatmapAPI), this.flatmapQueries = new VF(), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
|
67985
67985
|
}
|
|
67986
|
-
}, _r = (e) => (sa("data-v-
|
|
67986
|
+
}, _r = (e) => (sa("data-v-75254909"), e = e(), la(), e), eY = {
|
|
67987
67987
|
class: "flatmap-container",
|
|
67988
67988
|
ref: "flatmapContainer",
|
|
67989
67989
|
"element-loading-text": "Loading...",
|
|
@@ -68562,7 +68562,7 @@ function gY(e, t, r, n, i, a) {
|
|
|
68562
68562
|
[Y, e.loading]
|
|
68563
68563
|
]);
|
|
68564
68564
|
}
|
|
68565
|
-
const Jb = /* @__PURE__ */ S6(YJ, [["render", gY], ["__scopeId", "data-v-
|
|
68565
|
+
const Jb = /* @__PURE__ */ S6(YJ, [["render", gY], ["__scopeId", "data-v-75254909"]]), Xg = {
|
|
68566
68566
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
68567
68567
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
68568
68568
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
@@ -68904,7 +68904,7 @@ const Jb = /* @__PURE__ */ S6(YJ, [["render", gY], ["__scopeId", "data-v-2520abe
|
|
|
68904
68904
|
deep: !0
|
|
68905
68905
|
}
|
|
68906
68906
|
}
|
|
68907
|
-
}, xY = (e) => (sa("data-v-
|
|
68907
|
+
}, xY = (e) => (sa("data-v-4a803829"), e = e(), la(), e), LY = {
|
|
68908
68908
|
class: "multi-container",
|
|
68909
68909
|
ref: "multiContainer"
|
|
68910
68910
|
}, bY = {
|
|
@@ -69008,7 +69008,7 @@ function wY(e, t, r, n, i, a) {
|
|
|
69008
69008
|
])), 128))
|
|
69009
69009
|
], 512);
|
|
69010
69010
|
}
|
|
69011
|
-
const AY = /* @__PURE__ */ S6(_Y, [["render", wY], ["__scopeId", "data-v-
|
|
69011
|
+
const AY = /* @__PURE__ */ S6(_Y, [["render", wY], ["__scopeId", "data-v-4a803829"]]);
|
|
69012
69012
|
export {
|
|
69013
69013
|
Jb as FlatmapVuer,
|
|
69014
69014
|
AY as MultiFlatmapVuer,
|