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 --- .../lib/scraper/components/SelectorButton.svelte | 22 ++++++++++++++ .../lib/scraper/components/SelectorGroup.svelte | 35 ++++++++++++++++++++++ .../src/lib/scraper/components/SelectorItem.svelte | 24 +++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 frontend/src/lib/scraper/components/SelectorButton.svelte create mode 100644 frontend/src/lib/scraper/components/SelectorGroup.svelte create mode 100644 frontend/src/lib/scraper/components/SelectorItem.svelte (limited to 'frontend/src/lib/scraper/components') diff --git a/frontend/src/lib/scraper/components/SelectorButton.svelte b/frontend/src/lib/scraper/components/SelectorButton.svelte new file mode 100644 index 0000000..b786f89 --- /dev/null +++ b/frontend/src/lib/scraper/components/SelectorButton.svelte @@ -0,0 +1,22 @@ + + + diff --git a/frontend/src/lib/scraper/components/SelectorGroup.svelte b/frontend/src/lib/scraper/components/SelectorGroup.svelte new file mode 100644 index 0000000..ae7287a --- /dev/null +++ b/frontend/src/lib/scraper/components/SelectorGroup.svelte @@ -0,0 +1,35 @@ + + +{#if selectors.length > 0} +
+
+

{title}

+ +
+
+ {#each selectors as selector} + + {/each} +
+
+{/if} diff --git a/frontend/src/lib/scraper/components/SelectorItem.svelte b/frontend/src/lib/scraper/components/SelectorItem.svelte new file mode 100644 index 0000000..dd3f5b4 --- /dev/null +++ b/frontend/src/lib/scraper/components/SelectorItem.svelte @@ -0,0 +1,24 @@ + + +{#if selector} +
+

{title}

+ +
+{/if} + + -- cgit v1.2.3-2-gb3c3