@abi-software/map-side-bar 2.13.0-acupoint.1 → 2.13.0-acupoint.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
|
@@ -23885,9 +23885,9 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
23885
23885
|
term: "Visualized"
|
|
23886
23886
|
},
|
|
23887
23887
|
{
|
|
23888
|
-
facetPropPath: "acupoints.
|
|
23888
|
+
facetPropPath: "acupoints.onMRI",
|
|
23889
23889
|
facet: "Show all",
|
|
23890
|
-
term: "
|
|
23890
|
+
term: "onMRI"
|
|
23891
23891
|
},
|
|
23892
23892
|
{
|
|
23893
23893
|
facetPropPath: "acupoints.userDefined",
|
|
@@ -23913,18 +23913,18 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
23913
23913
|
]
|
|
23914
23914
|
},
|
|
23915
23915
|
{
|
|
23916
|
-
key: "acupoints.
|
|
23917
|
-
label: "
|
|
23916
|
+
key: "acupoints.onMRI",
|
|
23917
|
+
label: "Spotted On MRI",
|
|
23918
23918
|
children: [
|
|
23919
23919
|
{
|
|
23920
|
-
key: "acupoints.
|
|
23921
|
-
label: "
|
|
23922
|
-
value: "
|
|
23920
|
+
key: "acupoints.onMRI.yes",
|
|
23921
|
+
label: "Spotted",
|
|
23922
|
+
value: "onMRI>Yes"
|
|
23923
23923
|
},
|
|
23924
23924
|
{
|
|
23925
|
-
key: "acupoints.
|
|
23926
|
-
label: "
|
|
23927
|
-
value: "
|
|
23925
|
+
key: "acupoints.onMRI.no",
|
|
23926
|
+
label: "Not spotted",
|
|
23927
|
+
value: "onMRI>No"
|
|
23928
23928
|
}
|
|
23929
23929
|
]
|
|
23930
23930
|
},
|
|
@@ -23995,7 +23995,7 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
23995
23995
|
},
|
|
23996
23996
|
filterUpdate: function(e) {
|
|
23997
23997
|
this.filters = [...e], this.currentFilters.meridian.list = [], this.filters.forEach((t) => {
|
|
23998
|
-
t.facetPropPath === "acupoints.visualized" && (t.facet === "Visualized" ? this.currentFilters.curated = "Curated" : t.facet === "Non visualized" ? this.currentFilters.curated = "Uncurated" : this.currentFilters.curated = "Both"), t.facetPropPath === "acupoints.
|
|
23998
|
+
t.facetPropPath === "acupoints.visualized" && (t.facet === "Visualized" ? this.currentFilters.curated = "Curated" : t.facet === "Non visualized" ? this.currentFilters.curated = "Uncurated" : this.currentFilters.curated = "Both"), t.facetPropPath === "acupoints.onMRI" && (t.facet === "Spotted" ? this.currentFilters.mri = "On" : t.facet === "Not spotted" ? this.currentFilters.mri = "Off" : this.currentFilters.mri = "Both"), t.facetPropPath === "acupoints.WHO" && (t.facet === "WHO" ? this.currentFilters.who = "Yes" : t.facet === "Non who" ? this.currentFilters.who = "No" : this.currentFilters.who = "Both"), t.facetPropPath === "acupoints.userDefined" && (t.facet === "User data" ? this.currentFilters.userDefined = "Yes" : t.facet === "Official data" ? this.currentFilters.userDefined = "No" : this.currentFilters.userDefined = "Both"), t.facetPropPath === "acupoints.meridian" && (t.facet === "Show all" ? this.currentFilters.meridian.showAll = !0 : (this.currentFilters.meridian.showAll = !1, this.currentFilters.meridian.list.push(t.facet.toLowerCase())));
|
|
23999
23999
|
}), this.search(this.searchInput);
|
|
24000
24000
|
},
|
|
24001
24001
|
numberPerPageUpdate: function(e) {
|
|
@@ -24020,9 +24020,7 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
24020
24020
|
}
|
|
24021
24021
|
if (this.currentFilters.mri !== "Both") {
|
|
24022
24022
|
const t = this.currentFilters.mri === "On";
|
|
24023
|
-
e = e.filter(
|
|
24024
|
-
(n) => !!n.onMRI === t
|
|
24025
|
-
);
|
|
24023
|
+
e = e.filter((n) => !!n.onMRI === t);
|
|
24026
24024
|
}
|
|
24027
24025
|
if (this.currentFilters.who !== "Both") {
|
|
24028
24026
|
const t = this.currentFilters.who === "Yes";
|
|
@@ -24068,6 +24066,9 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
24068
24066
|
list: this.results
|
|
24069
24067
|
});
|
|
24070
24068
|
},
|
|
24069
|
+
openSearch: function(e, t = "") {
|
|
24070
|
+
this.searchInput = t, this.filterUpdate(e);
|
|
24071
|
+
},
|
|
24071
24072
|
numberPerPageUpdate: function(e) {
|
|
24072
24073
|
this.numberPerPage = e, this.pageChange(1);
|
|
24073
24074
|
},
|
|
@@ -24158,7 +24159,7 @@ function X6(e, t, n, r, o, a) {
|
|
|
24158
24159
|
], 512)
|
|
24159
24160
|
])) : W("", !0);
|
|
24160
24161
|
}
|
|
24161
|
-
const Q6 = /* @__PURE__ */ un(W6, [["render", X6], ["__scopeId", "data-v-
|
|
24162
|
+
const Q6 = /* @__PURE__ */ un(W6, [["render", X6], ["__scopeId", "data-v-5256f2e5"]]), e9 = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), va = function(e) {
|
|
24162
24163
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
24163
24164
|
}, t9 = {
|
|
24164
24165
|
name: "ConnectivityInfo",
|
|
@@ -25729,6 +25730,11 @@ const N0 = /* @__PURE__ */ un(U9, [["render", G9], ["__scopeId", "data-v-744b636
|
|
|
25729
25730
|
toggleDrawer: function() {
|
|
25730
25731
|
this.drawerOpen = !this.drawerOpen;
|
|
25731
25732
|
},
|
|
25733
|
+
openAcupointsSearch: function(e, t) {
|
|
25734
|
+
this.drawerOpen = !0, this.$nextTick(() => {
|
|
25735
|
+
console.log("broken"), this.getTabRef(void 0, "acupoints", !0).openSearch(e, t);
|
|
25736
|
+
});
|
|
25737
|
+
},
|
|
25732
25738
|
openConnectivitySearch: function(e, t) {
|
|
25733
25739
|
this.drawerOpen = !0, this.$nextTick(() => {
|
|
25734
25740
|
this.getTabRef(void 0, "connectivityExplorer", !0).openSearch(e, t);
|
|
@@ -25808,11 +25814,6 @@ const N0 = /* @__PURE__ */ un(U9, [["render", G9], ["__scopeId", "data-v-744b636
|
|
|
25808
25814
|
updateConnectivityError: function(e) {
|
|
25809
25815
|
Ie.emit("connectivity-error", e);
|
|
25810
25816
|
},
|
|
25811
|
-
openAcupointsSearch: function(e) {
|
|
25812
|
-
this.drawerOpen = !0, this.$nextTick(() => {
|
|
25813
|
-
this.getTabRef(void 0, "acupoints", !0).search(e);
|
|
25814
|
-
});
|
|
25815
|
-
},
|
|
25816
25817
|
/**
|
|
25817
25818
|
* Store available anatomy facets data for connectivity list component
|
|
25818
25819
|
*/
|
|
@@ -26019,7 +26020,7 @@ function Q9(e, t, n, r, o, a) {
|
|
|
26019
26020
|
}, 8, ["modelValue"])
|
|
26020
26021
|
], 512);
|
|
26021
26022
|
}
|
|
26022
|
-
const rD = /* @__PURE__ */ un(J9, [["render", Q9], ["__scopeId", "data-v-
|
|
26023
|
+
const rD = /* @__PURE__ */ un(J9, [["render", Q9], ["__scopeId", "data-v-cddf3de3"]]);
|
|
26023
26024
|
export {
|
|
26024
26025
|
rD as SideBar
|
|
26025
26026
|
};
|