@abi-software/map-side-bar 2.13.0-acupoint.2 → 2.13.0-acupoint.4
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: "Not
|
|
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) {
|
|
@@ -24066,6 +24066,9 @@ const F0 = /* @__PURE__ */ un(M6, [["render", K6], ["__scopeId", "data-v-55f1e48
|
|
|
24066
24066
|
list: this.results
|
|
24067
24067
|
});
|
|
24068
24068
|
},
|
|
24069
|
+
openSearch: function(e, t = "") {
|
|
24070
|
+
this.searchInput = t, this.filterUpdate(e), this.$refs.filtersRef.setCascader(this.filters);
|
|
24071
|
+
},
|
|
24069
24072
|
numberPerPageUpdate: function(e) {
|
|
24070
24073
|
this.numberPerPage = e, this.pageChange(1);
|
|
24071
24074
|
},
|
|
@@ -24156,7 +24159,7 @@ function X6(e, t, n, r, o, a) {
|
|
|
24156
24159
|
], 512)
|
|
24157
24160
|
])) : W("", !0);
|
|
24158
24161
|
}
|
|
24159
|
-
const Q6 = /* @__PURE__ */ un(W6, [["render", X6], ["__scopeId", "data-v-
|
|
24162
|
+
const Q6 = /* @__PURE__ */ un(W6, [["render", X6], ["__scopeId", "data-v-1c4d9ccd"]]), e9 = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), va = function(e) {
|
|
24160
24163
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
24161
24164
|
}, t9 = {
|
|
24162
24165
|
name: "ConnectivityInfo",
|
|
@@ -25727,6 +25730,11 @@ const N0 = /* @__PURE__ */ un(U9, [["render", G9], ["__scopeId", "data-v-744b636
|
|
|
25727
25730
|
toggleDrawer: function() {
|
|
25728
25731
|
this.drawerOpen = !this.drawerOpen;
|
|
25729
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
|
+
},
|
|
25730
25738
|
openConnectivitySearch: function(e, t) {
|
|
25731
25739
|
this.drawerOpen = !0, this.$nextTick(() => {
|
|
25732
25740
|
this.getTabRef(void 0, "connectivityExplorer", !0).openSearch(e, t);
|
|
@@ -25806,11 +25814,6 @@ const N0 = /* @__PURE__ */ un(U9, [["render", G9], ["__scopeId", "data-v-744b636
|
|
|
25806
25814
|
updateConnectivityError: function(e) {
|
|
25807
25815
|
Ie.emit("connectivity-error", e);
|
|
25808
25816
|
},
|
|
25809
|
-
openAcupointsSearch: function(e) {
|
|
25810
|
-
this.drawerOpen = !0, this.$nextTick(() => {
|
|
25811
|
-
this.getTabRef(void 0, "acupoints", !0).search(e);
|
|
25812
|
-
});
|
|
25813
|
-
},
|
|
25814
25817
|
/**
|
|
25815
25818
|
* Store available anatomy facets data for connectivity list component
|
|
25816
25819
|
*/
|
|
@@ -26017,7 +26020,7 @@ function Q9(e, t, n, r, o, a) {
|
|
|
26017
26020
|
}, 8, ["modelValue"])
|
|
26018
26021
|
], 512);
|
|
26019
26022
|
}
|
|
26020
|
-
const rD = /* @__PURE__ */ un(J9, [["render", Q9], ["__scopeId", "data-v-
|
|
26023
|
+
const rD = /* @__PURE__ */ un(J9, [["render", Q9], ["__scopeId", "data-v-cddf3de3"]]);
|
|
26021
26024
|
export {
|
|
26022
26025
|
rD as SideBar
|
|
26023
26026
|
};
|