(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/api')) : typeof define === 'function' && define.amd ? define('primeng/card', ['exports', '@angular/core', '@angular/common', 'primeng/api'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.primeng = global.primeng || {}, global.primeng.card = {}), global.ng.core, global.ng.common, global.primeng.api)); }(this, (function (exports, core, common, api) { 'use strict'; var Card = /** @class */ (function () { function Card(el) { this.el = el; } Card.prototype.ngAfterContentInit = function () { var _this = this; this.templates.forEach(function (item) { switch (item.getType()) { case 'header': _this.headerTemplate = item.template; break; case 'title': _this.titleTemplate = item.template; break; case 'subtitle': _this.subtitleTemplate = item.template; break; case 'content': _this.contentTemplate = item.template; break; case 'footer': _this.footerTemplate = item.template; break; default: _this.contentTemplate = item.template; break; } }); }; Card.prototype.getBlockableElement = function () { return this.el.nativeElement.children[0]; }; return Card; }()); Card.decorators = [ { type: core.Component, args: [{ selector: 'p-card', template: "\n