(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[147],{"459H":function(e,t,a){"use strict";a.r(t);var o=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)}}})};o._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 a of e)this.type&&a.type!==this.type||(t[a.id]=a.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"}},cz:{message:{category:"Kategorie"}}}}},n=a("KHd+"),r=Object(n.a)(s,o,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-category-search.vue";t.default=r.exports}}]);