Loheide-eu-mitarbeiterplatt.../public/build/assets/DigestUnsubscribe-zn-p204i.js
Friederich Loheide 9cb34635bc
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 9m26s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 9m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m31s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m1s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m30s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 46s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m28s
Einheitliche Listen (0.61.0)
Gemeinsame Werkzeugleiste ListToolbar (Filter-Chips, Suche, Sortierung,
Kacheln/Liste) für Neuigkeiten, Stellen, Ideen und Personen; im SDK für Plugins.
Neuigkeiten durchsuchbar.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 20:12:57 +00:00

1 line
No EOL
1.1 KiB
JavaScript

import{At as e,Ot as t,P as n}from"./ui-DY0WbyhT.js";import{C as r,O as i,T as a,Tt as o,_t as s,k as c,ot as l,q as u,s as d,w as f}from"./framework-Cy4cevSy.js";import{t as p}from"./GuestLayout-DlkV-thU.js";var m={key:0,class:`flex items-start gap-2.5 rounded-md bg-brand-soft p-4 text-sm text-brand-text`},h=Object.assign({frame:!1},{__name:`DigestUnsubscribe`,props:{done:{type:Boolean,default:!1},action:{type:String,required:!0}},setup(h){let g=h,_=s(g.done),v=s(!1);function y(){v.value=!0,d.post(g.action,{},{preserveState:!0,onSuccess:()=>_.value=!0,onFinish:()=>v.value=!1})}return(s,d)=>(u(),r(p,{title:`Wochenüberblick`,description:_.value?``:`Möchten Sie den Wochenüberblick per E-Mail abbestellen?`},{default:l(()=>[_.value?(u(),a(`p`,m,[c(o(e),{class:`mt-0.5 size-4 shrink-0`}),d[0]||=i(` Abbestellt. Sie bekommen keinen Wochenüberblick mehr. Im Profil lässt er sich jederzeit wieder einschalten. `,-1)])):(u(),r(o(n),{key:1,class:`h-10 w-full`,disabled:v.value,onClick:y},{default:l(()=>[v.value?(u(),r(o(t),{key:0,class:`animate-spin`})):f(``,!0),d[1]||=i(` Abbestellen`,-1)]),_:1},8,[`disabled`]))]),_:1},8,[`description`]))}});export{h as default};