[{"name":"MultiSelect","comment":" MultiSelect component.\n\n\n# State\n\n@docs ID, State, init, get, selected, set, select, selectByID\n\n\n# Configuration\n\n@docs Config, config, withClass, withPlaceholder\n\n\n# Component\n\n@docs view, subscriptions\n\n","unions":[],"aliases":[{"name":"Config","comment":" Opaque type for the component's configuration.\n","args":["a","msg"],"type":"MultiSelect.Config.Config a msg"},{"name":"ID","comment":" ID of a element.\n","args":[],"type":"MultiSelect.Config.ID"},{"name":"State","comment":" Opaque type for the component's state.\n","args":["a"],"type":"MultiSelect.State.State a"}],"values":[{"name":"config","comment":" Initialize the component's configuration.\n\n    config : MultiSelect.Config User Msg\n    config =\n        MultiSelect.config\n            (String.fromInt << .id)\n            (\\x -> x.firstname ++ \" \" ++ x.lastname)\n            OnSelectState\n\n","type":"(a -> MultiSelect.ID) -> (a -> String.String) -> (MultiSelect.State a -> msg) -> MultiSelect.Config a msg"},{"name":"get","comment":" Get the data from the `State`.\n","type":"MultiSelect.State a -> List.List a"},{"name":"init","comment":" Initialize a default and empty state.\n","type":"MultiSelect.State a"},{"name":"select","comment":" Set the selected items.\n","type":"List.List a -> MultiSelect.State a -> MultiSelect.State a"},{"name":"selectByID","comment":" Select or unselect items by ID.\n","type":"List.List MultiSelect.ID -> MultiSelect.Config a msg -> MultiSelect.State a -> MultiSelect.State a"},{"name":"selected","comment":" Get the selected items from the `State`.\n","type":"MultiSelect.State a -> List.List a"},{"name":"set","comment":" Set the data in the `State`.\n","type":"MultiSelect.State a -> List.List a -> MultiSelect.State a"},{"name":"subscriptions","comment":" Component's subscriptions.\n","type":"MultiSelect.Config a msg -> MultiSelect.State a -> Platform.Sub.Sub msg"},{"name":"view","comment":" Component's view.\n","type":"MultiSelect.Config a msg -> MultiSelect.State a -> Html.Html msg"},{"name":"withClass","comment":" Add custom class to the component.\n","type":"String.String -> MultiSelect.Config a msg -> MultiSelect.Config a msg"},{"name":"withPlaceholder","comment":" Customize the search input placeholder.\n","type":"String.String -> MultiSelect.Config a msg -> MultiSelect.Config a msg"}],"binops":[]},{"name":"Select","comment":" Select component.\n\n\n# State\n\n@docs ID, State, init, get, selected, set, select, selectByID\n\n\n# Configuration\n\n@docs Config, config, withClass, withCheck, withPlaceholder\n\n\n# Component\n\n@docs view, subscriptions\n\n","unions":[],"aliases":[{"name":"Config","comment":" Opaque type for the component's configuration.\n","args":["a","msg"],"type":"Select.Config.Config a msg"},{"name":"ID","comment":" ID of a element.\n","args":[],"type":"Select.Config.ID"},{"name":"State","comment":" Opaque type for the component's state.\n","args":["a"],"type":"Select.State.State a"}],"values":[{"name":"config","comment":" Initialize the component's configuration.\n\n    config : Select.Config User Msg\n    config =\n        Select.config\n            (String.fromInt << .id)\n            (\\x -> x.firstname ++ \" \" ++ x.lastname)\n            OnSelectState\n            |> Select.withPlaceholder \"Select simple\"\n            |> Select.withCheck True\n\n","type":"(a -> Select.ID) -> (a -> String.String) -> (Select.State a -> msg) -> Select.Config a msg"},{"name":"get","comment":" Get the data from the `State`.\n","type":"Select.State a -> List.List a"},{"name":"init","comment":" Initialize a default and empty state.\n","type":"Select.State a"},{"name":"select","comment":" Select or unselect (Nothing) an item.\n","type":"Maybe.Maybe a -> Select.State a -> Select.State a"},{"name":"selectByID","comment":" Select or unselect (Nothing) an item by ID.\n","type":"Maybe.Maybe Select.ID -> Select.Config a msg -> Select.State a -> Select.State a"},{"name":"selected","comment":" Get the selected item or Nothing.\n","type":"Select.State a -> Maybe.Maybe a"},{"name":"set","comment":" Set the data in the `State`.\n","type":"Select.State a -> List.List a -> Select.State a"},{"name":"subscriptions","comment":" Component's subscriptions.\n","type":"Select.Config a msg -> Select.State a -> Platform.Sub.Sub msg"},{"name":"view","comment":" Component's view.\n","type":"Select.Config a msg -> Select.State a -> Html.Html msg"},{"name":"withCheck","comment":" Highlight if the value is not valid.\n","type":"Basics.Bool -> Select.Config a msg -> Select.Config a msg"},{"name":"withClass","comment":" Add custom class to the component.\n","type":"String.String -> Select.Config a msg -> Select.Config a msg"},{"name":"withPlaceholder","comment":" Customize the search input placeholder.\n","type":"String.String -> Select.Config a msg -> Select.Config a msg"}],"binops":[]}]