From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 5 Mar 2024 18:08:09 +0100 Subject: Initial commit --- frontend/src/lib/filter/ComicFilterForm.svelte | 48 ++++++++++++++ frontend/src/lib/filter/TagFilterForm.svelte | 31 +++++++++ .../lib/filter/components/ComicFilterGroup.svelte | 27 ++++++++ frontend/src/lib/filter/components/Filter.svelte | 77 ++++++++++++++++++++++ .../src/lib/filter/components/FilterForm.svelte | 47 +++++++++++++ .../lib/filter/components/TagFilterGroup.svelte | 14 ++++ 6 files changed, 244 insertions(+) create mode 100644 frontend/src/lib/filter/ComicFilterForm.svelte create mode 100644 frontend/src/lib/filter/TagFilterForm.svelte create mode 100644 frontend/src/lib/filter/components/ComicFilterGroup.svelte create mode 100644 frontend/src/lib/filter/components/Filter.svelte create mode 100644 frontend/src/lib/filter/components/FilterForm.svelte create mode 100644 frontend/src/lib/filter/components/TagFilterGroup.svelte (limited to 'frontend/src/lib/filter') diff --git a/frontend/src/lib/filter/ComicFilterForm.svelte b/frontend/src/lib/filter/ComicFilterForm.svelte new file mode 100644 index 0000000..13b5320 --- /dev/null +++ b/frontend/src/lib/filter/ComicFilterForm.svelte @@ -0,0 +1,48 @@ + + + + + + diff --git a/frontend/src/lib/filter/TagFilterForm.svelte b/frontend/src/lib/filter/TagFilterForm.svelte new file mode 100644 index 0000000..be5996e --- /dev/null +++ b/frontend/src/lib/filter/TagFilterForm.svelte @@ -0,0 +1,31 @@ + + + + + + diff --git a/frontend/src/lib/filter/components/ComicFilterGroup.svelte b/frontend/src/lib/filter/components/ComicFilterGroup.svelte new file mode 100644 index 0000000..d302de4 --- /dev/null +++ b/frontend/src/lib/filter/components/ComicFilterGroup.svelte @@ -0,0 +1,27 @@ + + + + + + + + + + + diff --git a/frontend/src/lib/filter/components/Filter.svelte b/frontend/src/lib/filter/components/Filter.svelte new file mode 100644 index 0000000..ead5c4d --- /dev/null +++ b/frontend/src/lib/filter/components/Filter.svelte @@ -0,0 +1,77 @@ + + +
+
+ +
+ {#if filter instanceof Association} + + + +
+ {/if} + +
+
+