Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
589 B
Markdown
26 lines
589 B
Markdown
# `shared/calendar/`
|
|
|
|
## Purpose
|
|
|
|
Jalali (Persian) and Gregorian date/time pickers, formatters, and calendar utilities for the RTL SuperApp.
|
|
|
|
## Legacy source (not moved)
|
|
|
|
- `components/ds/DatePicker.tsx`
|
|
- `jalaali-js`, `dayjs` usage in accounting vouchers and fiscal pages
|
|
|
|
## Planned contents
|
|
|
|
- `DatePicker`, `DateRangePicker`
|
|
- `formatJalali`, `parseJalali` helpers
|
|
- RHF Controller adapters
|
|
|
|
## Allowed dependencies
|
|
|
|
- `shared/ui/`, `shared/utils/`
|
|
- External: `jalaali-js`, `dayjs`
|
|
|
|
## Status
|
|
|
|
📁 Scaffold only — DatePicker remains in `components/ds/`.
|