Kleinanzeigen-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:06:02 +00:00
commit f05c44733f
50 changed files with 3854 additions and 0 deletions

2
dist/assets/style-CAm2qtFB.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/chunks/ListingCard-DfH_TzXE.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";import{t}from"./heart-CyCnSX5a.js";import{t as n}from"./image-off-BfSjK3tM.js";import{createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createTextVNode as s,createVNode as c,normalizeClass as l,openBlock as u,toDisplayString as d,unref as f,withCtx as p}from"vue";import{Link as m,router as h}from"@inertiajs/vue3";var g=e({name:`camera`,size:24,node:[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]}),_=e({name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]}),v={class:`ih:group ih:relative ih:flex ih:flex-col ih:overflow-hidden ih:rounded-lg ih:border ih:bg-card ih:shadow-xs ih:transition-shadow ih:hover:shadow-md`},y=[`src`,`alt`],b={key:1,class:`ih:grid ih:size-full ih:place-items-center ih:text-muted-foreground`},x={class:`ih:absolute ih:top-2 ih:left-2 ih:rounded ih:bg-card/95 ih:px-1.5 ih:py-0.5 ih:text-[11px] ih:font-semibold ih:shadow-xs`},S={key:2,class:`ih:absolute ih:bottom-2 ih:left-2 ih:rounded ih:bg-foreground/85 ih:px-1.5 ih:py-0.5 ih:text-[11px] ih:font-semibold ih:text-background`},C={key:3,class:`ih:absolute ih:right-2 ih:bottom-2 ih:inline-flex ih:items-center ih:gap-1 ih:rounded ih:bg-foreground/70 ih:px-1.5 ih:py-0.5 ih:text-[11px] ih:text-background`},w=[`aria-pressed`,`aria-label`],T={class:`ih:flex ih:flex-1 ih:flex-col ih:gap-1 ih:p-3`},E={key:0,class:`ih:text-[15px] ih:font-semibold ih:text-brand-text`},D={key:1,class:`ih:mt-auto ih:flex ih:items-center ih:gap-1 ih:pt-1 ih:text-xs ih:text-muted-foreground`},O={class:`ih:truncate`},k={__name:`ListingCard`,props:{listing:{type:Object,required:!0},compact:{type:Boolean,default:!1}},setup(e){let k=e;function A(){let e=k.listing;e.favorite=!e.favorite,h.visit(`/kleinanzeigen/${e.id}/merken`,{method:e.favorite?`post`:`delete`,preserveScroll:!0,preserveState:!0})}return(h,k)=>(u(),a(`article`,v,[c(f(m),{href:e.listing.url,class:`ih:relative ih:block ih:aspect-[4/3] ih:overflow-hidden ih:bg-muted`},{default:p(()=>[e.listing.thumb_url?(u(),a(`img`,{key:0,src:e.listing.thumb_url,alt:e.listing.title,loading:`lazy`,class:`ih:size-full ih:object-cover ih:transition-transform ih:duration-300 ih:group-hover:scale-[1.03]`},null,8,y)):(u(),a(`span`,b,[c(f(n),{class:`ih:size-8`,"stroke-width":1.5})])),o(`span`,x,d(e.listing.type_label),1),e.listing.reserved?(u(),a(`span`,S,`Reserviert`)):i(``,!0),e.listing.images>1?(u(),a(`span`,C,[c(f(g),{class:`ih:size-3`}),s(d(e.listing.images),1)])):i(``,!0)]),_:1},8,[`href`]),o(`button`,{type:`button`,class:l([`ih:absolute ih:top-2 ih:right-2 ih:grid ih:size-8 ih:place-items-center ih:rounded-full ih:bg-card/95 ih:shadow-xs ih:transition-colors ih:hover:text-brand-text`,e.listing.favorite?`ih:text-brand-text`:`ih:text-muted-foreground`]),"aria-pressed":e.listing.favorite,"aria-label":e.listing.favorite?`Von der Merkliste nehmen`:`Merken`,onClick:A},[c(f(t),{class:l([`ih:size-4`,e.listing.favorite?`ih:fill-current`:``])},null,8,[`class`])],10,w),o(`div`,T,[e.listing.price?(u(),a(`p`,E,d(e.listing.price),1)):i(``,!0),c(f(m),{href:e.listing.url,class:`ih:line-clamp-2 ih:text-sm ih:leading-snug ih:font-medium ih:hover:underline`},{default:p(()=>[s(d(e.listing.title),1)]),_:1},8,[`href`]),e.compact?i(``,!0):(u(),a(`p`,D,[e.listing.location?(u(),r(f(_),{key:0,class:`ih:size-3 ih:shrink-0`})):i(``,!0),o(`span`,O,d([e.listing.location,e.listing.category_label].filter(Boolean).join(` · `)),1)]))])]))}};export{_ as n,k as t};

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)}export{f as t};

