Secondary cards list
Component: <pcp-secondary-cards>
Preview:

Description
This component displays a list of secondary cards related to the main card.
Usage
import { PcpSecondaryCardsComponent } from '@celerofinancas/pcp-client-ui';
<pcp-secondary-cards
[title]="'Resumo de limite atual'"
[cardId]="0"
[displayedColumns]="displayedColumns"
[cardOptions]="CARD_TYPE.additional"
(navigate)="navigate($event)"
/>
Component Inputs and Outputs
Inputs
| Name | Type | Default | Description | Required |
|---|---|---|---|---|
title | string | Resumo de limite atual | The title of the component | NO |
cardId | number | undefined | The card identification to obtain the secondary cards | YES |
displayedColumns | {} | VIRTUAL_CARDS_COLUMNS | The columns to display in the table | NO |
Outputs
| Name | Type | Description |
|---|---|---|
navigate | EventEmitter<{ id: number, type: CARD_TYPE }> | Emits a table cell is clicked |
Dependencies
- @celerofinancas/class-utils
- @celerofinancas/ui-common
- @celerofinancas/ui-directives
- @celerofinancas/service-utils