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 3.1.1 is on the fork https://github.com/hulufei/elm-fancy-daterangepicker; its commit a89142196b57 is from 2018-11-09 16:37 UTC, before the version was published (2018-11-09 16:38 UTC); elm.json differs from 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/3.1.1/
A customizable daterangepicker component.
The DateRangePicker model.
The default initial state of the DateRangePicker. You must execute the returned command in order to set the current date and for the daterangepicker to behave correctly.
The daterangepicker update function.
Subscribes to a mouse click
Expose if the daterange picker is open
Sets the the open state of the DateRangePicker
The daterange picker view. The date range passed is whatever date range it should treat as selected.
Expose the current selected daterange.
Sets the current daterange for the daterangepicker.
The settings that the DateRangePicker uses.
A record of default settings for the daterangepicker.
Sets the settings for the daterange picker
Sets the date range formatter for the daterangepicker.
Sets the placeholder for the daterangepicker.
Sets the name for the daterangepicker.
Sets the id for the daterangepicker.
Sets the input icon for the daterangepicker.
Sets the input attributes for the daterangepicker.
Sets the preset options for the daterangepicker.
Sets the restricted date range for the daterangepicker.
A function that formats a daterange to a string.
Expose the min date in the enabled date range.
Expose the max date in the enabled date range.
Sets the CalendarDisplay for the daterangepicker
A type representing your preset options for your date range picker.
A type representing which presets to use.
A type that represents a preset daterange.
A type used to generate preset dateranges.
{ name = "Past Month"
, interval = Months
, presetRelativeToday = ToToday
, 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 daterangepicker.
An opaque function used to make the default presets
A function that creates a Preset from a name and a dateRange
A function that creates a Preset from a name, startDate, and endDate
Expose the current presets.
A type representing messages that are passed within the DateRangePicker.