From bf4bba1132b806449114c5864c9c5a773a300f00 Mon Sep 17 00:00:00 2001 From: Fenris Wolf Date: Tue, 1 Oct 2024 22:52:31 +0200 Subject: [PATCH] [mod] widget:weekview --- source/widgets/weekview/logic.ts | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/source/widgets/weekview/logic.ts b/source/widgets/weekview/logic.ts index effa2f7..692de46 100644 --- a/source/widgets/weekview/logic.ts +++ b/source/widgets/weekview/logic.ts @@ -40,17 +40,6 @@ namespace _zeitbild.frontend_web.widgets.weekview private container : (null | Element); - /** - */ - private action_select_day : ( - ( - date : lib_plankton.pit.type_date - ) - => - void - ); - - /** */ private action_select_event : ( @@ -64,18 +53,22 @@ namespace _zeitbild.frontend_web.widgets.weekview ); + /** + */ + private action_select_day : ( + ( + date : lib_plankton.pit.type_date + ) + => + void + ); + + /** */ public constructor( get_entries : type_get_entries, options : { - action_select_day ?: ( - ( - date : lib_plankton.pit.type_date - ) - => - void - ); action_select_event ?: ( ( calendar_id : _zeitbild.frontend_web.type.calendar_id, @@ -85,6 +78,13 @@ namespace _zeitbild.frontend_web.widgets.weekview => void ); + action_select_day ?: ( + ( + date : lib_plankton.pit.type_date + ) + => + void + ); } = {} ) {