From 246f58b0037cac11cce94d9947a2407bd92917b0 Mon Sep 17 00:00:00 2001 From: Robonau <30987265+Robonau@users.noreply.github> Date: Tue, 31 Dec 2024 04:44:55 +0000 Subject: [PATCH] library filter per category with default --- bun.lockb | Bin 185375 -> 185375 bytes package.json | 2 +- src/lib/components/switch.svelte | 3 + src/lib/gql/Mutations.ts | 14 + src/lib/gql/Queries.ts | 5 + src/lib/gql/graphqlClient.ts | 4 +- src/lib/simpleStores.svelte.ts | 242 ++++++- src/routes/(app)/(library)/+page.svelte | 68 +- .../(app)/(library)/LibraryFilterModal.svelte | 604 ++++++++++++++---- .../(app)/(library)/libraryActions.svelte | 5 +- 10 files changed, 802 insertions(+), 145 deletions(-) diff --git a/bun.lockb b/bun.lockb index 238b0ee3bdd291964fa05f5efbc915f8af86301c..4d3939767550f8945fcd555ea49e0075024031cb 100755 GIT binary patch delta 147 zcmV;E0BrxCs0*K{3y>}#H#+((*=}l;D~tRcRjwY|N`W!~K~BV1GOn61PKb(?u})e+ zlc+;5v)Dn!pFq!8276^iyK|D?{|(knEp`;o=A5`b-WRRth^o7`LchO8HMKC!a)kyj zcg6JT$eGb2!I^biy)>*%uz^T64_kxX;kVu40mlgeIJc$i0kwsfad-kCw|a2`rDFbZ BMz{a~ delta 147 zcmV;E0BrxCs0*K{3y>}#_5oQhc+b)U3v&64#FEKrZ!30&sgg3$47D92xu(t@u})e+ zljuV*v)Dn!pFl! void; + title?: string; [key: string]: unknown; } @@ -59,6 +60,7 @@ onchange = () => {}, onkeydown = () => {}, children, + title, ...rest }: Props = $props(); @@ -129,6 +131,7 @@ aria-label={label} aria-checked={checked} tabindex="0" + {title} >