|
|
@ -6,14 +6,16 @@ |
|
|
@for (day of days; track day) { |
|
|
@for (day of days; track day) { |
|
|
<div |
|
|
<div |
|
|
class="day" |
|
|
class="day" |
|
|
[class]="{ |
|
|
[class.available]=" |
|
|
'cursor-pointer valid': isDateOfInterest( |
|
|
marketDataByMonth[itemByMonth.key][formatDay(day)]?.marketPrice |
|
|
`${itemByMonth.key}-${formatDay(day)}` |
|
|
" |
|
|
), |
|
|
[class.cursor-pointer]=" |
|
|
available: |
|
|
isDateOfInterest(`${itemByMonth.key}-${formatDay(day)}`) |
|
|
marketDataByMonth[itemByMonth.key][formatDay(day)]?.marketPrice, |
|
|
" |
|
|
today: isToday(`${itemByMonth.key}-${formatDay(day)}`) |
|
|
[class.today]="isToday(`${itemByMonth.key}-${formatDay(day)}`)" |
|
|
}" |
|
|
[class.valid]=" |
|
|
|
|
|
isDateOfInterest(`${itemByMonth.key}-${formatDay(day)}`) |
|
|
|
|
|
" |
|
|
[title]=" |
|
|
[title]=" |
|
|
(`${itemByMonth.key}-${formatDay(day)}` |
|
|
(`${itemByMonth.key}-${formatDay(day)}` |
|
|
| date: defaultDateFormat()) ?? '' |
|
|
| date: defaultDateFormat()) ?? '' |
|
|
|