1
dist/chunks/flag-DsBVcwMd.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`flag`,size:24,node:[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`,key:`1jaruq`}]]});export{t};

1
dist/chunks/heart-CyCnSX5a.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`heart`,size:24,node:[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]});export{t};

1
dist/chunks/image-off-BfSjK3tM.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`image-off`,size:24,node:[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]});export{t};

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

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]}),n=e({name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]});export{t as n,n as t};

1
dist/chunks/plus-CThDQH9c.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]});export{t};

1
dist/chunks/shield-check-CrHENMih.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]});export{t};

1
dist/chunks/trash-DzQOFBxr.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`pencil-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]}),n=e({name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]});export{t as n,n as t};

1
dist/editorial/EditorialListings.js vendored Normal file
View file

@ -0,0 +1 @@
import{Fragment as e,createBlock as t,createCommentVNode as n,createElementBlock as r,createElementVNode as i,createTextVNode as a,createVNode as o,openBlock as s,renderList as c,toDisplayString as l,unref as u,withCtx as d}from"vue";import{Link as f}from"@inertiajs/vue3";import{Panel as p}from"@inhaus/ui";var m={key:0,class:`ih:-mx-5 ih:divide-y ih:border-t`},h=[`src`],g={class:`ih:shrink-0 ih:text-xs ih:text-muted-foreground`},_={key:1,class:`ih:text-sm ih:text-muted-foreground`},v={__name:`EditorialListings`,props:{pending:{type:Array,required:!0}},setup(v){return(y,b)=>(s(),t(u(p),{title:`Kleinanzeigen – Freigabe`,"action-label":`Zur Freigabe`,"action-href":`/kleinanzeigen/moderation`},{default:d(()=>[v.pending.length?(s(),r(`ul`,m,[(s(!0),r(e,null,c(v.pending,e=>(s(),r(`li`,{key:e.id,class:`ih:flex ih:items-center ih:gap-3 ih:px-5 ih:py-2.5`},[e.thumb_url?(s(),r(`img`,{key:0,src:e.thumb_url,alt:``,class:`ih:size-10 ih:rounded ih:object-cover`},null,8,h)):n(``,!0),o(u(f),{href:e.url,class:`ih:min-w-0 ih:flex-1 ih:truncate ih:text-sm ih:font-medium ih:hover:underline`},{default:d(()=>[a(l(e.title),1)]),_:2},1032,[`href`]),i(`span`,g,l(e.type_label),1)]))),128))])):(s(),r(`p`,_,`Keine Anzeigen warten auf Freigabe.`))]),_:1}))}};export{v as default};

14
dist/inhaus.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
"components": {
"editorial/EditorialListings": "editorial/EditorialListings.js",
"pages/Editor": "pages/Editor.js",
"pages/Index": "pages/Index.js",
"pages/Mine": "pages/Mine.js",
"pages/Moderation": "pages/Moderation.js",
"pages/Show": "pages/Show.js",
"widgets/Latest": "widgets/Latest.js"
},
"css": [
"assets/style-CAm2qtFB.css"
]
}

