Loheide-eu-mitarbeiterplatt.../public/build/assets/Show-CXEn3HcE.js
Friederich Loheide bf68be68f9
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 12m25s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 12m51s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 10m43s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 10m37s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 12m42s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m38s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m33s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 44s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
Schneller und stabiler bei Updates (0.45.0)
- Ladefehler während eines Updates schalten keine Plugins mehr ab: Wartungsmodus
  merkt sich den Update-Zeitraum (+2 min Nachlauf), Plugin-Uploads markieren den
  Dateiaustausch ohne Wartungsmodus; guard/recoverFromCrash prüfen das, betroffene
  Plugins (mit disabled_at im Zeitraum) werden wieder eingeschaltet
- Plugin-Oberflächen werden nach public/plugin-assets kopiert (Webserver statt PHP),
  bei Deaktivieren/Löschen/Neu-Hochladen entfernt; Route bleibt als Rückfall
- RichTextEditor in SDK, Leichte-Sprache-Leiste und Glossar asynchron;
  fehlende Menü-Symbole kuratiert → kein Laden des kompletten Symbolsatzes
- Inertia-Prefetch (hover, 10 s) für Menülinks und Neuigkeiten-Vorschauen;
  Prefetch zählt nicht als Lesen (Reach)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 14:41:53 +00:00

