From 896c6640e21502e7f7e71a9a4e5aa985629f663f Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 25 Jan 2025 19:18:08 -0500 Subject: [PATCH] added datepicker manually --- .../src/helperComponents/Datepicker.svelte | 477 ++++++++++++++++++ 1 file changed, 477 insertions(+) create mode 100644 frontend/src/helperComponents/Datepicker.svelte diff --git a/frontend/src/helperComponents/Datepicker.svelte b/frontend/src/helperComponents/Datepicker.svelte new file mode 100644 index 0000000..9c32886 --- /dev/null +++ b/frontend/src/helperComponents/Datepicker.svelte @@ -0,0 +1,477 @@ + + +
+ {#if !inline} +
+ (isOpen = true)} + on:input={handleInputChange} + on:keydown={handleInputKeydown} + {disabled} + {required} + aria-haspopup="dialog" + /> + +
+ {/if} + + {#if isOpen || inline} + + {/if} +
+ +