(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-511c92ec"],{"296f":function(t,o,i){"use strict";i("897c")},"2d14":function(t,o,i){"use strict";i.r(o);var e=function(){var t=this,o=t.$createElement,i=t._self._c||o;return i("tr",[i("wi-list-data-table-actions",{attrs:{config:t.config,props:t.props}}),i("td",{staticClass:"justify-left"},[i("strong",[t._v(t._s(t.props.item.id))])]),i("td",{staticClass:"justify-left"},[i("div",{staticClass:"business-category__name",style:{background:t.props.item.color}},[i("v-icon",{attrs:{color:"white"}},[t._v(t._s(t.props.item.icon))]),i("span",{staticStyle:{"padding-left":"10px"}},[t._v(t._s(t.props.item.name||"- - -"))])],1)]),i("td",{staticClass:"justify-left"},["select"!=t.config.mode&&0!==t.category.layout_type_id?i("v-btn",{attrs:{small:"",outline:""},on:{click:function(o){return t.editLayout()}}},[i("v-icon",[t._v("edit")]),i("span",[t._v("Editar Layout")])],1):"select"==t.config.mode?i("strong",[t._v(" - - - ")]):i("strong",[t._v(" Sem layout ")])],1)],1)},s=[],a=(i("b0c0"),i("b150")),n={name:"BusinessCategories",computed:{category:function(){return this.props.item}},methods:{editLayout:function(){var t,o,i,e,s=this;switch(console.log(this.category.layout_type_id),this.category.layout_type_id){case 1:this.$WiEditDialog({wiConfig:"config-category-".concat(null===(t=this.category)||void 0===t||null===(o=t.type_info)||void 0===o?void 0:o.name,"-layout-html"),data:{id:this.category.id,layout:this.category.layout},onSubmit:function(){s.config.refresh()}});break;case 2:this.$router.push({name:"".concat(null===(i=this.category)||void 0===i||null===(e=i.type_info)||void 0===e?void 0:e.name,"-category-layout"),params:{id:this.category.id}});break}}},mounted:function(){console.log(this.category)},props:{config:Object,props:Object},components:{WiListDataTableActions:a["a"]}},c=n,r=(i("296f"),i("2877")),l=Object(r["a"])(c,e,s,!1,null,null,null);o["default"]=l.exports},"897c":function(t,o,i){}}]); //# sourceMappingURL=chunk-511c92ec.04b5497f.js.map