Verleih 1.0.0: Verleihsystem für Inhaus
Übersicht mit Status und Standort, Anfragen im Portal (Benachrichtigung + E-Mail ans Team), Zusagen/Absagen mit automatischem Eintrag, Zurücknehmen, Recht „Verleih verwalten“, einstellbare Bezeichnungen und Übernahme aus dem WordPress-Plugin „FL-Verleihsystem“ (WXR mit Bildern). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
14aaa16b30
47 changed files with 4208 additions and 0 deletions
2
dist/assets/style-DpnhOE_3.css
vendored
Normal file
2
dist/assets/style-DpnhOE_3.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/chunks/StatusBadge-CZaj6wAi.js
vendored
Normal file
1
dist/chunks/StatusBadge-CZaj6wAi.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{t as e}from"./createLucideIcon-CYyWUN7r.js";import{createElementBlock as t,createElementVNode as n,createTextVNode as r,normalizeClass as i,openBlock as a,toDisplayString as o}from"vue";var s=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`}]]}),c=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`}]]}),l={__name:`StatusBadge`,props:{lent:{type:Boolean,required:!0}},setup(e){return(s,c)=>(a(),t(`span`,{class:i([`ih:inline-flex ih:items-center ih:gap-1.5 ih:rounded-full ih:px-2 ih:py-0.5 ih:text-[11px] ih:font-semibold ih:shadow-xs`,e.lent?`ih:bg-card ih:text-muted-foreground`:`ih:bg-brand ih:text-brand-foreground`])},[n(`span`,{class:i([`ih:size-1.5 ih:rounded-full`,e.lent?`ih:bg-muted-foreground`:`ih:bg-brand-foreground`]),"aria-hidden":`true`},null,2),r(` `+o(e.lent?`Verliehen`:`Verfügbar`),1)],2))}};export{c as n,s as r,l 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/inbox-CWQqWjak.js
vendored
Normal file
1
dist/chunks/inbox-CWQqWjak.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`inbox`,size:24,node:[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]});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/trash-COMUOW6h.js
vendored
Normal file
1
dist/chunks/trash-COMUOW6h.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=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};
|
||||
1
dist/chunks/x-CV132X1X.js
vendored
Normal file
1
dist/chunks/x-CV132X1X.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{t as e}from"./createLucideIcon-CYyWUN7r.js";var t=e({name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]}),n=e({name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]});export{t as n,n as t};
|
||||
1
dist/editorial/EditorialRequests.js
vendored
Normal file
1
dist/editorial/EditorialRequests.js
vendored
Normal 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,formatRelative as m}from"@inhaus/ui";var h={key:0,class:`ih:-mx-5 ih:divide-y ih:border-t`},g=[`src`],_={class:`ih:min-w-0 ih:flex-1`},v={class:`ih:truncate ih:text-xs ih:text-muted-foreground`},y={class:`ih:shrink-0 ih:text-xs ih:text-muted-foreground`},b={key:1,class:`ih:text-sm ih:text-muted-foreground`},x={__name:`EditorialRequests`,props:{pending:{type:Array,required:!0}},setup(x){return(S,C)=>(s(),t(u(p),{title:`Verleih – offene Anfragen`,"action-label":`Zu den Anfragen`,"action-href":`/verleih/anfragen`},{default:d(()=>[x.pending.length?(s(),r(`ul`,h,[(s(!0),r(e,null,c(x.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.item?.thumb_url?(s(),r(`img`,{key:0,src:e.item.thumb_url,alt:``,class:`ih:size-10 ih:rounded ih:bg-muted ih:object-contain`},null,8,g)):n(``,!0),i(`div`,_,[o(u(f),{href:e.item?.url??`/verleih/anfragen`,class:`ih:block ih:truncate ih:text-sm ih:font-medium ih:hover:underline`},{default:d(()=>[a(l(e.item?.title),1)]),_:2},1032,[`href`]),i(`p`,v,l(e.user?.name)+` · nach `+l(e.location),1)]),i(`span`,y,l(u(m)(e.created_at)),1)]))),128))])):(s(),r(`p`,b,`Keine offenen Anfragen.`))]),_:1}))}};export{x as default};
|
||||
12
dist/inhaus.json
vendored
Normal file
12
dist/inhaus.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"components": {
|
||||
"editorial/EditorialRequests": "editorial/EditorialRequests.js",
|
||||
"pages/Editor": "pages/Editor.js",
|
||||
"pages/Index": "pages/Index.js",
|
||||
"pages/Requests": "pages/Requests.js",
|
||||
"pages/Show": "pages/Show.js"
|
||||
},
|
||||
"css": [
|
||||
"assets/style-DpnhOE_3.css"
|
||||
]
|
||||
}
|
||||
1
dist/pages/Editor.js
vendored
Normal file
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
1
dist/pages/Index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/pages/Requests.js
vendored
Normal file
1
dist/pages/Requests.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/pages/Show.js
vendored
Normal file
1
dist/pages/Show.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue