From bc195f315128c965bd79b77f210687b36c2a6d9b Mon Sep 17 00:00:00 2001 From: limina1 Date: Thu, 12 Jun 2025 12:45:02 -0400 Subject: [PATCH] event kind filter added --- src/lib/components/EventKindFilter.svelte | 189 ++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 src/lib/components/EventKindFilter.svelte diff --git a/src/lib/components/EventKindFilter.svelte b/src/lib/components/EventKindFilter.svelte new file mode 100644 index 0000000..599d476 --- /dev/null +++ b/src/lib/components/EventKindFilter.svelte @@ -0,0 +1,189 @@ + + +
+
+ {#each $visualizationConfig.allowedKinds as kind} + {@const isDisabled = $visualizationConfig.disabledKinds.includes(kind)} + + + + {/each} + + {#if showAddInput} +
+
+ validateKind(newKind)} + /> + {#if inputError} +
+ {inputError} +
+ {/if} +
+ + +
+ {:else} + + {/if} + + +
+ + +
+ + \ No newline at end of file