From 57ecca864fd908a6772145739d63cbf1f4d30821 Mon Sep 17 00:00:00 2001 From: work Date: Mon, 29 Apr 2024 00:49:29 +0200 Subject: [PATCH] refactor --- .../calendar-columns/CalendarColumns.svelte | 14 +------------- .../calendar-grid/grid-cell/GridCell.svelte | 11 ++++++----- .../event-panel/placement-service.ts | 3 ++- .../calendar-rows/event-panel/service.ts | 2 +- .../calendar-columns/calendar-rows/service.ts | 2 +- src/lib/components/task-form/service.ts | 3 ++- .../task-form-recurring/TaskFormRecurring.svelte | 5 +++-- .../days-checkbox/DaysCheckbox.svelte | 4 ++-- .../days-checkbox/service.ts | 0 src/lib/task/seed.ts | 7 +++---- src/lib/task/time-utils.ts | 16 +++++++++++++++- src/lib/task/utils.ts | 9 +-------- src/routes/dashboard/home/+page.svelte | 4 +--- 13 files changed, 38 insertions(+), 42 deletions(-) rename src/lib/components/{ => task-form/task-form-recurring}/days-checkbox/DaysCheckbox.svelte (86%) rename src/lib/components/{ => task-form/task-form-recurring}/days-checkbox/service.ts (100%) diff --git a/src/lib/components/calendar/calendar-body/calendar-columns/CalendarColumns.svelte b/src/lib/components/calendar/calendar-body/calendar-columns/CalendarColumns.svelte index 97fd4645..4bd96a11 100644 --- a/src/lib/components/calendar/calendar-body/calendar-columns/CalendarColumns.svelte +++ b/src/lib/components/calendar/calendar-body/calendar-columns/CalendarColumns.svelte @@ -1,11 +1,7 @@