Gruppen-Plugin 1.0.0

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 17:17:10 +00:00
commit 5bdfb8a082
49 changed files with 4679 additions and 0 deletions

1
dist/chunks/GroupCard-5fLVVVGb.js vendored Normal file
View file

@ -0,0 +1 @@
import{n as e}from"./loader-circle-CxzeMpQS.js";import{a as t,i as n,n as r,o as i}from"./GroupDialog-DkTJQL7Q.js";import{createBlock as a,createCommentVNode as o,createElementBlock as s,createElementVNode as c,createTextVNode as l,createVNode as u,normalizeStyle as d,openBlock as f,resolveDynamicComponent as p,toDisplayString as m,unref as h,withCtx as g}from"vue";import{Link as _,router as v}from"@inertiajs/vue3";import{Button as y}from"@inhaus/ui";var b=e({name:`compass`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`,key:`9ktpf1`}]]}),x={class:`ih:flex ih:flex-col ih:overflow-hidden ih:rounded-xl ih:border ih:bg-card ih:shadow-xs`},S={class:`ih:flex ih:flex-1 ih:flex-col ih:gap-1 ih:p-4`},C={class:`ih:flex ih:items-center ih:gap-1.5 ih:text-xs ih:text-muted-foreground`},w={key:0,class:`ih:line-clamp-2 ih:text-sm ih:text-muted-foreground`},T={class:`ih:mt-auto ih:pt-3`},E={__name:`GroupCard`,props:{group:{type:Object,required:!0}},setup(e){let b=e,E={open:t,closed:n,secret:i},D=()=>v.post(`/gruppen/${b.group.slug}/beitreten`,{},{preserveScroll:!0});return(t,n)=>(f(),s(`article`,x,[u(h(_),{href:e.group.url,class:`ih:block ih:h-24 ih:bg-brand ih:bg-cover ih:bg-center`,style:d(e.group.cover_url?{backgroundImage:`url(${e.group.cover_url})`}:{}),"aria-label":e.group.name},null,8,[`href`,`style`,`aria-label`]),c(`div`,S,[u(h(_),{href:e.group.url,class:`ih:font-semibold ih:hover:underline`},{default:g(()=>[l(m(e.group.name),1)]),_:1},8,[`href`]),c(`p`,C,[(f(),a(p(E[e.group.privacy]),{class:`ih:size-3.5`})),l(` `+m(e.group.privacy_label)+` · `,1),u(h(r),{class:`ih:size-3.5`}),l(` `+m(e.group.members_count),1)]),e.group.description?(f(),s(`p`,w,m(e.group.description),1)):o(``,!0),c(`div`,T,[e.group.status===`active`?(f(),a(h(y),{key:0,variant:`outline`,size:`sm`,class:`ih:w-full`,"as-child":``},{default:g(()=>[u(h(_),{href:e.group.url},{default:g(()=>[...n[0]||=[l(`Ansehen`,-1)]]),_:1},8,[`href`])]),_:1})):e.group.status===`pending`?(f(),a(h(y),{key:1,variant:`outline`,size:`sm`,class:`ih:w-full`,disabled:``},{default:g(()=>[...n[1]||=[l(`Angefragt`,-1)]]),_:1})):(f(),a(h(y),{key:2,size:`sm`,class:`ih:w-full`,onClick:D},{default:g(()=>[l(m(e.group.status===`invited`?`Einladung annehmen`:e.group.privacy===`open`?`Beitreten`:`Beitritt anfragen`),1)]),_:1}))])])]))}};export{b as n,E as t};

1
dist/chunks/GroupDialog-DkTJQL7Q.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/chunks/PostCard-hYMtqskw.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/chunks/loader-circle-CxzeMpQS.js vendored Normal file
View file

@ -0,0 +1 @@
import{h as e,inject as t}from"vue";var n={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},r=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim();function i(e){return e!=null}function a(e,t={}){let a=t.attributeNames??{},o=e=>a[e]??e,s=e.size??e.width??n.width,c=e.size??e.height??n.height,l=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...l],d=t.className?.split(` `).filter(Boolean)??[],f=t.includeDefaultClasses===!1?r(...d):r(`lucide`,...u,...d),p=t.absoluteStrokeWidth?Number(t.strokeWidth??n[`stroke-width`])*Number(e.size??e.width??n.width)/Number(t.size??t.width??n.width):t.strokeWidth??n[`stroke-width`];return[`svg`,{...Object.entries(n).reduce((e,[t,n])=>(e[o(t)]=n,e),{}),...`color`in t&&t.color&&{[o(`stroke`)]:t.color},...`size`in t&&i(t.size)&&{[o(`width`)]:t.size,[o(`height`)]:t.size},...`width`in t&&i(t.width)&&{[o(`width`)]:t.width},...`height`in t&&i(t.height)&&{[o(`height`)]:t.height},[o(`stroke-width`)]:p,...f&&{[o(`class`)]:f},[o(`viewBox`)]:`0 0 ${s} ${c}`,...t.hasA11yProp===!1?{[o(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,r,i]=e,a=t.nonScalingStroke?{[o(`vector-effect`)]:`non-scaling-stroke`,...r}:r;return i?[n,a,i]:[n,a]})]}var o=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},s=e=>e===``,c=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),l=Symbol(`lucide-icons`);function u(){return t(l,{})}var d=({name:t,iconNode:n,"icon-node":r,icon:i={name:t&&c(t),node:n??r??[],size:24,aliases:[]},absoluteStrokeWidth:l,"absolute-stroke-width":d,nonScalingStroke:f,"non-scaling-stroke":p,strokeWidth:m,"stroke-width":h,size:g,width:_=g,height:v=g,color:y,...b},{slots:x})=>{let{size:S,color:C,strokeWidth:w=2,absoluteStrokeWidth:T=!1,nonScalingStroke:E=!1,class:D=``}=u(),O=s(l)||s(d)||l===!0||d===!0||T===!0,k=s(f)||s(p)||f===!0||p===!0||E===!0;delete b.class;let A=x.default?.(),[,j,M=[]]=a(i,{color:y??C,width:_??g??S,height:v??g??S,strokeWidth:m??h??w,absoluteStrokeWidth:O,nonScalingStroke:k,className:D,hasA11yProp:A!=null&&A.length>0||o(b),attributes:b});return e(`svg`,j,[...M.map(([t,n])=>e(t,n)),...A??[]])};function f(t,n=[]){let r=typeof t==`string`?{name:t,node:n}:t;return(t,{slots:n})=>e(d,{...t,icon:r},n.default?{default:n.default}:void 0)}var p=f({name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]});export{f as n,p as t};

1
dist/chunks/search-7rL_HYGC.js vendored Normal file
View file

@ -0,0 +1 @@
import{n as e}from"./loader-circle-CxzeMpQS.js";var t=e({name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]});export{t};