@@ -7,22 +7,6 @@ import RangeInput from 'vue-instantsearch/vue3/es/src/components/RangeInput.vue.
77import HierarchicalMenu from ' vue-instantsearch/vue3/es/src/components/HierarchicalMenu.vue.js'
88import RefinementList from ' vue-instantsearch/vue3/es/src/components/RefinementList.vue.js'
99import SortBy from ' vue-instantsearch/vue3/es/src/components/SortBy.vue.js'
10- // import hitsPerPage from 'vue-instantsearch/vue3/es/src/components/hitsPerPage.vue.js'
11-
12- // 'ClearRefinements.vue',
13- // 'CurrentRefinements.vue',
14- // 'SearchBox.vue',
15- // 'RangeInput.vue',
16- // 'RangeInput.vue',
17- // 'RefinementList.vue',
18- // 'HierarchicalMenu.vue',
19-
20- // - `refinementList` needs one of these widgets: "refinementList"
21- // - `hierarchicalMenu` needs one of these widgets: "hierarchicalMenu"
22- // - `query` needs one of these widgets: "searchBox", "autocomplete", "voiceSearch"
23- // - `page` needs one of these widgets: "pagination", "infiniteHits"
24- // - `sortBy` needs one of these widgets: "sortBy"
25- // - `hitsPerPage` needs one of these widgets: "hitsPerPage"
2610
2711export default {
2812 mixins: [InstantSearchMixin],
@@ -32,8 +16,7 @@ export default {
3216 RangeInput,
3317 HierarchicalMenu,
3418 RefinementList,
35- SortBy,
36- // hitsPerPage
19+ SortBy
3720 },
3821 props: {
3922 index: {
@@ -206,7 +189,7 @@ export default {
206189 for (let i = 0 ; i < this .rootPath ? .length && category? .length && category[0 ] == this .rootPath [i]; i++ ) {
207190 category .splice (0 , 1 )
208191 }
209- // console.trace(data.query);
192+
210193 return {
211194 ... (data .range || {}),
212195 ... (data .refinementList || {}),
0 commit comments