Skip to main content

Card details

Component: <pcp-credit-card-details>

Preview:

Preview

Description

This component provides a concise summary of your credit card details and status, making it easy to review essential information at a glance. Additionally, some details can be edited as needed.


Usage

import { PcpCreditCardDetailsComponent, CARD_TYPE } from '@celerofinancas/pcp-client-ui';
<pcp-credit-card-details 
[cardId]="0"
[includeHeader]="true"
[cardType]="CARD_TYPE.additional"
[returnLink]="Voltar para cartões físicos da empresa"
[showLockCardButton]="false"
(returnLinkClicked)="returnLinkClicked($event)"
/>

Component Inputs and Outputs

Inputs

NameTypeDefaultDescriptionRequired
cardId`stringundefined`undefinedThe card identification to obtain the details
includeHeaderbooleantrueWhether to display the headerNO
cardTypeCARD_TYPECARD_TYPE.additionalThe type of current cardNO
returnLinkstring Return link text to card listNO
showLockCardButtonbooleanfalseWhether to display lock card buttonNO

Outputs

NameTypeDescription
returnLinkClickedEventEmitter<Card["id"]>Emits when the return link is clicked

Dependencies

  • @celerofinancas/ui-loaders
  • @celerofinancas/ui-modals

Notes