{"version":3,"file":"lucca-front-ng-picker.mjs","sources":["../../../packages/ng/picker/input-picker.model.ts","../../../packages/ng/picker/lucca-front-ng-picker.ts"],"sourcesContent":["import { ILuInput } from '@lucca-front/ng/input';\nimport { ALuPopoverPanel, ILuPopoverPanel, ILuPopoverTrigger } from '@lucca-front/ng/popover';\nimport { Observable } from 'rxjs';\n\nexport declare interface ILuPickerPanel<T> extends ILuPopoverPanel {\n\t/**\n\t * self explainatory\n\t */\n\tmultiple: boolean;\n\t/**\n\t * emits when a value was selected on the picker\n\t */\n\tonSelectValue: Observable<T | T[]>;\n\t/**\n\t * called to tell the picker what's the current value\n\t * @param value\n\t */\n\tsetValue(value: T | T[]): void;\n}\nexport abstract class ALuPickerPanel<T> extends ALuPopoverPanel implements ILuPickerPanel<T> {\n\tmultiple: boolean;\n\tonSelectValue: Observable<T | T[]>;\n\tabstract setValue(value: T | T[]): void;\n}\n\nexport declare interface ILuInputWithPicker<TValue> extends ILuInput, ILuPopoverTrigger<ILuPickerPanel<TValue>> {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAmBM,MAAgB,cAAkB,SAAQ,eAAe,CAAA;AAI9D;;ACvBD;;AAEG;;;;"}