import { EventEmitter, JSX } from '../../../stencil-public-runtime'; import { GuxTableSortState, GuxTableSelectedState } from './gux-table.types'; /** * @slot data - Slot for table element */ export declare class GuxTable { root: HTMLElement; private resizeObserver; private slotObserver; private i18n; private columnResizeState; private tableId; private columnsWidths; /** * Indicates that vertical or horizontal scroll are presented for table */ private isScroll; /** * Indicates if the mouse is in a position that supports starting resize */ private columnResizeHover; /** * Indicates table row density style */ compact: boolean; /** * Indicates that object table specific styles should be applied */ objectTable: boolean; /** * Represents info message that should be displayed for empty table */ emptyMessage: string; /** * Triggers when table row was selected/unselected */ guxselectionchanged: EventEmitter; /** * Triggers when the sorting of the table column is changed. */ guxsortchanged: EventEmitter; /** * Indicates that table should have resizable columns */ resizableColumns: boolean; /******************************* Lifecycle Hooks *******************************/ componentWillLoad(): Promise; componentDidLoad(): void; private checkScroll; disconnectedCallback(): void; /******************************* Event Listeners *******************************/ onInternalAllRowSelectChange(event: CustomEvent): void; onInternalRowSelectChange(event: CustomEvent): void; onMouseMove(event: MouseEvent): void; onMouseDown(event: MouseEvent): void; onMouseUp(): void; /******************************* Element Getters *******************************/ private get tableContainer(); private get slottedTable(); private get tableRows(); private get tableColumns(); private get rowCheckboxes(); private get selectAllCheckbox(); /******************************* Row Selection *******************************/ /** * Returns the selected rows Ids. */ getSelected(): Promise; private getSelectedInternal; private prepareSelectableRows; private updateSelectAllBoxState; private handleSelectAllRows; private handleRowSelection; private emitSelectionEvent; private updateRowSelection; /******************************* Resizable Columns *******************************/ private prepareResizableColumns; private updateResizeState; private maybeStartResizing; private stopResizing; private isInResizeZone; /** Calculates column width minus padding in pixels */ private calculateColumnWidths; private setResizableColumnsStyles; /******************************* Rendering *******************************/ private get isTableEmpty(); private get tableContainerClasses(); render(): JSX.Element; }