1 line
No EOL
9.4 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{D as e,E as t,Ht as ee,On as n,_ as r,b as i,bt as te,er as a,g as o,mt as s,o as c,qt as l,tr as u,v as d,vn as f,y as p}from"./runtime-core.esm-bundler-B8D2lM98.js";import{w as ne}from"./runtime-dom.esm-bundler-BEWGoe8n.js";import{a as m,i as h,o as g,s as re}from"./dist--2OKCVzt.js";import{t as ie}from"./arrow-left-DROE4wuA.js";import{t as ae}from"./circle-check-K9QH5jex.js";import{t as oe}from"./external-link-Ddmamed9.js";import{t as _}from"./send-B_gp9Kto.js";import{n as se}from"./lib-Be7KNAML.js";import{Et as ce,I as v,It as y,S as b,Tt as x,Xt as S,a as C,g as w,i as T,k as E,l as D,mt as O,n as k,o as A,r as j,t as M,w as N,y as P}from"./app-CtNjz4OX.js";import{t as F}from"./JobFacts-Bnsy7aDj.js";var I={class:`mb-5 flex flex-wrap items-center justify-between gap-3`},L={class:`flex flex-wrap gap-2`},R={key:0,class:`mb-4 rounded-md border border-amber-300 bg-amber-50 px-3 py-2 text-sm text-amber-900 dark:border-amber-800 dark:bg-amber-950/50 dark:text-amber-100`},z={class:`grid grid-cols-1 items-start gap-6 lg:grid-cols-[minmax(0,1fr)_22rem]`},B={class:`min-w-0 rounded-lg border bg-card p-6 sm:p-8`},V={class:`text-2xl leading-tight font-semibold tracking-tight break-words sm:text-3xl`},H=[`innerHTML`],U=[`href`],W={class:`text-xs font-normal text-muted-foreground`},G={class:`grid gap-6`},le={class:`flex items-center gap-2 text-sm font-medium text-emerald-700 dark:text-emerald-400`},ue={class:`mt-1 text-sm`},de={class:`text-sm text-muted-foreground`},fe={key:0,class:`mt-2 text-xs text-muted-foreground`},pe={class:`mt-1 text-sm font-medium break-all select-all`},me=[`href`],he=[`href`],ge={key:4,class:`text-sm text-muted-foreground`},_e={key:5,class:`mt-5 border-t pt-4`},ve={class:`min-w-0`},ye={class:`block text-sm font-medium`},be={key:0,class:`block truncate text-xs text-muted-foreground`},xe={class:`mt-2 grid gap-1 text-[13px]`},Se=[`href`],Ce=[`href`],we={class:`grid gap-3 text-sm`},Te={class:`text-xs text-muted-foreground`},Ee={class:`flex items-center gap-2`},De=[`accept`],K={class:`min-w-0 truncate text-[13px] text-muted-foreground`},Oe={key:0,class:`h-1 overflow-hidden rounded-full bg-muted`},q={__name:`Show`,props:{posting:{type:Object,required:!0},application:{type:Object,default:null},canApply:{type:Boolean,default:!1},editUrl:{type:String,default:null},applicationsUrl:{type:String,default:null},applicationsCount:{type:Number,default:null},accept:{type:String,default:`.pdf`}},setup(q){let J=q,ke=g();ee(()=>ke.props.flash.status,e=>e&&se.success(e),{immediate:!0});let Y=o(()=>[[`Umfang`,[J.posting.employment_label,J.posting.hours].filter(Boolean).join(`, `)],[`Vertrag`,J.posting.contract===`fixed`?`Befristet${J.posting.contract_note?` ${J.posting.contract_note}`:``}`:`Unbefristet`],[`Eingruppierung`,J.posting.pay_grade],[`Beginn`,J.posting.start],[`Bewerbungsfrist`,J.posting.deadline?v(J.posting.deadline):null]].filter(([,e])=>e)),X={draft:`Entwurf – nur für die Redaktion sichtbar`,scheduled:`Geplant – noch nicht sichtbar`,expired:`Frist abgelaufen – nicht mehr in der Liste`},Z=f(!1),Q=f(null),$=m({message:``,file:null});function Ae(){$.post(`/stellen/${J.posting.id}/bewerben`,{forceFormData:!0,preserveScroll:!0,onSuccess:()=>Z.value=!1})}function je(){window.confirm(`Bewerbung zurückziehen? Nachricht und Unterlagen werden gelöscht.`)&&re.delete(`/stellen/bewerbungen/${J.application.id}`,{preserveScroll:!0})}return(ee,o)=>(s(),d(N,{title:q.posting.title},{default:l(()=>[r(`div`,I,[e(n(h),{href:`/stellen`,class:`inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:l(()=>[e(n(ie),{class:`size-4`}),o[6]||=t(` Alle Stellen`,-1)]),_:1}),r(`div`,L,[q.applicationsUrl?(s(),d(n(w),{key:0,variant:`outline`,size:`sm`,"as-child":``},{default:l(()=>[e(n(h),{href:q.applicationsUrl},{default:l(()=>[e(n(O)),t(` Bewerbungen (`+u(q.applicationsCount)+`)`,1)]),_:1},8,[`href`])]),_:1})):p(``,!0),q.editUrl?(s(),d(n(w),{key:1,variant:`outline`,size:`sm`,"as-child":``},{default:l(()=>[e(n(h),{href:q.editUrl},{default:l(()=>[e(n(ce)),o[7]||=t(` Bearbeiten`,-1)]),_:1},8,[`href`])]),_:1})):p(``,!0)])]),X[q.posting.status]?(s(),i(`p`,R,u(X[q.posting.status]),1)):p(``,!0),r(`div`,z,[r(`article`,B,[r(`h1`,V,u(q.posting.title),1),e(F,{posting:q.posting,class:`mt-3`},null,8,[`posting`]),q.posting.description?(s(),i(`div`,{key:0,class:`prose prose-neutral mt-6 max-w-none break-words dark:prose-invert`,innerHTML:q.posting.description},null,8,H)):p(``,!0),q.posting.pdf?(s(),i(`a`,{key:1,href:q.posting.pdf.url,target:`_blank`,rel:`noopener`,class:`mt-6 inline-flex items-center gap-2 rounded-md border px-3 py-2 text-sm font-medium hover:bg-accent`},[e(n(S),{class:`size-4 text-red-600`}),o[8]||=t(` Ausschreibung als PDF `,-1),r(`span`,W,u(q.posting.pdf.name),1)],8,U)):p(``,!0)]),r(`aside`,G,[e(b,{title:`Bewerbung`},{default:l(()=>[q.application?(s(),i(c,{key:0},[r(`p`,le,[e(n(ae),{class:`size-4`}),t(` Beworben am `+u(n(v)(q.application.created_at)),1)]),r(`p`,ue,[o[9]||=t(`Stand: `,-1),r(`strong`,null,u(q.application.status_label),1)]),q.application.status===`received`?(s(),d(n(w),{key:0,variant:`ghost`,size:`sm`,class:`mt-3 -ml-2 text-destructive hover:text-destructive`,onClick:je},{default:l(()=>[...o[10]||=[t(`Bewerbung zurückziehen`,-1)]]),_:1})):p(``,!0)],64)):q.posting.apply_mode===`online`?(s(),i(c,{key:1},[r(`p`,de,`Bewerben Sie sich direkt hier – vertraulich an `+u(q.posting.contact?q.posting.contact.name:`die Personalabteilung`)+`.`,1),e(n(w),{class:`mt-4 w-full`,disabled:!q.canApply,onClick:o[0]||=e=>Z.value=!0},{default:l(()=>[e(n(_)),o[11]||=t(` Jetzt bewerben`,-1)]),_:1},8,[`disabled`]),!q.canApply&&q.posting.status!==`open`?(s(),i(`p`,fe,`Bewerben ist gerade nicht möglich.`)):p(``,!0)],64)):q.posting.apply_mode===`email`&&q.posting.apply_email?(s(),i(c,{key:2},[o[13]||=r(`p`,{class:`text-sm text-muted-foreground`},`Bitte schicken Sie Ihre Bewerbung per E-Mail an:`,-1),r(`p`,pe,u(q.posting.apply_email),1),e(n(w),{class:`mt-4 w-full`,"as-child":``},{default:l(()=>[r(`a`,{href:`mailto:${q.posting.apply_email}?subject=${encodeURIComponent(`Bewerbung: ${q.posting.title}`)}`},[e(n(y)),o[12]||=t(` E-Mail schreiben`,-1)],8,me)]),_:1})],64)):q.posting.apply_mode===`link`&&q.posting.apply_url?(s(),d(n(w),{key:3,class:`w-full`,"as-child":``},{default:l(()=>[r(`a`,{href:q.posting.apply_url,target:`_blank`,rel:`noopener`},[e(n(oe)),o[14]||=t(` Zur Bewerbung`,-1)],8,he)]),_:1})):(s(),i(`p`,ge,`Bitte wenden Sie sich an die Ansprechperson.`)),q.posting.contact?(s(),i(`div`,_e,[o[15]||=r(`p`,{class:`mb-2 text-xs font-semibold tracking-wide text-muted-foreground uppercase`},`Ansprechperson`,-1),e(n(h),{href:`/personen/${q.posting.contact.id}`,class:`flex items-center gap-3 hover:underline`},{default:l(()=>[e(E,{person:q.posting.contact,class:`size-10`},null,8,[`person`]),r(`span`,ve,[r(`span`,ye,u(q.posting.contact.name),1),q.posting.contact.job_title?(s(),i(`span`,be,u(q.posting.contact.job_title),1)):p(``,!0)])]),_:1},8,[`href`]),r(`p`,xe,[q.posting.contact.email?(s(),i(`a`,{key:0,href:`mailto:${q.posting.contact.email}`,class:`inline-flex items-center gap-2 text-brand-text hover:underline`},[e(n(y),{class:`size-3.5`}),t(` `+u(q.posting.contact.email),1)],8,Se)):p(``,!0),q.posting.contact.phone?(s(),i(`a`,{key:1,href:`tel:${q.posting.contact.phone}`,class:`inline-flex items-center gap-2 text-brand-text hover:underline`},[e(n(x),{class:`size-3.5`}),t(` `+u(q.posting.contact.phone),1)],8,Ce)):p(``,!0)])])):p(``,!0)]),_:1}),Y.value.length?(s(),d(b,{key:0,title:`Auf einen Blick`},{default:l(()=>[r(`dl`,we,[(s(!0),i(c,null,te(Y.value,([e,t])=>(s(),i(`div`,{key:e},[r(`dt`,Te,u(e),1),r(`dd`,null,u(t),1)]))),128))])]),_:1})):p(``,!0)])]),e(n(A),{open:Z.value,"onUpdate:open":o[5]||=e=>Z.value=e},{default:l(()=>[e(n(C),{class:`sm:max-w-lg`},{default:l(()=>[e(n(k),null,{default:l(()=>[e(n(M),null,{default:l(()=>[t(`Bewerbung: `+u(q.posting.title),1)]),_:1}),e(n(T),null,{default:l(()=>[...o[16]||=[t(`Ihre Angaben aus dem Profil (Name, Funktion, Abteilung) werden mitgeschickt. Vertraulich – nur für die Ansprechperson bzw. die Personalabteilung.`,-1)]]),_:1})]),_:1}),r(`form`,{class:`grid gap-4`,onSubmit:ne(Ae,[`prevent`])},[e(P,{id:`apply-message`,label:`Nachricht`,error:n($).errors.message,hint:`Warum interessiert Sie die Stelle? Was bringen Sie mit?`},{default:l(()=>[e(n(D),{id:`apply-message`,modelValue:n($).message,"onUpdate:modelValue":o[1]||=e=>n($).message=e,rows:`6`,maxlength:`5000`},null,8,[`modelValue`])]),_:1},8,[`error`]),e(P,{id:`apply-file`,label:`Unterlagen (optional)`,error:n($).errors.file,hint:`z. B. Lebenslauf – PDF, Word oder OpenDocument, höchstens 10 MB.`},{default:l(()=>[r(`div`,Ee,[r(`input`,{id:`apply-file`,ref_key:`fileInput`,ref:Q,type:`file`,accept:q.accept,class:`hidden`,onChange:o[2]||=e=>n($).file=e.target.files?.[0]??null},null,40,De),e(n(w),{type:`button`,variant:`outline`,size:`sm`,onClick:o[3]||=e=>Q.value?.click()},{default:l(()=>[...o[17]||=[t(`Datei auswählen`,-1)]]),_:1}),r(`span`,K,u(n($).file?.name??`Keine Datei`),1)])]),_:1},8,[`error`]),e(n(j),null,{default:l(()=>[e(n(w),{type:`button`,variant:`outline`,onClick:o[4]||=e=>Z.value=!1},{default:l(()=>[...o[18]||=[t(`Abbrechen`,-1)]]),_:1}),e(n(w),{type:`submit`,disabled:n($).processing||!n($).message.trim()&&!n($).file},{default:l(()=>[e(n(_)),o[19]||=t(` Bewerbung senden`,-1)]),_:1},8,[`disabled`])]),_:1}),n($).progress?(s(),i(`div`,Oe,[r(`div`,{class:`h-full bg-brand`,style:a({width:`${n($).progress.percentage}%`})},null,4)])):p(``,!0)],32)]),_:1})]),_:1},8,[`open`])]),_:1},8,[`title`]))}};export{q as default};