Add missing getUserById and getUserByEmail exports to auth utils

This commit is contained in:
Torsten Schulz (local)
2025-10-21 14:30:56 +02:00
parent 32ba9e2760
commit fa54e53820
130 changed files with 34 additions and 14480 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as a,c as d,a as t,b as s,w as l,t as m,u as r,_ as g,o as x,U as p}from"#entry";import{u}from"./Qy3ajxTk.js";import{U as f}from"./DkeYb0_S.js";import{N as c}from"./DAACT36i.js";import{C as i}from"./DaSgy0Cl.js";const b={class:"min-h-full py-16 bg-gray-50"},y={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},h={class:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8"},w={class:"flex items-center mb-4"},v={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"},_={class:"flex items-center mb-4"},k={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"},z={class:"flex items-center mb-4"},M={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center group-hover:bg-primary-600 transition-colors"},N={class:"bg-white p-8 rounded-xl shadow-lg border border-gray-100"},C={class:"text-2xl font-display font-bold text-gray-900 mb-4"},P={class:"grid sm:grid-cols-2 gap-4"},j={class:"flex items-start"},H={class:"flex items-start"},S={class:"flex items-start"},U={class:"flex items-start"},T={__name:"index",setup(V){const n=a();return u({title:"Mitgliederbereich - Harheimer TC"}),(A,e)=>{const o=g;return x(),d("div",b,[t("div",y,[e[11]||(e[11]=t("h1",{class:"text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-6"}," Mitgliederbereich ",-1)),e[12]||(e[12]=t("div",{class:"w-24 h-1 bg-primary-600 mb-8"},null,-1)),t("div",h,[s(o,{to:"/mitgliederbereich/profil",class:"bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"},{default:l(()=>[t("div",w,[t("div",v,[s(r(p),{size:24,class:"text-primary-600 group-hover:text-white"})]),e[0]||(e[0]=t("h2",{class:"ml-4 text-xl font-semibold text-gray-900"},"Mein Profil",-1))]),e[1]||(e[1]=t("p",{class:"text-gray-600"}," Persönliche Daten und Passwort verwalten ",-1))]),_:1}),s(o,{to:"/mitgliederbereich/mitglieder",class:"bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"},{default:l(()=>[t("div",_,[t("div",k,[s(r(f),{size:24,class:"text-primary-600 group-hover:text-white"})]),e[2]||(e[2]=t("h2",{class:"ml-4 text-xl font-semibold text-gray-900"},"Mitglieder",-1))]),e[3]||(e[3]=t("p",{class:"text-gray-600"}," Kontaktdaten der Vereinsmitglieder ",-1))]),_:1}),s(o,{to:"/mitgliederbereich/news",class:"bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"},{default:l(()=>[t("div",z,[t("div",M,[s(r(c),{size:24,class:"text-primary-600 group-hover:text-white"})]),e[4]||(e[4]=t("h2",{class:"ml-4 text-xl font-semibold text-gray-900"},"Interne News",-1))]),e[5]||(e[5]=t("p",{class:"text-gray-600"}," Neuigkeiten und Ankündigungen ",-1))]),_:1})]),t("div",N,[t("h2",C," Willkommen, "+m(r(n).user?.name||"Mitglied")+"! ",1),e[10]||(e[10]=t("p",{class:"text-gray-600 mb-6"}," Hier finden Sie alle wichtigen Informationen und Funktionen für Mitglieder des Harheimer TC. ",-1)),t("div",P,[t("div",j,[s(r(i),{size:20,class:"text-primary-600 mr-2 mt-0.5"}),e[6]||(e[6]=t("span",{class:"text-gray-700"},"Zugriff auf Mitgliederliste mit Kontaktdaten",-1))]),t("div",H,[s(r(i),{size:20,class:"text-primary-600 mr-2 mt-0.5"}),e[7]||(e[7]=t("span",{class:"text-gray-700"},"Interne Vereinsnews und Ankündigungen",-1))]),t("div",S,[s(r(i),{size:20,class:"text-primary-600 mr-2 mt-0.5"}),e[8]||(e[8]=t("span",{class:"text-gray-700"},"Profilverwaltung und Passwort ändern",-1))]),t("div",U,[s(r(i),{size:20,class:"text-primary-600 mr-2 mt-0.5"}),e[9]||(e[9]=t("span",{class:"text-gray-700"},"Weitere Funktionen folgen in Kürze",-1))])])])])])}}};export{T as default};

