import * as _qualcomm_ui_angular_input from '@qualcomm-ui/angular/input'; import { QdsAngularInputApiProps, QdsInputContextService } from '@qualcomm-ui/angular/input'; import { CoreTextInputClearTriggerDirective, CoreTextInputErrorIndicatorDirective, CoreTextInputErrorTextDirective, CoreTextInputHintDirective, CoreTextInputInputGroupDirective, CoreTextInputInputDirective, CoreTextInputLabelDirective, CoreTextInputRootDirective } from '@qualcomm-ui/angular-core/text-input'; import * as i0 from '@angular/core'; import { OnInit } from '@angular/core'; import * as i1 from '@qualcomm-ui/angular/transitions'; import * as _qualcomm_ui_angular_core_lucide from '@qualcomm-ui/angular-core/lucide'; import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide'; import * as _qualcomm_ui_qds_core_input from '@qualcomm-ui/qds-core/input'; import { QdsInputSize } from '@qualcomm-ui/qds-core/input'; import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine'; import { SignalifyInput } from '@qualcomm-ui/angular-core/signals'; import { Booleanish } from '@qualcomm-ui/utils/coercion'; import * as i11 from '@qualcomm-ui/angular/icon'; /** * Button that clears the input value. */ declare class TextInputClearTriggerDirective extends CoreTextInputClearTriggerDirective { protected readonly clearTriggerContext: _qualcomm_ui_angular_input.UseInputClearTriggerReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Visual indicator displayed when the input is invalid. */ declare class TextInputErrorIndicatorDirective extends CoreTextInputErrorIndicatorDirective { /** * lucide-angular icon * * @default CircleAlert */ readonly icon: i0.InputSignal; protected readonly inputErrorIndicatorContext: _qualcomm_ui_angular_input.UseInputErrorIndicatorReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Error message displayed when the input is invalid. */ declare class TextInputErrorTextDirective extends CoreTextInputErrorTextDirective { /** * Optional error indicator icon. */ readonly icon: i0.InputSignal; protected readonly errorTextContext: _qualcomm_ui_angular_input.UseInputErrorTextReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Helper text displayed below the input. */ declare class TextInputHintDirective extends CoreTextInputHintDirective { protected readonly hintContext: _qualcomm_ui_angular_input.UseInputHintReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Container that wraps the input element and optional icons. */ declare class TextInputInputGroupDirective extends CoreTextInputInputGroupDirective { protected readonly inputGroupContext: _qualcomm_ui_angular_input.UseInputGroupReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * The text input element. Note: do not apply form control bindings like `ngModel` * or `formControl` to this element. Apply them to the root element instead. */ declare class TextInputInputDirective extends CoreTextInputInputDirective { protected readonly inputContext: _qualcomm_ui_angular_input.UseInputInputReturn; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * An accessible label that is automatically associated with the input. */ declare class TextInputLabelDirective extends CoreTextInputLabelDirective { protected readonly qdsInputContext: () => _qualcomm_ui_qds_core_input.QdsInputApi<_qualcomm_ui_angular_core_lucide.LucideIconOrString>; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Groups all parts of the text input. */ declare class TextInputRootDirective extends CoreTextInputRootDirective implements SignalifyInput, OnInit { /** * {@link https://lucide.dev lucide-angular} icon, positioned after * the input. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html *
*
*
* ``` */ readonly endIcon: i0.InputSignal; /** * The size of the input field and its elements. Governs properties like font * size, item padding, and icon sizes. * * @default 'md' */ readonly size: i0.InputSignal; /** * {@link https://lucide.dev lucide-angular} icon, positioned before * the input. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html *
*
*
* ``` */ readonly startIcon: i0.InputSignal; protected readonly qdsInputService: QdsInputContextService; 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 TextInputComponent extends TextInputRootDirective { /** * When `true`, renders a clear button that resets the input value on click. * The button only appears when the input has a value. * * @default true */ readonly clearable: i0.InputSignalWithTransform; /** * Optional error that describes the element when {@link invalid} is true. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html *
...
* ``` */ readonly errorText: i0.InputSignal; /** * Optional hint describing the element. This element is automatically * associated with the component's input element for accessibility. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html *
...
* ``` */ readonly hint: i0.InputSignal; /** * Optional label describing the element. Recommended. This element is * automatically associated with the component's input element for * accessibility. * * @remarks * To customize the element, provide it using the directive instead: * * ```angular-html *
...
* ``` */ readonly label: i0.InputSignal; /** * HTML {@link https://www.w3schools.com/tags/att_input_placeholder.asp placeholder} attribute, * passed to the internal input element. */ readonly placeholder: i0.InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TextInputModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { TextInputClearTriggerDirective, TextInputComponent, TextInputErrorIndicatorDirective, TextInputErrorTextDirective, TextInputHintDirective, TextInputInputDirective, TextInputInputGroupDirective, TextInputLabelDirective, TextInputModule, TextInputRootDirective }; //# sourceMappingURL=qualcomm-ui-angular-text-input.d.ts.map