PageSourceSearch

https://kinderopvang.nl/_next/static/chunks/pages/mijn-bk/persoonlijke-gegevens-fd27c3a9bbf0a7f8.js

js kinderopvang.nl collected 2026-10-02 05:30:49 UTC 7,566 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8318],{6868:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mijn-bk/persoonlijke-gegevens",function(){return r(2400)}])},3941:function(e,n,r){"use strict";var s=r(5893),t=r(2546),i=r.n(t),o=r(5012),l=r(3967),a=r.n(l);n.Z=function(e){let{variant:n="success",children:r,className:t,...l}=e;return(0,s.jsxs)("div",{className:a()(i().root,i()["root--"+n],{[t]:t}),...l,children:[(0,s.jsx)(o.Z,{}),(0,s.jsx)("p",{children:r})]})}},9525:function(e,n,r){"use strict";var s=r(5893),t=r(7103),i=r.n(t),o=r(3967),l=r.n(o),a=r(5327),u=r(5380),d=r(1982);n.Z=function(e){let{title:n="Mijn BK",children:r,...t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z,{data:{name:"Mijn BK",icon:"profile"},isProfilePage:!0}),(0,s.jsxs)(d.Z,{className:l()(i().root),children:[(0,s.jsxs)(d.Z.Main,{...t,children:[(0,s.jsx)("h1",{children:n}),r]}),(0,s.jsx)(d.Z.Aside,{className:"bg-beige-light",children:(0,s.jsx)(a.Z,{data:[{contentType:"quick_links",quickLinks:[{uri:"/mijn-bk/persoonlijke-gegevens",title:"Persoonlijke gegevens"},{uri:"/mijn-bk/organisatie-gegevens",title:"Organisatie gegevens"},{uri:"/mijn-bk/loonsom-en-bureauvergoeding",title:"Loonsom en bureauvergoeding"},{uri:"/mijn-bk/nieuwsbrieven",title:"Nieuwsbrieven"},{uri:"/mijn-bk/wachtwoord-wijzigen",title:"Wachtwoord wijzigen"},{uri:"/mijn-bk/e-mailadres-wijzigen",title:"E-mailadres wijzigen"}]}]})})]})]})}},3809:function(e,n,r){"use strict";r.d(n,{Z:function(){return s.Z}});var s=r(9525)},2400:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return v},default:function(){return index_page}});var s=r(5893),t=r(9023),i=r.n(t),o=r(9248),l=r(3967),a=r.n(l),u=r(1664),d=r.n(u),c=r(7294),m=r(2001),x=r(4327),p=r(3941),j=r(7649),UpdateUserForm_UpdateUserForm=function(e){var n;let{defaultValues:r={},...t}=e,[l,u]=(0,c.useState)(null),[h,_]=(0,c.useState)(!1),[g,f]=(0,c.useState)([]);async function handleSubmit(e){e.preventDefault();let n=e.currentTarget,r=new FormData(n);r.delete("email");try{_(!0);let e=await (0,j.Z)().update(JSON.stringify(Object.fromEntries(r))),n=await e.json();if(null==n?void 0:n.errors){let[e]=Object.keys(n.errors),r=document.querySelector('[name="'.concat(e,'"]'));return setTimeout(()=>r.focus(),100),f(n.errors)}if(!e.ok)throw e.statusText;u(n.message),setTimeout(()=>u(null),1e4)}catch(e){throw Error(e)}finally{_(!1)}}return(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)(p.Z,{className:a()(i()["success-message"]),children:l}),(0,s.jsxs)("form",{className:a()(i().root),onSubmit:e=>handleSubmit(e),autoComplete:"off",...t,children:[(0,s.jsxs)(x.Z.Box,{className:a()(i()["input-box"]),children:[(0,s.jsx)(x.Z.Label,{children:"Initialen"}),(0,s.jsx)(x.Z,{name:"initials",type:"text",placeholder:"Initialen",pattern:o.tN.letters,required:!0,...(null==r?void 0:r.initials)&&{defaultValue:null==r?void 0:r.initials},errorMessage:null==g?void 0:g.initials}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:a()(i()["input-box"]),children:[(0,s.jsx)(x.Z.Label,{children:"Voornaam"}),(0,s.jsx)(x.Z,{name:"first_name",type:"text",placeholder:"Voornaam",pattern:o.tN.letters,required:!0,...(null==r?void 0:r.first_name)&&{defaultValue:null==r?void 0:r.first_name},errorMessage:null==g?void 0:g.first_name}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:a()(i()["input-box"]),children:[(0,s.jsx)(x.Z.Label,{children:"Tussenvoegsel"}),(0,s.jsx)(x.Z,{name:"middle_name",type:"text",placeholder:"Tussenvoegsel",pattern:o.tN.letters,...(null==r?void 0:r.middle_name)&&{defaultValue:null==r?void 0:r.middle_name},errorMessage:null==g?void 0:g.middle_name}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:a()(i()["input-box"]),children:[(0,s.jsx)(x.Z.Label,{children:"Achternaam"}),(0,s.jsx)(x.Z,{name:"last_name",type:"text",placeholder:"Achternaam",pattern:o.tN.letters,required:!0,...(null==r?void 0:r.last_name)&&{defaultValue:null==r?void 0:r.last_name},errorMessage:null==g?void 0:g.last_name}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:i()["input-box"],children:[(0,s.jsx)(x.Z.Label,{children:"Functiegroep"}),(0,s.jsx)(x.Z,{name:"function_group",type:"select",placeholder:"Functiegroep",options:o.r8,objectKey:"id",objectValue:"name",required:!0,...(null==r?void 0:r.function_group)&&{defaultValue:null===(n=o.r8.find(e=>e.id===r.function_group))||void 0===n?void 0:n.id},errorMessage:null==g?void 0:g.function_group}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:i()["input-box"],children:[(0,s.jsx)(x.Z.Label,{children:"Functie"}),(0,s.jsx)(x.Z,{name:"function_on_business_card",type:"text",placeholder:"Functie",required:!0,...(null==r?void 0:r.function_on_business_card)&&{defaultValue:null==r?void 0:r.function_on_business_card},errorMessage:null==g?void 0:g.function_on_business_card}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:a()(i()["input-box"]),children:[(0,s.jsxs)(x.Z.Label,{children:["E-mailadres, wijzigen kan"," ",(0,s.jsx)(d(),{className:"text-yellow-base underline",href:"/mijn-bk/e-mailadres-wijzigen",children:"hier"})]}),(0,s.jsx)(x.Z,{name:"email",type:"email",placeholder:"E-mailadres",className:"pointer-events-none",pattern:o.tN.email,required:!0,readOnly:!0,...(null==r?void 0:r.email)&&{defaultValue:null==r?void 0:r.email},errorMessage:null==g?void 0:g.email}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:i()["input-box"],children:[(0,s.jsx)(x.Z.Label,{children:"Telefoonnummer"}),(0,s.jsx)(x.Z,{name:"phone",type:"tel",placeholder:"Telefoonnummer",pattern:o.tN.phone,required:!0,...(null==r?void 0:r.phone)&&{defaultValue:null==r?void 0:r.phone},errorMessage:null==g?void 0:g.phone}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsxs)(x.Z.Box,{className:i()["input-box"],children:[(0,s.jsx)(x.Z.Label,{children:"Mobielnummer"}),(0,s.jsx)(x.Z,{name:"mobile",type:"tel",placeholder:"Mobielnummer",pattern:o.tN.phone,...(null==r?void 0:r.mobile)&&{defaultValue:null==r?void 0:r.mobile},errorMessage:null==g?void 0:g.mobile}),(0,s.jsx)(x.Z.Error,{})]}),(0,s.jsx)(m.Z,{type:"submit",color:"yellow",loading:h,children:"Wijzigingen opslaan"})]})]})},h=r(7363),_=r.n(h),g=r(1163),f=r(7553),b=r(3809),v=!0,index_page=function(e){let{layoutData:n}=e;(0,g.useRouter)();let[r,t]=(0,c.useState)(null),[i,o]=(0,c.useState)(!0);return(0,c.useEffect)(()=>{let e=document.cookie,userShowResponse=async()=>await (0,j.Z)().tribe({Cookie:e});userShowResponse().then(e=>e.json()).then(e=>{t(e),o(!1)})},[]),(0,s.jsx)(f.Z,{page:{seo:{title:"Persoonlijke gegevens - Brancheorganisatie Kinderopvang"}},data:n,children:(0,s.jsxs)(b.Z,{title:"Persoonlijke gegevens",className:a()(_().root),children:[(0,s.jsx)("p",{className:a()(_()["introduction-text"]),children:"Met onderstaande gegevens ben je bij BK bekend. Je kunt de gegevens zelf aanvullen en/of aanpassen"}),i?(0,s.jsx)("p",{children:"Gegevens ophalen..."}):(0,s.jsx)(UpdateUserForm_UpdateUserForm,{defaultValues:r})]})})}},2546:function(e){e.exports={root:"StatusCard_root__G2_Po","root--success":"StatusCard_root--success__GO4d9"}},7103:function(e){e.exports={root:"ProfileLayout_root__WfSCx"}},9023:function(e){e.exports={"success-message":"UpdateUserForm_success-message__30w7J",root:"UpdateUserForm_root__22pSE","input-box":"UpdateUserForm_input-box__4hePy"}},7363:function(e){e.exports={root:"personal-data_root__IkiD7","introduction-text":"personal-data_introduction-text__h3lIe"}}},function(e){e.O(0,[9716,8940,5675,8866,7553,4627,4852,9774,2888,179],function(){return e(e.s=6868)}
1),_N_E=e.O()}]);
2//# sourceMappingURL=persoonlijke-gegevens-fd27c3a9bbf0a7f8.js.map

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.