Loheide-eu-mitarbeiterplatt.../public/build/assets/Snippet-9QOCB1iv.js
Friederich Loheide 4d0a2984ec
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 9m9s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Failing after 9m19s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 10m30s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 11m5s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m54s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m57s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 45s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m44s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m20s
Wissen, Service, Gremien-Baustein und Menü-Vorschlag (0.56.0)
Übersichtsseiten /wissen und /service (Hubs, im Admin pflegbar), Baustein
„Mitglieder mit Rolle“, Menü-Vorschlag für die Mitarbeiter-App.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-30 16:03:08 +00:00

1 line
No EOL
1.7 KiB
JavaScript

import{Dt as e}from"./ui-DY0WbyhT.js";import{At as t,C as n,I as r,J as i,O as a,S as o,T as s,Tt as c,g as l,k as u,q as d,w as f,x as p}from"./framework-Cy4cevSy.js";import{t as m}from"./component-B42LdBOJ.js";import{p as h,q as g}from"./app-D4jKeWlM.js";var _={key:0,class:`rounded-md border border-dashed border-brand-300 p-3`},v={class:`mb-3 flex flex-wrap items-center gap-2 text-xs`},y={class:`inline-flex items-center gap-1.5 rounded bg-brand-soft px-2 py-0.5 font-medium text-brand-soft-foreground`},b=[`href`],x={key:0,class:`text-sm text-muted-foreground`},S={key:1,class:`flex items-center gap-2 text-sm text-amber-700 dark:text-amber-400`},C={key:2,class:`pointer-events-none`},w={__name:`Snippet`,props:{block:{type:Object,required:!0}},setup(w){let T=w,E=r(`pagebuilder:editing`,p(()=>!1));i(`pagebuilder:list`,h),i(`pagebuilder:editing`,p(()=>!1));let D=p(()=>({blocks:T.block.props?.blocks??[]}));return(r,i)=>c(E)?(d(),s(`div`,_,[o(`div`,v,[o(`span`,y,[u(c(m),{class:`size-3.5`}),a(` Baustein`+t(w.block.props?.name?`: ${w.block.props.name}`:``),1)]),w.block.props?.edit_url?(d(),s(`a`,{key:0,href:w.block.props.edit_url,target:`_blank`,class:`inline-flex items-center gap-1 text-brand-text hover:underline`,onClick:i[0]||=l(()=>{},[`stop`])},[u(c(g),{class:`size-3`}),i[1]||=a(` Baustein bearbeiten`,-1)],8,b)):f(``,!0)]),w.block.data.snippet?w.block.props?.missing?(d(),s(`p`,S,[u(c(e),{class:`size-4`}),i[2]||=a(` Dieser Baustein wurde gelöscht und wird nicht angezeigt.`,-1)])):(d(),s(`div`,C,[u(h,{item:D.value},null,8,[`item`])])):(d(),s(`p`,x,`Bitte rechts einen Baustein auswählen.`))])):D.value.blocks.length?(d(),n(h,{key:1,item:D.value},null,8,[`item`])):f(``,!0)}};export{w as default};