/**
* TyDatePicker Web Component
* PORTED FROM: cljs/ty/components/date_picker.cljs
*
* A date picker component with read-only input and calendar dropdown.
* Supports date-only and date+time modes with smart time input.
*
* Architecture:
* - Read-only input stub (displays formatted date)
* - Calendar dropdown (modal dialog with ty-calendar)
* - Optional time input (with smart digit navigation)
* - Form participation via ElementInternals
* - UTC output, local display
*
* Features:
* - Date selection with calendar dropdown
* - Optional time input with smart navigation
* - Form integration (works with FormData)
* - UTC value output for server communication
* - Localized display formatting (Intl API)
* - Clearable with clear button
* - Keyboard navigation (Escape to close)
* - Outside click handling
*
* @example
* ```html
*
*