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
1 lines • 5.22 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../src/card/BaseCard.vue","../../src/card/Card.vue","../../src/card/Card.vue?vue&type=template&id=4267caa4&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport CardStyle from 'primevue/card/style';\n\nexport default {\n name: 'BaseCard',\n extends: BaseComponent,\n style: CardStyle,\n provide() {\n return {\n $pcCard: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.header\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <slot name=\"header\"></slot>\n </div>\n <div :class=\"cx('body')\" v-bind=\"ptm('body')\">\n <div v-if=\"$slots.title || $slots.subtitle\" :class=\"cx('caption')\" v-bind=\"ptm('caption')\">\n <div v-if=\"$slots.title\" :class=\"cx('title')\" v-bind=\"ptm('title')\">\n <slot name=\"title\"></slot>\n </div>\n <div v-if=\"$slots.subtitle\" :class=\"cx('subtitle')\" v-bind=\"ptm('subtitle')\">\n <slot name=\"subtitle\"></slot>\n </div>\n </div>\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"content\"></slot>\n </div>\n <div v-if=\"$slots.footer\" :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BaseCard from './BaseCard.vue';\n\nexport default {\n name: 'Card',\n extends: BaseCard,\n inheritAttrs: false\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.header\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <slot name=\"header\"></slot>\n </div>\n <div :class=\"cx('body')\" v-bind=\"ptm('body')\">\n <div v-if=\"$slots.title || $slots.subtitle\" :class=\"cx('caption')\" v-bind=\"ptm('caption')\">\n <div v-if=\"$slots.title\" :class=\"cx('title')\" v-bind=\"ptm('title')\">\n <slot name=\"title\"></slot>\n </div>\n <div v-if=\"$slots.subtitle\" :class=\"cx('subtitle')\" v-bind=\"ptm('subtitle')\">\n <slot name=\"subtitle\"></slot>\n </div>\n </div>\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"content\"></slot>\n </div>\n <div v-if=\"$slots.footer\" :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BaseCard from './BaseCard.vue';\n\nexport default {\n name: 'Card',\n extends: BaseCard,\n inheritAttrs: false\n};\n</script>\n"],"names":["name","BaseComponent","style","CardStyle","provide","$pcCard","$parentInstance","BaseCard","inheritAttrs","_openBlock","_createElementBlock","_mergeProps","_ctx","cx","ptmi","$slots","header","ptm","_renderSlot","_createElementVNode","title","subtitle","footer"],"mappings":";;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,UAAU;AAChB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAEC,SAAS;EAChBC,OAAO,EAAA,SAAPA,OAAOA,GAAG;IACN,OAAO;AACHC,MAAAA,OAAO,EAAE,IAAI;AACbC,MAAAA,eAAe,EAAE;KACpB;AACL;AACJ,CAAC;;ACaD,aAAe;AACXN,EAAAA,IAAI,EAAE,MAAM;AACZ,EAAA,SAAA,EAASO,QAAQ;AACjBC,EAAAA,YAAY,EAAE;AAClB,CAAC;;;EC9BG,OAAAC,SAAA,EAAA,EAAAC,kBAAA,CAoBK,OApBLC,UAoBK,CAAA;AApBC,IAAA,OAAA,EAAOC,IAAE,CAAAC,EAAA,CAAA,MAAA;KAAkBD,IAAI,CAAAE,IAAA,CAAA,MAAA,CAAA,CAAA,EAAA,CACtBF,IAAA,CAAAG,MAAM,CAACC,MAAM,IA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