Loheide-eu-mitarbeiterplatt.../public/build/assets/Index-CUVp58ho.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
2.7 KiB
JavaScript

import{D as e,E as t,On as n,_ as r,b as i,bt as a,mt as o,o as s,qt as c,tr as l,v as u,vn as d,y as f}from"./runtime-core.esm-bundler-B8D2lM98.js";import{n as p}from"./app-DutZVOiO.js";import{t as m}from"./AppLayout-TVgriWCn.js";import{t as h}from"./chevron-right-DR4LjgDm.js";import{t as g}from"./file-text-4udxc_PB.js";import{t as _}from"./folder-open-Zguck7UQ.js";import{t as v}from"./plus-cKZvz4wH.js";import{t as y}from"./EmptyState-Ceq4v8mE.js";import{t as b}from"./button-SRYY3-ko.js";import{t as x}from"./NewPageDialog-DAr4LrwK.js";var S={class:`mb-6 flex flex-wrap items-end justify-between gap-4`},C={key:0,class:`grid gap-5 md:grid-cols-2 xl:grid-cols-3`},w={class:`grid size-10 shrink-0 place-items-center rounded-lg bg-brand-soft text-brand-text`},T={class:`min-w-0 flex-1 truncate font-semibold`},E={key:0,class:`grid p-2`},D={class:`truncate`},O={key:0,class:`text-xs text-muted-foreground`},k={key:0,class:`px-3 py-1.5 text-[13px]`},A={key:1,class:`rounded-lg border bg-card`},j={__name:`Index`,props:{tree:{type:Array,required:!0},canCreate:{type:Boolean,default:!1}},setup(j){let M=d(!1);return(d,N)=>(o(),u(m,{title:`Seiten`},{default:c(()=>[r(`div`,S,[N[3]||=r(`div`,null,[r(`h1`,{class:`text-2xl font-semibold tracking-tight`},`Seiten`),r(`p`,{class:`mt-1 text-sm text-muted-foreground`},`Informationen der Bereiche, Abteilungen und Gremien.`)],-1),j.canCreate?(o(),u(n(b),{key:0,onClick:N[0]||=e=>M.value=!0},{default:c(()=>[e(n(v)),N[2]||=t(` Neue Seite`,-1)]),_:1})):f(``,!0)]),j.tree.length?(o(),i(`div`,C,[(o(!0),i(s,null,a(j.tree,d=>(o(),i(`section`,{key:d.id,class:`rounded-lg border bg-card`},[e(n(p),{href:d.url,class:`flex items-center gap-3 border-b px-5 py-4 hover:bg-accent/50`},{default:c(()=>[r(`span`,w,[d.children.length?(o(),u(n(_),{key:0,class:`size-5`})):(o(),u(n(g),{key:1,class:`size-5`}))]),r(`span`,T,l(d.title),1),e(n(h),{class:`size-4 text-muted-foreground`})]),_:2},1032,[`href`]),d.children.length?(o(),i(`ul`,E,[(o(!0),i(s,null,a(d.children.slice(0,8),t=>(o(),i(`li`,{key:t.id},[e(n(p),{href:t.url,class:`flex items-center justify-between rounded-md px-3 py-2 text-sm hover:bg-accent`},{default:c(()=>[r(`span`,D,l(t.title),1),t.children.length?(o(),i(`span`,O,l(t.children.length),1)):f(``,!0)]),_:2},1032,[`href`])]))),128)),d.children.length>8?(o(),i(`li`,k,[e(n(p),{href:d.url,class:`font-medium text-brand-text hover:underline`},{default:c(()=>[t(`Alle `+l(d.children.length)+` Seiten`,1)]),_:2},1032,[`href`])])):f(``,!0)])):f(``,!0)]))),128))])):(o(),i(`div`,A,[e(y,{icon:n(g),title:`Noch keine Seiten`,text:`Hier erscheinen Seiten, sobald sie veröffentlicht sind.`},null,8,[`icon`])])),e(x,{open:M.value,"onUpdate:open":N[1]||=e=>M.value=e},null,8,[`open`])]),_:1}))}};export{j as default};