feat(app): календарь выплат сеткой по месяцам

Месячная сетка с дивидендами, купонами, амортизациями и погашениями по дням, выплаченными и ожидаемыми, с сводкой за месяц и списком выплат выбранного дня. Раскладка без прокрутки страницы: высота ячеек подстраивается под окно, на широком экране список справа. Прежний список остался вторым режимом.
This commit is contained in:
Dmitry
2026-09-20 10:46:38 +03:00
parent 6891028074
commit 2645e56197
5 changed files with 755 additions and 63 deletions
+10
View File
@@ -13,6 +13,16 @@ const incomeKindLabels = {
String incomeKindLabel(String kind) => incomeKindLabels[kind] ?? kind;
/// One glyph per kind, so a day cell on the calendar says what is paid without a word. The
/// colour of the glyph is left to the caller: on the calendar it is the basis, not the kind.
IconData incomeKindIcon(String kind) => switch (kind) {
'dividend' => Icons.paid_outlined,
'coupon' => Icons.receipt_long_outlined,
'amortization' => Icons.trending_down,
'repayment' => Icons.flag_outlined,
_ => Icons.circle_outlined,
};
const basisLabels = {
'schedule': 'по графику',
'announced': 'объявлено',