Loheide-eu-mitarbeiterplatt.../public/build/assets/Wissen-W8XmfOYK.js
Friederich Loheide 3addc09c38
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 8m33s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 9m8s
CI / PHP 8.3 / mysql:8.4-1 (pull_request) Successful in 17m55s
CI / Build-Artefakte aktuell (pull_request) Successful in 9m50s
Frag das Portal durchsucht alles, neue Demo-Inhalte (0.66.0)
- Wissensquellen: Termine, Downloads, Formulare, Stellen, Ideen, Umfragen,
  Personen, eigene IT-Tickets/Geräte (OpenNIT, je Anfrage zwischengespeichert)
- Ranking mit IDF, Abfrage je Begriff, Abkürzungen als ganze Wörter,
  LIKE unabhängig von Groß-/Kleinschreibung (JSON-Spalten), Datum im Prompt
- Demo-Inhalte für einen Träger der Eingliederungshilfe (DemoData),
  mehrseitige PDFs, vorhandene Inhalte je Bereich entfernen

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 20:01:00 +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-DGEXwKAN.js";import{t as w}from"./HubTile-DFSJ5o7-.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};