Loheide-eu-mitarbeiterplatt.../public/build/assets/Index-D9BRL45C.js
Friederich Loheide 4fcc41ed30
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m41s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m48s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m15s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m17s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 3m48s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 3m41s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 3m33s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m26s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 3m59s
Phase 6 (Teil 2): OpenID Connect, LDAP/AD und SAML 2
- Gemeinsamer Treiber-Unterbau (App\Identity\IdentityDriver, IdentityDrivers,
  IdentityLogin, AttributeProfile); Entra ID nutzt ihn ebenfalls
- Plugins oidc, ldap und saml mit Profil- und Gruppen-Zuordnung
- Admin: Verfahren wählen, Formular je Verfahren, zuletzt empfangene Angaben
- onelogin/php-saml als neue Abhängigkeit

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 12:38:32 +00:00

1 line
No EOL
5.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{D as e,E as t,Ht as n,On as r,Yt as i,_ as a,b as o,bt as s,mt as c,o as l,qt as u,tr as d,v as f,vn as p,y as m}from"./runtime-core.esm-bundler-B8D2lM98.js";import{b as h,x as g}from"./runtime-dom.esm-bundler-BEWGoe8n.js";import{a as _,n as v}from"./app-DutZVOiO.js";import{j as y,l as b}from"./dist-CleIz2GP.js";import{t as x}from"./AppLayout-TVgriWCn.js";import{t as S}from"./chevron-left-CfNljcKt.js";import{t as C}from"./chevron-right-DR4LjgDm.js";import{t as w}from"./mail-BdcYMJ5_.js";import{A as T,_ as E}from"./format-2iB7L6ww.js";import{t as D}from"./phone-B-aOouYp.js";import{t as O}from"./button-SRYY3-ko.js";var k=y({name:`search-x`,size:24,node:[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]}),A={class:`mb-6 flex flex-wrap items-end justify-between gap-4`},j={class:`mt-1 text-sm text-muted-foreground`},M={class:`flex w-full flex-col gap-3 sm:w-auto sm:flex-row`},N={class:`relative block sm:w-80`},P=[`value`],F={key:0,class:`grid gap-4 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4`},I={class:`min-w-0`},L={class:`truncate text-[15px] font-semibold hover:underline`},R={class:`truncate text-[13px] text-muted-foreground`},z={class:`px-4 pb-3 text-[13px] text-muted-foreground`},B={key:0,class:`font-medium text-brand-text`},V={key:1},H={key:2},U={class:`mt-auto flex border-t text-[13px]`},W=[`href`],G=[`href`],K={key:1,class:`grid place-items-center rounded-lg border border-dashed bg-card px-6 py-16 text-center`},q={key:2,class:`mt-6 flex items-center justify-between`,"aria-label":`Seiten`},J={class:`text-sm text-muted-foreground`},Y={class:`flex gap-2`},X={__name:`Index`,props:{people:{type:Object,required:!0},filters:{type:Object,required:!0},departments:{type:Array,required:!0}},setup(y){let X=y,Z=p(X.filters.q??``),Q=p(X.filters.abteilung??``);function $(){let e={};Z.value&&(e.q=Z.value),Q.value&&(e.abteilung=Q.value),_.get(`/personen`,e,{preserveState:!0,preserveScroll:!0,replace:!0})}return n(Z,b($,300)),n(Q,$),(n,p)=>(c(),f(x,{title:`Personen`},{default:u(()=>[a(`div`,A,[a(`div`,null,[p[5]||=a(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Personen`,-1),a(`p`,j,[t(d(y.people.meta.total.toLocaleString(`de-DE`))+` `+d(y.people.meta.total===1?`Person`:`Personen`)+d(y.filters.q||y.filters.abteilung?` gefunden`:` im Verzeichnis`)+` · `,1),e(r(v),{href:`/personen/organigramm`,class:`font-medium text-brand-text hover:underline`},{default:u(()=>[...p[4]||=[t(`Organigramm`,-1)]]),_:1})])]),a(`div`,M,[a(`label`,N,[p[6]||=a(`span`,{class:`sr-only`},`Suchen`,-1),e(r(T),{class:`pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground`}),i(a(`input`,{"onUpdate:modelValue":p[0]||=e=>Z.value=e,type:`search`,placeholder:`Name, Funktion, Standort …`,class:`h-10 w-full rounded-md border border-input bg-card pr-3 pl-9 text-sm placeholder:text-muted-foreground focus-visible:border-brand-400 focus-visible:ring-3 focus-visible:ring-ring/30 focus-visible:outline-none`},null,512),[[g,Z.value]])]),i(a(`select`,{"onUpdate:modelValue":p[1]||=e=>Q.value=e,class:`h-10 rounded-md border border-input bg-card px-3 text-sm focus-visible:border-brand-400 focus-visible:ring-3 focus-visible:ring-ring/30 focus-visible:outline-none sm:w-56`,"aria-label":`Abteilung`},[p[7]||=a(`option`,{value:``},`Alle Abteilungen`,-1),(c(!0),o(l,null,s(y.departments,e=>(c(),o(`option`,{key:e,value:e},d(e),9,P))),128))],512),[[h,Q.value]])])]),y.people.data.length?(c(),o(`ul`,F,[(c(!0),o(l,null,s(y.people.data,n=>(c(),o(`li`,{key:n.id,class:`flex flex-col rounded-lg border bg-card`},[e(r(v),{href:`/personen/${n.id}`,class:`flex items-center gap-3 p-4 pb-3`},{default:u(()=>[e(E,{person:n,class:`size-12`},null,8,[`person`]),a(`div`,I,[a(`div`,L,d(n.name),1),a(`div`,R,d(n.job_title||`–`),1)])]),_:2},1032,[`href`]),a(`div`,z,[n.department?(c(),o(`span`,B,d(n.department),1)):m(``,!0),n.department&&n.location?(c(),o(`span`,V,` · `)):m(``,!0),n.location?(c(),o(`span`,H,d(n.location),1)):m(``,!0)]),a(`div`,U,[a(`a`,{href:`mailto:${n.email}`,class:`flex flex-1 items-center justify-center gap-1.5 py-2.5 text-muted-foreground hover:bg-accent hover:text-foreground`},[e(r(w),{class:`size-4`}),p[8]||=t(` E-Mail `,-1)],8,W),n.phone?(c(),o(`a`,{key:0,href:`tel:${n.phone}`,class:`flex flex-1 items-center justify-center gap-1.5 border-l py-2.5 text-muted-foreground hover:bg-accent hover:text-foreground`},[e(r(D),{class:`size-4`}),p[9]||=t(` Anrufen `,-1)],8,G)):m(``,!0)])]))),128))])):(c(),o(`div`,K,[e(r(k),{class:`size-8 text-muted-foreground`}),p[10]||=a(`p`,{class:`mt-3 font-medium`},`Niemand gefunden`,-1),p[11]||=a(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Versuchen Sie einen anderen Suchbegriff oder eine andere Abteilung.`,-1)])),y.people.meta.last_page>1?(c(),o(`nav`,q,[a(`p`,J,`Seite `+d(y.people.meta.current_page)+` von `+d(y.people.meta.last_page),1),a(`div`,Y,[e(r(O),{variant:`outline`,size:`sm`,disabled:!y.people.links.prev,onClick:p[2]||=e=>r(_).get(y.people.links.prev,{},{preserveScroll:!1})},{default:u(()=>[e(r(S)),p[12]||=t(` Zurück `,-1)]),_:1},8,[`disabled`]),e(r(O),{variant:`outline`,size:`sm`,disabled:!y.people.links.next,onClick:p[3]||=e=>r(_).get(y.people.links.next,{},{preserveScroll:!1})},{default:u(()=>[p[13]||=t(` Weiter `,-1),e(r(C))]),_:1},8,[`disabled`])])])):m(``,!0)]),_:1}))}};export{X as default};