@meshmakers/shared-ui 3.4.930 → 3.4.990
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
|
@@ -391,6 +391,14 @@ declare class ListViewComponent extends CommandBaseService implements OnDestroy,
|
|
|
391
391
|
protected readonly checkboxColumnWidth = 48;
|
|
392
392
|
protected getDisplayName(column: TableColumn): string;
|
|
393
393
|
protected getIsDisabled(commandItem: CommandItem, dataItem?: unknown): boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Toolbar variant of {@link getIsDisabled}: an `isDisabled` callback receives
|
|
396
|
+
* the current checkbox selection (always an array of row items, possibly
|
|
397
|
+
* empty), so selection-dependent toolbar actions can disable themselves
|
|
398
|
+
* until rows are selected — instead of answering an empty-selection click
|
|
399
|
+
* with a hint message.
|
|
400
|
+
*/
|
|
401
|
+
protected getToolbarItemDisabled(commandItem: CommandItem): boolean;
|
|
394
402
|
protected getValue(element: Record<string, unknown>, column: TableColumn): unknown;
|
|
395
403
|
/**
|
|
396
404
|
* Produces the formatted cell content when a column defines a `formatter` callback.
|