Loheide-eu-mitarbeiterplatt.../public/build/assets/Applications-DCawKjmF.js
Friederich Loheide 9d8bdc08ce
Some checks failed
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) Failing after 19m38s
CI / PHP 8.3 / mysql:8.4-1 (pull_request) Successful in 24m17s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 9m13s
CI / Build-Artefakte aktuell (pull_request) Successful in 6m4s
Frag das Portal (0.64.0)
Antworten mit Quellen aus Seiten, QM-Dokumenten, Glossar und Neuigkeiten –
nur aus Sichtbarem, über den KI-Assistenten (Anthropic, OpenAI, Ollama).
Wissensquellen als Registry für Plugins, Auswertung ohne Personenbezug.

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

1 line
No EOL
3.3 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{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{E as C,L as w,at as T,c as E,f as D,p as O,u as k,v as A}from"./app-D39ss9YM.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(D,{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(A,{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(T)),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(E,{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(w),title:`Noch keine Bewerbungen`},null,8,[`icon`])]))]),_:1},8,[`title`]))}};export{G as default};