\n \n
\n- \n
- \n {{ $label('sizeLabel') }} {{ item.size }} m²\n \n
- \n {{ $label('roomsLabel') }}\n {{ item.numberOfBedRooms }} \n \n
- \n {{ item.entitysubtypelabel }}\n \n
\n
\n {{ $label('lastSearch') }}:\n \n \n \n
\n\n\n\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SavedSearch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SavedSearch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SavedSearch.vue?vue&type=template&id=5f8c3a99&\"\nimport script from \"./SavedSearch.vue?vue&type=script&lang=js&\"\nexport * from \"./SavedSearch.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"autocomplete\",staticClass:\"c-autocomplete o-layout\"},[_c('div',{staticClass:\"o-layout__cell o-layout__cell--fill\"},[_c('label',{staticClass:\"u-visually-hidden\",attrs:{\"for\":\"searchquery\"}},[_vm._v(\" \"+_vm._s(_vm.$label('search'))+\" \")]),_c('div',{staticClass:\"c-autocomplete__enhanced\"},[_c('div',{staticClass:\"c-search-field\",class:{\n 'can-get-geo': this.locationAllowed,\n 'has-input': this.hasSearch,\n }},[_c('input',{staticClass:\"c-input-text c-search-field__input\",attrs:{\"placeholder\":_vm.$label('placeholder'),\"aria-owns\":\"autocomplete-options--destination\",\"autocapitalize\":\"none\",\"type\":\"text\",\"autocomplete\":\"off\",\"aria-autocomplete\":\"list\",\"role\":\"combobox\",\"id\":\"searchquery\",\"data-cy\":\"unit-search-query\"},domProps:{\"value\":_vm.queryGet},on:{\"input\":_vm.querySet,\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.onLeave.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }return _vm.onTab.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.onArrowDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }return _vm.onArrowUp.apply(null, arguments)}]}}),_c('icon',{attrs:{\"icon\":\"magnifier\",\"modifier\":\"c-search-field__icon\"}}),(this.hasSearch)?_c('button',{staticClass:\"o-button-clean c-search-field__clear\",attrs:{\"type\":\"button\",\"data-cy\":\"unit-search-clear-input\"},on:{\"click\":_vm.onClearButtonClicked}},[_c('icon',{attrs:{\"icon\":\"cross\",\"modifier\":\"c-search-field__clear-icon\"}})],1):_vm._e(),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(this.locationAllowed),expression:\"this.locationAllowed\"}],staticClass:\"o-button-clean c-search-field__get-geo\",class:_vm.isCurrentLocationSearch ? 'is-active' : '',attrs:{\"type\":\"button\",\"title\":_vm.$label('useCurrentLocation'),\"data-cy\":\"unit-search-get-geo\"},on:{\"click\":_vm.getLocation}},[_c('icon',{attrs:{\"icon\":\"geo\"}})],1)],1),_c('ul',{staticClass:\"o-list-clean c-autocomplete__list\",attrs:{\"id\":\"autocomplete-options--destination\",\"role\":\"listbox\",\"hidden\":!_vm.isOpen,\"data-cy\":\"unit-search-ac-list\"}},[(_vm.suggestion)?_c('li',{staticClass:\"c-autocomplete__suggestion\",attrs:{\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"o-layout o-layout--align-middle\"},[_c('div',{staticClass:\"o-layout__cell o-layout__cell--fit\"},[_c('icon',{attrs:{\"icon\":_vm.suggestion.icon,\"modifier\":\"c-icon--medium\"}})],1),_c('div',{staticClass:\"o-layout__cell o-layout__cell--fill\"},[_c('span',[_vm._v(_vm._s(_vm.suggestion.label))])])])]):_vm._e(),_vm._l((_vm.autocompleteOptions),function(option){return _c('li',{key:option.id,staticClass:\"c-autocomplete__option\",class:{ 'c-autocomplete__option--active': _vm.isActive(option) },attrs:{\"role\":\"option\",\"tabindex\":\"-1\",\"aria-selected\":_vm.isActive(option),\"data-cy\":\"unit-search-ac-option\"},on:{\"click\":function($event){return _vm.chooseOption(option)}}},[_vm._v(\" \"+_vm._s(option.name)+\" \"),_c('br'),_c('small',[_vm._v(_vm._s(_vm.getTypeLabel(option)))])])})],2),_vm._m(0)])]),_c('div',{staticClass:\"o-layout__cell o-layout__cell--fit\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"u-visually-hidden\",attrs:{\"aria-live\":\"polite\",\"role\":\"status\"}},[_c('span',{}),_vm._v(\" resultaten. \")])}]\n\nexport { render, staticRenderFns }","import axios from 'axios'\n\nconst apiClient = axios.create({\n baseURL: global.vesteda.apiUrl,\n withCredentials: false,\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n})\n\nexport default {\n getGeo(placeId) {\n return apiClient.get(`/getgeo?placeId=${placeId}`)\n },\n getUnits(filter) {\n return apiClient.post('/search/facet', filter)\n },\n getAutoCompleteOptions(query) {\n return apiClient.get(\n `/autocompleteplace?lang=${global.vesteda.culture}&query=${query}`\n )\n },\n}\n","\n\n