/** * * carbon-angular v0.0.0 | table-body.component.d.ts * * Copyright 2014, 2026 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { EventEmitter } from "@angular/core"; import { TableModel } from "../table-model.class"; import { I18n, Overridable } from "carbon-components-angular/i18n"; import { Observable } from "rxjs"; import { TableRowSize } from "../table.types"; import * as i0 from "@angular/core"; export declare class TableBody { protected i18n: I18n; model: TableModel; /** * Controls whether to enable multiple or single row selection. */ enableSingleSelect: boolean; set expandButtonAriaLabel(value: string | Observable); get expandButtonAriaLabel(): string | Observable; set checkboxRowLabel(value: string | Observable); get checkboxRowLabel(): string | Observable; /** * Controls whether to show the selection checkboxes column or not. */ showSelectionColumn: boolean; /** * Size of the table rows. */ size: TableRowSize; /** * Used to populate the row selection checkbox label with a useful value if set. * * Example: * ``` * * * ``` */ selectionLabelColumn: number; skeleton: boolean; /** * Emits if a single row is selected. * * @param ({model: this.model, selectedRowIndex: index}) */ selectRow: EventEmitter; /** * Emits if a single row is deselected. * * @param ({model: this.model, deselectedRowIndex: index}) */ deselectRow: EventEmitter; /** * Emits if a row item excluding expandButtons, checkboxes, or radios is clicked. */ rowClick: EventEmitter; protected _checkboxRowLabel: Overridable; protected _expandButtonAriaLabel: Overridable; constructor(i18n: I18n); /** * Triggered when a single row is clicked. * Updates the header checkbox state. * Emits the `selectRow` or `deselectRow` event. */ onRowCheckboxChange(index: number): void; onRowClick(index: number): void; getCheckboxRowLabel(): Observable; getExpandButtonAriaLabel(): Observable; firstExpandedDataInRow(row: any): any; shouldExpandAsTable(row: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }