Auto-generated card template
Custom card template (optional - auto-generated if not provided)
Precomputed per-record view-models bound by the template's @for. Rebuilt only when the source records, filter, selection, hidden matches, or template change — never per change-detection cycle. This eliminates the 4-5 buildPkString() allocations + 4 RegExp-building highlight calls that the previous per-card-per-CD method bindings incurred.
The entity metadata for the records being displayed
Current filter text for highlighting matches Supports SQL-style % wildcards
Map of record IDs to hidden field names that matched the filter Used to display an indicator when a match occurred in a non-visible field
Loading state for standalone mode
Page size for standalone data loading
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Emitted when a record should be opened (double click or open button)
The records to display as cards (optional - component can load its own)
Emitted when a record is selected (single click)
The currently selected record's primary key string
StaticɵdirStaticɵfacGet effective records (external or internal)
Get the effective card template (custom or auto-generated)
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Get the combined title from all title fields for a record. Joins multiple IsNameField values with spaces (e.g., "Elizabeth Rodriguez").
Get display label for a field using EntityFieldInfo's built-in DisplayNameOrName property
Get the display name of the hidden field that matched
Get the thumbnail type for a record, with per-record fallback through thumbnailFields
Get the thumbnail URL/value for a record, with per-record fallback
Check if a record matched on a hidden field
Highlight matching text in a string based on the filter text Uses HighlightUtil which only highlights if the text actually matches the pattern
A callback method that is invoked immediately after the default change detector has completed one change-check cycle for a component's view.
A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
EntityCardsComponent - Card-based view for entity records
This component provides an auto-generated card layout for displaying entity records. Cards are automatically structured based on entity metadata.
Supports two modes:
Example