Module

Halogen.Datepicker.Component.Interval

Package
purescript-halogen-datepicker
Repository
slamdata/purescript-halogen-datepicker

#SetIntervalError Source

#IntervalQuery Source

data IntervalQuery a

Constructors

#DateTimeSlot Source

#DurationSlot Source

#pickerWithConfig Source

#render Source

render :: forall m. Config -> Format -> State -> HTML m

#renderCommand Source

renderCommand :: forall m. Config -> Format -> Array (HTML m)

#renderDuration Source

renderDuration :: forall m. Config -> Format -> HTML m

#renderDateTime Source

renderDateTime :: forall m. Config -> Format -> Boolean -> HTML m

#evalInterval Source

evalInterval :: forall m. Format -> IntervalQuery ~> (DSL m)

#toError Source

toError :: forall a e. Either (Maybe e) a -> Maybe e

#maybeLeft Source

maybeLeft :: forall a e. Maybe (Either e a) -> Either (Maybe e) a

#collectValues Source

collectValues :: forall m a d. Interval d a -> DSL m (Interval State State)

#resetChildErrorBasedOnMessage Source

#resetChildError Source

resetChildError :: forall m. Format -> DSL m Unit

#onFormat Source

onFormat :: forall d a m. Apply m => (Boolean -> m Unit) -> m Unit -> Interval d a -> m Unit

#evalPicker Source

evalPicker :: forall m. Format -> QueryIn ~> (DSL m)

#setInterval Source

setInterval :: forall m. ChildStates -> DSL m Unit

#getDuration Source

getDuration :: forall m. DSL m State

#getDateTime Source

getDateTime :: forall m. Boolean -> DSL m State

#setDuration Source

setDuration :: forall m. State -> DSL m Unit

#setDateTime Source

setDateTime :: forall m. Boolean -> State -> DSL m Unit

#resetDuration Source

resetDuration :: forall m. DSL m Unit

#resetDateTime Source

resetDateTime :: forall m. Boolean -> DSL m Unit

#queryDuration Source

queryDuration :: forall a m. Query a -> DSL m a

#queryDateTime Source

queryDateTime :: forall a m. DateTimeSlot -> Query a -> DSL m a