(window.webpackJsonp=window.webpackJsonp||[]).push([[374],{846:function(t,e,r){"use strict";r.r(e);r(4),r(8),r(152),r(153),r(308);var n={name:"CardBreadcrumb",props:{breadcrumb:{type:Array,required:!0},icon:{type:String,required:!1,default:null},add:{type:Function,default:void 0,required:!1},noMargin:{type:Boolean,required:!1,default:!1}},computed:{breadcrumbs:function(){var t=this,e=[];return this.breadcrumb.forEach((function(r){var n={text:r.text,href:t.addHashToLink(r.href)};e.push(n)})),e}},methods:{addHashToLink:function(t){return!t||t.includes("#")?t:(t.startsWith("/")?"/#":"/#/")+t}}},c=r(42),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("b-card",{class:t.noMargin?"":"mb-4"},[r("b-row",{staticClass:"align-items-center justify-content-between"},[r("b-col",{staticClass:"d-flex justify-content-start"},[t.icon?r("fa-icon",{staticClass:"mt-2",staticStyle:{"font-size":"2rem"},attrs:{icon:t.icon}}):t._e(),t._v(" "),r("b-breadcrumb",{staticClass:"h5 primary mb-0",attrs:{items:t.breadcrumbs}})],1),t._v(" "),t.$slots.sideColumn?r("b-col",{attrs:{cols:"auto"}},[t._t("sideColumn")],2):t._e(),t._v(" "),t.add?r("b-col",{attrs:{cols:"auto"}},[r("div",{staticClass:"d-flex justify-content-end"},[r("b-button",{staticClass:"rounded my-2",attrs:{id:"btnAdicionar",size:"sm",variant:"primary"},on:{click:t.add}},[r("FaIcon",{staticClass:"mr-1",attrs:{icon:"plus"}}),t._v(" "),r("span",[t._v("Adicionar")])],1)],1)]):t._e()],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=0d57341-1.2.11.js.map