UNPKG

@asoftwareworld/form-builder-pro

Version:

ASW Form Builder Pro helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same b

25 lines (24 loc) 1.46 kB
import { InjectionToken } from '@angular/core'; import { AswSelectSearch } from './select-search'; export declare const configurableDefaultOptions: readonly ["ariaLabel", "clearSearchInput", "closeIcon", "closeSvgIcon", "disableInitialFocus", "disableScrollToActiveOnOptionsChanged", "enableClearOnEscapePressed", "hideClearSearchButton", "noEntriesFoundLabel", "placeholderLabel", "preventHomeEndKeyPropagation", "searching"]; export type ConfigurableDefaultOptions = (typeof configurableDefaultOptions)[number]; /** * InjectionToken that can be used to specify global options. e.g. * * ```typescript * providers: [ * { * provide: ASW_SELECTSEARCH_DEFAULT_OPTIONS, * useValue: <AswSelectSearchOptions>{ * closeIcon: 'delete', * noEntriesFoundLabel: 'No options found' * } * } * ] * ``` * * See the corresponding inputs of `AswSelectSearch` for documentation. */ export declare const ASW_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<AswSelectSearch, "ariaLabel" | "clearSearchInput" | "closeIcon" | "closeSvgIcon" | "disableInitialFocus" | "disableScrollToActiveOnOptionsChanged" | "enableClearOnEscapePressed" | "hideClearSearchButton" | "noEntriesFoundLabel" | "placeholderLabel" | "preventHomeEndKeyPropagation" | "searching">>>>; /** Global configurable options for MatSelectSearch. */ export type AswSelectSearchOptions = Readonly<Partial<Pick<AswSelectSearch, ConfigurableDefaultOptions>>>;