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