Kleinanzeigen-Plugin 1.0.0
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
f05c44733f
50 changed files with 3854 additions and 0 deletions
1
dist/chunks/ListingCard-DfH_TzXE.js
vendored
Normal file
1
dist/chunks/ListingCard-DfH_TzXE.js
vendored
Normal 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};
|
||||
1
dist/chunks/createLucideIcon-CYyWUN7r.js
vendored
Normal file
1
dist/chunks/createLucideIcon-CYyWUN7r.js
vendored
Normal 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
1
dist/chunks/flag-DsBVcwMd.js
vendored
Normal 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
1
dist/chunks/heart-CyCnSX5a.js
vendored
Normal 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
1
dist/chunks/image-off-BfSjK3tM.js
vendored
Normal 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
1
dist/chunks/loader-circle-DBP4Qhm5.js
vendored
Normal 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
1
dist/chunks/plus-CThDQH9c.js
vendored
Normal 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
1
dist/chunks/shield-check-CrHENMih.js
vendored
Normal 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
1
dist/chunks/trash-DzQOFBxr.js
vendored
Normal 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};
|
||||
Loading…
Add table
Add a link
Reference in a new issue