/** * Generated bundle index. Do not edit. */ import { FocusMonitor } from "@angular/cdk/a11y"; import * as i0 from "@angular/core"; import { DoCheck, Injector, OnDestroy, OnInit } from "@angular/core"; import { NxErrorComponent, NxLabelComponent } from "@allianz/ng-aquila/base"; import { NxAbstractControl } from "@allianz/ng-aquila/shared"; import { ControlValueAccessor, NgControl } from "@angular/forms"; /** * Directive to mark content for projection into the tile label slot. */ export declare class NxTileLabelDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Directive to mark content for projection into the tile hint slot. */ export declare class NxTileHintDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export type NxTileSelectionMode = 'single' | 'multi'; export declare class NxTileGroupComponent implements ControlValueAccessor, DoCheck, OnDestroy, NxAbstractControl { readonly label: import("@angular/core").Signal; readonly errors: import("@angular/core").Signal; readonly tiles: import("@angular/core").Signal; readonly id: string; private readonly _elementRef; /** Whether to enable automatic grid layout for the tiles. Default is true. */ readonly autoGrid: import("@angular/core").InputSignal; /** Maximum number of columns when auto grid is enabled. Default is 4. */ readonly maxColumns: import("@angular/core").InputSignal; /** Selection mode for the tile group. Can be 'single' or 'multi'. Default is 'single'. */ readonly selectionMode: import("@angular/core").InputSignal; /** Whether the tile group is disabled. Default is false. */ readonly disabledInput: import("@angular/core").InputSignal; /** Whether the tile group is readonly. Default is false. */ readonly readonlyInput: import("@angular/core").InputSignal; /** The value of the group. Should be a single value for single select, and an array of values for multi select. */ readonly value: import("@angular/core").ModelSignal; /** The layout of the tiles in the group. Can be 'horizontal' or 'vertical'. Default is 'vertical'. */ readonly tileLayout: import("@angular/core").InputSignal; /** Sets additional aria-labelledby IDs to be merged with the auto-detected label reference on the group element. */ readonly ariaLabelledBy: import("@angular/core").InputSignal; /** * Whether the tiles should use inverse (light-on-dark) colors. When not set, it * follows the surface the group is placed on (see `nxSurface`). */ readonly inverseInput: import("@angular/core").InputSignalWithTransform; private readonly _surface; /** Whether the inverse set of styles is applied to the group and its tiles. */ readonly inverse: import("@angular/core").Signal; readonly errorIds: import("@angular/core").Signal; protected readonly _labelledBy: import("@angular/core").Signal; readonly _describedBy: import("@angular/core").Signal; readonly disabled: import("@angular/core").Signal; readonly readonly: import("@angular/core").Signal; protected readonly accessorDisabled: import("@angular/core").WritableSignal; private readonly _controlReadonly; protected readonly injector: Injector; readonly _errorState: import("@angular/core").WritableSignal; private readonly _parentForm; private readonly _parentFormGroup; private readonly _errorStateMatcher; protected readonly ngControl: NgControl | null; private selectionSubscriptions; private onChange; private onTouched; /** * Effect that subscribes to tile selection changes and updates the group value accordingly. * Since the tiles can change dynamically, the effect takes care of unsubscribing and resubscribing to the tile outputs. */ tilesChangedEffect: import("@angular/core").EffectRef; constructor(); writeValue(value: any): void; registerOnChange(fn: (value: any) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; setReadonly(value: boolean): void; ngDoCheck(): void; ngOnDestroy(): void; /** * Updates the error state based on the associated FormControl/NgControl. */ private updateErrorState; touch(): void; _onFocusOut(event: FocusEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export type NxTileLayout = 'horizontal' | 'vertical'; /** * Represents a tile component with selectable, readonly, and disabled states. */ export declare class NxTileComponent implements OnInit, OnDestroy { protected readonly inputElement: import("@angular/core").Signal; /** Unique ID for the tile. */ readonly id: string; /** Icon to display in the tile. */ readonly icon: import("@angular/core").InputSignal; /** Label text for the tile. */ readonly label: import("@angular/core").InputSignal; /** Hint text for the tile. */ readonly hint: import("@angular/core").InputSignal; /** Content child for projected label. */ readonly projectedLabel: import("@angular/core").Signal; /** Content child for projected hint. */ readonly projectedHint: import("@angular/core").Signal; /** Disabled input, can be overridden by group. */ readonly disabledInput: import("@angular/core").InputSignal; /** Readonly input, can be overridden by group. */ readonly readonlyInput: import("@angular/core").InputSignal; /** Value of the tile (used for selection in a group). */ readonly value: import("@angular/core").InputSignal; /** Event emitted when the tile is selected or deselected. */ readonly selectionChange: import("@angular/core").OutputEmitterRef; /** Whether the tile is selected. */ readonly selected: import("@angular/core").Signal; readonly ariaDescribedBy: import("@angular/core").Signal; /** Computed: true if group is disabled, else use own input. */ readonly disabled: import("@angular/core").Signal; /** Computed: true if group is readonly, else use own input. */ readonly readonly: import("@angular/core").Signal; /** Error state: uses group error state signal if present, otherwise false. */ readonly errorState: import("@angular/core").Signal; /** Signal for the selection mode of the parent group, or null if not in a group. */ protected readonly selectionMode: import("@angular/core").Signal; protected readonly tileGroup: NxTileGroupComponent; protected readonly focusMonitor: FocusMonitor; protected readonly nativeElement: any; /** Toggles the selection state of the tile. */ toggleSelection(event: Event): void; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }