From 596fc19b29995392040eeb0908592480078c9503 Mon Sep 17 00:00:00 2001 From: Abdenasser Date: Wed, 13 Nov 2024 14:43:15 +0100 Subject: [PATCH] status filter --- .../components/toolbar/ColumnToggle.svelte | 0 .../toolbar/PaginationControls.svelte | 0 .../components/toolbar/RefreshControls.svelte | 0 src/lib/components/toolbar/SearchBox.svelte | 0 .../components/toolbar/StatusFilter.svelte | 68 +++++++++++++++++++ .../components/{ => toolbar}/ToolBar.svelte | 16 +---- src/lib/components/toolbar/index.ts | 6 ++ src/lib/constants/toolbar.ts | 9 +++ src/lib/types/toolbar.ts | 28 ++++++++ src/routes/+page.svelte | 2 +- 10 files changed, 115 insertions(+), 14 deletions(-) create mode 100644 src/lib/components/toolbar/ColumnToggle.svelte create mode 100644 src/lib/components/toolbar/PaginationControls.svelte create mode 100644 src/lib/components/toolbar/RefreshControls.svelte create mode 100644 src/lib/components/toolbar/SearchBox.svelte create mode 100644 src/lib/components/toolbar/StatusFilter.svelte rename src/lib/components/{ => toolbar}/ToolBar.svelte (96%) create mode 100644 src/lib/components/toolbar/index.ts create mode 100644 src/lib/constants/toolbar.ts create mode 100644 src/lib/types/toolbar.ts diff --git a/src/lib/components/toolbar/ColumnToggle.svelte b/src/lib/components/toolbar/ColumnToggle.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/components/toolbar/PaginationControls.svelte b/src/lib/components/toolbar/PaginationControls.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/components/toolbar/RefreshControls.svelte b/src/lib/components/toolbar/RefreshControls.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/components/toolbar/SearchBox.svelte b/src/lib/components/toolbar/SearchBox.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/components/toolbar/StatusFilter.svelte b/src/lib/components/toolbar/StatusFilter.svelte new file mode 100644 index 0000000..e234844 --- /dev/null +++ b/src/lib/components/toolbar/StatusFilter.svelte @@ -0,0 +1,68 @@ + + +
+ +
+ + diff --git a/src/lib/components/ToolBar.svelte b/src/lib/components/toolbar/ToolBar.svelte similarity index 96% rename from src/lib/components/ToolBar.svelte rename to src/lib/components/toolbar/ToolBar.svelte index 80c16ff..419d7b6 100644 --- a/src/lib/components/ToolBar.svelte +++ b/src/lib/components/toolbar/ToolBar.svelte @@ -1,5 +1,5 @@