@life-cockpit/angular-ui-kit 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6042,6 +6042,18 @@ declare class ChatComponent implements AfterViewChecked {
|
|
|
6042
6042
|
private addFiles;
|
|
6043
6043
|
private matchesAccept;
|
|
6044
6044
|
protected formatTime(date: Date | undefined): string;
|
|
6045
|
+
/**
|
|
6046
|
+
* Up to two uppercase initials from a name (first + last word), used for the
|
|
6047
|
+
* user avatar monogram when no `avatar` image is provided. Returns `''` for an
|
|
6048
|
+
* empty/whitespace name so the caller can skip rendering.
|
|
6049
|
+
*/
|
|
6050
|
+
protected initials(name: string | undefined): string;
|
|
6051
|
+
/**
|
|
6052
|
+
* Whether to show an avatar on a user turn: only when avatars are enabled and
|
|
6053
|
+
* the message carries either an image or a name we can build a monogram from.
|
|
6054
|
+
* Keeps the labelless bubble clean when there's nothing to show.
|
|
6055
|
+
*/
|
|
6056
|
+
protected showUserAvatar(msg: ChatMessage): boolean;
|
|
6045
6057
|
protected shouldRenderMarkdown(role: ChatMessageRole): boolean;
|
|
6046
6058
|
/** Whether a message carries a semantic (non-`default`) status. */
|
|
6047
6059
|
protected isSemanticStatus(status: ChatMessageStatus | undefined): boolean;
|