3x-ui/web/html/component
MHSanaei cbb35f73ed
feat(frontend): jalali calendar + drop legacy moment-jalali
- Wire Calendar Type setting to a real Jalali datepicker via
  vue3-persian-datetime-picker, gated by useDatepicker composable
- DateTimePicker wrapper swaps between AD-Vue and Persian picker; keeps
  dayjs v-model contract so existing forms/setters work unchanged
- Theme picker popup explicitly per body.dark / data-theme=ultra-dark
  (AD-Vue 4 doesn't expose CSS vars, so var() fallbacks defaulted to
  white); fix invisible disabled days, SVG arrow fills, popup clipping
  via append-to="body"
- Replace stray moment() calls in dbinbound/inbound models with dayjs;
  the legacy global was undefined under ESM and broke the inbounds list
  whenever any inbound had expiryTime > 0
- Remove legacy moment-jalali / persian-datepicker / aPersianDatepicker
  assets — replaced by the Vue 3 picker

Note: dark/ultra background of the date popup still renders white in
some cases — pending follow-up.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 00:17:25 +02:00
..
aClientTable.html fix design 2026-05-06 17:12:08 +02:00
aCustomStatistic.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
aSettingListItem.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
aSidebar.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
aTableSortable.html ws/inbounds: realtime fixes + perf for 10k+ client inbounds (#4123) 2026-05-05 17:27:49 +02:00
aThemeSwitch.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00