"use strict";(self["webpackChunkcarabi_x2"]=self["webpackChunkcarabi_x2"]||[]).push([[8110],{6250:function(t,s,e){e.r(s),e.d(s,{default:function(){return c}});var a=function(){var t=this,s=t._self._c;return s("li",{staticClass:"pos-list-item",class:{"pos-list-emphasis":t.emphasis}},[t.status?s("div",{staticClass:"pos-list-item-status",class:t.statusClass}):t._e(),s("div",{staticClass:"pos-list-item-body"},[s("div",{staticClass:"pos-list-item-body-content"},[t._t("default"),t.values?s("div",{staticClass:"pos-list-item-body-meta"},t._l(t.values,(function(e){return e.value?s("div",{key:e.value,staticClass:"pos-list-item-body-meta-item"},[s("div",[e.name?s("div",{staticClass:"pos-list-item-body-meta-item--key"},[t._v(" "+t._s(e.name)+": ")]):t._e(),s("div",{staticClass:"pos-list-item-body-meta-item--val"},[t._v(" "+t._s(e.value)+" ")])])]):t._e()})),0):t._e(),t.cover?s("a",{staticClass:"uk-position-cover",on:{click:function(s){return s.preventDefault(),t.$emit("click")}}}):t._e()],2),t.actions?s("div",{staticClass:"uk-text-center uk-margin-small-bottom",staticStyle:{"font-weight":"normal"}},t._l(t.actions,(function(e){return s("button",{key:e.label,staticClass:"uk-button uk-button-small uk-button-primary uk-margin-small-left",on:{click:function(s){return t.$emit("action",e)}}},[t._v(t._s(e.label))])})),0):t._e(),t.footer&&t.footer.length?s("div",{staticClass:"pos-list-item-body-footer"},[s("ul",{staticClass:"pos-list-item-body-meta"},t._l(t.footer,(function(e){return e.value?s("li",{key:e.value,staticClass:"pos-list-item-body-meta-item"},[s("div",[e.name?s("div",{staticClass:"pos-list-item-body-meta-item--key uk-visible@s"},[t._v(" "+t._s(e.name)+": ")]):t._e(),s("div",{staticClass:"pos-list-item-body-meta-item--val"},[t._v(" "+t._s(e.value)+" ")])])]):t._e()})),0)]):t._e()]),t.checkbox?s("div",{staticClass:"pos-list-item-actions"},[s("input",{staticClass:"pos-checkbox-switch xsmall",attrs:{type:"checkbox"}})]):t._e()])},i=[],l={name:"listItem",props:{emphasis:{type:Boolean,default:!1},status:{type:String,default:null},values:{type:Array,default:null},actions:{type:Array,default:null},footer:{type:Array,default:null},cover:{type:Boolean,default:!1},checkbox:{type:Boolean,default:!1}},computed:{statusClass(){let t={};return"default"!=this.status&&(t[this.status]=!0),t}}},o=l,u=e(1656),n=(0,u.A)(o,a,i,!1,null,"5ab27e92",null),c=n.exports}}]);
//# sourceMappingURL=listItem.ea30b9cb.js.map