Loheide-eu-mitarbeiterplatt.../public/build/assets/Applications-Cz2jSeTY.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
3.3 KiB
JavaScript
Raw Permalink 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{P as e,W as t}from"./ui-DY0WbyhT.js";import{At as n,C as r,O as i,S as a,T as o,Tt as s,Y as c,g as l,gt as u,i as d,k as f,o as p,ot as m,p as h,q as g,rt as _,s as v,st as y,v as b,w as x}from"./framework-Cy4cevSy.js";import{t as S}from"./download-DX0LYnLx.js";import{O as C,b as w,c as T,f as E,lt as D,p as O,u as k,z as A}from"./app-DGEXwKAN.js";var j={key:0,class:`grid gap-4`},M={class:`flex flex-wrap items-start gap-4`},N={class:`min-w-0 flex-1`},P={class:`text-[13px] text-muted-foreground`},F={class:`text-xs text-muted-foreground`},I={class:`flex flex-wrap gap-2`},L=[`href`],R=[`href`],z={key:0,class:`mt-4 rounded-md bg-muted/60 px-4 py-3 text-sm leading-relaxed break-words whitespace-pre-line`},B=[`onSubmit`],V={class:`grid gap-1 text-[13px] font-medium`},H={class:`grid gap-1 text-[13px] font-medium`},U=[`onUpdate:modelValue`],W={key:1,class:`rounded-lg border border-dashed bg-card`},G={__name:`Applications`,props:{posting:{type:Object,required:!0},applications:{type:Array,required:!0},statuses:{type:Array,required:!0}},setup(G){let K=G,q=p();_(()=>q.props.flash.status,e=>e&&t.success(e));let J=u(Object.fromEntries(K.applications.map(e=>[e.id,{status:e.status,note:e.note??``}])));function Y(e){v.put(`/redaktion/stellen/bewerbungen/${e.id}`,J[e.id],{preserveScroll:!0})}return(t,u)=>(g(),r(E,{title:`Bewerbungen: ${G.posting.title}`},{default:m(()=>[f(O,{title:`Bewerbungen (${G.applications.length})`,description:G.posting.title,breadcrumbs:[{label:`Stellen`,href:`/stellen`},{label:G.posting.title,href:G.posting.url}]},null,8,[`title`,`description`,`breadcrumbs`]),G.applications.length?(g(),o(`ul`,j,[(g(!0),o(b,null,c(G.applications,t=>(g(),o(`li`,{key:t.id,class:`rounded-lg border bg-card p-5`},[a(`div`,M,[f(w,{person:t.person,class:`size-11`},null,8,[`person`]),a(`div`,N,[f(s(d),{href:`/personen/${t.person.id}`,class:`font-semibold hover:underline`},{default:m(()=>[i(n(t.person.name),1)]),_:2},1032,[`href`]),a(`p`,P,n([t.person.job_title,t.person.department].filter(Boolean).join(` · `)||`–`),1),a(`p`,F,`Eingegangen am `+n(s(C)(t.created_at)),1)]),a(`div`,I,[t.file?(g(),r(s(e),{key:0,variant:`outline`,size:`sm`,"as-child":``},{default:m(()=>[a(`a`,{href:t.file.url},[f(s(S)),i(` `+n(t.file.name),1)],8,L)]),_:2},1024)):x(``,!0),f(s(e),{variant:`outline`,size:`sm`,"as-child":``},{default:m(()=>[a(`a`,{href:`mailto:${t.person.email}`},[f(s(D)),u[0]||=i(` E-Mail`,-1)],8,R)]),_:2},1024)])]),t.message?(g(),o(`p`,z,n(t.message),1)):x(``,!0),a(`form`,{class:`mt-4 grid gap-3 border-t pt-4 sm:grid-cols-[12rem_minmax(0,1fr)_auto] sm:items-end`,onSubmit:l(e=>Y(t),[`prevent`])},[a(`label`,V,[u[1]||=i(`Stand `,-1),f(T,{modelValue:J[t.id].status,"onUpdate:modelValue":e=>J[t.id].status=e,options:G.statuses},null,8,[`modelValue`,`onUpdate:modelValue`,`options`])]),a(`label`,H,[u[2]||=i(`Interne Notiz `,-1),y(a(`input`,{"onUpdate:modelValue":e=>J[t.id].note=e,maxlength:`5000`,placeholder:`nur für die Bearbeitung sichtbar`,class:`h-9 rounded-md border border-input bg-card px-3 text-sm font-normal focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/30`},null,8,U),[[h,J[t.id].note]])]),f(s(e),{type:`submit`,size:`sm`,class:`h-9`},{default:m(()=>[...u[3]||=[i(`Speichern`,-1)]]),_:1})],40,B)]))),128))])):(g(),o(`div`,W,[f(k,{icon:s(A),title:`Noch keine Bewerbungen`},null,8,[`icon`])]))]),_:1},8,[`title`]))}};export{G as default};