import * as i0 from '@angular/core'; import { InputSignal, OnDestroy, OnInit, ElementRef, Signal } from '@angular/core'; import * as _qualcomm_ui_core_table from '@qualcomm-ui/core/table'; import { ColumnMeta, CellContext, HeaderContext, Cell, Header, SortDirection, Row, RowData, TableInstance, TableOptions } from '@qualcomm-ui/core/table'; import * as _qualcomm_ui_qds_core_table from '@qualcomm-ui/qds-core/table'; import { QdsTableCellProps, QdsTableColumnDropIndicatorProps, QdsTableColumnFilterProps, QdsTableColumnResizerProps, QdsTableColumnSortActionProps, QdsTableHeaderCellProps, QdsTableApiProps, QdsTableSize, QdsTableRowDropIndicatorProps, QdsTableRowExpandButtonProps, QdsTableRowProps } from '@qualcomm-ui/qds-core/table'; import { Booleanish } from '@qualcomm-ui/utils/coercion'; import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine'; import * as _qualcomm_ui_qds_core_inline_icon_button from '@qualcomm-ui/qds-core/inline-icon-button'; import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide'; import { SignalifyInput } from '@qualcomm-ui/angular-core/signals'; import { PaginationRootDirective } from '@qualcomm-ui/angular/pagination'; import * as i29 from '@qualcomm-ui/angular/icon'; interface CellComponentContext { context: CellContext | InputSignal>; } interface HeaderComponentContext { context: HeaderContext | InputSignal>; } declare class CellComponentContextDirective implements CellComponentContext { readonly context: i0.InputSignal>; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "context": { "alias": "context"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; } declare class HeaderComponentContextDirective implements HeaderComponentContext { readonly context: i0.InputSignal>; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "context": { "alias": "context"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; } declare const qdsTableApi: _qualcomm_ui_qds_core_table.QdsTableApi; declare class RenderCellDirective implements OnDestroy { private readonly templateRef; private readonly viewContainerRef; /** * The cell data model. */ readonly renderCell: i0.InputSignal>; /** * Additional input properties to pass to the underlying column's cell. Only * applicable if the cell is a Component type. */ readonly renderCellComponentInput: i0.InputSignal | undefined>; /** * If `true`, the cell is aggregated. * TODO: link to aggregated cell docs. */ readonly renderCellIsAggregated: i0.InputSignalWithTransform; constructor(); ngOnDestroy(): void; private render; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class RenderFooterDirective implements OnDestroy { private readonly templateRef; private readonly viewContainerRef; /** * The footer data model. */ readonly renderFooter: i0.InputSignal>; constructor(); ngOnDestroy(): void; private render; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class RenderHeaderDirective implements OnDestroy { private readonly templateRef; private readonly viewContainerRef; /** * The header data model. */ readonly renderHeader: i0.InputSignal>; constructor(); ngOnDestroy(): void; private render; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableActionBarDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableBodyDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableCellActionDirective implements OnInit { /** * Lucide icon to display inside the button. */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableCellDirective implements OnInit, SignalifyInput { /** * The data model for this cell. */ readonly cell: i0.InputSignal | undefined>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableColumnDragHandleDirective implements OnInit { /** * Lucide icon to display inside the button. * * @default "GripVertical" */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableColumnDragPreviewDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; protected readonly elementRef: ElementRef; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableColumnDropIndicatorDirective implements OnInit, SignalifyInput { /** * The closest edge of the column that the indicator is being dragged over. */ readonly closestEdge: i0.InputSignal<"top" | "bottom" | "left" | "right" | undefined>; /** * The index of the column that the indicator belongs to. */ readonly columnIndex: i0.InputSignalWithTransform; /** * The index of the column being dragged. */ readonly sourceColumnIndex: i0.InputSignalWithTransform; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableColumnFilterActionDirective implements OnInit, SignalifyInput { /** * Whether the column can be filtered. Pass in the state from the column: * * @example * ```angular-html * * ``` */ readonly canFilter: i0.InputSignalWithTransform; /** * Whether the column is filtered. Pass in the state from the column: * * @example * ```angular-html * * ``` */ readonly isFiltered: i0.InputSignalWithTransform; /** * The column header associated with the filter. */ readonly header: i0.InputSignal | undefined>; /** * Lucide icon to display inside the button. * * @default "Funnel" */ readonly icon: i0.InputSignal; protected readonly filterable: i0.Signal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableColumnHeaderActionDirective implements OnInit { /** * Lucide icon to display inside the button. */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableColumnResizeHandleDirective implements OnInit, SignalifyInput { /** * The column header associated with the resize handle. */ readonly header: i0.InputSignal>; /** * Lucide icon to display inside the button. * * @default "UnfoldHorizontal" */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableColumnSortActionDirective implements OnInit, SignalifyInput { /** * Whether the column is sorted. Pass in the state from the column: * * @example * ```angular-html * * ``` */ readonly isSorted: i0.InputSignal; /** * The column header associated with the sort action. */ readonly header: i0.InputSignal>; protected readonly canSort: i0.Signal; protected readonly sortIcon: i0.Signal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableFooterDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableHeaderCellDirective implements OnInit, SignalifyInput { /** * The order of this column header in the table. */ readonly columnIndex: i0.InputSignalWithTransform; /** * If `true`, the column header is currently being dragged. */ readonly isDragging: i0.InputSignalWithTransform; /** * If `true`, another column header is being dragged over this header. */ readonly isDraggingOver: i0.InputSignalWithTransform; /** * If `true`, the header is currently being resized. */ readonly isResizing: i0.InputSignalWithTransform; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableHeaderDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TablePaginationDirective extends PaginationRootDirective { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableRootDirective implements OnInit, SignalifyInput { /** * Whether to show column dividers */ readonly showColumnDivider: i0.InputSignalWithTransform; /** * Governs the size and padding of table elements and text. * * @default 'md' */ readonly size: i0.InputSignal; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableRowDragHandleDirective implements OnInit { /** * Lucide icon to display inside the button. * * @default "GripHorizontal" */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableRowDragPreviewDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableRowDropIndicatorDirective implements OnInit, SignalifyInput { /** * The closest edge of the row that the indicator is being dragged over. */ readonly closestEdge: i0.InputSignal<"top" | "bottom" | "left" | "right" | undefined>; /** * The index of the row that the indicator belongs to. */ readonly rowIndex: i0.InputSignalWithTransform; /** * The index of the row being dragged. */ readonly sourceIndex: i0.InputSignalWithTransform; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableRowExpandButtonDirective implements OnInit, SignalifyInput { /** * Whether the row is expanded. Pass in the state from the row: * * @example * ```angular-html * * ``` */ readonly isExpanded: i0.InputSignalWithTransform; /** * The row associated with the expand button. */ readonly row: i0.InputSignal>; /** * Lucide icon to display inside the button. * * @default "ChevronRight" */ readonly icon: i0.InputSignal; protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableRowDirective implements OnInit, SignalifyInput { /** * If `true`, the row is currently being dragged. */ readonly isDragging: i0.InputSignalWithTransform; /** * If `true`, another row is being dragged over this row. */ readonly isDraggingOver: i0.InputSignalWithTransform; /** * If `true`, the row is currently selected. */ readonly isSelected: i0.InputSignalWithTransform; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableScrollContainerDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableTableDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableTitleBarDirective implements OnInit { protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface AngularTable extends TableInstance, Signal> { } declare function createAngularTable(options: () => TableOptions): AngularTable; interface CreateTablePaginationOptions { /** * The total number of data items. When using manual pagination, you must provide * this for accurate page counts. */ totalCount?: Signal; } interface TablePagination { count: Signal; onPageChange: (page: number) => void; onPageSizeChange: (rows: number) => void; page: Signal; pageSize: Signal; } /** * A helper function that creates an object. The properties on the object derive the * QUI Pagination state from the current table state, or update it. */ declare function createTablePagination(table: AngularTable, opts?: CreateTablePaginationOptions): TablePagination; export { CellComponentContextDirective, HeaderComponentContextDirective, RenderCellDirective, RenderFooterDirective, RenderHeaderDirective, TableActionBarDirective, TableBodyDirective, TableCellActionDirective, TableCellDirective, TableColumnDragHandleDirective, TableColumnDragPreviewDirective, TableColumnDropIndicatorDirective, TableColumnFilterActionDirective, TableColumnHeaderActionDirective, TableColumnResizeHandleDirective, TableColumnSortActionDirective, TableFooterDirective, TableHeaderCellDirective, TableHeaderDirective, TableModule, TablePaginationDirective, TableRootDirective, TableRowDirective, TableRowDragHandleDirective, TableRowDragPreviewDirective, TableRowDropIndicatorDirective, TableRowExpandButtonDirective, TableScrollContainerDirective, TableTableDirective, TableTitleBarDirective, createAngularTable, createTablePagination, qdsTableApi }; export type { AngularTable, CellComponentContext, CreateTablePaginationOptions, HeaderComponentContext, TablePagination }; //# sourceMappingURL=qualcomm-ui-angular-table.d.ts.map