(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[90],{FkNY:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement;return(t._self._c||e)("tb-autocompleted-select",{ref:"autocomplete",attrs:{value:t.value,options:t.options,label:"Kategorie"},on:{input:function(e){return t.$emit("input",e)}}})};o._withStripped=!0;var i={name:"TbCategorySearch",props:{value:{validator:t=>"string"==typeof t||null===t,required:!0},type:{type:String,default:null}},data:()=>({options:{}}),async created(){const t=await this.categoryRepository.listFlattened(),e={};for(const n of t)this.type&&n.type!==this.type||(e[n.id]=n.nameWithParents);this.options=e},methods:{reset(){this.$refs.autocomplete.reset()}}},s=n("KHd+"),r=Object(s.a)(i,o,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-category-search.vue";e.default=r.exports},"KHd+":function(t,e,n){"use strict";function o(t,e,n,o,i,s,r,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),r?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return o}))}}]);