import * as _angular_core from '@angular/core'; import { OnDestroy, Signal, WritableSignal, AfterViewInit, ElementRef, InjectionToken, OnChanges, EventEmitter, OnInit } from '@angular/core'; import * as _angular_forms from '@angular/forms'; import { NgModel, FormControlDirective, FormControlName, ControlValueAccessor, ValidatorFn } from '@angular/forms'; import { FilterPillInputComponent, FilterPillLayout } from '@lucca-front/ng/filter-pills'; import * as _lucca_front_ng_form_field from '@lucca-front/ng/form-field'; import { FormFieldComponent } from '@lucca-front/ng/form-field'; import { ConnectionPositionPair } from '@angular/cdk/overlay'; import { NumberFormatStyle, NumberFormatCurrencyDisplay, NumberFormatUnit, NumberFormatUnitDisplay } from '@lucca-front/ng/number-format'; import { LuccaIcon } from '@lucca-front/icons'; import { LuTranslation, PortalContent } from '@lucca-front/ng/core'; declare class FormFieldIdDirective implements OnDestroy { #private; set suffix(suffix: string); labelledByStrategy: 'prepend' | 'append'; get id(): string; constructor(); private applyLabelledBy; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare function injectNgControl(): NgModel | FormControlDirective | FormControlName; declare class NoopValueAccessorDirective implements ControlValueAccessor { writeValue(): void; registerOnChange(): void; registerOnTouched(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class CheckboxInputComponent implements FilterPillInputComponent { formField: FormFieldComponent; isFilterPill: boolean; filterPillInputId: string; checklist: _angular_core.InputSignalWithTransform; filterPillLayout: Signal; isFilterPillEmpty: Signal; isFilterPillClearable: Signal; hideCombobox: Signal; showColon: Signal; ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; /** * Should set aria-checked='mixed' attribute ? */ mixed: boolean; framed: boolean; constructor(); clearFilterPillValue(): void; registerFilterPillClosePopover(_closeFn: () => void): void; enableFilterPillMode?(): void; onFilterPillClick(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_mixed: unknown; } interface MultilanguageTranslation { cultureCode: string; value: string; } interface LuMultilanguageInputTranslations { clear: string; toggleMultilanguage: string; translateTo: string; } declare class MultilanguageInputComponent implements ControlValueAccessor { #private; intl: LuMultilanguageInputTranslations; formFieldSize: _angular_core.InputSignal<_lucca_front_ng_form_field.FormFieldSize>; protected onTouched: () => void; protected onChange: (_value: MultilanguageTranslation[]) => void; placeholder: _angular_core.InputSignal; disabledInternal: WritableSignal; model: WritableSignal; invariant: _angular_core.Signal; panelInputs: _angular_core.Signal; popoverPositions: ConnectionPositionPair[]; getLocaleDisplayName(locale: string): string; writeValue(value: MultilanguageTranslation[]): void; registerOnChange(fn: (value: MultilanguageTranslation[]) => void): void; registerOnTouched(fn: () => void): void; setDisabledState?(isDisabled: boolean): void; valueChange(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare function areAllLanguagesFilled(model: MultilanguageTranslation[]): boolean; declare const MultiLanguageInputValidators: Record; interface LuNumberFormatFieldLabel { clear: string; } type TextfieldIconAddon = { icon: LuccaIcon; ariaLabel: string; }; type TextfieldTextAddon = { content: string; ariaLabel: string; }; type TextInputAddon = TextfieldIconAddon | TextfieldTextAddon; declare class NumberFormatInputComponent implements AfterViewInit { #private; ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; ngAfterViewInit(): void; formatStyle: _angular_core.InputSignal; useAutoPrefixSuffix: _angular_core.InputSignal; prefix: _angular_core.InputSignal; suffix: _angular_core.InputSignal; currency: _angular_core.InputSignal; currencyDisplay: _angular_core.InputSignal; unit: _angular_core.InputSignal; unitDisplay: _angular_core.InputSignal; min: _angular_core.InputSignal; max: _angular_core.InputSignal; placeholder: _angular_core.InputSignal; hasClearer: _angular_core.InputSignalWithTransform; valueAlignRight: _angular_core.InputSignalWithTransform; inputElementRef: _angular_core.Signal>; prefixAddon: _angular_core.Signal; suffixAddon: _angular_core.Signal; formatOptions: _angular_core.Signal<{ locale: string; style: NumberFormatStyle; min: number; max: number; currency: string; currencyDisplay: NumberFormatCurrencyDisplay; unit: NumberFormatUnit; unitDisplay: NumberFormatUnitDisplay; }>; intl: LuNumberFormatFieldLabel; clearValue(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare const LU_NUMBERFIELD_TRANSLATIONS: InjectionToken>; interface LuNumberFieldLabel { clear: string; } declare const luNumberFieldTranslations: LuTranslation; declare class NumberInputComponent { ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; placeholder: _angular_core.InputSignal; step: _angular_core.InputSignalWithTransform; noSpinButtons: _angular_core.InputSignalWithTransform; hasClearer: _angular_core.InputSignalWithTransform; inputElementRef: _angular_core.Signal>; prefix: _angular_core.InputSignal; suffix: _angular_core.InputSignal; min: _angular_core.InputSignal; max: _angular_core.InputSignal; valueAlignRight: _angular_core.InputSignalWithTransform; intl: LuNumberFieldLabel; clearValue(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class RadioGroupInputComponent { formField: FormFieldComponent; ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; size: 'S' | 'M'; framed: _angular_core.InputSignalWithTransform; name: string; arrow?: 'neutral' | 'default'; get isFramed(): boolean; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class RadioComponent implements OnChanges { #private; value: T; disabled: boolean; inlineMessage: PortalContent; tag: string; framedPortal: PortalContent; get arrow(): "default" | "neutral"; get framed(): boolean; get notFramed(): boolean; get formControl(): _angular_forms.FormControl; get name(): string; id: string; ngOnChanges(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration, "lu-radio", never, { "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "framedPortal": { "alias": "framedPortal"; "required": false; }; }, {}, never, ["*", "[illustration]", "[info]"], true, never>; static ngAcceptInputType_disabled: unknown; } declare class SwitchInputComponent { formField: FormFieldComponent; ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare const LU_TEXTFIELD_TRANSLATIONS: InjectionToken>; interface LuTextfieldLabel { clear: string; togglePasswordVisibility: string; } declare const luTextfieldTranslations: LuTranslation; type TextFieldType = 'text' | 'email' | 'password' | 'url'; declare class TextInputComponent { ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; placeholder: string; autocomplete: AutoFill; hasClearer: boolean; hasSearchIcon: boolean; valueAlignRight: boolean; inputElementRef: ElementRef; prefix: TextInputAddon; suffix: TextInputAddon; blur: EventEmitter; get type(): TextFieldType; set type(type: TextFieldType); /** * Search icon to use for when `hasSearchIcon` is true, defaults to 'search' */ searchIcon: LuccaIcon; showPassword: boolean; private _type; protected hasTogglePasswordVisibilityIcon(): boolean; intl: LuTextfieldLabel; clearValue(): void; togglePasswordVisibility(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_hasClearer: unknown; static ngAcceptInputType_hasSearchIcon: unknown; static ngAcceptInputType_valueAlignRight: unknown; } declare class TextareaInputComponent implements OnInit { #private; parent?: ElementRef; ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName; placeholder: string; rows?: number; autoResize: boolean; autoResizeScrollIntoView: boolean; disableSpeelcheck: _angular_core.InputSignalWithTransform; cloneValue: string; updateScroll(value: string): void; ngOnInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_autoResize: unknown; static ngAcceptInputType_autoResizeScrollIntoView: unknown; } declare class FieldsetComponent { heading: _angular_core.InputSignal; helper: _angular_core.InputSignal; size: _angular_core.InputSignal<"S">; horizontal: _angular_core.InputSignalWithTransform; expandable: _angular_core.InputSignalWithTransform; expanded: _angular_core.ModelSignal; id: string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { CheckboxInputComponent, FieldsetComponent, FormFieldIdDirective, LU_NUMBERFIELD_TRANSLATIONS, LU_TEXTFIELD_TRANSLATIONS, MultiLanguageInputValidators, MultilanguageInputComponent, NoopValueAccessorDirective, NumberFormatInputComponent, NumberInputComponent, RadioComponent, RadioGroupInputComponent, SwitchInputComponent, TextInputComponent, TextareaInputComponent, areAllLanguagesFilled, injectNgControl, luNumberFieldTranslations, luTextfieldTranslations }; export type { LuNumberFieldLabel, LuTextfieldLabel, MultilanguageTranslation, TextInputAddon, TextfieldIconAddon, TextfieldTextAddon };