primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [ • 1.32 kB
JavaScript
"use strict";var e=require("vue"),t={name:"Card"};const o={class:"p-card p-component"},r={key:0,class:"p-card-header"},c={class:"p-card-body"},d={key:0,class:"p-card-title"},s={key:1,class:"p-card-subtitle"},l={class:"p-card-content"},n={key:2,class:"p-card-footer"};!function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css","top"===o&&r.firstChild?r.insertBefore(c,r.firstChild):r.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e))}}("\n.p-card-header img {\n width: 100%;\n}\n"),t.render=function(t,a,i,p,m,u){return e.openBlock(),e.createBlock("div",o,[t.$slots.header?(e.openBlock(),e.createBlock("div",r,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createVNode("div",c,[t.$slots.title?(e.openBlock(),e.createBlock("div",d,[e.renderSlot(t.$slots,"title")])):e.createCommentVNode("",!0),t.$slots.subtitle?(e.openBlock(),e.createBlock("div",s,[e.renderSlot(t.$slots,"subtitle")])):e.createCommentVNode("",!0),e.createVNode("div",l,[e.renderSlot(t.$slots,"content")]),t.$slots.footer?(e.openBlock(),e.createBlock("div",n,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])])},module.exports=t;