PageSourceSearch

https://acties.uzafoundation.be/assets/ProcedureInviteMembers-ay62w_tO.js

js uzafoundation.be collected 2026-10-07 22:55:03 UTC 3,051 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FormNotification-DZmVjmHD.js","assets/index-DuKjXEJz.js","assets/index-DY-sP-Wx.css","assets/FormNotification-CbDE1wN6.css"])))=>i.map(i=>d[i]);
2import{_ as D,u as T,aP as I,I as x,k as M,B as L,r as R,o as c,c as k,w as m,a,t as d,b as e,e as u,g as w,F,a1 as U,d as q,f as j,l as z,bf as K,A as O,K as Y,L as G,p as H,m as E}from"./index-DuKjXEJz.js";import{u as J}from"./index-CvWmapVL.js";import Q from"./ProcedureInviteMembersItem-CqUs8wt1.js";import"./index-pHHt7iJg.js";import"./InputEmail-DBdIurH5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"f072d59245c5c30cc2f9dc5a76f942dc019904ca"};var n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="22faf66e-1587-4a26-8179-fc18e8a8ce2c",t._sentryDebugIdIdentifier="sentry-dbid-22faf66e-1587-4a26-8179-fc18e8a8ce2c")}catch{}})();const W={class:"card__padding"},X={class:"title__h3 bold"},Z={class:"margin__t--6"},ee={class:"margin__t--24"},te={class:"margin__t--18"},se={class:"margin__t--24"},ae={__name:"ProcedureInviteMembers",props:{projectSlug:{type:String,required:!0},limit:{type:Number,default:0}},emits:["close"],setup(t,{emit:n}){const f=Y(()=>G(()=>import("./FormNotification-DZmVjmHD.js"),__vite__mapDeps([0,1,2,3]))),p=n,{t:i}=T(),{getProject:V,fetchInvites:P,postProjectInvites:$}=I(),{loader:v,error:l}=x(I()),b=J(null,null,{$scope:"invite"}),{project:_}=V({id:t.projectSlug}),r=H([{email:null}]),g=E(()=>r.value.filter(y=>y.email)),A=E(()=>!_.value?.limit_of_members||r.value.length<t.limit),C=()=>r.value.push({email:null}),S=async()=>{b.value.$touch(),!b.value.$error&&(await $({project_id:_.value.id,invites:g.value}),await P({project_id:_.value?.id,query:{active:!0,"sort_by_field[field]":"created_at","sort_by_field[direction]":"asc"}}),l.value=null,p("close"))};return M(()=>l.value=null),L(()=>l.value=null),(y,s)=>{const h=R("fa-icon");return c(),k(e(O),{size:"sm",onClose:s[2]||(s[2]=o=>p("close"))},{body:m(()=>[a("section",W,[a("h3",X,d(e(i)("literal.invite_members_to_project")),1),a("p",Z,d(e(i)("project_procedure.invite_members_description")),1),u(e(f),{class:"margin__t--24",keys:e(l)},null,8,["keys"]),a("div",ee,[(c(!0),w(F,null,U(r.value,(o,B)=>(c(),k(e(Q),{key:`invite_${B}`,class:"margin__t--12",modelValue:o.email,"onUpdate:modelValue":N=>o.email=N},null,8,["modelValue","onUpdate:modelValue"]))),128))]),a("div",te,[A.value?(c(),w("button",{key:0,class:"btn btn__invite",onClick:s[0]||(s[0]=q(o=>C(),["prevent"]))},[u(h,{class:"margin__r--6",icon:["fal","plus"]}),j(" "+d(e(i)("literal.invite_another_member")),1)])):z("",!0)]),a("div",se,[u(e(K),{disabled:e(v)||!g.value.length,"is-loading":e(v),onClick:s[1]||(s[1]=o=>S())},{icon:m(()=>[u(h,{icon:["fal","paper-plane"]})]),default:m(()=>[j(" "+d(e(i)("literal.send_invitation")),1)]),_:1},8,["disabled","is-loading"])])])]),_:1})}}},ce=D(ae,[["__scopeId","data-v-245d54a5"]]);export{ce 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.