import type { CSSResultGroup } from 'lit'; import DSAButton from '../button/button'; import DSADivider from '../divider/divider'; import DSAIcon from '../icon/icon'; import { ShoelaceElement } from '../../internal/shoelace-element'; /** * @summary The table-actions allows to perform actions on a table selected items. Can be used inside the `action` slot of a `dsa-table-container` component. * @documentation https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/tableau-table/actions-multiples-table-action/web-BixUCCat * * @dependency dsa-button * @dependency dsa-divider * @dependency dsa-icon * * @slot label - Used to indicate the number of selected items. * @slot action - Used to contain the actions. * * @event dsa-table-actions-close - Emitted when the close button is activated. */ export default class DSATableAction extends ShoelaceElement { static styles: CSSResultGroup; static dependencies: { 'dsa-button': typeof DSAButton; 'dsa-divider': typeof DSADivider; 'dsa-icon': typeof DSAIcon; }; private readonly localize; closeButton: DSAButton; /** `true` if it should be visible. */ show: boolean; /** Should deselect all rows on close */ deselectAllOnClose: boolean; /** Custom label for the close button. Overrides the default localized label. */ buttonLabel: string; private handleClose; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'dsa-table-action': DSATableAction; } }