PageSourceSearch

https://acties.uzafoundation.be/assets/ViewProfileSettingsPersonalInfo-CbvvkAs_.js

js uzafoundation.be collected 2026-10-07 22:52:21 UTC 5,706 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AppSpinner-DDmMHhZ_.js","assets/index-DuKjXEJz.js","assets/index-DY-sP-Wx.css","assets/AppSpinner-CO7qFeDR.css","assets/FormNotification-DZmVjmHD.js","assets/FormNotification-CbDE1wN6.css"])))=>i.map(i=>d[i]);
2import{_ as D,r as n,o as l,g as w,e as o,a,w as I,t as i,d as _,c as m,f as E,l as f,s as S,q as A,aO as N,u as T,W as P,j as U,bF as C,aT as B,K as v,L as h}from"./index-DuKjXEJz.js";import{u as L}from"./index-CvWmapVL.js";import{e as R,r as c}from"./index-pHHt7iJg.js";import{m as z,g as O}from"./validators-BVyAFb4S.js";import q from"./MainNav-DX_mMen_.js";import F from"./SettingsNav-oG6DIu_E.js";import M from"./InputText-Dz6iL491.js";import j from"./InputEmail-DBdIurH5.js";import G from"./InputDatepicker-P0Gi2b58.js";import"./ibantools-HSFahC69.js";import"./differenceInMinutes-YLtg49En.js";import"./style-CfVT3ERb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"f072d59245c5c30cc2f9dc5a76f942dc019904ca"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="333dcf5d-1185-40d8-a583-005b873df93c",e._sentryDebugIdIdentifier="sentry-dbid-333dcf5d-1185-40d8-a583-005b873df93c")}catch{}})();const H=S({name:"ViewProfileSettingsPersonalInfo",components:{InputText:M,InputEmail:j,InputDatepicker:G,MainNav:q,SettingsNav:F,AppSpinner:v(()=>h(()=>import("./AppSpinner-DDmMHhZ_.js"),__vite__mapDeps([0,1,2,3]))),FormNotification:v(()=>h(()=>import("./FormNotification-DZmVjmHD.js"),__vite__mapDeps([4,1,2,5])))},setup:()=>{const{t:e}=T(),{patchAuthUser:t}=P(),{postSideNotification:r}=U();return C({title:`${e("literal.personal_info")} / ${e("literal.settings")} / ${e("literal.my_profile")}`}),{patchAuthUser:t,postSideNotification:r,v$:L(),scrollTo:B}},data(){return{errors:null,loader:{save:!1},user:{firstname:null,lastname:null,email:null,birthday:null},openDate:new Date(1990,0,1),available_dates:{start:new Date(1900,0,0),end:new Date}}},computed:{...N({authUser:"auth/user",isAuthenticated:"auth/isAuthenticated"})},methods:{save(){this.errors=null,this.v$.user.$touch(),!(this.v$.user.$pending||this.v$.user.$error)&&(this.loader.save=!0,this.patchAuthUser({params:this.user}).then(()=>{this.loader.save=!1,this.postSideNotification({text:"@profile|settings|personal_info.notification_saved"})}).catch(e=>{this.errors=e,this.loader.save=!1,this.scrollTo("#api-errors")}))}},validations(){return{user:{firstname:{required:c},lastname:{required:c},email:{required:c,email:R},birthday:{minDate:O(this.available_dates.start),maxDate:z(this.available_dates.end)}}}},created(){this.user=A.cloneDeep(this.authUser)}}),K={key:0,class:"container app__content"},W={class:"row"},Y={class:"col-md-5 col-lg-4 d-none d-md-block"},J={class:"col-12 col-md-7 col-lg-8"},Q={class:"card"},X={class:"card__header"},Z={class:"title--h2"},x=["disabled"],ee={class:"card__main",id:"api-errors"},ae={class:"color--lg"},te={class:"margin__t--12"},se={class:"color--lg"},oe={class:"margin__t--12"},ne={class:"color--lg"},ie={class:"margin__t--24"},le={class:"color--lg",for:"date-picker-birthday"},re={class:"card__footer"},de=["disabled"];function me(e,t,r,ce,ue,pe){const b=n("main-nav"),g=n("settings-nav"),d=n("fa-icon"),y=n("router-link"),u=n("app-spinner"),$=n("form-notification"),p=n("input-text"),k=n("input-email"),V=n("input-datepicker");return e.isAuthenticated?(l(),w("div",K,[o(b),a("div",W,[a("div",Y,[o(g)]),a("div",J,[a("div",Q,[a("div",X,[o(y,{class:"button__back",to:{name:"ProfileSettings"}},{default:I(()=>[o(d,{class:"back__icon",icon:["fas","chevron-left"],size:"xs","fixed-width":""})]),_:1}),a("h2",Z,i(e.$i18n.t("literal.personal_info")),1),a("button",{disabled:e.loader.save,onClick:t[0]||(t[0]=_((...s)=>e.save&&e.save(...s),["prevent"])),class:"button__save",type:"button",name:"save-infos"},[e.loader.save?(l(),m(u,{key:1,size:"2"})):(l(),m(d,{key:0,icon:["fal","save"],"fixed-width":""}))],8,x)]),a("div",ee,[o($,{class:"margin__b--24",keys:e.errors},null,8,["keys"]),a("div",null,[a("label",ae,i(e.$i18n.t("literal.firstname")),1),o(p,{class:"margin__t--6",placeholder:"...",autocomplete:"given-name",modelValue:e.user.firstname,"onUpdate:modelValue":t[1]||(t[1]=s=>e.user.firstname=s),v:e.v$.user.firstname},null,8,["modelValue","v"])]),a("div",te,[a("label",se,i(e.$i18n.t("literal.lastname")),1),o(p,{class:"margin__t--6",placeholder:"...",autocomplete:"family-name",modelValue:e.user.lastname,"onUpdate:modelValue":t[2]||(t[2]=s=>e.user.lastname=s),v:e.v$.user.lastname},null,8,["modelValue","v"])]),a("div",oe,[a("label",ne,i(e.$i18n.t("literal.email")),1),o(k,{class:"margin__t--6",placeholder:"...",autocomplete:"email",modelValue:e.user.email,"onUpdate:modelValue":t[3]||(t[3]=s=>e.user.email=s),v:e.v$.user.email},null,8,["modelValue","v"])]),a("div",ie,[a("label",le,i(e.$i18n.t("literal.date_of_birth")),1),o(V,{class:"margin__t--6",name:"birthday",placeholder:"...",modelValue:e.user.birthday,"onUpdate:modelValue":t[4]||(t[4]=s=>e.user.birthday=s),"open-date":e.openDate,"available-dates":e.available_dates,v:e.v$.user.birthday},null,8,["modelValue","open-date","available-dates","v"])])]),a("div",re,[a("button",{class:"btn btn__color--primary btn__size--small",type:"button",name:"save-personal-infos",disabled:e.loader.save,onClick:t[5]||(t[5]=_((...s)=>e.save&&e.save(...s),["prevent"]))},[o(d,{class:"margin__r--6",icon:["fal","save"]}),E(" "+i(e.$i18n.t("literal.save")),1)],8,de),e.loader.save?(l(),m(u,{key:0,class:"margin__l--12"})):f("",!0)])])])])])):f("",!0)}const Ie=D(H,[["render",me],["__scopeId","data-v-2d033d37"]]);export{Ie 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.