import { KbqSearchExpandableModule } from '@koobiq/components/search-expandable';@Component({ selector: 'kbq-search-expandable' })
class KbqSearchExpandable implements ControlValueAccessor {
isOpened = model<boolean | undefined>();
readonly isEmitValueByEnterEnabled = input<boolean>(false);
readonly emitValueTimeout = input<number>(defaultEmitValueTimeout);
tooltipText = input<string | null | undefined>();
placeholder = input<string | null | undefined>();
disabled = input<boolean | undefined>();
readonly localeConfiguration: Signal<KbqSearchExpandableLocaleConfiguration>;
readonly value: WritableSignal<string>;
toggle(): void;
}isOpenedboolean | undefined state of component.
isEmitValueByEnterEnabledboolean Emit event by enter or not. Default is false
emitValueTimeoutnumber Timeout in milliseconds for emit event. The default value is taken from defaultEmitValueTimeout
tooltipTextstring | null | undefined Tooltip text for the search button. When set, overrides the locale tooltip
placeholderstring | null | undefined Placeholder for input when expanded
disabledboolean | undefined Whether the component is disabled. Also set by the bound control through setDisabledState.
localeOverridesKbqPartialLocaleData | undefined Localized strings for this element and its subtree, keyed by locale section. Every key is optional at every depth.
localeConfigurationSignal<KbqSearchExpandableLocaleConfiguration> Strings currently rendered by the component.
valueWritableSignal<string> Current value in input. A write reaches the field, and the bound control once emitValueTimeout passes.
const defaultEmitValueTimeout: number;const defaultValue: string;Use KBQ_SEARCH_EXPANDABLE_LOCALE_CONFIGURATION. Will be removed in 22.0.0.
const KBQ_SEARCH_EXPANDABLE_CONFIGURATION: InjectionToken<KbqSearchExpandableLocaleConfiguration>;Use KBQ_SEARCH_EXPANDABLE_DEFAULT_LOCALE_CONFIGURATION. Will be removed in 22.0.0.
const KBQ_SEARCH_EXPANDABLE_DEFAULT_CONFIGURATION: KbqSearchExpandableLocaleConfiguration;default configuration of search-expandable
const KBQ_SEARCH_EXPANDABLE_DEFAULT_LOCALE_CONFIGURATION: KbqSearchExpandableLocaleConfiguration;Injection Token for providing configuration of search-expandable
const KBQ_SEARCH_EXPANDABLE_LOCALE_CONFIGURATION: InjectionToken<KbqSearchExpandableLocaleConfiguration>;Utility provider for KBQ_SEARCH_EXPANDABLE_LOCALE_CONFIGURATION. Only the strings you pass are overridden; the
rest keep following the active locale.
const kbqSearchExpandableLocaleConfigurationProvider: (
configuration: KbqDeepPartial<KbqSearchExpandableLocaleConfiguration>
) => Provider;