import { ILuInput } from '@lucca-front/ng/input'; import { ALuPopoverPanel, ILuPopoverPanel, ILuPopoverTrigger } from '@lucca-front/ng/popover'; import { Observable } from 'rxjs'; declare interface ILuPickerPanel extends ILuPopoverPanel { /** * self explainatory */ multiple: boolean; /** * emits when a value was selected on the picker */ onSelectValue: Observable; /** * called to tell the picker what's the current value * @param value */ setValue(value: T | T[]): void; } declare abstract class ALuPickerPanel extends ALuPopoverPanel implements ILuPickerPanel { multiple: boolean; onSelectValue: Observable; abstract setValue(value: T | T[]): void; } declare interface ILuInputWithPicker extends ILuInput, ILuPopoverTrigger> { } export { ALuPickerPanel }; export type { ILuInputWithPicker, ILuPickerPanel };