1
dist/pages/Editor.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/pages/Index.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/pages/Mine.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/pages/Moderation.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"../chunks/createLucideIcon-CYyWUN7r.js";import{t}from"../chunks/flag-DsBVcwMd.js";import{t as n}from"../chunks/image-off-BfSjK3tM.js";import{Fragment as r,createBlock as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,createTextVNode as c,createVNode as l,openBlock as u,ref as d,renderList as f,toDisplayString as p,unref as m,watch as h,withCtx as g}from"vue";import{Link as _,router as v,usePage as y}from"@inertiajs/vue3";import{AppLayout as b,Button as x,EmptyState as S,PageHeader as C,Panel as w,Textarea as T,toast as E}from"@inhaus/ui";var D=e({name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]}),O=e({name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]}),k={class:`ih:-mx-5 ih:divide-y ih:border-t`},A={class:`ih:min-w-0 ih:flex-1`},j={class:`ih:text-xs ih:text-muted-foreground`},M={key:1,class:`ih:grid ih:gap-4`},N={class:`ih:grid ih:grid-cols-3 ih:content-start ih:gap-1 ih:md:grid-cols-2`},P=[`src`],F={key:0,class:`ih:col-span-2 ih:grid ih:aspect-[4/3] ih:place-items-center ih:rounded ih:bg-muted ih:text-muted-foreground`},I={class:`ih:min-w-0`},L={class:`ih:text-xs ih:text-muted-foreground`},R={key:0,class:`ih:font-medium ih:text-brand-text`},z={class:`ih:mt-2 ih:line-clamp-4 ih:text-sm ih:whitespace-pre-line`},B={key:1,class:`ih:mt-3 ih:grid ih:gap-2`},V={class:`ih:flex ih:gap-2`},H={key:2,class:`ih:mt-3 ih:flex ih:gap-2`},U={key:2,class:`ih:rounded-lg ih:border ih:bg-card`},W={__name:`Moderation`,props:{pending:{type:Array,required:!0},reported:{type:Array,required:!0}},setup(e){let W=y();h(()=>W.props.flash?.status,e=>e&&E.success(e),{immediate:!0});let G=d({}),K=d(null),q=e=>v.post(`/kleinanzeigen/${e.id}/freigeben`,{},{preserveScroll:!0});function J(e){v.post(`/kleinanzeigen/${e.id}/zurueckgeben`,{note:G.value[e.id]??``},{preserveScroll:!0,onSuccess:()=>K.value=null})}let Y=(e,t)=>v.post(`/kleinanzeigen/${e.id}/meldungen`,{action:t},{preserveScroll:!0});return(d,h)=>(u(),i(m(b),{title:`Kleinanzeigen – Freigabe`},{default:g(()=>[l(m(C),{title:`Freigabe`,description:`Neue und geänderte Anzeigen prüfen. Die anbietende Person bekommt Bescheid.`,breadcrumbs:[{label:`Kleinanzeigen`,href:`/kleinanzeigen`}]}),e.reported.length?(u(),i(m(w),{key:0,title:`Gemeldet`,class:`ih:mb-6`},{default:g(()=>[s(`ul`,k,[(u(!0),o(r,null,f(e.reported,e=>(u(),o(`li`,{key:e.id,class:`ih:flex ih:flex-wrap ih:items-center ih:gap-3 ih:px-5 ih:py-3`},[l(m(t),{class:`ih:size-4 ih:shrink-0 ih:text-destructive`}),s(`div`,A,[l(m(_),{href:e.url,class:`ih:font-medium ih:hover:underline`},{default:g(()=>[c(p(e.title),1)]),_:2},1032,[`href`]),s(`p`,j,p(e.seller)+` · `+p(e.reasons.join(` / `)),1)]),l(m(x),{size:`sm`,variant:`outline`,onClick:t=>Y(e,`keep`)},{default:g(()=>[...h[1]||=[c(`In Ordnung`,-1)]]),_:1},8,[`onClick`]),l(m(x),{size:`sm`,variant:`outline`,class:`ih:text-destructive ih:hover:text-destructive`,onClick:t=>Y(e,`remove`)},{default:g(()=>[...h[2]||=[c(`Offline nehmen`,-1)]]),_:1},8,[`onClick`])]))),128))])]),_:1})):a(``,!0),e.pending.length?(u(),o(`div`,M,[(u(!0),o(r,null,f(e.pending,e=>(u(),o(`article`,{key:e.id,class:`ih:grid ih:gap-4 ih:rounded-lg ih:border ih:bg-card ih:p-4 ih:shadow-xs ih:md:grid-cols-[12rem_minmax(0,1fr)]`},[s(`div`,N,[(u(!0),o(r,null,f(e.photos.slice(0,4),e=>(u(),o(`img`,{key:e.id,src:e.thumb_url,alt:``,class:`ih:aspect-[4/3] ih:w-full ih:rounded ih:object-cover`},null,8,P))),128)),e.photos.length?a(``,!0):(u(),o(`span`,F,[l(m(n),{class:`ih:size-6`})]))]),s(`div`,I,[s(`p`,L,p(e.type_label)+` · `+p(e.category_label)+` · von `+p(e.seller?.name),1),l(m(_),{href:e.url,class:`ih:text-lg ih:font-semibold ih:hover:underline`},{default:g(()=>[c(p(e.title),1)]),_:2},1032,[`href`]),e.price?(u(),o(`p`,R,p(e.price),1)):a(``,!0),s(`p`,z,p(e.description),1),K.value===e.id?(u(),o(`div`,B,[l(m(T),{modelValue:G.value[e.id],"onUpdate:modelValue":t=>G.value[e.id]=t,rows:`2`,maxlength:`500`,placeholder:`Begründung für die anbietende Person`,"aria-label":`Begründung`},null,8,[`modelValue`,`onUpdate:modelValue`]),s(`div`,V,[l(m(x),{size:`sm`,disabled:!(G.value[e.id]??``).trim(),onClick:t=>J(e)},{default:g(()=>[...h[3]||=[c(`Zurückgeben`,-1)]]),_:1},8,[`disabled`,`onClick`]),l(m(x),{size:`sm`,variant:`ghost`,onClick:h[0]||=e=>K.value=null},{default:g(()=>[...h[4]||=[c(`Abbrechen`,-1)]]),_:1})])])):(u(),o(`div`,H,[l(m(x),{size:`sm`,onClick:t=>q(e)},{default:g(()=>[l(m(D)),h[5]||=c(` Freigeben`,-1)]),_:1},8,[`onClick`]),l(m(x),{size:`sm`,variant:`outline`,onClick:t=>K.value=e.id},{default:g(()=>[l(m(O)),h[6]||=c(` Zurückgeben …`,-1)]),_:1},8,[`onClick`])]))])]))),128))])):(u(),o(`div`,U,[l(m(S),{icon:m(D),title:`Alles erledigt`,text:`Keine Anzeigen warten auf Freigabe.`},null,8,[`icon`])]))]),_:1}))}};export{W as default};

1
dist/pages/Show.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/widgets/Latest.js vendored Normal file
View file

@ -0,0 +1 @@
import{t as e}from"../chunks/ListingCard-DfH_TzXE.js";import{Fragment as t,createBlock as n,createElementBlock as r,createElementVNode as i,openBlock as a,renderList as o,unref as s,withCtx as c}from"vue";import{Panel as l}from"@inhaus/ui";var u={class:`ih:grid ih:grid-cols-2 ih:gap-2`},d={__name:`Latest`,props:{listings:{type:Array,required:!0}},setup(d){return(f,p)=>(a(),n(s(l),{title:`Kleinanzeigen`,"action-label":`Alle Anzeigen`,"action-href":`/kleinanzeigen`},{default:c(()=>[i(`div`,u,[(a(!0),r(t,null,o(d.listings,t=>(a(),n(e,{key:t.id,listing:t,compact:``},null,8,[`listing`]))),128))])]),_:1}))}};export{d as default};