@abi-software/map-side-bar 2.6.3 → 2.6.4-beta.0
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 +25 -10
- package/dist/map-side-bar.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/ConnectivityInfo.vue +5 -1
- package/src/components/SearchFilters.vue +1 -0
- package/src/components/SearchHistory.vue +1 -0
- package/src/components/SideBar.vue +11 -1
package/dist/map-side-bar.js
CHANGED
|
@@ -19909,7 +19909,7 @@ const u9 = {
|
|
|
19909
19909
|
this.searchHistory.splice(t, 1), this.savedSearchHistory = this.searchHistory.filter((n) => n.saved), this.updateSearchHistory();
|
|
19910
19910
|
}
|
|
19911
19911
|
}
|
|
19912
|
-
}, qi = (e) => (lo("data-v-
|
|
19912
|
+
}, qi = (e) => (lo("data-v-96b7c9f3"), e = e(), co(), e), d9 = {
|
|
19913
19913
|
key: 0,
|
|
19914
19914
|
class: "history-container"
|
|
19915
19915
|
}, f9 = {
|
|
@@ -20086,7 +20086,7 @@ function I9(e, t, n, r, o, a) {
|
|
|
20086
20086
|
})
|
|
20087
20087
|
])) : W("", !0);
|
|
20088
20088
|
}
|
|
20089
|
-
const bm = /* @__PURE__ */ er(u9, [["render", I9], ["__scopeId", "data-v-
|
|
20089
|
+
const bm = /* @__PURE__ */ er(u9, [["render", I9], ["__scopeId", "data-v-96b7c9f3"]]), wm = (e, t) => {
|
|
20090
20090
|
const n = e.__vccOpts || e;
|
|
20091
20091
|
for (const [r, o] of t)
|
|
20092
20092
|
n[r] = o;
|
|
@@ -22331,10 +22331,10 @@ const ri = function(e) {
|
|
|
22331
22331
|
this.envVars.ALGOLIA_KEY,
|
|
22332
22332
|
this.envVars.PENNSIEVE_API_LOCATION
|
|
22333
22333
|
)), this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX), this.populateCascader().then(() => {
|
|
22334
|
-
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady");
|
|
22334
|
+
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady"), this.replaceCascader();
|
|
22335
22335
|
});
|
|
22336
22336
|
}
|
|
22337
|
-
}, K9 = (e) => (lo("data-v-
|
|
22337
|
+
}, K9 = (e) => (lo("data-v-80f91d96"), e = e(), co(), e), W9 = { class: "filters" }, G9 = {
|
|
22338
22338
|
key: 0,
|
|
22339
22339
|
class: "cascader-tag"
|
|
22340
22340
|
}, J9 = { class: "el-tags-container" }, Z9 = { class: "el-tags-container" }, Y9 = { class: "search-filters transition-box" }, X9 = {
|
|
@@ -22473,7 +22473,7 @@ function nL(e, t, n, r, o, a) {
|
|
|
22473
22473
|
])
|
|
22474
22474
|
]);
|
|
22475
22475
|
}
|
|
22476
|
-
const oy = /* @__PURE__ */ er(q9, [["render", nL], ["__scopeId", "data-v-
|
|
22476
|
+
const oy = /* @__PURE__ */ er(q9, [["render", nL], ["__scopeId", "data-v-80f91d96"]]);
|
|
22477
22477
|
var rL = async function(e) {
|
|
22478
22478
|
if (!e.ok) {
|
|
22479
22479
|
let t = await e.json();
|
|
@@ -22927,6 +22927,10 @@ const sy = /* @__PURE__ */ er(uL, [["render", pL], ["__scopeId", "data-v-de83d64
|
|
|
22927
22927
|
availableAnatomyFacets: {
|
|
22928
22928
|
type: Array,
|
|
22929
22929
|
default: () => []
|
|
22930
|
+
},
|
|
22931
|
+
useDOIFormatter: {
|
|
22932
|
+
type: Boolean,
|
|
22933
|
+
default: !0
|
|
22930
22934
|
}
|
|
22931
22935
|
},
|
|
22932
22936
|
data: function() {
|
|
@@ -23129,7 +23133,7 @@ const sy = /* @__PURE__ */ er(uL, [["render", pL], ["__scopeId", "data-v-de83d64
|
|
|
23129
23133
|
this.pushConnectivityError(e);
|
|
23130
23134
|
});
|
|
23131
23135
|
}
|
|
23132
|
-
}, vo = (e) => (lo("data-v-
|
|
23136
|
+
}, vo = (e) => (lo("data-v-21b95fbb"), e = e(), co(), e), mL = {
|
|
23133
23137
|
key: 0,
|
|
23134
23138
|
class: "main"
|
|
23135
23139
|
}, yL = { class: "connectivity-info-title" }, bL = { class: "title-content" }, wL = {
|
|
@@ -23398,14 +23402,15 @@ function XL(e, t, n, r, o, a) {
|
|
|
23398
23402
|
a.resources.length ? (_(), A("div", YL, [
|
|
23399
23403
|
Z(d, {
|
|
23400
23404
|
resources: a.resources,
|
|
23405
|
+
useDOIFormatter: n.useDOIFormatter,
|
|
23401
23406
|
onReferencesLoaded: a.onReferencesLoaded
|
|
23402
|
-
}, null, 8, ["resources", "onReferencesLoaded"])
|
|
23407
|
+
}, null, 8, ["resources", "useDOIFormatter", "onReferencesLoaded"])
|
|
23403
23408
|
])) : W("", !0)
|
|
23404
23409
|
])), [
|
|
23405
23410
|
[h, e.loading]
|
|
23406
23411
|
]) : W("", !0);
|
|
23407
23412
|
}
|
|
23408
|
-
const iy = /* @__PURE__ */ er(gL, [["render", XL], ["__scopeId", "data-v-
|
|
23413
|
+
const iy = /* @__PURE__ */ er(gL, [["render", XL], ["__scopeId", "data-v-21b95fbb"]]), QL = {
|
|
23409
23414
|
name: "Tabs",
|
|
23410
23415
|
props: {
|
|
23411
23416
|
tabTitles: {
|
|
@@ -23533,6 +23538,15 @@ const ly = /* @__PURE__ */ er(QL, [["render", aN], ["__scopeId", "data-v-ed1ce6d
|
|
|
23533
23538
|
x: 0,
|
|
23534
23539
|
y: 0
|
|
23535
23540
|
}
|
|
23541
|
+
},
|
|
23542
|
+
/**
|
|
23543
|
+
* The option to use DOI.org as citation formatter.
|
|
23544
|
+
* If set to `false`, citation.js will be used.
|
|
23545
|
+
* Default is `true`.
|
|
23546
|
+
*/
|
|
23547
|
+
useDOIFormatter: {
|
|
23548
|
+
type: Boolean,
|
|
23549
|
+
default: !0
|
|
23536
23550
|
}
|
|
23537
23551
|
},
|
|
23538
23552
|
data: function() {
|
|
@@ -23746,9 +23760,10 @@ function uN(e, t, n, r, o, a) {
|
|
|
23746
23760
|
envVars: n.envVars,
|
|
23747
23761
|
ref_for: !0,
|
|
23748
23762
|
ref: "connectivityTab_" + d.id,
|
|
23763
|
+
useDOIFormatter: n.useDOIFormatter,
|
|
23749
23764
|
onShowConnectivity: a.showConnectivity,
|
|
23750
23765
|
onConnectivityComponentClick: a.onConnectivityComponentClick
|
|
23751
|
-
}, null, 8, ["entry", "availableAnatomyFacets", "envVars", "onShowConnectivity", "onConnectivityComponentClick"])) : W("", !0)
|
|
23766
|
+
}, null, 8, ["entry", "availableAnatomyFacets", "envVars", "useDOIFormatter", "onShowConnectivity", "onConnectivityComponentClick"])) : W("", !0)
|
|
23752
23767
|
], 64)) : d.type === "annotation" ? Ie((_(), Y(f, {
|
|
23753
23768
|
key: 1,
|
|
23754
23769
|
ref_for: !0,
|
|
@@ -23781,7 +23796,7 @@ function uN(e, t, n, r, o, a) {
|
|
|
23781
23796
|
}, 8, ["modelValue"])
|
|
23782
23797
|
], 512);
|
|
23783
23798
|
}
|
|
23784
|
-
const pN = /* @__PURE__ */ er(sN, [["render", uN], ["__scopeId", "data-v-
|
|
23799
|
+
const pN = /* @__PURE__ */ er(sN, [["render", uN], ["__scopeId", "data-v-17546a07"]]);
|
|
23785
23800
|
export {
|
|
23786
23801
|
pN as SideBar
|
|
23787
23802
|
};
|