@abi-software/mapintegratedvuer 1.18.0 → 1.18.1
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/{ConnectivityGraph-Bs-lKYZR.js → ConnectivityGraph-DqC2P99E.js} +2 -2
- package/dist/{ContentMixin-DdcqAvf4.js → ContentMixin-CLr2YdhY.js} +63 -56
- package/dist/{Flatmap-7SmySiz0.js → Flatmap-7QqdYiDc.js} +3 -3
- package/dist/{Iframe-BqotmM4i.js → Iframe-Di_ovKaM.js} +2 -2
- package/dist/{MultiFlatmap-x3GEBnUb.js → MultiFlatmap-B3K1bY4o.js} +3 -3
- package/dist/{Plot-B-1imQY1.js → Plot-COeyJ7mQ.js} +2 -2
- package/dist/{Scaffold-C6-zfB3X.js → Scaffold-D94deYVk.js} +2 -2
- package/dist/{Simulation-5zuCkV0O.js → Simulation-Pd_9o8iF.js} +2 -2
- package/dist/{index-Dop9gDcW.js → index-o_HxI1zc.js} +9138 -9137
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +181 -181
- package/dist/{style-Bqxs_o_d.js → style-BRt2hfBy.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/SplitFlow.vue +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/mapintegratedvuer",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vite --host --force",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"*.js"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@abi-software/flatmapvuer": "1.13.
|
|
56
|
-
"@abi-software/map-side-bar": "2.14.
|
|
55
|
+
"@abi-software/flatmapvuer": "1.13.3",
|
|
56
|
+
"@abi-software/map-side-bar": "2.14.4",
|
|
57
57
|
"@abi-software/map-utilities": "1.8.2",
|
|
58
58
|
"@abi-software/plotvuer": "1.0.7",
|
|
59
59
|
"@abi-software/scaffoldvuer": "1.15.5",
|
|
@@ -110,10 +110,15 @@ const getAllFacetLabels = (children) => {
|
|
|
110
110
|
return labels;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
const getFacetsFromAction = (action) => {
|
|
114
|
+
const actionFacets = action.facets ? action.facets : action.labels ? action.labels : [];
|
|
115
|
+
return actionFacets;
|
|
116
|
+
}
|
|
113
117
|
|
|
114
118
|
const getAnatomyTermsForFilters = (action, availableNameCurieMapping) => {
|
|
115
119
|
const facets = [];
|
|
116
|
-
|
|
120
|
+
const actionFacets = getFacetsFromAction(action);
|
|
121
|
+
for (const facet of actionFacets) {
|
|
117
122
|
if (facet in availableNameCurieMapping) {
|
|
118
123
|
facets.push(availableNameCurieMapping[facet]);
|
|
119
124
|
} else {
|
|
@@ -327,7 +332,8 @@ export default {
|
|
|
327
332
|
};
|
|
328
333
|
const filters = [];
|
|
329
334
|
const facets = getAnatomyTermsForFilters(action, this.availableNameCurieMapping);
|
|
330
|
-
const
|
|
335
|
+
const actionFacets = getFacetsFromAction(action);
|
|
336
|
+
const facetString = actionFacets.join(', ');
|
|
331
337
|
facets.forEach(facet => filters.push({...sendAction, facet}));
|
|
332
338
|
this.$refs.sideBar.addFilter(filters);
|
|
333
339
|
// GA Tagging
|