Loheide-eu-mitarbeiterplatt.../public/build/assets/EditorialIdeas-CHD_Rq8D.js
Friederich Loheide 26d3242a11
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m39s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 6m48s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 6m51s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m28s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 9m40s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 9m41s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m27s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 43s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m14s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 8m52s
Burger-Menü am PC wählbar (0.41.0)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 18:21:59 +00:00

1 line
No EOL
2.4 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,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,y as d}from"./runtime-core.esm-bundler-B8D2lM98.js";import{i as f}from"./dist--2OKCVzt.js";import{t as p}from"./eye-off-CneL5LCR.js";import{t as m}from"./flag-DXDSZ3R5.js";import{t as h}from"./message-circle-EmbkkOXQ.js";import{t as g}from"./thumbs-up-Dvuw4Vcb.js";import{P as _,x as v}from"./app-B1j1ARpJ.js";import{t as y}from"./StatusBadge-B45sWNYi.js";var b={class:`mb-2 flex items-center gap-1.5 text-xs font-semibold tracking-wider text-destructive uppercase`},x={class:`-mx-5 mb-5 divide-y border-y`},S={class:`shrink-0 text-xs text-destructive tabular-nums`},C={key:1,class:`-mx-5 divide-y border-t`},w={class:`min-w-0 flex-1`},T={class:`truncate text-xs text-muted-foreground`},E={class:`inline-flex shrink-0 items-center gap-2.5 text-xs text-muted-foreground tabular-nums`},D={class:`inline-flex items-center gap-1`},O={class:`inline-flex items-center gap-1`},k={key:2,class:`text-sm text-muted-foreground`},A={__name:`EditorialIdeas`,props:{ideas:{type:Array,required:!0},reported:{type:Array,default:()=>[]}},setup(A){return(j,M)=>(o(),u(v,{title:`Ideenbox – zu sichten`,"action-label":`Alle Ideen`,"action-href":`/ideen`},{default:c(()=>[A.reported.length?(o(),i(s,{key:0},[r(`h3`,b,[e(n(m),{class:`size-3.5`}),M[0]||=t(` Gemeldet`,-1)]),r(`ul`,x,[(o(!0),i(s,null,a(A.reported,a=>(o(),i(`li`,{key:a.id,class:`flex items-center gap-3 px-5 py-2.5`},[e(n(f),{href:a.url,class:`min-w-0 flex-1 truncate text-sm font-medium hover:underline`},{default:c(()=>[t(l(a.title),1)]),_:2},1032,[`href`]),a.hidden?(o(),u(n(p),{key:0,class:`size-3.5 shrink-0 text-muted-foreground`,title:`Vorläufig ausgeblendet`})):d(``,!0),r(`span`,S,l(a.reports)+` `+l(a.reports===1?`Meldung`:`Meldungen`),1)]))),128))])],64)):d(``,!0),A.ideas.length?(o(),i(`ul`,C,[(o(!0),i(s,null,a(A.ideas,a=>(o(),i(`li`,{key:a.id,class:`flex items-center gap-3 px-5 py-2.5`},[r(`div`,w,[e(n(f),{href:a.url,class:`block truncate text-sm font-medium hover:underline`},{default:c(()=>[t(l(a.title),1)]),_:2},1032,[`href`]),r(`p`,T,l(a.author?.name??`Anonym`)+` · `+l(n(_)(a.created_at)),1)]),r(`span`,E,[r(`span`,D,[e(n(g),{class:`size-3.5`}),t(` `+l(a.supports),1)]),r(`span`,O,[e(n(h),{class:`size-3.5`}),t(` `+l(a.comments),1)])]),e(y,{status:a.status,label:a.status_label},null,8,[`status`,`label`])]))),128))])):(o(),i(`p`,k,`Keine offenen Ideen.`))]),_:1}))}};export{A as default};