View File

@@ -1,6 +0,0 @@
import{e as x,r as p,f as n,g as u,c as y,a as e,t as a,d as m,b as r,w as l,_ as h,o as b,u as d}from"#entry";import{u as f}from"./Qy3ajxTk.js";import{U as w}from"./DkeYb0_S.js";import{N as v}from"./DAACT36i.js";/**
* @license lucide-vue-next v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _=x("UserCogIcon",[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]]),k={class:"min-h-full py-16 bg-gray-50"},j={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},L={class:"bg-white rounded-xl shadow-lg p-8 mb-8"},M={class:"text-2xl font-display font-bold text-gray-900 mb-4"},N={class:"text-gray-600 mb-4"},z={class:"font-semibold text-primary-600"},V={class:"text-sm text-gray-500"},B={class:"grid md:grid-cols-2 lg:grid-cols-3 gap-6"},C={class:"flex items-center mb-4"},I={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center mr-4"},U={class:"flex items-center mb-4"},D={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center mr-4"},E={class:"flex items-center mb-4"},H={class:"w-12 h-12 bg-primary-100 rounded-lg flex items-center justify-center mr-4"},T={__name:"index",setup(P){const i=p(null),g=n(()=>({admin:"Administrator",vorstand:"Vorstand",mitglied:"Mitglied"})[i.value?.role]||"Mitglied"),c=n(()=>i.value?.lastLogin?new Date(i.value.lastLogin).toLocaleString("de-DE"):"Erste Anmeldung");return u(async()=>{try{const s=await $fetch("/api/auth/status");s.isLoggedIn&&(i.value=s.user)}catch(s){console.error("Fehler beim Laden der Benutzerdaten:",s)}}),f({title:"Mitgliederbereich - Harheimer TC"}),(s,t)=>{const o=h;return b(),y("div",k,[e("div",j,[t[8]||(t[8]=e("h1",{class:"text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-6"}," Mitgliederbereich ",-1)),t[9]||(t[9]=e("div",{class:"w-24 h-1 bg-primary-600 mb-8"},null,-1)),e("div",L,[e("h2",M," Willkommen, "+a(i.value?.name)+"! ",1),e("p",N,[t[0]||(t[0]=m(" Sie sind als ",-1)),e("span",z,a(g.value),1),t[1]||(t[1]=m(" angemeldet. ",-1))]),e("p",V," Letzter Login: "+a(c.value),1)]),e("div",B,[r(o,{to:"/mitgliederbereich/mitglieder",class:"bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-gray-100"},{default:l(()=>[e("div",C,[e("div",I,[r(d(w),{size:24,class:"text-primary-600"})]),t[2]||(t[2]=e("h3",{class:"text-lg font-semibold text-gray-900"},"Mitgliederliste",-1))]),t[3]||(t[3]=e("p",{class:"text-gray-600 text-sm"}," Kontaktdaten aller Vereinsmitglieder ",-1))]),_:1}),r(o,{to:"/mitgliederbereich/news",class:"bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-gray-100"},{default:l(()=>[e("div",U,[e("div",D,[r(d(v),{size:24,class:"text-primary-600"})]),t[4]||(t[4]=e("h3",{class:"text-lg font-semibold text-gray-900"},"Interne News",-1))]),t[5]||(t[5]=e("p",{class:"text-gray-600 text-sm"}," Neuigkeiten nur für Mitglieder ",-1))]),_:1}),r(o,{to:"/mitgliederbereich/profil",class:"bg-white p-6 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-gray-100"},{default:l(()=>[e("div",E,[e("div",H,[r(d(_),{size:24,class:"text-primary-600"})]),t[6]||(t[6]=e("h3",{class:"text-lg font-semibold text-gray-900"},"Mein Profil",-1))]),t[7]||(t[7]=e("p",{class:"text-gray-600 text-sm"}," Profil bearbeiten und Passwort ändern ",-1))]),_:1})])])])}}};export{T as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"id":"d1f53c4b-c177-48ae-b455-ae57c570eb4a","timestamp":1761049599584}
{"id":"d55b57df-1177-4966-90bc-a07b1837debb","timestamp":1761049822869}

View File

@@ -1 +0,0 @@
{"id":"d1f53c4b-c177-48ae-b455-ae57c570eb4a","timestamp":1761049599584,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@@ -0,0 +1 @@
{"id":"d55b57df-1177-4966-90bc-a07b1837debb","timestamp":1761049822869,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long