PageSourceSearch

https://laposte.net/assets/AliasDeleteConfirmationPage-CYZybMKh.js

js laposte.net collected 2026-10-01 09:18:04 UTC 1,732 bytes, 1 lines download raw bytes

1import{c as d,w as c,I as p,o as f,d as e,m,e as g,x as h,f as v,r as s,b,M as w,F as x,U as y}from"./main-CquFTi0V.js";import{d as A}from"./alias-service-BIJZyu1H.js";import"/conf/env.js";const C={class:"with-floating-label"},q=["id","value"],M=["for"],E={__name:"AliasDeleteConfirmationPage",props:{alias:{type:String,default:null}},setup(r){const n=r,i=b(!1);function o(){s.push({path:"/mon-compte/mes-alias",query:{delete:"true"}})}async function l(){try{return await A(n.alias),!0}catch(a){a instanceof w?await s.push("/maintenance"):a instanceof x?await s.push("/non-autorise"):a instanceof y&&await s.push("/mon-compte/erreur-authent"),await s.push("/mon-compte/erreur-technique")}return!1}const u=async()=>{if(i.value)return;i.value=!0;const a=await l();i.value=!1,a&&o()};return(a,t)=>(f(),d(p,null,{default:c(()=>[e("form",{id:"alias-delete",name:"alias-delete",method:"post",autocomplete:"off",novalidate:"",onSubmit:m(u,["prevent"])},[e("fieldset",null,[t[1]||(t[1]=e("legend",null,"Supprimer un alias",-1)),t[2]||(t[2]=e("p",{class:"error-group"},"Attention, cette action entraînera la suppression définitive de cette adresse. L'adresse email ne sera plus disponible à la re-création. N'oubliez pas de prévenir ceux à qui vous avez communiqué cette adresse.",-1)),e("p",C,[e("input",{id:r.alias,value:r.alias,type:"text",class:"input",disabled:"",tabindex:"-1"},null,8,q),e("label",{for:r.alias,class:"floating",inert:""},"Adresse e-mail de l'alias :",8,M)])]),g(h,{"has-return":"","return-text":"Retour","progress-text":"Confirmer la suppression","progress-disabled":i.value,onTriggerReturn:t[0]||(t[0]=N=>v(s).push("/mon-compte/mes-alias"))},null,8,["progress-disabled"])],32)]),_:1}))}};export{E as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.