Loheide-eu-mitarbeiterplatt.../public/build/assets/Wissen-DPGDJLGK.js
Friederich Loheide 4d58364104
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.3 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.4 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.4 (pull_request) Has been skipped
CI / Browser-Tests (pull_request) Successful in 14m21s
CI / PHP 8.3 / mysql:8.4-1 (pull_request) Successful in 19m7s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 5m20s
CI / Build-Artefakte aktuell (pull_request) Successful in 5m46s
Frag das Portal als schwebende Blase, Suchliste im Bild (0.65.0)
- AskBubble unten rechts (abschaltbar), Gespräch bleibt beim Seitenwechsel
- Antwortanzeige als gemeinsame Komponente AskAnswer
- Trefferliste der Kopfzeilen-Suche in der App-Oberfläche linksbündig
- CI: optionale Kern-Plugins für Browser-Tests einschalten, Suchtest mit Demo-Inhalt

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 19:02:18 +00:00

1 line
No EOL
2.2 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{At as e,C as t,O as n,Q as r,S as i,T as a,Tt as o,Y as s,_t as c,g as l,o as u,ot as d,p as f,q as p,s as m,st as h,v as g,w as _,x as v}from"./framework-Cy4cevSy.js";import{G as y,It as b,Y as x,f as S,u as C}from"./app-k1_9tffg.js";import{t as w}from"./HubTile-DZ245N6j.js";var T={class:`grid justify-items-center gap-5 py-6 text-center sm:py-10`},E={for:`wissen-suche`,class:`sr-only`},D={type:`submit`,class:`h-11 rounded-pill bg-brand px-5 text-sm font-semibold text-brand-foreground hover:opacity-90`},O={key:0,class:`text-sm text-muted-foreground`},k={key:0,class:`grid gap-5 sm:grid-cols-2 xl:grid-cols-3`},A={__name:`Wissen`,props:{entries:{type:Array,required:!0}},setup(A){let j=c(``),M=v(()=>!!u().props.ask),N=()=>j.value.trim()&&m.get(`/suche`,{q:j.value.trim()}),P=()=>M.value&&j.value.trim()?m.get(`/frag-das-portal`,{frage:j.value.trim()}):N();return(c,u)=>(p(),t(S,{title:`Wissen`,header:!1},{default:d(()=>[i(`section`,T,[u[2]||=i(`h1`,{class:`text-3xl font-bold tracking-tight text-balance sm:text-4xl`},`Was möchten Sie wissen?`,-1),i(`form`,{role:`search`,class:`flex w-full max-w-2xl items-center gap-2 rounded-pill border bg-card p-1.5 pl-5 shadow-sm focus-within:ring-3 focus-within:ring-ring/30`,onSubmit:l(P,[`prevent`])},[(p(),t(r(M.value?o(y):o(x)),{class:`size-5 shrink-0 text-muted-foreground`})),i(`label`,E,e(M.value?`Frage an das Portal`:`Portal durchsuchen`),1),h(i(`input`,{id:`wissen-suche`,"onUpdate:modelValue":u[0]||=e=>j.value=e,type:`search`,placeholder:`z. B. „Wie beantrage ich eine Fortbildung?“`,class:`h-11 min-w-0 flex-1 bg-transparent text-base outline-none`},null,512),[[f,j.value]]),i(`button`,D,e(M.value?`Fragen`:`Suchen`),1)],32),M.value?(p(),a(`p`,O,[u[1]||=n(` Kurze Antwort mit Quellen aus Handbuch, Dokumenten und Neuigkeiten – `,-1),i(`button`,{type:`button`,class:`text-brand-text underline-offset-2 hover:underline`,onClick:N},`lieber nur suchen`)])):_(``,!0)]),A.entries.length?(p(),a(`div`,k,[(p(!0),a(g,null,s(A.entries,e=>(p(),t(w,{key:e.title+e.url,entry:e},null,8,[`entry`]))),128))])):(p(),t(C,{key:1,icon:o(b),title:`Noch keine Bereiche`,text:`Die Administration legt sie unter Startseite & Menü → Wissen & Service fest.`},null,8,[`icon`]))]),_:1}))}};export{A as default};