import { Type } from '@angular/core'; /** * NOTE on limitation: if you opt to use a nested serverside menu component, all of its child menu components * will also be nested serverside menu components. * - The following scenario cannot occur: * main dropdown menu -> nested server side menu -> regular menu * - The following scenario will occur: * main dropdown menu -> nested server side menu -> nested server side menu */ export interface DropDownChildOptions { /** * Render a dynamic menu component. Default value DefaultDropDownMenuContainerComponent */ menuComponent?: Type; /** * Display search bar. Default value is false. */ showSearch?: boolean; /** * The min number of chars to start the search. Default value 0. */ searchMinNumOfChars?: number; /** * In case true, the Clear Selected will be displayed. Clear Selected will unselect all items. Default value false. */ showClearSelected?: boolean; /** * Show the selected marker. Default value true. */ showSelectedMarker?: boolean; /** * Automation ID prefix. Default value 'drop-down'. */ automationIdPrefix?: string; /** * Start item title capitalize. Default value true. */ capitalize?: boolean; /** * Reset the selectedItemsState object * False by default: we create the selectedItemsState object only for the first time the @Input() dropDownOptions is set. * If the @Input() dropDownOptions is changed afterwards, we keep the existing selectedItemsState instance. * If set to true: a new instance of selectedItemsState will be created */ resetSelectedItemsState?: boolean; /** * A key value object to override the item style. * For example, change the item height => {'height': '80px'} */ itemStyle?: Record; } //# sourceMappingURL=drop-down-child-options.interface.d.ts.map