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