Rerouted (fork, needs approval). The original repository is gone. This copy comes from a fork that still has the tag. The Lamdera package server serves a copy recovered from https://github.com/hulufei/elm-fancy-daterangepicker (a fork).
What we checked: The original repo or its tag is gone; tag 2.0.2 is on the fork https://github.com/hulufei/elm-fancy-daterangepicker; its commit d08ee22228c6 is from 2018-10-17 17:50 UTC, before the version was published (2018-10-17 18:23 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one and nothing else confirms its contents.
We could not verify this copy against what was published, so the Lamdera compiler asks before using it (y/n). Without a terminal, as in CI, it stops with an error unless approved:
lamdera make --auto-approve-package-rerouting approves rerouted versions for that run,LAMDERA_AUTO_APPROVE_PACKAGE_REROUTING=1 does the same for every run in that environment,LAMDERA_CACHE=off skips the Lamdera package server altogether: packages come from package.elm-lang.org and GitHub only, as with elm, and a rerouted version then fails to download.Details · package.elm-lang.org's zip: https://github.com/goilluminate/elm-fancy-daterangepicker/zipball/2.0.2/
A customizable daterangepicker component.
The DatePicker model.
The default initial state of the DatePicker. You must execute the returned command in order to set the current date and for the datepicker to behave correctly.
The datepicker update function.
Subscribes to a mouse click
Expose if the daterange picker is open
Sets the the open state of the DatePicker
The daterange picker view. The date range passed is whatever date range it should treat as selected.
Expose the current selected date.
Sets the current date for the datepicker.
The settings that the DatePicker uses.
A record of default settings for the datepicker.
Sets the settings for the daterange picker
Sets the date formatter for the datepicker.
Sets the placeholder for the datepicker.
Sets the name for the datepicker.
Sets the id for the datepicker.
Sets the input icon for the datepicker.
Sets the input attributes for the datepicker.
Sets the preset options for the datepicker.
Sets the restricted date range for the datepicker.
A type representing your preset options for your date range picker.
A type representing which presets to use.
A type that represents a preset date.
A type used to generate preset dateranges.
{ name = "1 Month Ago"
, interval = Months
, presetRelativeToday = BeforeToday
, value = 1
}A type representing what the value in PresetSettings is measured in.
A type representing how the preset is relative to today.
A record of default preset options for the datepicker.
An opaque function used to make the default presets
A function that creates a Preset from a name and a date
Expose the current presets.
A type representing messages that are passed within the DatePicker.