[{"name":"DurationDatePicker","comment":" A date picker component for picking a datetime range.\n\n\n# Architecture\n\n@docs DatePicker, init, view, subscriptions\n\n\n# Settings\n\n@docs Settings, defaultSettings\n\n\n# Externally Triggered Actions\n\n@docs openPicker, closePicker\n\n\n# Query\n\n@docs isOpen\n\n","unions":[{"name":"DatePicker","comment":" The opaque type representing a particular date picker instance.\n","args":[],"cases":[]}],"aliases":[{"name":"Settings","comment":" The type facilitating the configuration of the datepicker settings.\n\nBecause it could be the case that a picker is being used in a different\ntimezone than the home timezone of the implementor, the subfunctions of\nthe `dateTimeProcessor` both ingest a `Zone` in addition to a `Posix`. The\n`Zone` represents the time zone in which the picker is being used. An\nimplementor can leverage this to compare against a base time zone when\nenforcing allowable times of day, etc.\n\nMore information can be found in the [examples](https://github.com/mercurymedia/elm-datetime-picker/tree/master/examples).\n\n","args":["msg"],"type":"{ formattedDay : Time.Weekday -> String.String, formattedMonth : Time.Month -> String.String, focusedDate : Maybe.Maybe Time.Posix, dateTimeProcessor : { isDayDisabled : Time.Zone -> Time.Posix -> Basics.Bool, allowedTimesOfDay : Time.Zone -> Time.Posix -> { startHour : Basics.Int, startMinute : Basics.Int, endHour : Basics.Int, endMinute : Basics.Int } }, internalMsg : ( DurationDatePicker.DatePicker, Maybe.Maybe ( Time.Posix, Time.Posix ) ) -> msg, dateStringFn : Time.Zone -> Time.Posix -> String.String, timeStringFn : Time.Zone -> Time.Posix -> String.String, zone : Time.Zone }"}],"values":[{"name":"closePicker","comment":" Close the provided date picker and receive the updated picker instance.\n","type":"DurationDatePicker.DatePicker -> DurationDatePicker.DatePicker"},{"name":"defaultSettings","comment":" A record of default settings for the date picker. Extend this if\nyou want to further customize the date picker.\n\nRequires a `Zone` to inform the picker in which time zone it should\ndisplay the selected duration as well as a `msg` that expects a tuple containing\na datepicker instance and a `Maybe` tuple representing a selected duration.\n\n    ( DatePicker, Maybe ( Posix, Posix ) ) -> msg\n\n","type":"Time.Zone -> (( DurationDatePicker.DatePicker, Maybe.Maybe ( Time.Posix, Time.Posix ) ) -> msg) -> DurationDatePicker.Settings msg"},{"name":"init","comment":" Instantiates and returns a date picker.\n","type":"DurationDatePicker.DatePicker"},{"name":"isOpen","comment":" Indicates whether the DatePicker is open\n","type":"DurationDatePicker.DatePicker -> Basics.Bool"},{"name":"openPicker","comment":" Open the provided date picker and receive the updated picker instance. Also\ntakes a default time the picker should center on (in the event a time has not yet\nbeen picked) as well as the picked start and end times. A common example of a default time\nwould be the datetime for the current day.\n","type":"Time.Zone -> Time.Posix -> Maybe.Maybe Time.Posix -> Maybe.Maybe Time.Posix -> DurationDatePicker.DatePicker -> DurationDatePicker.DatePicker"},{"name":"subscriptions","comment":" Events external to the picker to which it is subscribed.\n","type":"DurationDatePicker.Settings msg -> (( DurationDatePicker.DatePicker, Maybe.Maybe ( Time.Posix, Time.Posix ) ) -> msg) -> DurationDatePicker.DatePicker -> Platform.Sub.Sub msg"},{"name":"view","comment":" The date picker view. Simply pass it the configured settings\nand the date picker instance you wish to view.\n","type":"DurationDatePicker.Settings msg -> DurationDatePicker.DatePicker -> Html.Html msg"}],"binops":[]},{"name":"SingleDatePicker","comment":" A date picker component for a single datetime.\n\n\n# Architecture\n\n@docs DatePicker, init, view, subscriptions\n\n\n# Settings\n\n@docs Settings, defaultSettings\n\n\n# Externally Triggered Actions\n\n@docs openPicker, closePicker\n\n\n# Query\n\n@docs isOpen\n\n","unions":[{"name":"DatePicker","comment":" The opaque type representing a particular date picker instance.\n","args":[],"cases":[]}],"aliases":[{"name":"Settings","comment":" The type facilitating the configuration of the datepicker settings.\n\nBecause it could be the case that a picker is being used in a different\ntimezone than the home timezone of the implementor, the subfunctions of\nthe `dateTimeProcessor` both ingest a `Zone` in addition to a `Posix`. The\n`Zone` represents the time zone in which the picker is being used. An\nimplementor can leverage this to compare against a base time zone when\nenforcing allowable times of day, etc.\n\nMore information can be found in the [examples](https://github.com/mercurymedia/elm-datetime-picker/tree/master/examples).\n\n","args":["msg"],"type":"{ formattedDay : Time.Weekday -> String.String, formattedMonth : Time.Month -> String.String, focusedDate : Maybe.Maybe Time.Posix, dateTimeProcessor : { isDayDisabled : Time.Zone -> Time.Posix -> Basics.Bool, allowedTimesOfDay : Time.Zone -> Time.Posix -> { startHour : Basics.Int, startMinute : Basics.Int, endHour : Basics.Int, endMinute : Basics.Int } }, internalMsg : ( SingleDatePicker.DatePicker, Maybe.Maybe Time.Posix ) -> msg, dateStringFn : Time.Zone -> Time.Posix -> String.String, timeStringFn : Time.Zone -> Time.Posix -> String.String, zone : Time.Zone }"}],"values":[{"name":"closePicker","comment":" Close the provided date picker and receive the updated picker instance.\n","type":"SingleDatePicker.DatePicker -> SingleDatePicker.DatePicker"},{"name":"defaultSettings","comment":" A record of default settings for the date picker. Extend this if\nyou want to further customize the date picker.\n\nRequires a `Zone` to inform the picker in which time zone it should\ndisplay the picked time as well as a `msg` that expects a tuple containing a\ndatepicker instance and a `Maybe Posix` representing a selected datetime.\n\n    ( DatePicker, Maybe ( Posix, Posix ) ) -> msg\n\n","type":"Time.Zone -> (( SingleDatePicker.DatePicker, Maybe.Maybe Time.Posix ) -> msg) -> SingleDatePicker.Settings msg"},{"name":"init","comment":" Instantiates and returns a date picker.\n","type":"SingleDatePicker.DatePicker"},{"name":"isOpen","comment":" Indicates whether the DatePicker is open\n","type":"SingleDatePicker.DatePicker -> Basics.Bool"},{"name":"openPicker","comment":" Open the provided date picker and receive the updated picker instance. Also\ntakes a default time the picker should center on (in the event a time has not yet\nbeen picked) as well as the picked time. A common example of a default time\nwould be the datetime for the current day.\n","type":"Time.Zone -> Time.Posix -> Maybe.Maybe Time.Posix -> SingleDatePicker.DatePicker -> SingleDatePicker.DatePicker"},{"name":"subscriptions","comment":" Events external to the picker to which it is subscribed.\n","type":"SingleDatePicker.Settings msg -> (( SingleDatePicker.DatePicker, Maybe.Maybe Time.Posix ) -> msg) -> SingleDatePicker.DatePicker -> Platform.Sub.Sub msg"},{"name":"view","comment":" The date picker view. Simply pass it the configured settings\nand the date picker instance you wish to view.\n","type":"SingleDatePicker.Settings msg -> SingleDatePicker.DatePicker -> Html.Html msg"}],"binops":[]}]