@life-cockpit/angular-ui-kit 2.2.1 → 2.4.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
|
@@ -3870,8 +3870,53 @@ interface SelectionChangeEvent {
|
|
|
3870
3870
|
selected: Record<string, unknown>[];
|
|
3871
3871
|
allSelected: boolean;
|
|
3872
3872
|
}
|
|
3873
|
+
/** Emitted when a parent (group) row is expanded or collapsed in tree mode. */
|
|
3874
|
+
interface RowToggleEvent {
|
|
3875
|
+
id: string;
|
|
3876
|
+
expanded: boolean;
|
|
3877
|
+
row: Record<string, unknown>;
|
|
3878
|
+
}
|
|
3879
|
+
/**
|
|
3880
|
+
* Configuration that enables hierarchical (tree / grouped) rows. Mirrors the
|
|
3881
|
+
* discrete `idKey` / `parentKey` / `treeColumn` inputs and is exported for
|
|
3882
|
+
* consumers that prefer to pass a single config object around.
|
|
3883
|
+
*/
|
|
3884
|
+
interface TableTreeConfig {
|
|
3885
|
+
idKey: string;
|
|
3886
|
+
parentKey: string;
|
|
3887
|
+
treeColumn?: string;
|
|
3888
|
+
}
|
|
3873
3889
|
type TableVariant = 'default' | 'striped' | 'bordered';
|
|
3874
3890
|
type TableSize = 'sm' | 'md' | 'lg';
|
|
3891
|
+
/**
|
|
3892
|
+
* Internal, render-ready view-model for a single visible table row. In flat
|
|
3893
|
+
* mode every row is depth 0 with no tree adornments; in tree mode it carries
|
|
3894
|
+
* the disclosure / indentation / aria metadata for the row.
|
|
3895
|
+
*/
|
|
3896
|
+
interface DisplayRow {
|
|
3897
|
+
/** The underlying data object. */
|
|
3898
|
+
row: Record<string, unknown>;
|
|
3899
|
+
/**
|
|
3900
|
+
* Absolute index used for selection, inline editing and action callbacks.
|
|
3901
|
+
* Flat mode: the positional absolute index (page offset + relative index),
|
|
3902
|
+
* preserving today's behavior. Tree mode: the row's index into `data()`.
|
|
3903
|
+
*/
|
|
3904
|
+
absIndex: number;
|
|
3905
|
+
/** Row id (tree mode only; `null` in flat mode). */
|
|
3906
|
+
id: string | null;
|
|
3907
|
+
/** Tree depth — 0 for roots and for every row in flat mode. */
|
|
3908
|
+
depth: number;
|
|
3909
|
+
/** 1-based depth, surfaced as `aria-level` in tree mode. */
|
|
3910
|
+
level: number;
|
|
3911
|
+
/** Whether this row has visible children (renders a chevron). */
|
|
3912
|
+
hasChildren: boolean;
|
|
3913
|
+
/** Whether this parent row is currently expanded. */
|
|
3914
|
+
expanded: boolean;
|
|
3915
|
+
/** 1-based position within its sibling group (`aria-posinset`). */
|
|
3916
|
+
posInSet: number;
|
|
3917
|
+
/** Size of its sibling group (`aria-setsize`). */
|
|
3918
|
+
setSize: number;
|
|
3919
|
+
}
|
|
3875
3920
|
/**
|
|
3876
3921
|
* Table component for displaying structured data in rows and columns.
|
|
3877
3922
|
*
|
|
@@ -3884,6 +3929,7 @@ type TableSize = 'sm' | 'md' | 'lg';
|
|
|
3884
3929
|
* - Per-cell class/style callbacks for conditional styling
|
|
3885
3930
|
* - Custom cell templates via content projection
|
|
3886
3931
|
* - Composed cells (e.g. avatar + badge + actions)
|
|
3932
|
+
* - Hierarchical "tree" rows (grouped / expandable) via `idKey` + `parentKey`
|
|
3887
3933
|
* - Responsive horizontal scrolling
|
|
3888
3934
|
* - Empty state text for no data
|
|
3889
3935
|
* - Accessible with proper table semantics
|
|
@@ -3948,6 +3994,30 @@ declare class TableComponent {
|
|
|
3948
3994
|
actionsWidth: _angular_core.InputSignal<string | undefined>;
|
|
3949
3995
|
/** Horizontal alignment of the action buttons (and header label) within the cell */
|
|
3950
3996
|
actionsAlign: _angular_core.InputSignal<TableActionsAlign>;
|
|
3997
|
+
/**
|
|
3998
|
+
* Row field holding the unique id. Required (together with {@link parentKey})
|
|
3999
|
+
* to enable hierarchical "tree mode". Absent ⇒ today's flat table.
|
|
4000
|
+
*/
|
|
4001
|
+
idKey: _angular_core.InputSignal<string | undefined>;
|
|
4002
|
+
/**
|
|
4003
|
+
* Row field referencing the parent row's id. Presence of both `idKey` and
|
|
4004
|
+
* `parentKey` enables tree mode. Rows with an absent/empty or unknown parent
|
|
4005
|
+
* id are treated as roots.
|
|
4006
|
+
*/
|
|
4007
|
+
parentKey: _angular_core.InputSignal<string | undefined>;
|
|
4008
|
+
/** Column key the chevron + indentation attach to. Default: first column. */
|
|
4009
|
+
treeColumn: _angular_core.InputSignal<string | undefined>;
|
|
4010
|
+
/** Initial expand state for all parent rows when uncontrolled. Default: true. */
|
|
4011
|
+
defaultExpanded: _angular_core.InputSignal<boolean>;
|
|
4012
|
+
/**
|
|
4013
|
+
* Controlled set of expanded parent ids. When provided, the table renders
|
|
4014
|
+
* exactly these as expanded; combine with {@link expandedIdsChange} for
|
|
4015
|
+
* `[(expandedIds)]`. When omitted, expansion is uncontrolled and seeded by
|
|
4016
|
+
* {@link defaultExpanded}.
|
|
4017
|
+
*/
|
|
4018
|
+
expandedIds: _angular_core.InputSignal<string[] | undefined>;
|
|
4019
|
+
/** Indentation per depth level, in px. Default: 20. */
|
|
4020
|
+
indentSize: _angular_core.InputSignal<number>;
|
|
3951
4021
|
/** Emitted when a sortable column header is clicked */
|
|
3952
4022
|
readonly sort: _angular_core.OutputEmitterRef<SortEvent>;
|
|
3953
4023
|
/** Emitted when a row is clicked */
|
|
@@ -3958,11 +4028,19 @@ declare class TableComponent {
|
|
|
3958
4028
|
readonly selectionChange: _angular_core.OutputEmitterRef<SelectionChangeEvent>;
|
|
3959
4029
|
/** Emitted when a row action button is clicked */
|
|
3960
4030
|
readonly actionClick: _angular_core.OutputEmitterRef<ActionClickEvent>;
|
|
4031
|
+
/** Emitted when a parent row is expanded/collapsed (tree mode). */
|
|
4032
|
+
readonly rowToggle: _angular_core.OutputEmitterRef<RowToggleEvent>;
|
|
4033
|
+
/** Emitted with the full list of expanded parent ids; enables `[(expandedIds)]`. */
|
|
4034
|
+
readonly expandedIdsChange: _angular_core.OutputEmitterRef<string[]>;
|
|
3961
4035
|
protected currentSort: _angular_core.WritableSignal<{
|
|
3962
4036
|
column: string;
|
|
3963
4037
|
direction: "asc" | "desc";
|
|
3964
4038
|
} | null>;
|
|
3965
4039
|
protected currentPage: _angular_core.WritableSignal<number>;
|
|
4040
|
+
/**
|
|
4041
|
+
* Effective page size. Seeded from the `pageSize` input (resetting if it
|
|
4042
|
+
* changes) and overridable by the user via the page-size dropdown.
|
|
4043
|
+
*/
|
|
3966
4044
|
protected internalPageSize: _angular_core.WritableSignal<number>;
|
|
3967
4045
|
protected selectedRows: _angular_core.WritableSignal<Set<number>>;
|
|
3968
4046
|
protected columnFilters: _angular_core.WritableSignal<Record<string, string>>;
|
|
@@ -3971,21 +4049,50 @@ declare class TableComponent {
|
|
|
3971
4049
|
column: string;
|
|
3972
4050
|
} | null>;
|
|
3973
4051
|
protected editValue: _angular_core.WritableSignal<string>;
|
|
4052
|
+
/** User expand/collapse overrides keyed by row id (uncontrolled mode). */
|
|
4053
|
+
private readonly expandOverrides;
|
|
3974
4054
|
/**
|
|
3975
4055
|
* Filtered data (applies column filters)
|
|
3976
4056
|
*/
|
|
3977
4057
|
protected readonly filteredData: _angular_core.Signal<Record<string, unknown>[]>;
|
|
4058
|
+
/** Comparator for the active sort, shared by flat sorting and tree sibling sorting. */
|
|
4059
|
+
private rowComparator;
|
|
3978
4060
|
/**
|
|
3979
4061
|
* Sorted data
|
|
3980
4062
|
*/
|
|
3981
4063
|
protected readonly sortedData: _angular_core.Signal<Record<string, unknown>[]>;
|
|
3982
4064
|
/**
|
|
3983
|
-
* Paginated data (or all if pagination disabled)
|
|
4065
|
+
* Paginated data (or all if pagination disabled). Flat mode only.
|
|
3984
4066
|
*/
|
|
3985
4067
|
protected readonly displayData: _angular_core.Signal<Record<string, unknown>[]>;
|
|
4068
|
+
/** Whether hierarchical tree mode is active. */
|
|
4069
|
+
protected readonly treeMode: _angular_core.Signal<boolean>;
|
|
4070
|
+
/** Column the chevron + indentation attach to (defaults to the first column). */
|
|
4071
|
+
protected readonly effectiveTreeColumn: _angular_core.Signal<string>;
|
|
4072
|
+
/** Stable map of row object → its index in `data()` (row identity for tree mode). */
|
|
4073
|
+
private readonly dataIndexMap;
|
|
4074
|
+
/** Parent → ordered children index built from `idKey`/`parentKey`. */
|
|
4075
|
+
private readonly treeBuild;
|
|
4076
|
+
/**
|
|
4077
|
+
* Tree restricted to rows that match the active filters together with their
|
|
4078
|
+
* ancestor chain (so the path to a match stays visible).
|
|
4079
|
+
*/
|
|
4080
|
+
private readonly treeFiltered;
|
|
4081
|
+
/** Tree with each sibling group sorted by the active sort (structure kept intact). */
|
|
4082
|
+
private readonly treeSorted;
|
|
4083
|
+
/** Root rows after filter/sort — the unit of pagination in tree mode. */
|
|
4084
|
+
private readonly treeRoots;
|
|
4085
|
+
/**
|
|
4086
|
+
* Render-ready rows. In flat mode this wraps the existing paginated data; in
|
|
4087
|
+
* tree mode it paginates roots and flattens each visible (expanded) subtree.
|
|
4088
|
+
*/
|
|
4089
|
+
protected readonly displayRows: _angular_core.Signal<DisplayRow[]>;
|
|
3986
4090
|
/** Total pages */
|
|
3987
4091
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
3988
|
-
/**
|
|
4092
|
+
/**
|
|
4093
|
+
* Pagination row count. Tree mode counts root rows (the paginated unit); flat
|
|
4094
|
+
* mode counts filtered rows.
|
|
4095
|
+
*/
|
|
3989
4096
|
protected readonly totalRows: _angular_core.Signal<number>;
|
|
3990
4097
|
/** Whether all visible rows are selected */
|
|
3991
4098
|
protected readonly allSelected: _angular_core.Signal<boolean>;
|
|
@@ -4006,41 +4113,54 @@ declare class TableComponent {
|
|
|
4006
4113
|
getAriaSort(columnKey: string): string | null;
|
|
4007
4114
|
getHeaderClasses(column: TableColumn): string;
|
|
4008
4115
|
getCellValue(row: Record<string, unknown>, columnKey: string): unknown;
|
|
4009
|
-
getFormattedCellValue(row: Record<string, unknown>, column: TableColumn,
|
|
4010
|
-
getCellClasses(row: Record<string, unknown>, column: TableColumn,
|
|
4011
|
-
getCellStyles(row: Record<string, unknown>, column: TableColumn,
|
|
4116
|
+
getFormattedCellValue(row: Record<string, unknown>, column: TableColumn, rowIndex: number): unknown;
|
|
4117
|
+
getCellClasses(row: Record<string, unknown>, column: TableColumn, rowIndex: number): string;
|
|
4118
|
+
getCellStyles(row: Record<string, unknown>, column: TableColumn, rowIndex: number): Record<string, string> | null;
|
|
4119
|
+
/** Whether the given column is the disclosure/indent column in tree mode. */
|
|
4120
|
+
protected isTreeColumn(columnKey: string): boolean;
|
|
4121
|
+
/** Indent levels to render before a row's chevron (one guide per ancestor depth). */
|
|
4122
|
+
protected indentLevels(depth: number): number[];
|
|
4123
|
+
/** Accessible name for a row's disclosure button (the tree column's value). */
|
|
4124
|
+
protected treeCellLabel(row: Record<string, unknown>): string;
|
|
4012
4125
|
getCellTemplate(columnKey: string): TableCellDirective | undefined;
|
|
4013
4126
|
hasCustomTemplate(columnKey: string): boolean;
|
|
4014
4127
|
onRowClick(row: Record<string, unknown>): void;
|
|
4015
4128
|
/** Whether the trailing actions column should be rendered */
|
|
4016
4129
|
protected readonly hasActions: _angular_core.Signal<boolean>;
|
|
4017
|
-
protected isActionHidden(action: TableAction, row: Record<string, unknown>,
|
|
4018
|
-
protected isActionDisabled(action: TableAction, row: Record<string, unknown>,
|
|
4130
|
+
protected isActionHidden(action: TableAction, row: Record<string, unknown>, rowIndex: number): boolean;
|
|
4131
|
+
protected isActionDisabled(action: TableAction, row: Record<string, unknown>, rowIndex: number): boolean;
|
|
4019
4132
|
/**
|
|
4020
4133
|
* Handles an action button click. The DOM click is stopped from propagating
|
|
4021
4134
|
* (see template `$event.stopPropagation()`), so the row's `rowClick` never fires.
|
|
4022
4135
|
*/
|
|
4023
|
-
protected onActionClick(action: TableAction, row: Record<string, unknown>,
|
|
4136
|
+
protected onActionClick(action: TableAction, row: Record<string, unknown>, rowIndex: number): void;
|
|
4137
|
+
/** Whether the parent row with the given id is currently expanded. */
|
|
4138
|
+
protected isExpanded(id: string): boolean;
|
|
4139
|
+
/** Chevron click: toggle expand state without triggering the row click. */
|
|
4140
|
+
protected onChevronClick(displayRow: DisplayRow, event: Event): void;
|
|
4141
|
+
private toggleRow;
|
|
4142
|
+
/** The full list of expanded parent ids after applying a single toggle. */
|
|
4143
|
+
private nextExpandedIds;
|
|
4024
4144
|
protected goToPage(page: number): void;
|
|
4025
4145
|
protected onPageSizeChange(event: Event): void;
|
|
4026
4146
|
protected onPageSizeModelChange(value: string | number | null): void;
|
|
4027
4147
|
protected get paginationStart(): number;
|
|
4028
4148
|
protected get paginationEnd(): number;
|
|
4029
4149
|
protected toggleSelectAll(): void;
|
|
4030
|
-
protected toggleRowSelect(
|
|
4031
|
-
protected isRowSelected(
|
|
4150
|
+
protected toggleRowSelect(absIndex: number): void;
|
|
4151
|
+
protected isRowSelected(absIndex: number): boolean;
|
|
4032
4152
|
private getAbsoluteIndex;
|
|
4033
4153
|
private emitSelectionChange;
|
|
4034
4154
|
protected onFilterChange(columnKey: string, value: string): void;
|
|
4035
4155
|
protected getFilterValue(columnKey: string): string;
|
|
4036
|
-
protected startEdit(
|
|
4037
|
-
protected isEditing(
|
|
4038
|
-
protected commitEdit(
|
|
4156
|
+
protected startEdit(absIndex: number, column: string, currentValue: unknown): void;
|
|
4157
|
+
protected isEditing(absIndex: number, column: string): boolean;
|
|
4158
|
+
protected commitEdit(absIndex: number, column: string): void;
|
|
4039
4159
|
protected cancelEdit(): void;
|
|
4040
|
-
protected onEditKeydown(event: KeyboardEvent,
|
|
4160
|
+
protected onEditKeydown(event: KeyboardEvent, absIndex: number, column: string): void;
|
|
4041
4161
|
protected getInputValue(event: Event): string;
|
|
4042
4162
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
4043
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "lc-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "hoverable": { "alias": "hoverable"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "paginate": { "alias": "paginate"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "filterable": { "alias": "filterable"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "actionsLabel": { "alias": "actionsLabel"; "required": false; "isSignal": true; }; "actionsWidth": { "alias": "actionsWidth"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; }, { "sort": "sort"; "rowClick": "rowClick"; "cellEdit": "cellEdit"; "selectionChange": "selectionChange"; "actionClick": "actionClick"; }, ["cellTemplates"], never, true, never>;
|
|
4163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "lc-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "hoverable": { "alias": "hoverable"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "paginate": { "alias": "paginate"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "filterable": { "alias": "filterable"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "actionsLabel": { "alias": "actionsLabel"; "required": false; "isSignal": true; }; "actionsWidth": { "alias": "actionsWidth"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; "idKey": { "alias": "idKey"; "required": false; "isSignal": true; }; "parentKey": { "alias": "parentKey"; "required": false; "isSignal": true; }; "treeColumn": { "alias": "treeColumn"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "indentSize": { "alias": "indentSize"; "required": false; "isSignal": true; }; }, { "sort": "sort"; "rowClick": "rowClick"; "cellEdit": "cellEdit"; "selectionChange": "selectionChange"; "actionClick": "actionClick"; "rowToggle": "rowToggle"; "expandedIdsChange": "expandedIdsChange"; }, ["cellTemplates"], never, true, never>;
|
|
4044
4164
|
}
|
|
4045
4165
|
|
|
4046
4166
|
/**
|
|
@@ -5521,6 +5641,13 @@ declare class GanttChartComponent {
|
|
|
5521
5641
|
}
|
|
5522
5642
|
|
|
5523
5643
|
type ChatMessageRole = 'user' | 'agent' | 'system';
|
|
5644
|
+
/**
|
|
5645
|
+
* Semantic status of a chat message — orthogonal to `role` (role = *who*
|
|
5646
|
+
* speaks; status = *what kind* of message). Reuses the semantic vocabulary of
|
|
5647
|
+
* `lc-alert` / `lc-callout` and drives the rail dot/accent colour + a status
|
|
5648
|
+
* icon. `'default'` (or omitted) reproduces the role-coloured behaviour exactly.
|
|
5649
|
+
*/
|
|
5650
|
+
type ChatMessageStatus = 'default' | 'info' | 'success' | 'warning' | 'error';
|
|
5524
5651
|
/**
|
|
5525
5652
|
* Controls which messages are rendered as Markdown via `<lc-markdown>`.
|
|
5526
5653
|
* - `false` (default): plain text rendering (legacy behavior)
|
|
@@ -5555,6 +5682,14 @@ interface ChatMessage {
|
|
|
5555
5682
|
avatar?: string;
|
|
5556
5683
|
name?: string;
|
|
5557
5684
|
streaming?: boolean;
|
|
5685
|
+
/**
|
|
5686
|
+
* Semantic status — colours the rail dot/accent and shows a status icon.
|
|
5687
|
+
* Independent of `role`: a `role: 'agent'` message can be `status: 'error'`
|
|
5688
|
+
* (failed reply) or `status: 'success'` (tool finished). Defaults to
|
|
5689
|
+
* `'default'`, which reproduces today's role-coloured behaviour exactly.
|
|
5690
|
+
* An `'error'` message never pulses and is announced assertively (`role="alert"`).
|
|
5691
|
+
*/
|
|
5692
|
+
status?: ChatMessageStatus;
|
|
5558
5693
|
/** Optional file attachments associated with the message. */
|
|
5559
5694
|
attachments?: ChatAttachment[];
|
|
5560
5695
|
/** Arbitrary data passed to a custom messageTemplate. */
|
|
@@ -5653,6 +5788,14 @@ declare class ChatComponent implements AfterViewChecked {
|
|
|
5653
5788
|
avatar?: string;
|
|
5654
5789
|
name?: string;
|
|
5655
5790
|
streaming?: boolean;
|
|
5791
|
+
/**
|
|
5792
|
+
* Semantic status — colours the rail dot/accent and shows a status icon.
|
|
5793
|
+
* Independent of `role`: a `role: 'agent'` message can be `status: 'error'`
|
|
5794
|
+
* (failed reply) or `status: 'success'` (tool finished). Defaults to
|
|
5795
|
+
* `'default'`, which reproduces today's role-coloured behaviour exactly.
|
|
5796
|
+
* An `'error'` message never pulses and is announced assertively (`role="alert"`).
|
|
5797
|
+
*/
|
|
5798
|
+
status?: ChatMessageStatus;
|
|
5656
5799
|
/** Optional file attachments associated with the message. */
|
|
5657
5800
|
attachments?: ChatAttachment[];
|
|
5658
5801
|
/** Arbitrary data passed to a custom messageTemplate. */
|
|
@@ -5673,6 +5816,16 @@ declare class ChatComponent implements AfterViewChecked {
|
|
|
5673
5816
|
private matchesAccept;
|
|
5674
5817
|
protected formatTime(date: Date | undefined): string;
|
|
5675
5818
|
protected shouldRenderMarkdown(role: ChatMessageRole): boolean;
|
|
5819
|
+
/** Whether a message carries a semantic (non-`default`) status. */
|
|
5820
|
+
protected isSemanticStatus(status: ChatMessageStatus | undefined): boolean;
|
|
5821
|
+
/** Rail icon for a semantic status — reuses the `lc-alert` icon names. */
|
|
5822
|
+
protected statusIcon(status: ChatMessageStatus | undefined): string;
|
|
5823
|
+
/** Semantic token colour for a status dot/icon. */
|
|
5824
|
+
protected statusColor(status: ChatMessageStatus | undefined): string;
|
|
5825
|
+
/** Visually-hidden prefix so colour/icon is never the only signal. */
|
|
5826
|
+
protected statusLabel(status: ChatMessageStatus | undefined): string;
|
|
5827
|
+
/** ARIA live priority: assertive for `error`, polite for other statuses. */
|
|
5828
|
+
protected statusAriaLive(status: ChatMessageStatus | undefined): 'assertive' | 'polite' | null;
|
|
5676
5829
|
private scrollToBottom;
|
|
5677
5830
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatComponent, never>;
|
|
5678
5831
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatComponent, "lc-chat", never, { "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "isStreaming": { "alias": "isStreaming"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "messageAnchor": { "alias": "messageAnchor"; "required": false; "isSignal": true; }; "contentWidth": { "alias": "contentWidth"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showAvatars": { "alias": "showAvatars"; "required": false; "isSignal": true; }; "showTimestamps": { "alias": "showTimestamps"; "required": false; "isSignal": true; }; "renderMarkdown": { "alias": "renderMarkdown"; "required": false; "isSignal": true; }; "allowFileUpload": { "alias": "allowFileUpload"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; }, { "messageSend": "messageSend"; "fileAttach": "fileAttach"; }, ["messageTemplate"], never, true, never>;
|
|
@@ -7018,4 +7171,4 @@ declare class StageListComponent {
|
|
|
7018
7171
|
}
|
|
7019
7172
|
|
|
7020
7173
|
export { AccordionComponent, AccordionGroupComponent, AlertComponent, AnimationDurationFast, AnimationEasingEaseIn, AnimationEasingEaseInOut, AnimationEasingEaseOut, AreaChartComponent, AvatarComponent, AvatarGroupComponent, BadgeComponent, BarChartComponent, BorderRadius2xl, BorderRadiusFull, BorderRadiusLg, BorderRadiusMd, BorderRadiusNone, BorderRadiusSm, BorderRadiusXl, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CalloutComponent, CardComponent, ChatComponent, CheckboxComponent, ChipComponent, CodeBlockComponent, ColorAccentOrange, ColorAccentPurple, ColorAccentRed, ColorAccentRust, ColorAccentViolet, ColorBackgroundDark, ColorErrorDark, ColorErrorDefault, ColorErrorLight, ColorInfoDark, ColorInfoDefault, ColorInfoLight, ColorNeutral100, ColorNeutral200, ColorNeutral300, ColorNeutral400, ColorNeutral50, ColorNeutral500, ColorNeutral600, ColorNeutral700, ColorNeutral800, ColorNeutral900, ColorPickerComponent, ColorPrimary100, ColorPrimary200, ColorPrimary300, ColorPrimary400, ColorPrimary50, ColorPrimary500, ColorPrimary600, ColorPrimary700, ColorPrimary800, ColorPrimary900, ColorSecondary100, ColorSecondary200, ColorSecondary300, ColorSecondary400, ColorSecondary50, ColorSecondary500, ColorSecondary600, ColorSecondary700, ColorSecondary800, ColorSecondary900, ColorSuccessDark, ColorSuccessDefault, ColorSuccessLight, ColorSurfaceDarkBase, ColorSurfaceDarkRaised, ColorSurfaceDarkSunken, ColorTextDarkPrimary, ColorTextDarkSecondary, ColorTextDarkTertiary, ColorWarningDark, ColorWarningDefault, ColorWarningLight, ComboboxComponent, ConfirmDialogComponent, ConfirmService, ContainerComponent, DateRangePickerComponent, DatepickerComponent, DependencyViewerComponent, DiffViewerComponent, DividerComponent, DocumentViewerComponent, DonutChartComponent, DrawerComponent, Elevation1, Elevation2, Elevation3, Elevation4, EmailInputComponent, EmptyStateComponent, ErrorDisplayComponent, FILE_FALLBACK_ICON, FOLDER_ICON, FOLDER_OPEN_ICON, FieldGroupComponent, FileUploadComponent, FilterBarComponent, FooterComponent, FunnelChartComponent, GalleryComponent, GanttChartComponent, GaugeComponent, HeaderComponent, HeatmapComponent, HeroComponent, IconComponent, InputComponent, KanbanBoardComponent, LC_LOGO_BASE_PATH, LineChartComponent, ListComponent, ListItemTemplateDirective, LogViewerComponent, LogoComponent, MarkdownComponent, MenuComponent, ModalComponent, NotificationCenterComponent, NumberInputComponent, PageHeaderComponent, PageLayoutComponent, PaginationComponent, PasswordInputComponent, PieChartComponent, PopoverComponent, ProgressBarComponent, ProgressRingComponent, RadarChartComponent, RadioComponent, RatingComponent, RichTextEditorComponent, ScatterPlotComponent, SearchInputComponent, SectionComponent, SelectComponent, SidenavComponent, SizeInteractiveLgFontSize, SizeInteractiveLgHeight, SizeInteractiveLgPadding, SizeInteractiveMdFontSize, SizeInteractiveMdHeight, SizeInteractiveMdPadding, SizeInteractiveSmFontSize, SizeInteractiveSmHeight, SizeInteractiveSmPadding, SizeInteractiveXsFontSize, SizeInteractiveXsHeight, SizeInteractiveXsPadding, SizeMinTouchHeight, SizeMinTouchWidth, SkeletonComponent, SliderComponent, SpacerComponent, Spacing0, Spacing05, Spacing1, Spacing10, Spacing11, Spacing12, Spacing14, Spacing15, Spacing16, Spacing2, Spacing25, Spacing3, Spacing35, Spacing4, Spacing5, Spacing6, Spacing7, Spacing8, Spacing9, SparklineComponent, SpinnerComponent, StackComponent, StackedBarChartComponent, StageListComponent, StatTrendComponent, StepperComponent, SwitchComponent, TabComponent, TableCellDirective, TableComponent, TabsComponent, TagInputComponent, TextareaComponent, ThemeService, TimelineComponent, ToastComponent, ToastService, ToggleGroupComponent, ToolbarComponent, TooltipContentComponent, TooltipDirective, TreeViewComponent, TypographyComponent, TypographyFontFamilyBase, TypographyFontFamilyMono, TypographyFontSize2xl, TypographyFontSize3xl, TypographyFontSize4xl, TypographyFontSize5xl, TypographyFontSize6xl, TypographyFontSizeBase, TypographyFontSizeLg, TypographyFontSizeSm, TypographyFontSizeXl, TypographyFontSizeXs, TypographyFontWeightBold, TypographyFontWeightMedium, TypographyFontWeightNormal, TypographyFontWeightSemibold, TypographyLineHeightNormal, TypographyLineHeightRelaxed, TypographyLineHeightTight, VerificationCodeInputComponent, WaterfallChartComponent, resolveFileIcon };
|
|
7021
|
-
export type { ActionClickEvent, AlertVariant, AreaChartSeries, AvatarGroupItem, AvatarSize, AvatarStatus, BadgeSize, BadgeVariant, BarChartItem, BarChartOrientation, BreadcrumbItem, BreadcrumbSize, ButtonSize, ButtonType, ButtonVariant, CalendarEvent, CalendarView, CalloutVariant, CellEditEvent, ChatAttachment, ChatFileAttachEvent, ChatMessage, ChatMessageRole, ChatRenderMarkdown, ChatSendEvent, CheckboxSize, ChipSize, ChipVariant, CodeBlockLanguage, ComboboxOption, ComboboxSize, ComboboxValue, ConfirmDialogVariant, ConfirmOptions, ContainerSize, DateRange, DateValue, DependencyDirection, DependencyEdgeDef, DependencyNode, DependencyNodeStatus, DependencyRelation, DiffViewMode, DividerOrientation, DividerSpacing, DividerVariant, DocumentType, DonutChartSize, DonutSegment, DrawerPosition, DrawerSize, EmptyStateSize, ErrorSeverity, FileUploadFile, FilterConfig, FilterOption, FilterValues, FooterLink, FooterSection, FooterVariant, FunnelStep, GalleryItem, GalleryLayout, GallerySize, GanttDependency, GanttTask, GaugeColor, GaugeSize, HeatmapCell, HeroColor, HeroSize, HeroVariant, IconSize, IconVariant, KanbanCard, KanbanColumn, KanbanLabel, KanbanMoveEvent, LineChartSeries, ListItem, ListOrientation, ListSize, ListVariant, LogLevel, LogLine, LogViewerVariant, MarkdownHeading, MarkdownLinkClick, MarkdownRendered, MenuItem, ModalSize, NavigationItem, Notification, NotificationPriority, NotificationType, PageLayoutFill, PaginationSize, PasswordRequirement, PasswordStrength, PieChartSize, PieSegment, PopoverPosition, PopoverTrigger, ProgressBarColor, ProgressBarSize, ProgressBarVariant, ProgressRingColor, ProgressRingSize, RadarChartSeries, RadioSize, RatingSize, RenderPart, RequireTextConfig, RichTextEditorMode, ScatterPoint, ScatterSeries, SearchInputSize, SectionBackground, SectionSpacing, SelectOption, SelectOptionGroup, SelectValue, SelectionChangeEvent, SidenavMode, SidenavPosition, SkeletonVariant, SortEvent, SpacerSize, SparklineColor, SparklineCurve, SpinnerSize, StackAlign, StackDirection, StackGap, StackJustify, StackedBarCategory, StackedBarLegend, StackedBarOrientation, StageItem, StageListSize, StatTrendDirection, StepState, StepperStep, TabOrientation, TableAction, TableActionsAlign, TableColumn, TableSize, TableVariant, ThemeConfig, ThemeMode, ThemeState, TimelineItem, TimelineOrientation, Toast, ToastAction, ToastConfig, ToastPosition, ToastVariant, ToggleOption, ToolbarAction, ToolbarConfig, TooltipPosition, TreeNode, TreeNodeType, WaterfallItem };
|
|
7174
|
+
export type { ActionClickEvent, AlertVariant, AreaChartSeries, AvatarGroupItem, AvatarSize, AvatarStatus, BadgeSize, BadgeVariant, BarChartItem, BarChartOrientation, BreadcrumbItem, BreadcrumbSize, ButtonSize, ButtonType, ButtonVariant, CalendarEvent, CalendarView, CalloutVariant, CellEditEvent, ChatAttachment, ChatFileAttachEvent, ChatMessage, ChatMessageRole, ChatMessageStatus, ChatRenderMarkdown, ChatSendEvent, CheckboxSize, ChipSize, ChipVariant, CodeBlockLanguage, ComboboxOption, ComboboxSize, ComboboxValue, ConfirmDialogVariant, ConfirmOptions, ContainerSize, DateRange, DateValue, DependencyDirection, DependencyEdgeDef, DependencyNode, DependencyNodeStatus, DependencyRelation, DiffViewMode, DividerOrientation, DividerSpacing, DividerVariant, DocumentType, DonutChartSize, DonutSegment, DrawerPosition, DrawerSize, EmptyStateSize, ErrorSeverity, FileUploadFile, FilterConfig, FilterOption, FilterValues, FooterLink, FooterSection, FooterVariant, FunnelStep, GalleryItem, GalleryLayout, GallerySize, GanttDependency, GanttTask, GaugeColor, GaugeSize, HeatmapCell, HeroColor, HeroSize, HeroVariant, IconSize, IconVariant, KanbanCard, KanbanColumn, KanbanLabel, KanbanMoveEvent, LineChartSeries, ListItem, ListOrientation, ListSize, ListVariant, LogLevel, LogLine, LogViewerVariant, MarkdownHeading, MarkdownLinkClick, MarkdownRendered, MenuItem, ModalSize, NavigationItem, Notification, NotificationPriority, NotificationType, PageLayoutFill, PaginationSize, PasswordRequirement, PasswordStrength, PieChartSize, PieSegment, PopoverPosition, PopoverTrigger, ProgressBarColor, ProgressBarSize, ProgressBarVariant, ProgressRingColor, ProgressRingSize, RadarChartSeries, RadioSize, RatingSize, RenderPart, RequireTextConfig, RichTextEditorMode, RowToggleEvent, ScatterPoint, ScatterSeries, SearchInputSize, SectionBackground, SectionSpacing, SelectOption, SelectOptionGroup, SelectValue, SelectionChangeEvent, SidenavMode, SidenavPosition, SkeletonVariant, SortEvent, SpacerSize, SparklineColor, SparklineCurve, SpinnerSize, StackAlign, StackDirection, StackGap, StackJustify, StackedBarCategory, StackedBarLegend, StackedBarOrientation, StageItem, StageListSize, StatTrendDirection, StepState, StepperStep, TabOrientation, TableAction, TableActionsAlign, TableColumn, TableSize, TableTreeConfig, TableVariant, ThemeConfig, ThemeMode, ThemeState, TimelineItem, TimelineOrientation, Toast, ToastAction, ToastConfig, ToastPosition, ToastVariant, ToggleOption, ToolbarAction, ToolbarConfig, TooltipPosition, TreeNode, TreeNodeType, WaterfallItem };
|