UNPKG

@totvs-agro/core-mobile

Version:

Core Mobile Totvs Agro (Front-End) para utilização dos estilos do T-Faces

20 lines 1.19 kB
import { Input } from '@angular/core'; var HTML_TEMPLATE = "\n<ion-item no-lines no-padding>\n <ion-thumbnail *ngIf=\"card.img\" item-start>\n <img width=\"72px\" height=\"72px\" src=\"{{card.img}}\">\n </ion-thumbnail>\n <h2 *ngIf=\"card.title\">{{card.title}}</h2>\n <p *ngIf=\"card.subTitle\">{{card.subTitle}}</p>\n <button ion-button clear item-end>\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n</ion-item>\n<hr>\n"; var CSS_STYLE = " \nimg {\n border-radius: 4px;\n object-fit: cover;\n margin-left: 16px;\n}\nh2 {\n font-size: 14px;\n font-weight: bold !important;\n color: #4a5c60; \n}\np {\n color: #4a5c60;\n opacity: 0.5;\n}\n\n\n"; /*@Component({ selector: 'card-item', template: HTML_TEMPLATE, styles: [CSS_STYLE] })*/ var CardItemComponent = /** @class */ (function () { function CardItemComponent() { } CardItemComponent.prototype.ngAfterViewInit = function () { }; CardItemComponent.propDecorators = { "card": [{ type: Input, args: ['card',] },], }; return CardItemComponent; }()); export { CardItemComponent }; //# sourceMappingURL=card-item.js.map