@abi-software/map-side-bar 2.2.1-beta.1 → 2.2.1-beta.2
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 +17 -17
- package/dist/map-side-bar.umd.cjs +27 -27
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/{ProvenancePopup.vue → ConnectivityInfo.vue} +8 -8
- package/src/components/SideBar.vue +11 -10
- package/src/components/Tabs.vue +5 -0
- package/src/components.d.ts +1 -1
package/dist/map-side-bar.js
CHANGED
|
@@ -21149,7 +21149,7 @@ function q9(e, t, n, r, o, a) {
|
|
|
21149
21149
|
const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-e726c314"]]), W9 = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), K9 = function(e) {
|
|
21150
21150
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
21151
21151
|
}, G9 = {
|
|
21152
|
-
name: "
|
|
21152
|
+
name: "ConnectivityInfo",
|
|
21153
21153
|
components: {
|
|
21154
21154
|
Button: Fn,
|
|
21155
21155
|
Container: d5,
|
|
@@ -21218,19 +21218,19 @@ const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-e726c31
|
|
|
21218
21218
|
window.open(e, "_blank");
|
|
21219
21219
|
},
|
|
21220
21220
|
openAll: function() {
|
|
21221
|
-
Ft.emit("
|
|
21221
|
+
Ft.emit("onConnectivityActionClick", {
|
|
21222
21222
|
type: "Facets",
|
|
21223
21223
|
labels: this.entry.componentsWithDatasets.map((e) => e.name)
|
|
21224
21224
|
});
|
|
21225
21225
|
},
|
|
21226
21226
|
openAxons: function() {
|
|
21227
|
-
Ft.emit("
|
|
21227
|
+
Ft.emit("onConnectivityActionClick", {
|
|
21228
21228
|
type: "Facets",
|
|
21229
21229
|
labels: this.entry.destinationsWithDatasets.map((e) => e.name)
|
|
21230
21230
|
});
|
|
21231
21231
|
},
|
|
21232
21232
|
openDendrites: function() {
|
|
21233
|
-
Ft.emit("
|
|
21233
|
+
Ft.emit("onConnectivityActionClick", {
|
|
21234
21234
|
type: "Facets",
|
|
21235
21235
|
labels: this.entry.originsWithDatasets.map((e) => e.name)
|
|
21236
21236
|
});
|
|
@@ -21239,10 +21239,10 @@ const lm = /* @__PURE__ */ Kn(H9, [["render", q9], ["__scopeId", "data-v-e726c31
|
|
|
21239
21239
|
this.pubmedSearchUrl = e;
|
|
21240
21240
|
}
|
|
21241
21241
|
}
|
|
21242
|
-
}, jo = (e) => (Io("data-v-
|
|
21242
|
+
}, jo = (e) => (Io("data-v-c04b8ef0"), e = e(), Po(), e), J9 = {
|
|
21243
21243
|
key: 0,
|
|
21244
21244
|
class: "main"
|
|
21245
|
-
}, Z9 = { class: "
|
|
21245
|
+
}, Z9 = { class: "connectivity-info-title" }, Y9 = {
|
|
21246
21246
|
key: 0,
|
|
21247
21247
|
class: "block"
|
|
21248
21248
|
}, X9 = { class: "title" }, Q9 = {
|
|
@@ -21442,7 +21442,7 @@ function _$(e, t, n, r, o, a) {
|
|
|
21442
21442
|
[f, e.loading]
|
|
21443
21443
|
]) : q("", !0);
|
|
21444
21444
|
}
|
|
21445
|
-
const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-
|
|
21445
|
+
const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-c04b8ef0"]]), C$ = {
|
|
21446
21446
|
name: "Tabs",
|
|
21447
21447
|
props: {
|
|
21448
21448
|
tabTitles: {
|
|
@@ -21462,7 +21462,7 @@ const um = /* @__PURE__ */ Kn(G9, [["render", _$], ["__scopeId", "data-v-90e1c13
|
|
|
21462
21462
|
this.$emit("tab-close", e);
|
|
21463
21463
|
}
|
|
21464
21464
|
}
|
|
21465
|
-
}, k$ = (e) => (Io("data-v-
|
|
21465
|
+
}, k$ = (e) => (Io("data-v-78c45eb4"), e = e(), Po(), e), E$ = { class: "tab-container" }, O$ = ["onClick"], T$ = { class: "title-text" }, A$ = /* @__PURE__ */ k$(() => /* @__PURE__ */ j("span", { class: "visually-hidden" }, "Close", -1));
|
|
21466
21466
|
function I$(e, t, n, r, o, a) {
|
|
21467
21467
|
const s = Fn;
|
|
21468
21468
|
return x(), A("div", E$, [
|
|
@@ -21491,7 +21491,7 @@ function I$(e, t, n, r, o, a) {
|
|
|
21491
21491
|
], 2))), 128))
|
|
21492
21492
|
]);
|
|
21493
21493
|
}
|
|
21494
|
-
const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-
|
|
21494
|
+
const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-78c45eb4"]]), P$ = {
|
|
21495
21495
|
components: {
|
|
21496
21496
|
SidebarContent: im,
|
|
21497
21497
|
Tabs: cm,
|
|
@@ -21499,7 +21499,7 @@ const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-5630437
|
|
|
21499
21499
|
ElIconArrowRight: Qs,
|
|
21500
21500
|
Drawer: Hu,
|
|
21501
21501
|
Icon: tt,
|
|
21502
|
-
|
|
21502
|
+
ConnectivityInfo: um
|
|
21503
21503
|
},
|
|
21504
21504
|
name: "SideBar",
|
|
21505
21505
|
props: {
|
|
@@ -21546,9 +21546,9 @@ const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-5630437
|
|
|
21546
21546
|
default: !1
|
|
21547
21547
|
},
|
|
21548
21548
|
/**
|
|
21549
|
-
* The
|
|
21549
|
+
* The connectivity info data to show in sidebar.
|
|
21550
21550
|
*/
|
|
21551
|
-
|
|
21551
|
+
connectivityInfo: {
|
|
21552
21552
|
type: Object,
|
|
21553
21553
|
default: null
|
|
21554
21554
|
}
|
|
@@ -21627,7 +21627,7 @@ const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-5630437
|
|
|
21627
21627
|
this.$emit("tabClicked", e);
|
|
21628
21628
|
},
|
|
21629
21629
|
tabClose: function(e) {
|
|
21630
|
-
this.$emit("
|
|
21630
|
+
this.$emit("connectivity-info-close");
|
|
21631
21631
|
}
|
|
21632
21632
|
},
|
|
21633
21633
|
created: function() {
|
|
@@ -21644,7 +21644,7 @@ const cm = /* @__PURE__ */ Kn(C$, [["render", I$], ["__scopeId", "data-v-5630437
|
|
|
21644
21644
|
this.$emit("contextUpdate", e);
|
|
21645
21645
|
}), Ft.on("datalink-clicked", (e) => {
|
|
21646
21646
|
this.$emit("datalink-clicked", e);
|
|
21647
|
-
}), Ft.on("
|
|
21647
|
+
}), Ft.on("onConnectivityActionClick", (e) => {
|
|
21648
21648
|
this.tabClicked(1), this.$emit("actionClick", e);
|
|
21649
21649
|
});
|
|
21650
21650
|
}
|
|
@@ -21693,7 +21693,7 @@ function N$(e, t, n, r, o, a) {
|
|
|
21693
21693
|
})
|
|
21694
21694
|
])) : q("", !0),
|
|
21695
21695
|
j("div", R$, [
|
|
21696
|
-
n.tabs.length > 1 && n.
|
|
21696
|
+
n.tabs.length > 1 && n.connectivityInfo ? (x(), Q(u, {
|
|
21697
21697
|
key: 0,
|
|
21698
21698
|
tabTitles: n.tabs,
|
|
21699
21699
|
activeId: n.activeId,
|
|
@@ -21703,7 +21703,7 @@ function N$(e, t, n, r, o, a) {
|
|
|
21703
21703
|
(x(!0), A(Te, null, it(n.tabs, (v) => (x(), A(Te, { key: "tab.id" }, [
|
|
21704
21704
|
v.id === 2 ? Oe((x(), Q(c, {
|
|
21705
21705
|
key: 0,
|
|
21706
|
-
entry: n.
|
|
21706
|
+
entry: n.connectivityInfo,
|
|
21707
21707
|
ref_for: !0,
|
|
21708
21708
|
ref: v.id
|
|
21709
21709
|
}, null, 8, ["entry"])), [
|
|
@@ -21728,7 +21728,7 @@ function N$(e, t, n, r, o, a) {
|
|
|
21728
21728
|
}, 8, ["modelValue"])
|
|
21729
21729
|
], 512);
|
|
21730
21730
|
}
|
|
21731
|
-
const M$ = /* @__PURE__ */ Kn(P$, [["render", N$], ["__scopeId", "data-v-
|
|
21731
|
+
const M$ = /* @__PURE__ */ Kn(P$, [["render", N$], ["__scopeId", "data-v-f0a25fc7"]]);
|
|
21732
21732
|
export {
|
|
21733
21733
|
M$ as SideBar
|
|
21734
21734
|
};
|