use super::*;
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvSelectOption {
#[get(type(copy))]
pub value: &'static str,
#[get(type(copy))]
pub label: &'static str,
#[get(type(copy))]
pub group: &'static str,
#[get(type(copy))]
pub separator_before: bool,
#[get(type(copy))]
pub disabled: bool,
}
#[derive(Clone, CustomDebug)]
pub struct EuvSelectProps {
pub value: Signal<String>,
pub options: Vec<EuvSelectOption>,
pub placeholder: &'static str,
pub label: &'static str,
pub id: &'static str,
pub name: &'static str,
pub required: bool,
pub invalid: bool,
pub disabled: bool,
pub align_item_with_trigger: bool,
#[debug(skip)]
pub on_change: Option<Rc<dyn Fn(&'static str)>>,
}
#[derive(Clone, CustomDebug)]
pub(crate) struct EuvSelectOptionContext {
pub value: Signal<String>,
pub options: Rc<Vec<EuvSelectOption>>,
pub open: Signal<bool>,
pub align_item_with_trigger: bool,
pub align_offset: Signal<String>,
pub scroll_up_visible: Signal<bool>,
pub scroll_down_visible: Signal<bool>,
pub typeahead_buffer: Signal<String>,
pub typeahead_generation: Signal<u32>,
#[debug(skip)]
pub on_change: Option<Rc<dyn Fn(&'static str)>>,
}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvSelectScrollUpButtonProps {}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvSelectScrollDownButtonProps {}