Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
- PageHeader: Kopfband (Standard, kompakt), Kopfband mit Symbol, mit Symbol, kräftiger Titel – Einstellung page_header im Erscheinungsbild - Symbol vom passenden Menüpunkt (aktiv oder per Adresse), Prop icon - In Spalten (z. B. Downloads) schlichte Form statt Band - Zurück-Links als breadcrumbs (IT-Service), Profil bearbeiten mit PageHeader - Plugin-Assets: Fingerabdruck berücksichtigt Änderungszeiten der Dateien Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 line
No EOL
3.3 KiB
JavaScript
1 line
No EOL
3.3 KiB
JavaScript
import{P as e,W as t}from"./ui-DTELwomD.js";import{C as n,O as r,S as i,T as a,Y as o,g as s,gt as c,i as l,k as u,kt as d,o as f,ot as p,p as m,q as h,rt as g,s as _,st as v,v as y,w as b,wt as x}from"./framework-CFqPLBV8.js";import{t as S}from"./download-C_MoXtQQ.js";import{N as C,S as w,c as T,d as E,g as D,o as O,tt as k,u as A}from"./app-DPANCdgI.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=f();g(()=>q.props.flash.status,e=>e&&t.success(e));let J=c(Object.fromEntries(K.applications.map(e=>[e.id,{status:e.status,note:e.note??``}])));function Y(e){_.put(`/redaktion/stellen/bewerbungen/${e.id}`,J[e.id],{preserveScroll:!0})}return(t,c)=>(h(),n(E,{title:`Bewerbungen: ${G.posting.title}`},{default:p(()=>[u(A,{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?(h(),a(`ul`,j,[(h(!0),a(y,null,o(G.applications,t=>(h(),a(`li`,{key:t.id,class:`rounded-lg border bg-card p-5`},[i(`div`,M,[u(D,{person:t.person,class:`size-11`},null,8,[`person`]),i(`div`,N,[u(x(l),{href:`/personen/${t.person.id}`,class:`font-semibold hover:underline`},{default:p(()=>[r(d(t.person.name),1)]),_:2},1032,[`href`]),i(`p`,P,d([t.person.job_title,t.person.department].filter(Boolean).join(` · `)||`–`),1),i(`p`,F,`Eingegangen am `+d(x(w)(t.created_at)),1)]),i(`div`,I,[t.file?(h(),n(x(e),{key:0,variant:`outline`,size:`sm`,"as-child":``},{default:p(()=>[i(`a`,{href:t.file.url},[u(x(S)),r(` `+d(t.file.name),1)],8,L)]),_:2},1024)):b(``,!0),u(x(e),{variant:`outline`,size:`sm`,"as-child":``},{default:p(()=>[i(`a`,{href:`mailto:${t.person.email}`},[u(x(k)),c[0]||=r(` E-Mail`,-1)],8,R)]),_:2},1024)])]),t.message?(h(),a(`p`,z,d(t.message),1)):b(``,!0),i(`form`,{class:`mt-4 grid gap-3 border-t pt-4 sm:grid-cols-[12rem_minmax(0,1fr)_auto] sm:items-end`,onSubmit:s(e=>Y(t),[`prevent`])},[i(`label`,V,[c[1]||=r(`Stand `,-1),u(O,{modelValue:J[t.id].status,"onUpdate:modelValue":e=>J[t.id].status=e,options:G.statuses},null,8,[`modelValue`,`onUpdate:modelValue`,`options`])]),i(`label`,H,[c[2]||=r(`Interne Notiz `,-1),v(i(`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),[[m,J[t.id].note]])]),u(x(e),{type:`submit`,size:`sm`,class:`h-9`},{default:p(()=>[...c[3]||=[r(`Speichern`,-1)]]),_:1})],40,B)]))),128))])):(h(),a(`div`,W,[u(T,{icon:x(C),title:`Noch keine Bewerbungen`},null,8,[`icon`])]))]),_:1},8,[`title`]))}};export{G as default}; |