@abi-software/map-side-bar 2.4.2-beta.11 → 2.4.2-beta.12
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-side-bar.js +168 -163
- package/dist/map-side-bar.umd.cjs +10 -8
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/map-side-bar.js
CHANGED
|
@@ -45233,7 +45233,7 @@ let tde = class extends EventTarget {
|
|
|
45233
45233
|
});
|
|
45234
45234
|
}
|
|
45235
45235
|
showConnectivity(e) {
|
|
45236
|
-
this.cyg = new
|
|
45236
|
+
this.cyg = new ode(this, e), this.cyg.on("tap-node", (t) => {
|
|
45237
45237
|
const n = new CustomEvent("tap-node", {
|
|
45238
45238
|
detail: t.detail
|
|
45239
45239
|
});
|
|
@@ -45320,7 +45320,12 @@ const nde = [
|
|
|
45320
45320
|
}
|
|
45321
45321
|
}
|
|
45322
45322
|
];
|
|
45323
|
-
|
|
45323
|
+
function rde(e) {
|
|
45324
|
+
return e.split(`
|
|
45325
|
+
`).map((t) => t && t[0] >= "a" && t[0] <= "z" ? t.charAt(0).toUpperCase() + t.slice(1) : t).join(`
|
|
45326
|
+
`);
|
|
45327
|
+
}
|
|
45328
|
+
class ode extends EventTarget {
|
|
45324
45329
|
constructor(t, n) {
|
|
45325
45330
|
var r;
|
|
45326
45331
|
super(), ha(this, "cy"), ha(this, "tooltip"), this.cy = ws({
|
|
@@ -45346,8 +45351,8 @@ class rde extends EventTarget {
|
|
|
45346
45351
|
t + this.tooltip.offsetWidth >= ((n = this.tooltip.parentElement) == null ? void 0 : n.offsetWidth) && (this.tooltip.style.left = `${t - this.tooltip.offsetWidth}px`);
|
|
45347
45352
|
}
|
|
45348
45353
|
overNode(t) {
|
|
45349
|
-
const n = t.target;
|
|
45350
|
-
this.tooltip.innerText =
|
|
45354
|
+
const n = t.target, r = rde(n.data().label);
|
|
45355
|
+
this.tooltip.innerText = r, this.tooltip.style.left = `${t.renderedPosition.x}px`, this.tooltip.style.top = `${t.renderedPosition.y}px`, this.tooltip.style.maxWidth = "240px", this.tooltip.hidden = !1, this.checkRightBoundary(t.renderedPosition.x);
|
|
45351
45356
|
}
|
|
45352
45357
|
moveNode(t) {
|
|
45353
45358
|
const n = t.target;
|
|
@@ -45366,7 +45371,7 @@ class rde extends EventTarget {
|
|
|
45366
45371
|
this.addEventListener(t, n);
|
|
45367
45372
|
}
|
|
45368
45373
|
}
|
|
45369
|
-
const
|
|
45374
|
+
const ade = 1.3, ide = 24 * 60 * 60 * 1e3, sde = "Reset position", hk = "Lock zoom (to scroll)", lde = "Unlock zoom", ude = "#8300bf", cde = {
|
|
45370
45375
|
name: "ConnectivityGraph",
|
|
45371
45376
|
props: {
|
|
45372
45377
|
/**
|
|
@@ -45391,9 +45396,9 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45391
45396
|
knowledgeByPath: /* @__PURE__ */ new Map(),
|
|
45392
45397
|
labelledTerms: /* @__PURE__ */ new Set(),
|
|
45393
45398
|
labelCache: /* @__PURE__ */ new Map(),
|
|
45394
|
-
resetLabel:
|
|
45399
|
+
resetLabel: sde,
|
|
45395
45400
|
zoomLockLabel: hk,
|
|
45396
|
-
iconColor:
|
|
45401
|
+
iconColor: ude,
|
|
45397
45402
|
zoomEnabled: !1,
|
|
45398
45403
|
errorMessage: ""
|
|
45399
45404
|
};
|
|
@@ -45428,11 +45433,11 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45428
45433
|
(/* @__PURE__ */ new Date()).getTime() > e && this.removeAllCacheData();
|
|
45429
45434
|
},
|
|
45430
45435
|
updateCacheExpiry: function() {
|
|
45431
|
-
const e = (/* @__PURE__ */ new Date()).getTime() +
|
|
45436
|
+
const e = (/* @__PURE__ */ new Date()).getTime() + ide;
|
|
45432
45437
|
sessionStorage.setItem("connectivity-graph-expiry", e);
|
|
45433
45438
|
},
|
|
45434
45439
|
run: async function() {
|
|
45435
|
-
if (this.schemaVersion || (this.schemaVersion = await this.getSchemaVersion(), sessionStorage.setItem("connectivity-graph-schema-version", this.schemaVersion), this.updateCacheExpiry()), this.schemaVersion <
|
|
45440
|
+
if (this.schemaVersion || (this.schemaVersion = await this.getSchemaVersion(), sessionStorage.setItem("connectivity-graph-schema-version", this.schemaVersion), this.updateCacheExpiry()), this.schemaVersion < ade) {
|
|
45436
45441
|
console.warn("No Server!");
|
|
45437
45442
|
return;
|
|
45438
45443
|
}
|
|
@@ -45549,7 +45554,7 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45549
45554
|
* Enable/disable user zoom for scrolling
|
|
45550
45555
|
*/
|
|
45551
45556
|
toggleZoom: function() {
|
|
45552
|
-
this.zoomEnabled = !this.zoomEnabled, this.zoomLockLabel = this.zoomEnabled ?
|
|
45557
|
+
this.zoomEnabled = !this.zoomEnabled, this.zoomLockLabel = this.zoomEnabled ? lde : hk, this.connectivityGraph.enableZoom(!this.zoomEnabled);
|
|
45553
45558
|
},
|
|
45554
45559
|
showErrorMessage: function(e) {
|
|
45555
45560
|
this.errorMessage = e, setTimeout(() => {
|
|
@@ -45557,20 +45562,20 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45557
45562
|
}, 3e3);
|
|
45558
45563
|
}
|
|
45559
45564
|
}
|
|
45560
|
-
},
|
|
45565
|
+
}, dde = { class: "connectivity-graph" }, pde = {
|
|
45561
45566
|
ref: "graphCanvas",
|
|
45562
45567
|
class: "graph-canvas"
|
|
45563
|
-
},
|
|
45568
|
+
}, fde = { class: "control-panel" }, hde = /* @__PURE__ */ a8('<div class="node-key" data-v-66636c8c><div class="key-head" data-v-66636c8c>Node type:</div><div data-v-66636c8c><div data-v-66636c8c><span data-v-66636c8c>Node:</span><span class="key-box" style="background:#80F0F0;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Axon:</span><span class="key-box" style="background:green;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Dendrite:</span><span class="key-box" style="background:red;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Both:</span><span class="key-box" style="background:gray;" data-v-66636c8c></span></div></div></div>', 1), vde = { class: "tools" }, gde = { class: "visually-hidden" }, mde = { class: "visually-hidden" }, yde = {
|
|
45564
45569
|
key: 0,
|
|
45565
45570
|
class: "connectivity-graph-error"
|
|
45566
45571
|
};
|
|
45567
|
-
function
|
|
45572
|
+
function bde(e, t, n, r, o, a) {
|
|
45568
45573
|
const i = XY, s = yr, u = Xp, l = qc, c = uZ, d = dZ, f = dre;
|
|
45569
|
-
return ot((F(), j("div",
|
|
45570
|
-
Z("div",
|
|
45571
|
-
Z("div",
|
|
45572
|
-
|
|
45573
|
-
Z("div",
|
|
45574
|
+
return ot((F(), j("div", dde, [
|
|
45575
|
+
Z("div", pde, null, 512),
|
|
45576
|
+
Z("div", fde, [
|
|
45577
|
+
hde,
|
|
45578
|
+
Z("div", vde, [
|
|
45574
45579
|
Ce(l, {
|
|
45575
45580
|
content: e.resetLabel,
|
|
45576
45581
|
placement: "bottom",
|
|
@@ -45589,7 +45594,7 @@ function yde(e, t, n, r, o, a) {
|
|
|
45589
45594
|
]),
|
|
45590
45595
|
_: 1
|
|
45591
45596
|
}),
|
|
45592
|
-
Z("span",
|
|
45597
|
+
Z("span", gde, Ie(e.resetLabel), 1)
|
|
45593
45598
|
]),
|
|
45594
45599
|
_: 1
|
|
45595
45600
|
}, 8, ["class", "onClick"])
|
|
@@ -45614,7 +45619,7 @@ function yde(e, t, n, r, o, a) {
|
|
|
45614
45619
|
]),
|
|
45615
45620
|
_: 1
|
|
45616
45621
|
}),
|
|
45617
|
-
Z("span",
|
|
45622
|
+
Z("span", mde, Ie(e.zoomLockLabel), 1)
|
|
45618
45623
|
]),
|
|
45619
45624
|
_: 1
|
|
45620
45625
|
}, 8, ["class", "onClick"])
|
|
@@ -45623,12 +45628,12 @@ function yde(e, t, n, r, o, a) {
|
|
|
45623
45628
|
}, 8, ["content"])
|
|
45624
45629
|
])
|
|
45625
45630
|
]),
|
|
45626
|
-
e.errorMessage ? (F(), j("div",
|
|
45631
|
+
e.errorMessage ? (F(), j("div", yde, Ie(e.errorMessage), 1)) : oe("", !0)
|
|
45627
45632
|
])), [
|
|
45628
45633
|
[f, e.loading]
|
|
45629
45634
|
]);
|
|
45630
45635
|
}
|
|
45631
|
-
const
|
|
45636
|
+
const wde = /* @__PURE__ */ FE(cde, [["render", bde], ["__scopeId", "data-v-66636c8c"]]), xde = {
|
|
45632
45637
|
data() {
|
|
45633
45638
|
return {
|
|
45634
45639
|
ElIconView: iC
|
|
@@ -45795,23 +45800,23 @@ const bde = /* @__PURE__ */ FE(ude, [["render", yde], ["__scopeId", "data-v-13b7
|
|
|
45795
45800
|
this.getBanner();
|
|
45796
45801
|
}
|
|
45797
45802
|
}
|
|
45798
|
-
},
|
|
45803
|
+
}, kde = (e) => (Pl("data-v-541a51e6"), e = e(), Fl(), e), Cde = {
|
|
45799
45804
|
class: "dataset-card-container",
|
|
45800
45805
|
ref: "container"
|
|
45801
|
-
},
|
|
45806
|
+
}, Sde = {
|
|
45802
45807
|
class: "dataset-card",
|
|
45803
45808
|
ref: "card"
|
|
45804
|
-
},
|
|
45809
|
+
}, Ede = /* @__PURE__ */ kde(() => /* @__PURE__ */ Z("div", { class: "seperator-path" }, null, -1)), _de = { class: "card" }, Ode = { class: "card-left" }, Tde = { class: "card-right" }, $de = { class: "details" }, Ade = { class: "details" }, Pde = {
|
|
45805
45810
|
key: 0,
|
|
45806
45811
|
class: "details loading-icon"
|
|
45807
|
-
},
|
|
45808
|
-
function
|
|
45812
|
+
}, Fde = { class: "badges-container" }, Ide = { class: "float-button-container" };
|
|
45813
|
+
function Nde(e, t, n, r, o, a) {
|
|
45809
45814
|
const i = lS, s = No, u = m5, l = Et("CopyToClipboard"), c = Pf;
|
|
45810
|
-
return F(), j("div",
|
|
45811
|
-
Z("div",
|
|
45812
|
-
|
|
45813
|
-
ot((F(), j("div",
|
|
45814
|
-
Z("span",
|
|
45815
|
+
return F(), j("div", Cde, [
|
|
45816
|
+
Z("div", Sde, [
|
|
45817
|
+
Ede,
|
|
45818
|
+
ot((F(), j("div", _de, [
|
|
45819
|
+
Z("span", Ode, [
|
|
45815
45820
|
!e.loading && e.discoverId ? (F(), fe(i, {
|
|
45816
45821
|
key: 0,
|
|
45817
45822
|
datasetId: e.discoverId,
|
|
@@ -45826,14 +45831,14 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45826
45831
|
onDatalinkClicked: a.galleryDatalinkClicked
|
|
45827
45832
|
}, null, 8, ["datasetId", "datasetVersion", "entry", "envVars", "label", "datasetThumbnail", "dataset-biolucida", "category", "onCardClicked", "onDatalinkClicked"])) : oe("", !0)
|
|
45828
45833
|
]),
|
|
45829
|
-
Z("div",
|
|
45834
|
+
Z("div", Tde, [
|
|
45830
45835
|
Z("div", {
|
|
45831
45836
|
class: "title",
|
|
45832
45837
|
onClick: t[0] || (t[0] = (...d) => a.cardClicked && a.cardClicked(...d))
|
|
45833
45838
|
}, Ie(n.entry.name), 1),
|
|
45834
|
-
Z("div",
|
|
45835
|
-
Z("div",
|
|
45836
|
-
n.entry.detailsReady ? oe("", !0) : ot((F(), j("div",
|
|
45839
|
+
Z("div", $de, Ie(a.contributors) + " " + Ie(n.entry.publishDate ? `(${a.publishYear})` : ""), 1),
|
|
45840
|
+
Z("div", Ade, Ie(a.samples), 1),
|
|
45841
|
+
n.entry.detailsReady ? oe("", !0) : ot((F(), j("div", Pde, null, 512)), [
|
|
45837
45842
|
[c, !n.entry.detailsReady]
|
|
45838
45843
|
]),
|
|
45839
45844
|
Z("div", null, [
|
|
@@ -45850,14 +45855,14 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45850
45855
|
_: 1
|
|
45851
45856
|
}, 8, ["onClick", "icon"])) : oe("", !0)
|
|
45852
45857
|
]),
|
|
45853
|
-
Z("div",
|
|
45858
|
+
Z("div", Fde, [
|
|
45854
45859
|
Ce(u, {
|
|
45855
45860
|
entry: n.entry,
|
|
45856
45861
|
"dataset-biolucida": e.biolucidaData,
|
|
45857
45862
|
onCategoryChanged: a.categoryChanged
|
|
45858
45863
|
}, null, 8, ["entry", "dataset-biolucida", "onCategoryChanged"])
|
|
45859
45864
|
]),
|
|
45860
|
-
Z("div",
|
|
45865
|
+
Z("div", Ide, [
|
|
45861
45866
|
Ce(l, { content: e.copyContent }, null, 8, ["content"])
|
|
45862
45867
|
])
|
|
45863
45868
|
])
|
|
@@ -45867,11 +45872,11 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45867
45872
|
], 512)
|
|
45868
45873
|
], 512);
|
|
45869
45874
|
}
|
|
45870
|
-
const eO = /* @__PURE__ */ oa(
|
|
45875
|
+
const eO = /* @__PURE__ */ oa(xde, [["render", Nde], ["__scopeId", "data-v-541a51e6"]]), vk = function(e) {
|
|
45871
45876
|
return [...new Set(e.map((t) => JSON.stringify(t)))].map(
|
|
45872
45877
|
(t) => JSON.parse(t)
|
|
45873
45878
|
);
|
|
45874
|
-
},
|
|
45879
|
+
}, Lde = {
|
|
45875
45880
|
name: "SearchHistory",
|
|
45876
45881
|
components: {
|
|
45877
45882
|
Tag: pl,
|
|
@@ -45930,10 +45935,10 @@ const eO = /* @__PURE__ */ oa(wde, [["render", Ide], ["__scopeId", "data-v-541a5
|
|
|
45930
45935
|
this.setSearchHistory(e);
|
|
45931
45936
|
});
|
|
45932
45937
|
}
|
|
45933
|
-
},
|
|
45934
|
-
function
|
|
45938
|
+
}, Rde = { class: "history-container" };
|
|
45939
|
+
function Bde(e, t, n, r, o, a) {
|
|
45935
45940
|
const i = pl, s = Af, u = Ac;
|
|
45936
|
-
return F(), j("div",
|
|
45941
|
+
return F(), j("div", Rde, [
|
|
45937
45942
|
(F(!0), j(ct, null, Ht(a.reversedSearchHistory, (l, c) => (F(), j(ct, null, [
|
|
45938
45943
|
c < 3 ? (F(), fe(i, {
|
|
45939
45944
|
class: "search-tag",
|
|
@@ -45967,12 +45972,12 @@ function Rde(e, t, n, r, o, a) {
|
|
|
45967
45972
|
}, 8, ["model-value", "onChange"])) : oe("", !0)
|
|
45968
45973
|
]);
|
|
45969
45974
|
}
|
|
45970
|
-
const tO = /* @__PURE__ */ oa(
|
|
45975
|
+
const tO = /* @__PURE__ */ oa(Lde, [["render", Bde], ["__scopeId", "data-v-def88150"]]), nO = (e, t) => {
|
|
45971
45976
|
const n = e.__vccOpts || e;
|
|
45972
45977
|
for (const [r, o] of t)
|
|
45973
45978
|
n[r] = o;
|
|
45974
45979
|
return n;
|
|
45975
|
-
},
|
|
45980
|
+
}, Dde = ["xlink:href"], Mde = {
|
|
45976
45981
|
__name: "SvgIcon",
|
|
45977
45982
|
props: {
|
|
45978
45983
|
/**
|
|
@@ -45996,10 +46001,10 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
45996
46001
|
}, [
|
|
45997
46002
|
Z("use", {
|
|
45998
46003
|
"xlink:href": `#${e.icon}`
|
|
45999
|
-
}, null, 8,
|
|
46004
|
+
}, null, 8, Dde)
|
|
46000
46005
|
], 2));
|
|
46001
46006
|
}
|
|
46002
|
-
},
|
|
46007
|
+
}, zde = /* @__PURE__ */ nO(Mde, [["__scopeId", "data-v-e172d5ff"]]), rO = `<?xml version="1.0" encoding="UTF-8"?>
|
|
46003
46008
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
46004
46009
|
<title>2horpanel</title>
|
|
46005
46010
|
<g id="2horpanel" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
@@ -46435,7 +46440,7 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
46435
46440
|
// replace whitespace sequences with a single space
|
|
46436
46441
|
[/\> \</g, "><"]
|
|
46437
46442
|
// remove whitespace between tags
|
|
46438
|
-
].reduce((t, n) => "".replace.apply(t, n), e).trim(),
|
|
46443
|
+
].reduce((t, n) => "".replace.apply(t, n), e).trim(), Vde = !0, jde = !0, Hde = ["fill"], W0 = /* @__PURE__ */ Object.assign({
|
|
46439
46444
|
"/assets/icons/2horpanel.svg": rO,
|
|
46440
46445
|
"/assets/icons/2vertpanel.svg": oO,
|
|
46441
46446
|
"/assets/icons/3panel.svg": aO,
|
|
@@ -46469,11 +46474,11 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
46469
46474
|
"/assets/icons/undock.svg": IO,
|
|
46470
46475
|
"/assets/icons/zoomIn.svg": NO,
|
|
46471
46476
|
"/assets/icons/zoomOut.svg": LO
|
|
46472
|
-
}),
|
|
46473
|
-
const t = RO(W0[e],
|
|
46477
|
+
}), Ude = Object.keys(W0).map((e) => {
|
|
46478
|
+
const t = RO(W0[e], Vde, jde, Hde), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
46474
46479
|
return BO(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
46475
46480
|
});
|
|
46476
|
-
|
|
46481
|
+
Ude.join(`
|
|
46477
46482
|
`);
|
|
46478
46483
|
const G0 = /* @__PURE__ */ Object.assign({
|
|
46479
46484
|
"/assets/icons/2horpanel.svg": rO,
|
|
@@ -46509,25 +46514,25 @@ const G0 = /* @__PURE__ */ Object.assign({
|
|
|
46509
46514
|
"/assets/icons/undock.svg": IO,
|
|
46510
46515
|
"/assets/icons/zoomIn.svg": NO,
|
|
46511
46516
|
"/assets/icons/zoomOut.svg": LO
|
|
46512
|
-
}),
|
|
46517
|
+
}), qde = Object.keys(G0).map((e) => {
|
|
46513
46518
|
const t = RO(G0[e]), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
46514
46519
|
return BO(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
46515
|
-
}),
|
|
46520
|
+
}), Kde = {
|
|
46516
46521
|
name: "MapSvgSpriteColor",
|
|
46517
46522
|
svgContext: G0,
|
|
46518
|
-
svgSprite:
|
|
46523
|
+
svgSprite: qde.join(`
|
|
46519
46524
|
`)
|
|
46520
46525
|
// concatenate all symbols into $options.svgSprite
|
|
46521
|
-
},
|
|
46522
|
-
function
|
|
46526
|
+
}, Wde = ["innerHTML"];
|
|
46527
|
+
function Gde(e, t, n, r, o, a) {
|
|
46523
46528
|
return F(), j("svg", {
|
|
46524
46529
|
width: "0",
|
|
46525
46530
|
height: "0",
|
|
46526
46531
|
style: { display: "none" },
|
|
46527
46532
|
innerHTML: e.$options.svgSprite
|
|
46528
|
-
}, null, 8,
|
|
46533
|
+
}, null, 8, Wde);
|
|
46529
46534
|
}
|
|
46530
|
-
const
|
|
46535
|
+
const Xde = /* @__PURE__ */ nO(Kde, [["render", Gde]]);
|
|
46531
46536
|
var DO = { exports: {} };
|
|
46532
46537
|
/*! algoliasearch.umd.js | 4.23.2 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
|
|
46533
46538
|
(function(e, t) {
|
|
@@ -47605,11 +47610,11 @@ var DO = { exports: {} };
|
|
|
47605
47610
|
return Iy.version = "4.23.2", Iy;
|
|
47606
47611
|
});
|
|
47607
47612
|
})(DO);
|
|
47608
|
-
var
|
|
47609
|
-
const
|
|
47613
|
+
var Yde = DO.exports;
|
|
47614
|
+
const Zde = /* @__PURE__ */ WN(Yde);
|
|
47610
47615
|
class MO {
|
|
47611
47616
|
constructor(t, n, r = "https://api.pennsieve.io") {
|
|
47612
|
-
this.client =
|
|
47617
|
+
this.client = Zde(
|
|
47613
47618
|
t,
|
|
47614
47619
|
n
|
|
47615
47620
|
), this.PENNSIEVE_API_LOCATION = r, this.anatomyFacetLabels = [];
|
|
@@ -47815,7 +47820,7 @@ function gk(e = void 0) {
|
|
|
47815
47820
|
if (e === void 0)
|
|
47816
47821
|
return "NOT item.published.status:embargo";
|
|
47817
47822
|
e.forEach((o) => o.label = o.facet);
|
|
47818
|
-
let t =
|
|
47823
|
+
let t = Jde(e), n = "NOT item.published.status:embargo";
|
|
47819
47824
|
return n = `(${n}) AND `, Ty.map((o) => o.facetPropPath).map((o) => {
|
|
47820
47825
|
let a = t.filter(
|
|
47821
47826
|
(u) => u.facetPropPath == o
|
|
@@ -47826,7 +47831,7 @@ function gk(e = void 0) {
|
|
|
47826
47831
|
}), !(i == "" && s == "") && (i = `(${i.substring(0, i.lastIndexOf(" OR "))})`, n += `${i + s} AND `, n = n.split("()AND ").join(""));
|
|
47827
47832
|
}), n.substring(0, n.lastIndexOf(" AND "));
|
|
47828
47833
|
}
|
|
47829
|
-
function
|
|
47834
|
+
function Jde(e) {
|
|
47830
47835
|
return e.filter((t) => t.label !== "Show all");
|
|
47831
47836
|
}
|
|
47832
47837
|
const lf = function(e) {
|
|
@@ -47834,11 +47839,11 @@ const lf = function(e) {
|
|
|
47834
47839
|
}, Fv = function(e) {
|
|
47835
47840
|
const t = e.toLowerCase();
|
|
47836
47841
|
return Vp[t] ? lf(Vp[t]) : lf(t);
|
|
47837
|
-
},
|
|
47842
|
+
}, Qde = {
|
|
47838
47843
|
name: "SearchFilters",
|
|
47839
47844
|
components: {
|
|
47840
|
-
MapSvgIcon:
|
|
47841
|
-
MapSvgSpriteColor:
|
|
47845
|
+
MapSvgIcon: zde,
|
|
47846
|
+
MapSvgSpriteColor: Xde,
|
|
47842
47847
|
Option: Af,
|
|
47843
47848
|
Select: Ac,
|
|
47844
47849
|
Popover: Kg,
|
|
@@ -48204,13 +48209,13 @@ const lf = function(e) {
|
|
|
48204
48209
|
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady");
|
|
48205
48210
|
});
|
|
48206
48211
|
}
|
|
48207
|
-
},
|
|
48212
|
+
}, epe = (e) => (Pl("data-v-88a79b0f"), e = e(), Fl(), e), tpe = { class: "filters" }, npe = {
|
|
48208
48213
|
key: 0,
|
|
48209
48214
|
class: "cascader-tag"
|
|
48210
|
-
},
|
|
48215
|
+
}, rpe = { class: "el-tags-container" }, ope = { class: "el-tags-container" }, ape = { class: "search-filters transition-box" }, ipe = {
|
|
48211
48216
|
key: 0,
|
|
48212
48217
|
class: "filter-default-value"
|
|
48213
|
-
},
|
|
48218
|
+
}, spe = /* @__PURE__ */ epe(() => /* @__PURE__ */ Z("div", null, [
|
|
48214
48219
|
/* @__PURE__ */ Z("strong", null, "Within categories:"),
|
|
48215
48220
|
/* @__PURE__ */ pt(" OR "),
|
|
48216
48221
|
/* @__PURE__ */ Z("br"),
|
|
@@ -48221,12 +48226,12 @@ const lf = function(e) {
|
|
|
48221
48226
|
/* @__PURE__ */ pt(" AND "),
|
|
48222
48227
|
/* @__PURE__ */ Z("br"),
|
|
48223
48228
|
/* @__PURE__ */ pt(" example: 'rat' AND 'lung' ")
|
|
48224
|
-
], -1)),
|
|
48225
|
-
function
|
|
48229
|
+
], -1)), lpe = { class: "dataset-shown" }, upe = { class: "dataset-results-feedback" };
|
|
48230
|
+
function cpe(e, t, n, r, o, a) {
|
|
48226
48231
|
const i = Et("MapSvgSpriteColor"), s = pl, u = Kg, l = l5, c = Et("MapSvgIcon"), d = Af, f = Ac, h = Pf;
|
|
48227
|
-
return F(), j("div",
|
|
48232
|
+
return F(), j("div", tpe, [
|
|
48228
48233
|
Ce(i),
|
|
48229
|
-
e.presentTags.length > 0 ? (F(), j("div",
|
|
48234
|
+
e.presentTags.length > 0 ? (F(), j("div", npe, [
|
|
48230
48235
|
Ce(s, {
|
|
48231
48236
|
class: "ml-2",
|
|
48232
48237
|
type: "info",
|
|
@@ -48245,7 +48250,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48245
48250
|
trigger: "hover"
|
|
48246
48251
|
}, {
|
|
48247
48252
|
default: ee(() => [
|
|
48248
|
-
Z("div",
|
|
48253
|
+
Z("div", rpe, [
|
|
48249
48254
|
(F(!0), j(ct, null, Ht(e.presentTags.slice(1), (p, v) => (F(), fe(s, {
|
|
48250
48255
|
key: v,
|
|
48251
48256
|
class: "ml-2",
|
|
@@ -48261,7 +48266,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48261
48266
|
])
|
|
48262
48267
|
]),
|
|
48263
48268
|
reference: ee(() => [
|
|
48264
|
-
Z("div",
|
|
48269
|
+
Z("div", ope, [
|
|
48265
48270
|
e.presentTags.length > 1 ? (F(), fe(s, {
|
|
48266
48271
|
key: 0,
|
|
48267
48272
|
class: "ml-2",
|
|
@@ -48279,7 +48284,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48279
48284
|
])) : oe("", !0),
|
|
48280
48285
|
Ce(Wr, { name: "el-zoom-in-top" }, {
|
|
48281
48286
|
default: ee(() => [
|
|
48282
|
-
ot((F(), j("span",
|
|
48287
|
+
ot((F(), j("span", ape, [
|
|
48283
48288
|
Ce(l, {
|
|
48284
48289
|
class: "cascader",
|
|
48285
48290
|
ref: "cascader",
|
|
@@ -48296,7 +48301,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48296
48301
|
"show-all-levels": !0,
|
|
48297
48302
|
"popper-class": "sidebar-cascader-popper"
|
|
48298
48303
|
}, null, 8, ["modelValue", "options", "props", "onExpandChange"]),
|
|
48299
|
-
e.showFiltersText ? (F(), j("div",
|
|
48304
|
+
e.showFiltersText ? (F(), j("div", ipe, "Filters")) : oe("", !0),
|
|
48300
48305
|
Ce(u, {
|
|
48301
48306
|
title: "How do filters work?",
|
|
48302
48307
|
width: "250",
|
|
@@ -48311,7 +48316,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48311
48316
|
})
|
|
48312
48317
|
]),
|
|
48313
48318
|
default: ee(() => [
|
|
48314
|
-
|
|
48319
|
+
spe
|
|
48315
48320
|
]),
|
|
48316
48321
|
_: 1
|
|
48317
48322
|
})
|
|
@@ -48322,8 +48327,8 @@ function upe(e, t, n, r, o, a) {
|
|
|
48322
48327
|
]),
|
|
48323
48328
|
_: 1
|
|
48324
48329
|
}),
|
|
48325
|
-
Z("div",
|
|
48326
|
-
Z("span",
|
|
48330
|
+
Z("div", lpe, [
|
|
48331
|
+
Z("span", upe, Ie(a.numberOfResultsText), 1),
|
|
48327
48332
|
Ce(f, {
|
|
48328
48333
|
class: "number-shown-select",
|
|
48329
48334
|
modelValue: e.numberShown,
|
|
@@ -48343,14 +48348,14 @@ function upe(e, t, n, r, o, a) {
|
|
|
48343
48348
|
])
|
|
48344
48349
|
]);
|
|
48345
48350
|
}
|
|
48346
|
-
const zO = /* @__PURE__ */ oa(
|
|
48347
|
-
var
|
|
48351
|
+
const zO = /* @__PURE__ */ oa(Qde, [["render", cpe], ["__scopeId", "data-v-88a79b0f"]]);
|
|
48352
|
+
var dpe = async function(e) {
|
|
48348
48353
|
if (!e.ok) {
|
|
48349
48354
|
let t = await e.json();
|
|
48350
48355
|
throw t ? new Error(t.message) : new Error(e);
|
|
48351
48356
|
}
|
|
48352
48357
|
return e;
|
|
48353
|
-
},
|
|
48358
|
+
}, ppe = {
|
|
48354
48359
|
searchInput: "",
|
|
48355
48360
|
lastSearch: "",
|
|
48356
48361
|
results: [],
|
|
@@ -48364,7 +48369,7 @@ var cpe = async function(e) {
|
|
|
48364
48369
|
hasSearched: !1,
|
|
48365
48370
|
contextCardEnabled: !1
|
|
48366
48371
|
};
|
|
48367
|
-
const
|
|
48372
|
+
const fpe = {
|
|
48368
48373
|
components: {
|
|
48369
48374
|
SearchFilters: zO,
|
|
48370
48375
|
DatasetCard: eO,
|
|
@@ -48388,7 +48393,7 @@ const ppe = {
|
|
|
48388
48393
|
},
|
|
48389
48394
|
entry: {
|
|
48390
48395
|
type: Object,
|
|
48391
|
-
default: () =>
|
|
48396
|
+
default: () => ppe
|
|
48392
48397
|
},
|
|
48393
48398
|
envVars: {
|
|
48394
48399
|
type: Object,
|
|
@@ -48541,7 +48546,7 @@ const ppe = {
|
|
|
48541
48546
|
callSciCrunch: function(e, t = {}, n) {
|
|
48542
48547
|
return new Promise((r, o) => {
|
|
48543
48548
|
let a = this.envVars.API_LOCATION + this.searchEndpoint + "?" + this.createfilterParams(t);
|
|
48544
|
-
fetch(a, { signal: n }).then(
|
|
48549
|
+
fetch(a, { signal: n }).then(dpe).then((i) => i.json()).then((i) => r(i)).catch((i) => o(i));
|
|
48545
48550
|
});
|
|
48546
48551
|
},
|
|
48547
48552
|
getAlgoliaFacets: async function() {
|
|
@@ -48563,21 +48568,21 @@ const ppe = {
|
|
|
48563
48568
|
created: function() {
|
|
48564
48569
|
this.searchEndpoint = "dataset_info/using_multiple_dois/";
|
|
48565
48570
|
}
|
|
48566
|
-
},
|
|
48571
|
+
}, hpe = { class: "header" }, vpe = {
|
|
48567
48572
|
class: "content scrollbar",
|
|
48568
48573
|
ref: "content"
|
|
48569
|
-
},
|
|
48574
|
+
}, gpe = {
|
|
48570
48575
|
key: 0,
|
|
48571
48576
|
class: "error-feedback"
|
|
48572
48577
|
};
|
|
48573
|
-
function
|
|
48578
|
+
function mpe(e, t, n, r, o, a) {
|
|
48574
48579
|
const i = Of, s = No, u = zO, l = tO, c = eO, d = g5, f = XC, h = Pf;
|
|
48575
48580
|
return F(), fe(f, {
|
|
48576
48581
|
"body-style": e.bodyStyle,
|
|
48577
48582
|
class: "content-card"
|
|
48578
48583
|
}, {
|
|
48579
48584
|
header: ee(() => [
|
|
48580
|
-
Z("div",
|
|
48585
|
+
Z("div", hpe, [
|
|
48581
48586
|
Ce(i, {
|
|
48582
48587
|
class: "search-input",
|
|
48583
48588
|
placeholder: "Search",
|
|
@@ -48615,8 +48620,8 @@ function gpe(e, t, n, r, o, a) {
|
|
|
48615
48620
|
ref: "searchHistory",
|
|
48616
48621
|
onSearch: a.searchHistorySearch
|
|
48617
48622
|
}, null, 8, ["onSearch"]),
|
|
48618
|
-
ot((F(), j("div",
|
|
48619
|
-
e.results.length === 0 && !e.loadingCards ? (F(), j("div",
|
|
48623
|
+
ot((F(), j("div", vpe, [
|
|
48624
|
+
e.results.length === 0 && !e.loadingCards ? (F(), j("div", gpe, " No results found - Please change your search / filter criteria. ")) : oe("", !0),
|
|
48620
48625
|
(F(!0), j(ct, null, Ht(e.results, (p) => (F(), j("div", {
|
|
48621
48626
|
key: p.doi,
|
|
48622
48627
|
class: "step-item"
|
|
@@ -48647,7 +48652,7 @@ function gpe(e, t, n, r, o, a) {
|
|
|
48647
48652
|
_: 1
|
|
48648
48653
|
}, 8, ["body-style"]);
|
|
48649
48654
|
}
|
|
48650
|
-
const VO = /* @__PURE__ */ oa(
|
|
48655
|
+
const VO = /* @__PURE__ */ oa(fpe, [["render", mpe], ["__scopeId", "data-v-7574b21a"]]), ype = {
|
|
48651
48656
|
name: "ExternalResourceCard",
|
|
48652
48657
|
components: {
|
|
48653
48658
|
Button: No
|
|
@@ -48673,10 +48678,10 @@ const VO = /* @__PURE__ */ oa(ppe, [["render", gpe], ["__scopeId", "data-v-7574b
|
|
|
48673
48678
|
Sn.emit("open-pubmed-url", e), window.open(e, "_blank");
|
|
48674
48679
|
}
|
|
48675
48680
|
}
|
|
48676
|
-
},
|
|
48677
|
-
function
|
|
48681
|
+
}, bpe = { class: "resource-container" };
|
|
48682
|
+
function wpe(e, t, n, r, o, a) {
|
|
48678
48683
|
const i = No;
|
|
48679
|
-
return F(), j("div",
|
|
48684
|
+
return F(), j("div", bpe, [
|
|
48680
48685
|
(F(!0), j(ct, null, Ht(n.resources, (s) => (F(), j("div", {
|
|
48681
48686
|
key: s.id,
|
|
48682
48687
|
class: "resource"
|
|
@@ -48696,9 +48701,9 @@ function bpe(e, t, n, r, o, a) {
|
|
|
48696
48701
|
]))), 128))
|
|
48697
48702
|
]);
|
|
48698
48703
|
}
|
|
48699
|
-
const jO = /* @__PURE__ */ oa(
|
|
48704
|
+
const jO = /* @__PURE__ */ oa(ype, [["render", wpe], ["__scopeId", "data-v-e726c314"]]), xpe = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), Kd = function(e) {
|
|
48700
48705
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
48701
|
-
},
|
|
48706
|
+
}, kpe = {
|
|
48702
48707
|
name: "ConnectivityInfo",
|
|
48703
48708
|
components: {
|
|
48704
48709
|
Button: No,
|
|
@@ -48709,7 +48714,7 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48709
48714
|
ElIconWarning: sC,
|
|
48710
48715
|
ExternalResourceCard: jO,
|
|
48711
48716
|
CopyToClipboard: h4,
|
|
48712
|
-
ConnectivityGraph:
|
|
48717
|
+
ConnectivityGraph: wde
|
|
48713
48718
|
},
|
|
48714
48719
|
props: {
|
|
48715
48720
|
entry: {
|
|
@@ -48781,7 +48786,7 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48781
48786
|
},
|
|
48782
48787
|
methods: {
|
|
48783
48788
|
titleCase: function(e) {
|
|
48784
|
-
return
|
|
48789
|
+
return xpe(e);
|
|
48785
48790
|
},
|
|
48786
48791
|
capitalise: function(e) {
|
|
48787
48792
|
return Kd(e);
|
|
@@ -48890,54 +48895,54 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48890
48895
|
t && t.showErrorMessage(e);
|
|
48891
48896
|
});
|
|
48892
48897
|
}
|
|
48893
|
-
}, As = (e) => (Pl("data-v-d8d97d65"), e = e(), Fl(), e),
|
|
48898
|
+
}, As = (e) => (Pl("data-v-d8d97d65"), e = e(), Fl(), e), Cpe = {
|
|
48894
48899
|
key: 0,
|
|
48895
48900
|
class: "main"
|
|
48896
|
-
},
|
|
48901
|
+
}, Spe = { class: "connectivity-info-title" }, Epe = {
|
|
48897
48902
|
key: 0,
|
|
48898
48903
|
class: "block"
|
|
48899
|
-
},
|
|
48904
|
+
}, _pe = { class: "title" }, Ope = { style: { "word-break": "keep-all" } }, Tpe = {
|
|
48900
48905
|
key: 0,
|
|
48901
48906
|
class: "subtitle"
|
|
48902
|
-
},
|
|
48907
|
+
}, $pe = {
|
|
48903
48908
|
key: 1,
|
|
48904
48909
|
class: "block"
|
|
48905
|
-
},
|
|
48910
|
+
}, Ape = { class: "title" }, Ppe = {
|
|
48906
48911
|
key: 2,
|
|
48907
48912
|
class: "block"
|
|
48908
|
-
},
|
|
48913
|
+
}, Fpe = { class: "block" }, Ipe = { class: "title-buttons" }, Npe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", null, " Show connectivity on map ", -1)), Lpe = { class: "content-container" }, Rpe = {
|
|
48909
48914
|
key: 0,
|
|
48910
48915
|
class: "block"
|
|
48911
|
-
},
|
|
48916
|
+
}, Bpe = { class: "attribute-title-container" }, Dpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { class: "attribute-title" }, "Origin", -1)), Mpe = { style: { "word-break": "keep-all" } }, zpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("i", null, "Origin", -1)), Vpe = ["origin-item-label"], jpe = {
|
|
48912
48917
|
key: 0,
|
|
48913
48918
|
class: "seperator"
|
|
48914
|
-
},
|
|
48919
|
+
}, Hpe = {
|
|
48915
48920
|
key: 1,
|
|
48916
48921
|
class: "block"
|
|
48917
|
-
},
|
|
48922
|
+
}, Upe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("div", { class: "attribute-title-container" }, [
|
|
48918
48923
|
/* @__PURE__ */ Z("div", { class: "attribute-title" }, "Components")
|
|
48919
|
-
], -1)),
|
|
48924
|
+
], -1)), qpe = ["component-item-label"], Kpe = {
|
|
48920
48925
|
key: 0,
|
|
48921
48926
|
class: "seperator"
|
|
48922
|
-
},
|
|
48927
|
+
}, Wpe = {
|
|
48923
48928
|
key: 2,
|
|
48924
48929
|
class: "block"
|
|
48925
|
-
},
|
|
48930
|
+
}, Gpe = { class: "attribute-title-container" }, Xpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { class: "attribute-title" }, "Destination", -1)), Ype = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { style: { "word-break": "keep-all" } }, [
|
|
48926
48931
|
/* @__PURE__ */ Z("i", null, "Destination"),
|
|
48927
48932
|
/* @__PURE__ */ pt(" is where the axons terminate ")
|
|
48928
|
-
], -1)),
|
|
48933
|
+
], -1)), Zpe = ["destination-item-label"], Jpe = {
|
|
48929
48934
|
key: 0,
|
|
48930
48935
|
class: "seperator"
|
|
48931
|
-
},
|
|
48936
|
+
}, Qpe = { class: "block" }, efe = { class: "content-container" }, tfe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("div", { class: "attribute-title-container" }, [
|
|
48932
48937
|
/* @__PURE__ */ Z("span", { class: "attribute-title" }, "Connectivity Graph")
|
|
48933
48938
|
], -1));
|
|
48934
|
-
function
|
|
48939
|
+
function nfe(e, t, n, r, o, a) {
|
|
48935
48940
|
const i = dF, s = un, u = Kg, l = jO, c = No, d = aF, f = Et("CopyToClipboard"), h = sC, p = Et("connectivity-graph"), v = Pf;
|
|
48936
|
-
return n.entry ? ot((F(), j("div",
|
|
48937
|
-
Z("div",
|
|
48941
|
+
return n.entry ? ot((F(), j("div", Cpe, [
|
|
48942
|
+
Z("div", Spe, [
|
|
48938
48943
|
Z("div", null, [
|
|
48939
|
-
n.entry.title ? (F(), j("div",
|
|
48940
|
-
Z("div",
|
|
48944
|
+
n.entry.title ? (F(), j("div", Epe, [
|
|
48945
|
+
Z("div", _pe, [
|
|
48941
48946
|
pt(Ie(a.capitalise(n.entry.title)) + " ", 1),
|
|
48942
48947
|
n.entry.featuresAlert ? (F(), fe(u, {
|
|
48943
48948
|
key: 0,
|
|
@@ -48955,19 +48960,19 @@ function tfe(e, t, n, r, o, a) {
|
|
|
48955
48960
|
})
|
|
48956
48961
|
]),
|
|
48957
48962
|
default: ee(() => [
|
|
48958
|
-
Z("span",
|
|
48963
|
+
Z("span", Ope, Ie(n.entry.featuresAlert), 1)
|
|
48959
48964
|
]),
|
|
48960
48965
|
_: 1
|
|
48961
48966
|
})) : oe("", !0)
|
|
48962
48967
|
]),
|
|
48963
|
-
n.entry.provenanceTaxonomyLabel && n.entry.provenanceTaxonomyLabel.length > 0 ? (F(), j("div",
|
|
48964
|
-
])) : (F(), j("div",
|
|
48965
|
-
Z("div",
|
|
48968
|
+
n.entry.provenanceTaxonomyLabel && n.entry.provenanceTaxonomyLabel.length > 0 ? (F(), j("div", Tpe, Ie(a.provSpeciesDescription), 1)) : oe("", !0)
|
|
48969
|
+
])) : (F(), j("div", $pe, [
|
|
48970
|
+
Z("div", Ape, Ie(n.entry.featureId), 1)
|
|
48966
48971
|
])),
|
|
48967
|
-
a.resources.length ? (F(), j("div",
|
|
48972
|
+
a.resources.length ? (F(), j("div", Ppe, [
|
|
48968
48973
|
Ce(l, { resources: a.resources }, null, 8, ["resources"])
|
|
48969
48974
|
])) : oe("", !0),
|
|
48970
|
-
Z("div",
|
|
48975
|
+
Z("div", Fpe, [
|
|
48971
48976
|
Ce(c, {
|
|
48972
48977
|
class: "button",
|
|
48973
48978
|
onClick: t[0] || (t[0] = (m) => a.goToConnectivityGraph())
|
|
@@ -48979,7 +48984,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
48979
48984
|
})
|
|
48980
48985
|
])
|
|
48981
48986
|
]),
|
|
48982
|
-
Z("div",
|
|
48987
|
+
Z("div", Ipe, [
|
|
48983
48988
|
Ce(u, {
|
|
48984
48989
|
width: "auto",
|
|
48985
48990
|
trigger: "hover",
|
|
@@ -49004,18 +49009,18 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49004
49009
|
})
|
|
49005
49010
|
]),
|
|
49006
49011
|
default: ee(() => [
|
|
49007
|
-
|
|
49012
|
+
Npe
|
|
49008
49013
|
]),
|
|
49009
49014
|
_: 1
|
|
49010
49015
|
}),
|
|
49011
49016
|
Ce(f, { content: a.updatedCopyContent }, null, 8, ["content"])
|
|
49012
49017
|
])
|
|
49013
49018
|
]),
|
|
49014
|
-
Z("div",
|
|
49019
|
+
Z("div", Lpe, [
|
|
49015
49020
|
pt(Ie(n.entry.paths) + " ", 1),
|
|
49016
|
-
n.entry.origins && n.entry.origins.length > 0 ? (F(), j("div",
|
|
49017
|
-
Z("div",
|
|
49018
|
-
|
|
49021
|
+
n.entry.origins && n.entry.origins.length > 0 ? (F(), j("div", Rpe, [
|
|
49022
|
+
Z("div", Bpe, [
|
|
49023
|
+
Dpe,
|
|
49019
49024
|
Ce(u, {
|
|
49020
49025
|
width: "250",
|
|
49021
49026
|
trigger: "hover",
|
|
@@ -49031,8 +49036,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49031
49036
|
})
|
|
49032
49037
|
]),
|
|
49033
49038
|
default: ee(() => [
|
|
49034
|
-
Z("span",
|
|
49035
|
-
|
|
49039
|
+
Z("span", Mpe, [
|
|
49040
|
+
zpe,
|
|
49036
49041
|
pt(" " + Ie(a.originDescription), 1)
|
|
49037
49042
|
])
|
|
49038
49043
|
]),
|
|
@@ -49045,8 +49050,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49045
49050
|
key: m
|
|
49046
49051
|
}, [
|
|
49047
49052
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49048
|
-
g != n.entry.origins.length - 1 ? (F(), j("div",
|
|
49049
|
-
], 8,
|
|
49053
|
+
g != n.entry.origins.length - 1 ? (F(), j("div", jpe)) : oe("", !0)
|
|
49054
|
+
], 8, Vpe))), 128)),
|
|
49050
49055
|
ot(Ce(c, {
|
|
49051
49056
|
class: "button",
|
|
49052
49057
|
id: "open-dendrites-button",
|
|
@@ -49063,20 +49068,20 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49063
49068
|
]
|
|
49064
49069
|
])
|
|
49065
49070
|
])) : oe("", !0),
|
|
49066
|
-
n.entry.components && n.entry.components.length > 0 ? (F(), j("div",
|
|
49067
|
-
|
|
49071
|
+
n.entry.components && n.entry.components.length > 0 ? (F(), j("div", Hpe, [
|
|
49072
|
+
Upe,
|
|
49068
49073
|
(F(!0), j(ct, null, Ht(n.entry.components, (m, g) => (F(), j("div", {
|
|
49069
49074
|
class: "attribute-content",
|
|
49070
49075
|
"component-item-label": m,
|
|
49071
49076
|
key: m
|
|
49072
49077
|
}, [
|
|
49073
49078
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49074
|
-
g != n.entry.components.length - 1 ? (F(), j("div",
|
|
49075
|
-
], 8,
|
|
49079
|
+
g != n.entry.components.length - 1 ? (F(), j("div", Kpe)) : oe("", !0)
|
|
49080
|
+
], 8, qpe))), 128))
|
|
49076
49081
|
])) : oe("", !0),
|
|
49077
|
-
n.entry.destinations && n.entry.destinations.length > 0 ? (F(), j("div",
|
|
49078
|
-
Z("div",
|
|
49079
|
-
|
|
49082
|
+
n.entry.destinations && n.entry.destinations.length > 0 ? (F(), j("div", Wpe, [
|
|
49083
|
+
Z("div", Gpe, [
|
|
49084
|
+
Xpe,
|
|
49080
49085
|
Ce(u, {
|
|
49081
49086
|
width: "250",
|
|
49082
49087
|
trigger: "hover",
|
|
@@ -49092,7 +49097,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49092
49097
|
})
|
|
49093
49098
|
]),
|
|
49094
49099
|
default: ee(() => [
|
|
49095
|
-
|
|
49100
|
+
Ype
|
|
49096
49101
|
]),
|
|
49097
49102
|
_: 1
|
|
49098
49103
|
})
|
|
@@ -49103,8 +49108,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49103
49108
|
key: m
|
|
49104
49109
|
}, [
|
|
49105
49110
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49106
|
-
g != n.entry.destinations.length - 1 ? (F(), j("div",
|
|
49107
|
-
], 8,
|
|
49111
|
+
g != n.entry.destinations.length - 1 ? (F(), j("div", Jpe)) : oe("", !0)
|
|
49112
|
+
], 8, Zpe))), 128)),
|
|
49108
49113
|
ot(Ce(c, {
|
|
49109
49114
|
class: "button",
|
|
49110
49115
|
onClick: a.openAxons
|
|
@@ -49120,7 +49125,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49120
49125
|
]
|
|
49121
49126
|
])
|
|
49122
49127
|
])) : oe("", !0),
|
|
49123
|
-
ot(Z("div",
|
|
49128
|
+
ot(Z("div", Qpe, [
|
|
49124
49129
|
Ce(c, {
|
|
49125
49130
|
class: "button",
|
|
49126
49131
|
onClick: a.openAll
|
|
@@ -49137,8 +49142,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49137
49142
|
]
|
|
49138
49143
|
])
|
|
49139
49144
|
]),
|
|
49140
|
-
Z("div",
|
|
49141
|
-
|
|
49145
|
+
Z("div", efe, [
|
|
49146
|
+
tfe,
|
|
49142
49147
|
Ce(p, {
|
|
49143
49148
|
entry: n.entry.featureId[0],
|
|
49144
49149
|
mapServer: n.envVars.FLATMAPAPI_LOCATION,
|
|
@@ -49150,7 +49155,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49150
49155
|
[v, e.loading]
|
|
49151
49156
|
]) : oe("", !0);
|
|
49152
49157
|
}
|
|
49153
|
-
const HO = /* @__PURE__ */ oa(
|
|
49158
|
+
const HO = /* @__PURE__ */ oa(kpe, [["render", nfe], ["__scopeId", "data-v-d8d97d65"]]), rfe = {
|
|
49154
49159
|
name: "Tabs",
|
|
49155
49160
|
props: {
|
|
49156
49161
|
tabTitles: {
|
|
@@ -49170,10 +49175,10 @@ const HO = /* @__PURE__ */ oa(xpe, [["render", tfe], ["__scopeId", "data-v-d8d97
|
|
|
49170
49175
|
this.$emit("tab-close", e);
|
|
49171
49176
|
}
|
|
49172
49177
|
}
|
|
49173
|
-
},
|
|
49174
|
-
function
|
|
49178
|
+
}, ofe = (e) => (Pl("data-v-ed1ce6dc"), e = e(), Fl(), e), afe = { class: "tab-container" }, ife = ["onClick"], sfe = { class: "title-text" }, lfe = /* @__PURE__ */ ofe(() => /* @__PURE__ */ Z("span", { class: "visually-hidden" }, "Close", -1));
|
|
49179
|
+
function ufe(e, t, n, r, o, a) {
|
|
49175
49180
|
const i = No;
|
|
49176
|
-
return F(), j("div",
|
|
49181
|
+
return F(), j("div", afe, [
|
|
49177
49182
|
(F(!0), j(ct, null, Ht(n.tabTitles, (s) => (F(), j("div", {
|
|
49178
49183
|
class: W(["title", { "active-tab": s.id == n.activeId }]),
|
|
49179
49184
|
key: s.id
|
|
@@ -49182,8 +49187,8 @@ function lfe(e, t, n, r, o, a) {
|
|
|
49182
49187
|
class: W(["title-text-table", { highlightText: s.id == n.activeId }]),
|
|
49183
49188
|
onClick: (u) => a.titleClicked(s.id, s.type)
|
|
49184
49189
|
}, [
|
|
49185
|
-
Z("div",
|
|
49186
|
-
], 10,
|
|
49190
|
+
Z("div", sfe, Ie(s.title), 1)
|
|
49191
|
+
], 10, ife),
|
|
49187
49192
|
s.id > 1 ? (F(), fe(i, {
|
|
49188
49193
|
key: 0,
|
|
49189
49194
|
onClick: (u) => a.tabClose(s.id),
|
|
@@ -49192,14 +49197,14 @@ function lfe(e, t, n, r, o, a) {
|
|
|
49192
49197
|
}, {
|
|
49193
49198
|
default: ee(() => [
|
|
49194
49199
|
pt(" × "),
|
|
49195
|
-
|
|
49200
|
+
lfe
|
|
49196
49201
|
]),
|
|
49197
49202
|
_: 2
|
|
49198
49203
|
}, 1032, ["onClick"])) : oe("", !0)
|
|
49199
49204
|
], 2))), 128))
|
|
49200
49205
|
]);
|
|
49201
49206
|
}
|
|
49202
|
-
const UO = /* @__PURE__ */ oa(
|
|
49207
|
+
const UO = /* @__PURE__ */ oa(rfe, [["render", ufe], ["__scopeId", "data-v-ed1ce6dc"]]), cfe = {
|
|
49203
49208
|
components: {
|
|
49204
49209
|
SidebarContent: VO,
|
|
49205
49210
|
Tabs: UO,
|
|
@@ -49403,10 +49408,10 @@ const UO = /* @__PURE__ */ oa(nfe, [["render", lfe], ["__scopeId", "data-v-ed1ce
|
|
|
49403
49408
|
this.availableAnatomyFacets = e.find((t) => t.label === "Anatomical Structure").children;
|
|
49404
49409
|
});
|
|
49405
49410
|
}
|
|
49406
|
-
},
|
|
49407
|
-
function
|
|
49411
|
+
}, dfe = { ref: "container" }, pfe = { class: "box-card" }, ffe = { class: "sidebar-container" };
|
|
49412
|
+
function hfe(e, t, n, r, o, a) {
|
|
49408
49413
|
const i = kg, s = un, u = wf, l = UO, c = HO, d = VO, f = Hg;
|
|
49409
|
-
return F(), j("div",
|
|
49414
|
+
return F(), j("div", dfe, [
|
|
49410
49415
|
e.drawerOpen ? oe("", !0) : (F(), j("div", {
|
|
49411
49416
|
key: 0,
|
|
49412
49417
|
onClick: t[0] || (t[0] = (...h) => a.toggleDrawer && a.toggleDrawer(...h)),
|
|
@@ -49434,7 +49439,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49434
49439
|
"lock-scroll": !1
|
|
49435
49440
|
}, {
|
|
49436
49441
|
default: ee(() => [
|
|
49437
|
-
Z("div",
|
|
49442
|
+
Z("div", pfe, [
|
|
49438
49443
|
e.drawerOpen ? (F(), j("div", {
|
|
49439
49444
|
key: 0,
|
|
49440
49445
|
onClick: t[1] || (t[1] = (...h) => a.close && a.close(...h)),
|
|
@@ -49447,7 +49452,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49447
49452
|
_: 1
|
|
49448
49453
|
})
|
|
49449
49454
|
])) : oe("", !0),
|
|
49450
|
-
Z("div",
|
|
49455
|
+
Z("div", ffe, [
|
|
49451
49456
|
n.tabs.length > 1 && n.connectivityInfo ? (F(), fe(l, {
|
|
49452
49457
|
key: 0,
|
|
49453
49458
|
tabTitles: n.tabs,
|
|
@@ -49487,7 +49492,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49487
49492
|
}, 8, ["modelValue"])
|
|
49488
49493
|
], 512);
|
|
49489
49494
|
}
|
|
49490
|
-
const
|
|
49495
|
+
const mfe = /* @__PURE__ */ oa(cfe, [["render", hfe], ["__scopeId", "data-v-d9b833f7"]]);
|
|
49491
49496
|
export {
|
|
49492
|
-
|
|
49497
|
+
mfe as SideBar
|
|
49493
49498
|
};
|