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