@abi-software/map-side-bar 2.10.0-beta.2 → 2.10.0-beta.3
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
CHANGED
|
@@ -22428,7 +22428,7 @@ const hi = function(e) {
|
|
|
22428
22428
|
}), this.cascaderTags = {}, this.cascaderTagsClone = {}, this.presentTags = [], e.map((t) => {
|
|
22429
22429
|
const { facet: n, facet2: r, term: o, tagLabel: a, facetPropPath: s } = t;
|
|
22430
22430
|
let i = n, l = "";
|
|
22431
|
-
s && s.includes("flatmap.connectivity.source.") && a && (i = a, l = o.charAt(0)), this.correctnessCheck.term.has(o) && this.correctnessCheck.facet.has(i) && (r ? this.correctnessCheck.facet2.has(r) && (o in this.cascaderTags ? n in this.cascaderTags[o] ? (this.cascaderTags[o][n].push(r), this.cascaderTagsClone[o][n].push(r)) : (this.cascaderTags[o][n] = [r], this.cascaderTagsClone[o][n] = [r]) : (this.cascaderTags[o] = {}, this.cascaderTags[o][n] = [r], this.cascaderTagsClone[o] = {}, this.cascaderTagsClone[o][n] = [r])) : o in this.cascaderTags &&
|
|
22431
|
+
s && s.includes("flatmap.connectivity.source.") && a && (i = a, l = o.charAt(0)), this.correctnessCheck.term.has(o) && this.correctnessCheck.facet.has(i) && (r ? this.correctnessCheck.facet2.has(r) && (o in this.cascaderTags ? n in this.cascaderTags[o] ? (this.cascaderTags[o][n].push(r), this.cascaderTagsClone[o][n].push(r)) : (this.cascaderTags[o][n] = [r], this.cascaderTagsClone[o][n] = [r]) : (this.cascaderTags[o] = {}, this.cascaderTags[o][n] = [r], this.cascaderTagsClone[o] = {}, this.cascaderTagsClone[o][n] = [r])) : o in this.cascaderTags && !["Anatomical structure", "Nerves"].includes(o) ? (this.cascaderTags[o].push(i), l ? this.cascaderTagsClone[o].push(l + ":" + i) : this.cascaderTagsClone[o].push(i)) : n.toLowerCase() !== "show all" ? (this.cascaderTags[o] = [i], l ? this.cascaderTagsClone[o] = [l + ":" + i] : this.cascaderTagsClone[o] = [i]) : (this.cascaderTags[o] = [], this.cascaderTagsClone[o] = []));
|
|
22432
22432
|
}), Object.values(this.cascaderTagsClone).map((t) => {
|
|
22433
22433
|
const n = Array.isArray(t) ? t : Object.values(t).flat(1);
|
|
22434
22434
|
this.presentTags = [...this.presentTags, ...n];
|
|
@@ -22939,7 +22939,7 @@ function t9(e, t, n, r, o, a) {
|
|
|
22939
22939
|
])
|
|
22940
22940
|
]);
|
|
22941
22941
|
}
|
|
22942
|
-
const al = /* @__PURE__ */ Ln(M6, [["render", t9], ["__scopeId", "data-v-
|
|
22942
|
+
const al = /* @__PURE__ */ Ln(M6, [["render", t9], ["__scopeId", "data-v-29c66fc9"]]);
|
|
22943
22943
|
var n9 = async function(e) {
|
|
22944
22944
|
if (!e.ok) {
|
|
22945
22945
|
let t = await e.json();
|
|
@@ -24124,7 +24124,7 @@ const V9 = {
|
|
|
24124
24124
|
this.filter = [...e], this.searchAndFilterUpdate();
|
|
24125
24125
|
},
|
|
24126
24126
|
searchAndFilterUpdate: function() {
|
|
24127
|
-
this.resetPageNavigation(), this.searchKnowledge(this.filter, this.searchInput), this
|
|
24127
|
+
this.resetPageNavigation(), this.searchKnowledge(this.filter, this.searchInput), this.searchHistoryUpdate(this.filter, this.searchInput);
|
|
24128
24128
|
},
|
|
24129
24129
|
searchHistoryUpdate: function(e, t) {
|
|
24130
24130
|
this.$refs.searchHistory.selectValue = "Search history", (e.length || t != null && t.trim()) && this.$refs.searchHistory.addSearchToHistory(this.filter, t);
|
|
@@ -24145,7 +24145,7 @@ const V9 = {
|
|
|
24145
24145
|
this.numberPerPage = e, this.pageChange(1);
|
|
24146
24146
|
},
|
|
24147
24147
|
pageChange: function(e) {
|
|
24148
|
-
this.start = (e - 1) * this.numberPerPage, this.page = e, this.
|
|
24148
|
+
this.start = (e - 1) * this.numberPerPage, this.page = e, this.expanded = "", this.expandedData = null, this.scrollToTop();
|
|
24149
24149
|
},
|
|
24150
24150
|
scrollToTop: function() {
|
|
24151
24151
|
this.$refs.content && this.$refs.content.scroll({ top: 0, behavior: "smooth" });
|
|
@@ -24331,7 +24331,7 @@ function K9(e, t, n, r, o, a) {
|
|
|
24331
24331
|
_: 1
|
|
24332
24332
|
}, 8, ["body-style"]);
|
|
24333
24333
|
}
|
|
24334
|
-
const Qy = /* @__PURE__ */ Ln(V9, [["render", K9], ["__scopeId", "data-v-
|
|
24334
|
+
const Qy = /* @__PURE__ */ Ln(V9, [["render", K9], ["__scopeId", "data-v-cc620b4b"]]), W9 = {
|
|
24335
24335
|
name: "AnnotationTool",
|
|
24336
24336
|
components: {
|
|
24337
24337
|
AnnotationPopup: jb,
|