+ {/* Corner */}
+
+ {/* Day headers */}
+ {DAY_JP_LIST.map((dayJp, di) => {
+ const dayEn = DAY_EN_LIST[di];
+ const periods = HEADER_ID_TO_PERIODS.get(`${dayEn}-all`) ?? [];
+ const isToday = dayEn === TODAY_EN;
+ return (
+
togglePeriod(periods)}
+ >
+ {dayJp}
+
+ );
+ })}
+ {/* Time rows */}
+ {TIME_LIST.map((time) => (
+
+ togglePeriod(HEADER_ID_TO_PERIODS.get(`all-${time}`) ?? [])}
+ >
+ {time}
+
+ {DAY_JP_LIST.map((dayJp) => (
+
+ ))}
+
))}
-
- ))}
- {/* 集中 */}
-
togglePeriod(['集中']) : undefined}
- >
- 集
-
-
-
+ {/* 集中 */}
+