Enhance SvelteKit project by adding new API routes for dark mode toggling, updating existing route parameters, and improving type definitions. Refactor component imports and optimize asset handling for better performance and maintainability.
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m29s

This commit is contained in:
eewing
2026-02-18 14:16:38 -06:00
parent a3db68e8fc
commit cfff9de0e6
574 changed files with 21605 additions and 1702 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/QRbP8TAd.js","../chunks/D4nn9Y_6.js"])))=>i.map(i=>d[i]);
import{_ as l}from"../chunks/D4nn9Y_6.js";import"../chunks/Bzak7iHL.js";import"../chunks/Bbbv1kr5.js";import{o as m}from"../chunks/CeetFYTo.js";import{D as f,L as u,p as _,j as d,m as p,l as v,o as c,v as h}from"../chunks/BH97ETpZ.js";import{i as y}from"../chunks/CrWOhwmr.js";function b(i,t,e,a,o){var s;f&&u();var r=(s=t.$$slots)==null?void 0:s[e],n=!1;r===!0&&(r=t.children,n=!0),r===void 0||r(i,n?()=>a:a)}const E=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));var g=v('<div class="app-shell"><!></div>');function L(i,t){_(t,!1),m(()=>{l(async()=>{const{registerSW:o}=await import("../chunks/QRbP8TAd.js");return{registerSW:o}},__vite__mapDeps([0,1]),import.meta.url).then(({registerSW:o})=>{o({immediate:!0})})}),y();var e=g(),a=c(e);b(a,t,"default",{}),h(e),d(i,e),p()}export{L as component,E as universal};
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
import"../chunks/Bzak7iHL.js";import"../chunks/Bbbv1kr5.js";import{p as h,i as g,w as l,j as v,m as d,l as _,o as a,v as o,s as x}from"../chunks/BH97ETpZ.js";import{s as p}from"../chunks/Qgf5A_kA.js";import{i as $}from"../chunks/CrWOhwmr.js";import{s as k,p as m}from"../chunks/mylYChEY.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var j=_("<h1> </h1> <p> </p>",1);function B(n,c){h(c,!1),$();var t=j(),r=g(t),f=a(r,!0);o(r);var s=x(r,2),u=a(s,!0);o(s),l(()=>{var e;p(f,i.status),p(u,(e=i.error)==null?void 0:e.message)}),v(n,t),d()}export{B as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import"../chunks/DAapakUx.js";import{p as h,i as g,t as l,j as v,m as d,l as _,o as a,v as o,s as x}from"../chunks/DScGFiBY.js";import{s as p}from"../chunks/B7h8GtFa.js";import{i as $}from"../chunks/DjaSJnz7.js";import{s as k,p as m}from"../chunks/BuAKAdPx.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var j=_("<h1> </h1> <p> </p>",1);function B(n,c){h(c,!1),$();var r=j(),t=g(r),f=a(t,!0);o(t);var s=x(t,2),u=a(s,!0);o(s),l(()=>{var e;p(f,i.status),p(u,(e=i.error)==null?void 0:e.message)}),v(n,r),d()}export{B as component};
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import{p as U,t as b,j as l,m as V,n as W,q as X,g as e,x as C,l as v,y as Y,o as s,$ as Z,s as c,v as a,w as B,k as Q,i as tt}from"../chunks/DScGFiBY.js";import{s as d}from"../chunks/B7h8GtFa.js";import{i as et}from"../chunks/BlbL38UD.js";import{e as at}from"../chunks/BhGBB4Qh.js";import{h as st}from"../chunks/ChlQth4G.js";import{s as rt}from"../chunks/BPc-JNDc.js";import{B as A}from"../chunks/CcEFwafz.js";import{C as T,a as z}from"../chunks/Y4l2nr7b.js";import{I as ot}from"../chunks/CB0VnWqK.js";var lt=v('<p class="text-muted-foreground text-center text-sm"> </p> <p class="text-muted-foreground text-center text-xs"> </p> <a href="/accounts/new"><!></a> <a href="/"><!></a>',1),ct=v('<a class="font-medium hover:underline"> </a>'),nt=v('<div class="flex flex-col gap-2"></div>'),it=v('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Accounts</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0"><!></div> <span class="text-muted-foreground text-sm shrink-0"> </span> <a href="/accounts/new" class="block shrink-0"><!></a></div></div> <!></main>');function gt(D,N){U(N,!0);let p=Y("");const n=Q(()=>{var t;return((t=N.data)==null?void 0:t.accounts)??[]}),m=Q(()=>(()=>{const t=e(p).trim().toLowerCase();return t?e(n).filter(r=>r.id.toLowerCase().includes(t)):e(n)})());var x=it();st("11yx1mx",t=>{W(()=>{Z.title="Accounts Stackq"})});var h=s(x),j=c(s(h),2),$=s(j),E=s($);ot(E,{type:"search",placeholder:"Search accounts…",class:"h-11 w-full sm:h-9",get value(){return e(p)},set value(t){X(p,t,!0)}}),a($);var _=c($,2),F=s(_);a(_);var q=c(_,2),G=s(q);A(G,{class:"w-full sm:w-auto min-h-11",children:(t,r)=>{B();var i=C("New account");l(t,i)},$$slots:{default:!0}}),a(q),a(j),a(h);var H=c(h,2);{var J=t=>{T(t,{children:(r,i)=>{z(r,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(f,I)=>{var g=lt(),u=tt(g),L=s(u,!0);a(u);var o=c(u,2),w=s(o,!0);a(o);var y=c(o,2),M=s(y);A(M,{variant:"outline",children:(k,R)=>{B();var P=C("New account");l(k,P)},$$slots:{default:!0}}),a(y);var S=c(y,2),O=s(S);A(O,{variant:"ghost",children:(k,R)=>{B();var P=C("Back to home");l(k,P)},$$slots:{default:!0}}),a(S),b(()=>{d(L,e(n).length===0?"No accounts yet.":"No accounts match your search."),d(w,e(n).length===0?"Create an account to get started.":"Try a different search.")}),l(f,g)},$$slots:{default:!0}})},$$slots:{default:!0}})},K=t=>{var r=nt();at(r,21,()=>e(m),i=>i.id,(i,f)=>{T(i,{children:(I,g)=>{z(I,{class:"p-4",children:(u,L)=>{var o=ct(),w=s(o);a(o),b(()=>{rt(o,"href",`/accounts/${e(f).id??""}`),d(w,`Account ${e(f).id??""}`)}),l(u,o)},$$slots:{default:!0}})},$$slots:{default:!0}})}),a(r),l(t,r)};et(H,t=>{e(m).length===0?t(J):t(K,!1)})}a(x),b(()=>d(F,`${e(m).length??""}${e(m).length!==e(n).length?` of ${e(n).length}`:""} accounts`)),l(D,x),V()}export{gt as component};
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/DvdI6Px1.js","../chunks/Bzak7iHL.js","../chunks/BH97ETpZ.js","../chunks/Qgf5A_kA.js","../chunks/BD8q7RHQ.js","../chunks/UvStrNyM.js","../chunks/Cf_fsnlT.js","../chunks/CCY2d7sc.js","../chunks/mylYChEY.js","../chunks/CeetFYTo.js","../chunks/iYSIr-5j.js","../chunks/Dw-PWoyz.js","../chunks/Bysmuwvg.js","../chunks/BzfwckE1.js","../chunks/CBjBL7Hz.js","../chunks/BkOB8zes.js"])))=>i.map(i=>d[i]);
import{_ as F}from"../chunks/D4nn9Y_6.js";import"../chunks/Bzak7iHL.js";import{j as r,l as d,o as b,v as j,h as p,i as v,g as i,k as _}from"../chunks/BH97ETpZ.js";import{a as E}from"../chunks/BHRsrugl.js";import{i as P}from"../chunks/UvStrNyM.js";import{c as $}from"../chunks/Cf_fsnlT.js";var w=d('<p class="text-muted-foreground">Loading…</p>'),y=d('<main class="flex min-h-screen flex-col items-center justify-center p-4"><!></main>');function V(f,c){var a=y(),l=b(a);{var g=o=>{var n=p(),u=v(n);E(u,()=>F(()=>import("../chunks/DvdI6Px1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),e=>{var t=w();r(e,t)},(e,t)=>{var h=_(()=>{var{default:m}=i(t);return{LoginForm:m}}),L=_(()=>i(h).LoginForm),s=p(),x=v(s);$(x,()=>i(L),(m,k)=>{k(m,{get data(){return c.data}})}),r(e,s)}),r(o,n)};P(l,o=>{o(g)})}j(a),r(f,a)}export{V as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import"../chunks/DAapakUx.js";import{j as t,n as B,s as n,i as b,x as m,o as a,l as x,$ as w,w as p,v as e}from"../chunks/DScGFiBY.js";import{h as y}from"../chunks/ChlQth4G.js";import{B as u}from"../chunks/CcEFwafz.js";import{C as P,a as C}from"../chunks/Y4l2nr7b.js";var j=x('<p class="text-muted-foreground text-center text-sm">Account creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/accounts"><!></a> <a href="/"><!></a></div>',1),N=x('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/accounts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to accounts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New account</h1></div> <!></main>');function G(v){var o=N();y("phafx2",c=>{B(()=>{w.title="New account Stackq"})});var $=n(a(o),2);P($,{children:(c,q)=>{C(c,{class:"flex flex-col gap-4 py-8",children:(h,A)=>{var i=j(),d=n(b(i),2),r=a(d),g=a(r);u(g,{variant:"outline",children:(s,k)=>{p();var l=m("Back to accounts");t(s,l)},$$slots:{default:!0}}),e(r);var f=n(r,2),_=a(f);u(_,{variant:"ghost",children:(s,k)=>{p();var l=m("Home");t(s,l)},$$slots:{default:!0}}),e(f),e(d),t(h,i)},$$slots:{default:!0}})},$$slots:{default:!0}}),e(o),t(v,o)}export{G as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import{p as v,j as e,m as _,n as g,i as k,x as B,t as y,o as s,l as i,s as m,$ as A,v as o,w as C}from"../chunks/DScGFiBY.js";import{s as P}from"../chunks/B7h8GtFa.js";import{h as b}from"../chunks/ChlQth4G.js";import{B as j}from"../chunks/CcEFwafz.js";import{C as w,a as q}from"../chunks/Y4l2nr7b.js";var S=i('<p class="text-muted-foreground text-sm"> </p> <a href="/accounts"><!></a>',1),z=i('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/accounts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to accounts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Account</h1></div> <!></main>');function M(p,r){v(r,!0);var t=z();b("xw1yjl",c=>{g(()=>{A.title="Account Stackq"})});var f=m(s(t),2);w(f,{children:(c,D)=>{q(c,{class:"flex flex-col gap-4 py-8",children:(u,E)=>{var n=S(),a=k(n),x=s(a);o(a);var l=m(a,2),d=s(l);j(d,{variant:"outline",children:(h,F)=>{C();var $=B("Back to accounts");e(h,$)},$$slots:{default:!0}}),o(l),y(()=>P(x,`Account ${r.params.id??""}`)),e(u,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),o(t),e(p,t),_()}export{M as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import{_ as m}from"../chunks/Cel1DXuQ.js";export{m as component};
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/CMpaAzNm.js","../chunks/Bzak7iHL.js","../chunks/DScGFiBY.js","../chunks/B7h8GtFa.js","../chunks/BfWekp-4.js","../chunks/BlbL38UD.js","../chunks/B5gxx3nr.js","../chunks/B3aNbgJc.js","../chunks/BuAKAdPx.js","../chunks/DzJWa70M.js","../chunks/DoRZqEmo.js","../chunks/BPc-JNDc.js","../chunks/Y4l2nr7b.js","../chunks/DkOFPg3x.js","../chunks/AlWcxmGf.js","../chunks/CcEFwafz.js","../chunks/BNQ00IGn.js","../chunks/CB0VnWqK.js","../chunks/DTbYdmbV.js"])))=>i.map(i=>d[i]);
import{c as F,_ as b}from"../chunks/B5gxx3nr.js";import"../chunks/Bzak7iHL.js";import{j as r,l as d,o as j,v as E,h as v,i as _,g as i,k as p}from"../chunks/DScGFiBY.js";import{a as P}from"../chunks/Cua5CQwk.js";import{i as $}from"../chunks/BlbL38UD.js";var w=d('<p class="text-muted-foreground">Loading…</p>'),y=d('<main class="flex min-h-screen flex-col items-center justify-center p-4"><!></main>');function T(c,f){var a=y(),l=j(a);{var g=o=>{var n=v(),u=_(n);P(u,()=>b(()=>import("../chunks/CMpaAzNm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]),import.meta.url),e=>{var t=w();r(e,t)},(e,t)=>{var h=p(()=>{var{default:m}=i(t);return{LoginForm:m}}),L=p(()=>i(h).LoginForm),s=v(),x=_(s);F(x,()=>i(L),(m,k)=>{k(m,{get data(){return f.data}})}),r(e,s)}),r(o,n)};$(l,o=>{o(g)})}E(a),r(c,a)}export{T as component};
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/-Dy1WTy5.js","../chunks/Bzak7iHL.js","../chunks/BH97ETpZ.js","../chunks/Cf_fsnlT.js","../chunks/UvStrNyM.js","../chunks/BkOB8zes.js","../chunks/Dw-PWoyz.js","../chunks/BD8q7RHQ.js","../chunks/Bysmuwvg.js","../chunks/iYSIr-5j.js","../chunks/Cr7vHN1I.js","../chunks/CCY2d7sc.js","../chunks/mylYChEY.js","../chunks/CeetFYTo.js","../chunks/Qgf5A_kA.js","../chunks/BR6tTwie.js","../chunks/C3TONo7J.js","../chunks/D4nn9Y_6.js","../chunks/DfWA6mBJ.js"])))=>i.map(i=>d[i]);
import{_ as k}from"../chunks/D4nn9Y_6.js";import"../chunks/Bzak7iHL.js";import{h as m,i,j as a,g as n,k as f,l as H}from"../chunks/BH97ETpZ.js";import{a as W}from"../chunks/BHRsrugl.js";import{i as b}from"../chunks/UvStrNyM.js";import{c as j}from"../chunks/Cf_fsnlT.js";import"../chunks/BkOB8zes.js";var E=H('<main class="flex min-h-screen flex-col items-center justify-center gap-6 p-6 sm:p-8"><p class="text-muted-foreground">Loading…</p></main>');function O(l,v){var s=m(),d=i(s);{var c=r=>{var p=m(),g=i(p);W(g,()=>k(()=>import("../chunks/-Dy1WTy5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]),import.meta.url),o=>{var t=E();a(o,t)},(o,t)=>{var u=f(()=>{var{default:e}=n(t);return{HomeWithDialog:e}}),h=f(()=>n(u).HomeWithDialog),_=m(),x=i(_);j(x,()=>n(h),(e,D)=>{D(e,{get data(){return v.data}})}),a(o,_)}),a(r,p)};b(d,r=>{r(c)})}a(l,s)}export{O as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/GmCZ4RHf.js","../chunks/Bzak7iHL.js","../chunks/DScGFiBY.js","../chunks/B5gxx3nr.js","../chunks/BlbL38UD.js","../chunks/CcEFwafz.js","../chunks/BPc-JNDc.js","../chunks/BfWekp-4.js","../chunks/BNQ00IGn.js","../chunks/DkOFPg3x.js","../chunks/DoRZqEmo.js","../chunks/Do7CCxfs.js","../chunks/CaCQx3BS.js","../chunks/B7h8GtFa.js","../chunks/B3aNbgJc.js","../chunks/BuAKAdPx.js","../chunks/DzJWa70M.js","../chunks/BhGBB4Qh.js","../chunks/fb4NW7RP.js","../chunks/CB0VnWqK.js","../chunks/DTbYdmbV.js","../chunks/DTML-ACl.js"])))=>i.map(i=>d[i]);
import{c as k,_ as H}from"../chunks/B5gxx3nr.js";import"../chunks/Bzak7iHL.js";import{h as m,i,j as a,g as n,k as l,l as W}from"../chunks/DScGFiBY.js";import{a as b}from"../chunks/Cua5CQwk.js";import{i as j}from"../chunks/BlbL38UD.js";import"../chunks/CcEFwafz.js";var E=W('<main class="flex min-h-screen flex-col items-center justify-center gap-6 p-6 sm:p-8"><p class="text-muted-foreground">Loading…</p></main>');function I(f,v){var s=m(),d=i(s);{var c=r=>{var p=m(),g=i(p);b(g,()=>H(()=>import("../chunks/GmCZ4RHf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url),e=>{var t=E();a(e,t)},(e,t)=>{var u=l(()=>{var{default:o}=n(t);return{HomeWithDialog:o}}),h=l(()=>n(u).HomeWithDialog),_=m(),x=i(_);k(x,()=>n(h),(o,D)=>{D(o,{get data(){return v.data}})}),a(e,_)}),a(r,p)};j(d,r=>{r(c)})}a(f,s)}export{I as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import{p as U,t as b,j as l,m as V,l as u,n as W,$ as X,o as r,s as i,q as Y,g as t,v as s,w as C,x as B,y as Z,k as Q,i as ee}from"../chunks/DScGFiBY.js";import{s as d}from"../chunks/B7h8GtFa.js";import{i as te}from"../chunks/BlbL38UD.js";import{e as se}from"../chunks/BhGBB4Qh.js";import{h as re}from"../chunks/ChlQth4G.js";import{s as ae}from"../chunks/BPc-JNDc.js";import{B as N}from"../chunks/CcEFwafz.js";import{C as T,a as z}from"../chunks/Y4l2nr7b.js";import{I as oe}from"../chunks/CB0VnWqK.js";var le=u('<p class="text-muted-foreground text-center text-sm"> </p> <p class="text-muted-foreground text-center text-xs"> </p> <a href="/receipts/new"><!></a> <a href="/"><!></a>',1),ie=u('<a class="font-medium hover:underline"> </a>'),ce=u('<div class="flex flex-col gap-2"></div>'),ne=u('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Receipts</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0"><!></div> <span class="text-muted-foreground text-sm shrink-0"> </span> <a href="/receipts/new" class="block shrink-0"><!></a></div></div> <!></main>');function ge(A,R){U(R,!0);let v=Z("");const c=Q(()=>{var e;return((e=R.data)==null?void 0:e.receipts)??[]}),m=Q(()=>(()=>{const e=t(v).trim().toLowerCase();return e?t(c).filter(a=>a.id.toLowerCase().includes(e)):t(c)})());var h=ne();re("16kr07e",e=>{W(()=>{X.title="Receipts Stackq"})});var x=r(h),j=i(r(x),2),$=r(j),D=r($);oe(D,{type:"search",placeholder:"Search receipts…",class:"h-11 w-full sm:h-9",get value(){return t(v)},set value(e){Y(v,e,!0)}}),s($);var _=i($,2),E=r(_);s(_);var q=i(_,2),F=r(q);N(F,{class:"w-full sm:w-auto min-h-11",children:(e,a)=>{C();var n=B("New receipt");l(e,n)},$$slots:{default:!0}}),s(q),s(j),s(x);var G=i(x,2);{var H=e=>{T(e,{children:(a,n)=>{z(a,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(f,I)=>{var g=le(),p=ee(g),L=r(p,!0);s(p);var o=i(p,2),w=r(o,!0);s(o);var k=i(o,2),K=r(k);N(K,{variant:"outline",children:(y,O)=>{C();var P=B("New receipt");l(y,P)},$$slots:{default:!0}}),s(k);var S=i(k,2),M=r(S);N(M,{variant:"ghost",children:(y,O)=>{C();var P=B("Back to home");l(y,P)},$$slots:{default:!0}}),s(S),b(()=>{d(L,t(c).length===0?"No receipts yet.":"No receipts match your search."),d(w,t(c).length===0?"Create a receipt to get started.":"Try a different search.")}),l(f,g)},$$slots:{default:!0}})},$$slots:{default:!0}})},J=e=>{var a=ce();se(a,21,()=>t(m),n=>n.id,(n,f)=>{T(n,{children:(I,g)=>{z(I,{class:"p-4",children:(p,L)=>{var o=ie(),w=r(o);s(o),b(()=>{ae(o,"href",`/receipts/${t(f).id??""}`),d(w,`Receipt ${t(f).id??""}`)}),l(p,o)},$$slots:{default:!0}})},$$slots:{default:!0}})}),s(a),l(e,a)};te(G,e=>{t(m).length===0?e(H):e(J,!1)})}s(h),b(()=>d(E,`${t(m).length??""}${t(m).length!==t(c).length?` of ${t(c).length}`:""} receipts`)),l(A,h),V()}export{ge as component};
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
import"../chunks/Bzak7iHL.js";import{p as A,j as s,m as D,l as p,n as E,$ as F,o as l,s as n,q as h,t as _,v as a,g as f,k as G,i as H,w as I}from"../chunks/BH97ETpZ.js";import{s as J}from"../chunks/Qgf5A_kA.js";import{i as K}from"../chunks/UvStrNyM.js";import{e as L}from"../chunks/BR6tTwie.js";import{h as M}from"../chunks/CgtTdn_a.js";import{s as O}from"../chunks/Dw-PWoyz.js";import{B as g}from"../chunks/BkOB8zes.js";import{C as B,a as C}from"../chunks/BzfwckE1.js";var Q=p('<p class="text-muted-foreground text-center text-sm">No receipts yet.</p> <p class="text-muted-foreground text-center text-xs">Create a receipt to get started.</p> <a href="/receipts/new"><!></a> <a href="/"><!></a>',1),T=p('<a class="font-medium hover:underline"> </a>'),U=p('<div class="flex flex-col gap-2"></div>'),V=p('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Receipts</h1></div> <a href="/receipts/new" class="block shrink-0"><!></a></div> <!></main>');function oe(j,k){A(k,!0);const w=G(()=>{var e;return((e=k.data)==null?void 0:e.receipts)??[]});var d=V();M("16kr07e",e=>{E(()=>{F.title="Receipts Stackq"})});var m=l(d),P=n(l(m),2),N=l(P);g(N,{class:"w-full sm:w-auto",children:(e,r)=>{h();var o=_("New receipt");s(e,o)},$$slots:{default:!0}}),a(P),a(m);var R=n(m,2);{var q=e=>{B(e,{children:(r,o)=>{C(r,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(c,b)=>{var u=Q(),i=n(H(u),4),y=l(i);g(y,{variant:"outline",children:(x,z)=>{h();var $=_("New receipt");s(x,$)},$$slots:{default:!0}}),a(i);var t=n(i,2),v=l(t);g(v,{variant:"ghost",children:(x,z)=>{h();var $=_("Back to home");s(x,$)},$$slots:{default:!0}}),a(t),s(c,u)},$$slots:{default:!0}})},$$slots:{default:!0}})},S=e=>{var r=U();L(r,21,()=>f(w),o=>o.id,(o,c)=>{B(o,{children:(b,u)=>{C(b,{class:"p-4",children:(i,y)=>{var t=T(),v=l(t);a(t),I(()=>{O(t,"href",`/receipts/${f(c).id??""}`),J(v,`Receipt ${f(c).id??""}`)}),s(i,t)},$$slots:{default:!0}})},$$slots:{default:!0}})}),a(r),s(e,r)};K(R,e=>{f(w).length===0?e(q):e(S,!1)})}a(d),s(j,d),D()}export{oe as component};
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
import"../chunks/Bzak7iHL.js";import"../chunks/Bbbv1kr5.js";import{j as t,n as k,l as v,$ as B,s as i,o as e,i as y,q as d,t as f,v as a}from"../chunks/BH97ETpZ.js";import{h as P}from"../chunks/CgtTdn_a.js";import{B as x}from"../chunks/BkOB8zes.js";import{C as q,a as w}from"../chunks/BzfwckE1.js";var C=v('<p class="text-muted-foreground text-center text-sm">Receipt creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/receipts"><!></a> <a href="/"><!></a></div>',1),j=v('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/receipts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to receipts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New receipt</h1></div> <!></main>');function F($){var r=j();P("1mqc1bt",c=>{k(()=>{B.title="New receipt Stackq"})});var h=i(e(r),2);q(h,{children:(c,N)=>{w(c,{class:"flex flex-col gap-4 py-8",children:(u,H)=>{var n=C(),p=i(y(n),2),s=e(p),g=e(s);x(g,{variant:"outline",children:(o,b)=>{d();var l=f("Back to receipts");t(o,l)},$$slots:{default:!0}}),a(s);var m=i(s,2),_=e(m);x(_,{variant:"ghost",children:(o,b)=>{d();var l=f("Home");t(o,l)},$$slots:{default:!0}}),a(m),a(p),t(u,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),a(r),t($,r)}export{F as component};
import"../chunks/Bzak7iHL.js";import"../chunks/DAapakUx.js";import{j as t,n as k,l as v,$ as B,s as i,o as e,i as w,w as d,x as f,v as a}from"../chunks/DScGFiBY.js";import{h as y}from"../chunks/ChlQth4G.js";import{B as x}from"../chunks/CcEFwafz.js";import{C as P,a as C}from"../chunks/Y4l2nr7b.js";var j=v('<p class="text-muted-foreground text-center text-sm">Receipt creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/receipts"><!></a> <a href="/"><!></a></div>',1),q=v('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/receipts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to receipts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New receipt</h1></div> <!></main>');function F($){var r=q();y("1mqc1bt",c=>{k(()=>{B.title="New receipt Stackq"})});var h=i(e(r),2);P(h,{children:(c,N)=>{C(c,{class:"flex flex-col gap-4 py-8",children:(u,H)=>{var n=j(),p=i(w(n),2),s=e(p),g=e(s);x(g,{variant:"outline",children:(o,b)=>{d();var l=f("Back to receipts");t(o,l)},$$slots:{default:!0}}),a(s);var m=i(s,2),_=e(m);x(_,{variant:"ghost",children:(o,b)=>{d();var l=f("Home");t(o,l)},$$slots:{default:!0}}),a(m),a(p),t(u,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),a(r),t($,r)}export{F as component};
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
import"../chunks/Bzak7iHL.js";import{p as v,j as a,m as _,n as g,i as k,t as B,w as q,o as s,l as m,s as c,$ as y,v as r,q as C}from"../chunks/BH97ETpZ.js";import{s as P}from"../chunks/Qgf5A_kA.js";import{h as R}from"../chunks/CgtTdn_a.js";import{B as b}from"../chunks/BkOB8zes.js";import{C as j,a as w}from"../chunks/BzfwckE1.js";var S=m('<p class="text-muted-foreground text-sm"> </p> <a href="/receipts"><!></a>',1),z=m('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/receipts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to receipts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Receipt</h1></div> <!></main>');function L(n,o){v(o,!0);var t=z();R("8mhk6q",i=>{g(()=>{y.title="Receipt Stackq"})});var f=c(s(t),2);j(f,{children:(i,A)=>{w(i,{class:"flex flex-col gap-4 py-8",children:(d,D)=>{var l=S(),e=k(l),x=s(e);r(e);var p=c(e,2),u=s(p);b(u,{variant:"outline",children:(h,E)=>{C();var $=B("Back to receipts");a(h,$)},$$slots:{default:!0}}),r(p),q(()=>P(x,`Receipt ${o.params.id??""}`)),a(d,l)},$$slots:{default:!0}})},$$slots:{default:!0}}),r(t),a(n,t),_()}export{L as component};
import"../chunks/Bzak7iHL.js";import{p as v,j as a,m as _,n as g,i as k,x as B,t as y,o as s,l as m,s as c,$ as C,v as r,w as P}from"../chunks/DScGFiBY.js";import{s as R}from"../chunks/B7h8GtFa.js";import{h as b}from"../chunks/ChlQth4G.js";import{B as q}from"../chunks/CcEFwafz.js";import{C as j,a as w}from"../chunks/Y4l2nr7b.js";var S=m('<p class="text-muted-foreground text-sm"> </p> <a href="/receipts"><!></a>',1),z=m('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/receipts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to receipts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Receipt</h1></div> <!></main>');function L(n,o){v(o,!0);var t=z();b("8mhk6q",i=>{g(()=>{C.title="Receipt Stackq"})});var f=c(s(t),2);j(f,{children:(i,A)=>{w(i,{class:"flex flex-col gap-4 py-8",children:(d,D)=>{var l=S(),e=k(l),x=s(e);r(e);var p=c(e,2),u=s(p);q(u,{variant:"outline",children:(h,E)=>{P();var $=B("Back to receipts");a(h,$)},$$slots:{default:!0}}),r(p),y(()=>R(x,`Receipt ${o.params.id??""}`)),a(d,l)},$$slots:{default:!0}})},$$slots:{default:!0}}),r(t),a(n,t),_()}export{L as component};
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import{p as U,t as b,j as n,m as V,n as W,q as X,g as a,x as C,l as v,y as Y,o as s,$ as Z,s as l,v as e,w as B,k as Q,i as tt}from"../chunks/DScGFiBY.js";import{s as u}from"../chunks/B7h8GtFa.js";import{i as at}from"../chunks/BlbL38UD.js";import{e as et}from"../chunks/BhGBB4Qh.js";import{h as st}from"../chunks/ChlQth4G.js";import{s as rt}from"../chunks/BPc-JNDc.js";import{B as T}from"../chunks/CcEFwafz.js";import{C as z,a as A}from"../chunks/Y4l2nr7b.js";import{I as ot}from"../chunks/CB0VnWqK.js";var nt=v('<p class="text-muted-foreground text-center text-sm"> </p> <p class="text-muted-foreground text-center text-xs"> </p> <a href="/transactions/new"><!></a> <a href="/"><!></a>',1),lt=v('<a class="font-medium hover:underline"> </a>'),it=v('<div class="flex flex-col gap-2"></div>'),ct=v('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Transactions</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0"><!></div> <span class="text-muted-foreground text-sm shrink-0"> </span> <a href="/transactions/new" class="block shrink-0"><!></a></div></div> <!></main>');function gt(D,q){U(q,!0);let p=Y("");const i=Q(()=>{var t;return((t=q.data)==null?void 0:t.transactions)??[]}),d=Q(()=>(()=>{const t=a(p).trim().toLowerCase();return t?a(i).filter(r=>r.id.toLowerCase().includes(t)):a(i)})());var h=ct();st("1q0dtg6",t=>{W(()=>{Z.title="Transactions Stackq"})});var x=s(h),N=l(s(x),2),$=s(N),E=s($);ot(E,{type:"search",placeholder:"Search transactions…",class:"h-11 w-full sm:h-9",get value(){return a(p)},set value(t){X(p,t,!0)}}),e($);var _=l($,2),F=s(_);e(_);var j=l(_,2),G=s(j);T(G,{class:"w-full sm:w-auto min-h-11",children:(t,r)=>{B();var c=C("New transaction");n(t,c)},$$slots:{default:!0}}),e(j),e(N),e(x);var H=l(x,2);{var J=t=>{z(t,{children:(r,c)=>{A(r,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(f,I)=>{var g=nt(),m=tt(g),L=s(m,!0);e(m);var o=l(m,2),w=s(o,!0);e(o);var y=l(o,2),M=s(y);T(M,{variant:"outline",children:(k,R)=>{B();var P=C("New transaction");n(k,P)},$$slots:{default:!0}}),e(y);var S=l(y,2),O=s(S);T(O,{variant:"ghost",children:(k,R)=>{B();var P=C("Back to home");n(k,P)},$$slots:{default:!0}}),e(S),b(()=>{u(L,a(i).length===0?"No transactions yet.":"No transactions match your search."),u(w,a(i).length===0?"Create a transaction to get started.":"Try a different search.")}),n(f,g)},$$slots:{default:!0}})},$$slots:{default:!0}})},K=t=>{var r=it();et(r,21,()=>a(d),c=>c.id,(c,f)=>{z(c,{children:(I,g)=>{A(I,{class:"p-4",children:(m,L)=>{var o=lt(),w=s(o);e(o),b(()=>{rt(o,"href",`/transactions/${a(f).id??""}`),u(w,`Transaction ${a(f).id??""}`)}),n(m,o)},$$slots:{default:!0}})},$$slots:{default:!0}})}),e(r),n(t,r)};at(H,t=>{a(d).length===0?t(J):t(K,!1)})}e(h),b(()=>u(F,`${a(d).length??""}${a(d).length!==a(i).length?` of ${a(i).length}`:""} transactions`)),n(D,h),V()}export{gt as component};
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
import"../chunks/Bzak7iHL.js";import"../chunks/Bbbv1kr5.js";import{j as e,n as u,s as o,i as h,t as $,o as n,l as i,$ as v,q as g,v as l}from"../chunks/BH97ETpZ.js";import{h as _}from"../chunks/CgtTdn_a.js";import{B as k}from"../chunks/BkOB8zes.js";import{C as y,a as B}from"../chunks/BzfwckE1.js";var b=i('<p class="text-muted-foreground text-center text-sm">No transactions yet.</p> <p class="text-muted-foreground text-center text-xs">Transactions will appear here once this feature is available.</p> <a href="/"><!></a>',1),q=i('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Transactions</h1></div> <!></main>');function D(c){var t=q();_("1q0dtg6",a=>{u(()=>{v.title="Transactions Stackq"})});var m=o(n(t),2);y(m,{children:(a,C)=>{B(a,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(p,P)=>{var s=b(),r=o(h(s),4),f=n(r);k(f,{variant:"outline",children:(d,T)=>{g();var x=$("Back to home");e(d,x)},$$slots:{default:!0}}),l(r),e(p,s)},$$slots:{default:!0}})},$$slots:{default:!0}}),l(t),e(c,t)}export{D as component};
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
import"../chunks/Bzak7iHL.js";import"../chunks/Bbbv1kr5.js";import{j as e,n as u,s as r,i as h,t as $,o as n,l as c,$ as v,q as g,v as l}from"../chunks/BH97ETpZ.js";import{h as _}from"../chunks/CgtTdn_a.js";import{B as y}from"../chunks/BkOB8zes.js";import{C as k,a as B}from"../chunks/BzfwckE1.js";var b=c('<p class="text-muted-foreground text-center text-sm">No accounts yet.</p> <p class="text-muted-foreground text-center text-xs">Accounts will appear here once this feature is available.</p> <a href="/"><!></a>',1),A=c('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Accounts</h1></div> <!></main>');function E(i){var t=A();_("11yx1mx",a=>{u(()=>{v.title="Accounts Stackq"})});var m=r(n(t),2);k(m,{children:(a,C)=>{B(a,{class:"flex flex-col items-center justify-center gap-4 py-12",children:(p,P)=>{var s=b(),o=r(h(s),4),x=n(o);y(x,{variant:"outline",children:(f,j)=>{g();var d=$("Back to home");e(f,d)},$$slots:{default:!0}}),l(o),e(p,s)},$$slots:{default:!0}})},$$slots:{default:!0}}),l(t),e(i,t)}export{E as component};
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import"../chunks/DAapakUx.js";import{j as t,n as B,s as l,i as b,x as f,o as a,l as v,$ as w,w as p,v as e}from"../chunks/DScGFiBY.js";import{h as y}from"../chunks/ChlQth4G.js";import{B as x}from"../chunks/CcEFwafz.js";import{C as P,a as C}from"../chunks/Y4l2nr7b.js";var j=v('<p class="text-muted-foreground text-center text-sm">Transaction creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/transactions"><!></a> <a href="/"><!></a></div>',1),q=v('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/transactions" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to transactions">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New transaction</h1></div> <!></main>');function F($){var r=q();y("a9qngp",i=>{B(()=>{w.title="New transaction Stackq"})});var h=l(a(r),2);P(h,{children:(i,N)=>{C(i,{class:"flex flex-col gap-4 py-8",children:(u,H)=>{var c=j(),d=l(b(c),2),s=a(d),g=a(s);x(g,{variant:"outline",children:(o,k)=>{p();var n=f("Back to transactions");t(o,n)},$$slots:{default:!0}}),e(s);var m=l(s,2),_=a(m);x(_,{variant:"ghost",children:(o,k)=>{p();var n=f("Home");t(o,n)},$$slots:{default:!0}}),e(m),e(d),t(u,c)},$$slots:{default:!0}})},$$slots:{default:!0}}),e(r),t($,r)}export{F as component};
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
import{_ as m}from"../chunks/CTXwJjmZ.js";export{m as component};
@@ -1,2 +0,0 @@
€import{_ as m}from"../chunks/CTXwJjmZ.js";export{m as component};

Binary file not shown.
@@ -0,0 +1 @@
import"../chunks/Bzak7iHL.js";import{p as v,j as s,m as _,n as g,i as k,x as B,t as y,o as e,l as m,s as c,$ as C,v as r,w as P}from"../chunks/DScGFiBY.js";import{s as T}from"../chunks/B7h8GtFa.js";import{h as b}from"../chunks/ChlQth4G.js";import{B as j}from"../chunks/CcEFwafz.js";import{C as q,a as w}from"../chunks/Y4l2nr7b.js";var S=m('<p class="text-muted-foreground text-sm"> </p> <a href="/transactions"><!></a>',1),z=m('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/transactions" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to transactions">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Transaction</h1></div> <!></main>');function L(p,o){v(o,!0);var t=z();b("kuo18u",n=>{g(()=>{C.title="Transaction Stackq"})});var f=c(e(t),2);q(f,{children:(n,A)=>{w(n,{class:"flex flex-col gap-4 py-8",children:(d,D)=>{var i=S(),a=k(i),x=e(a);r(a);var l=c(a,2),u=e(l);j(u,{variant:"outline",children:(h,E)=>{P();var $=B("Back to transactions");s(h,$)},$$slots:{default:!0}}),r(l),y(()=>T(x,`Transaction ${o.params.id??""}`)),s(d,i)},$$slots:{default:!0}})},$$slots:{default:!0}}),r(t),s(p,t),_()}export{L as component};
Binary file not shown.
Binary file not shown.