UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

2 lines (1 loc) 1.12 kB
import t from"primevue/basecomponent";import e from"primevue/card/style";import{openBlock as s,createElementBlock as o,mergeProps as l,renderSlot as a,createCommentVNode as r,createElementVNode as c}from"vue";var i={name:"Card",extends:{name:"BaseCard",extends:t,style:e}};i.render=function(t,e,i,d,m,n){return s(),o("div",l({class:t.cx("root")},t.ptm("root"),{"data-pc-name":"card"}),[t.$slots.header?(s(),o("div",l({key:0,class:t.cx("header")},t.ptm("header")),[a(t.$slots,"header")],16)):r("",!0),c("div",l({class:t.cx("body")},t.ptm("body")),[t.$slots.title||t.$slots.subtitle?(s(),o("div",l({key:0,class:t.cx("caption")},t.ptm("caption")),[t.$slots.title?(s(),o("div",l({key:0,class:t.cx("title")},t.ptm("title")),[a(t.$slots,"title")],16)):r("",!0),t.$slots.subtitle?(s(),o("div",l({key:1,class:t.cx("subtitle")},t.ptm("subtitle")),[a(t.$slots,"subtitle")],16)):r("",!0)],16)):r("",!0),c("div",l({class:t.cx("content")},t.ptm("content")),[a(t.$slots,"content")],16),t.$slots.footer?(s(),o("div",l({key:1,class:t.cx("footer")},t.ptm("footer")),[a(t.$slots,"footer")],16)):r("",!0)],16)],16)};export{i as default};