import * as _angular_core from '@angular/core'; import { ElementRef } from '@angular/core'; import { Observable } from 'rxjs'; import { TbxError } from '@lacera/ngx-toolbox/http'; /** Displays error messages for the specified control. */ declare abstract class TbxBaseComponent { /** Gets or sets a value indicating whether we're displaying in delete mode. */ deleteMode: boolean; /** Indicates the component is busy with some operation. */ busy: _angular_core.WritableSignal; /** Gets or sets the title of the page. */ pageTitle: string; /** General error message used to display on the component. */ errorMessage: _angular_core.WritableSignal; /** The actual error received during the pipe. */ error: TbxError | null; /** * Pipes in to the given stream to catch errors and store them in the * {@link errorMessage} and {@link error} base variables. * @param source The stream to pipe in to. * @returns The result of observable or rethrows the caught error. */ protected pipe$(source: Observable): Observable; /** * Handles errors encountered during an observable stream. * @param error The error received through the stream. * @param message An optional message to prepend to the error message. * @param showOriginalError Indicates to show the original message (the optional * message must be provided). * @returns The error once it has been logged. */ protected handleError(error: TbxError, message?: string, showOriginalError?: boolean): Observable; /** Resets the error and success messages and other state properties. */ protected resetState(): void; } declare class TbxSearchComponent { inputRef: ElementRef; initialValue: _angular_core.InputSignal; placeholder: _angular_core.InputSignal; clearButtonClass: _angular_core.InputSignal; searchIconClass: _angular_core.InputSignal; debounceTime: _angular_core.InputSignal; showSearchIcon: _angular_core.InputSignal; showClearButton: _angular_core.InputSignal; search: _angular_core.OutputEmitterRef; private searchSubject; constructor(); onKeyUp(event: Event): void; reset(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TbxRegionBadgeComponent { /** The region number to display (37=prod, 55=dev, etc.) */ readonly region: _angular_core.InputSignal; /** The region short label. */ readonly label: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Displays the standard action group of buttons. This can be used in a table row * for an item, or anywhere. It only shows buttons and not links. To use links * and buttons, use TbxRowActionsComponent or TbxRowButtonsComponent in * @lacera/ngx-toolbox/table. */ declare class TbxRowActionButtonsComponent { readonly showEdit: _angular_core.InputSignal; readonly showDelete: _angular_core.InputSignal; readonly showUndo: _angular_core.InputSignal; /** The class to apply to the buttons (defaults to 'btn btn-sm btn-light'). */ readonly buttonClass: _angular_core.InputSignal; readonly editIcon: _angular_core.InputSignal; readonly deleteIcon: _angular_core.InputSignal; readonly undoIcon: _angular_core.InputSignal; readonly editClick: _angular_core.OutputEmitterRef; readonly undoClick: _angular_core.OutputEmitterRef; readonly deleteClick: _angular_core.OutputEmitterRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface TbxMultiCheckboxItem { id?: unknown; title: string; description?: string; imageUrl?: string; imageWidth?: number; imageHeight?: number; checked: boolean; data?: unknown; } declare class MultiCheckboxComponent { readonly items: _angular_core.InputSignal; /** * The CSS classes to apply to the 'container' element (defaults to * 'form-control p-0 overflow-auto'). */ readonly containerClass: _angular_core.InputSignal; /** * The CSS classes to apply to the 'ul' element (defaults to * 'list-group list-group-flush'). */ readonly listClass: _angular_core.InputSignal; /** * The CSS classes to apply to the 'li' element (defaults to 'list-group-item'). */ readonly itemClass: _angular_core.InputSignal; /** * The CSS classes to apply to the container div inside the 'li' element * (defaults to 'd-flex align-items-center px-2 py-1'). */ readonly itemContainerClass: _angular_core.InputSignal; /** * The CSS classes to apply to the 'input' control (defaults to * 'form-check-label'). */ readonly labelClass: _angular_core.InputSignal; /** * The CSS classes to apply to the 'input' control (defaults to * 'form-check-input me-1'). */ readonly inputClass: _angular_core.InputSignal; /** * The CSS classes to apply to the 'img> control if an image is provided * (defaults to 'rounded-circle me-1'). */ readonly imageClass: _angular_core.InputSignal; /** * The maximum height of the container in pixels (defaults to none: 0 to * take as much space as needed). */ readonly maxHeight: _angular_core.InputSignal; readonly selectChange: _angular_core.OutputEmitterRef; protected checkboxChange(id: unknown, event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { MultiCheckboxComponent, TbxBaseComponent, TbxRegionBadgeComponent, TbxRowActionButtonsComponent, TbxSearchComponent }; export type { TbxMultiCheckboxItem };