@masterteam/components 0.0.239 → 0.0.240
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
|
@@ -135,6 +135,13 @@ interface ColumnDef {
|
|
|
135
135
|
* in the shared "no value" group.
|
|
136
136
|
*/
|
|
137
137
|
groupKey?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the group header prefixes the value with this column's label
|
|
140
|
+
* ("Status · Active"). Defaults to `true`. Turn it off when the value already
|
|
141
|
+
* names itself — a project or person reads fine on its own, and the prefix is
|
|
142
|
+
* just noise repeated down the page.
|
|
143
|
+
*/
|
|
144
|
+
showGroupColumnLabel?: boolean;
|
|
138
145
|
readonly?: boolean;
|
|
139
146
|
width?: string;
|
|
140
147
|
filterOnly?: boolean;
|
|
@@ -199,6 +206,11 @@ declare class TableGroupingController {
|
|
|
199
206
|
getGroupCount(row: unknown): number;
|
|
200
207
|
readonly activeGroupColumn: Signal<ColumnDef | null>;
|
|
201
208
|
readonly groupingActive: Signal<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* Whether the group header repeats the grouped column's name before the
|
|
211
|
+
* value. Opt-out per column via `ColumnDef.showGroupColumnLabel`.
|
|
212
|
+
*/
|
|
213
|
+
readonly showsGroupColumnLabel: Signal<boolean>;
|
|
202
214
|
/**
|
|
203
215
|
* Returns true when the given column is the active group column and
|
|
204
216
|
* therefore cannot have its sort cleared (PrimeNG requirement).
|