Period picker

A date range from presets or two date fields.

Helper
period_picker(
  from_name: :from,
  to_name: :to,
  from: nil,
  to: nil,
  presets: [],  # [{ label:, from:, to: }]
  title: "Período"
)

Presets are hashes with label, from and to (nil for an open end). Picking one fills both fields and closes the panel; editing a date clears the preset. It dispatches componeer--period-picker:change.