@abi-software/map-side-bar 1.4.1-beta.6 → 1.4.3-context-card-disabled
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.common.js +84 -90
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +84 -90
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +2 -2
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/algolia/algolia.js +0 -1
- package/src/components/DatasetCard.vue +0 -1
- package/src/components/SideBar.vue +2 -8
- package/src/components/SidebarContent.vue +5 -3
package/package.json
CHANGED
package/src/algolia/algolia.js
CHANGED
|
@@ -167,7 +167,6 @@ export default {
|
|
|
167
167
|
},
|
|
168
168
|
propogateCardAction: function(action){
|
|
169
169
|
EventBus.$emit("PopoverActionClick", action)
|
|
170
|
-
this.$emit('contextUpdate', action)
|
|
171
170
|
EventBus.$emit("contextUpdate", action) // Pass to mapintegratedvuer
|
|
172
171
|
},
|
|
173
172
|
splitDOI: function(doi){
|
|
@@ -123,15 +123,9 @@ export default {
|
|
|
123
123
|
EventBus.$on("PopoverActionClick", (payLoad) => {
|
|
124
124
|
this.$emit("actionClick", payLoad);
|
|
125
125
|
})
|
|
126
|
-
EventBus.$on('
|
|
126
|
+
EventBus.$on('available-facets', (payLoad)=> {
|
|
127
127
|
this.$emit('search-changed', {
|
|
128
|
-
type: '
|
|
129
|
-
value: payLoad
|
|
130
|
-
})
|
|
131
|
-
})
|
|
132
|
-
EventBus.$on('labelsFound', (payLoad)=> {
|
|
133
|
-
this.$emit('search-changed', {
|
|
134
|
-
type: 'filter-label-update',
|
|
128
|
+
type: 'available-facects',
|
|
135
129
|
value: payLoad
|
|
136
130
|
})
|
|
137
131
|
})
|
|
@@ -110,7 +110,7 @@ var initial_state = {
|
|
|
110
110
|
start: 0,
|
|
111
111
|
hasSearched: false,
|
|
112
112
|
contextCardEntry: undefined,
|
|
113
|
-
contextCardEnabled:
|
|
113
|
+
contextCardEnabled: false,
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
export default {
|
|
@@ -240,8 +240,10 @@ export default {
|
|
|
240
240
|
this.algoliaClient
|
|
241
241
|
.anatomyInSearch(getFilters(filters), query)
|
|
242
242
|
.then((anatomy) => {
|
|
243
|
-
EventBus.$emit("
|
|
244
|
-
|
|
243
|
+
EventBus.$emit("available-facets", {
|
|
244
|
+
'uberons': anatomy,
|
|
245
|
+
'labels': this.algoliaClient.anatomyFacetLabels
|
|
246
|
+
});
|
|
245
247
|
});
|
|
246
248
|
this.algoliaClient
|
|
247
249
|
.search(getFilters(filters), query, this.numberPerPage, this.page)
|