PageSourceSearch

https://flowhly.nl/_nuxt/CDjjVt57.js

js flowhly.nl collected 2026-10-02 01:08:07 UTC 7,577 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0f87c-4d32-0000-d66c-24e86a00f566";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="cddc7dc9-78c9-5e3c-affe-23771f755527")}catch(e){}}();import{_ as I}from"./58rSL-cV.js";import{_ as G,W as Q,a as X}from"./DL8Yi4kD.js";import{_ as J,r as K}from"./DHQiraBZ.js";import{_ as Y}from"./DVKjiHPl.js";import{u as Z}from"./BL4xUt5d.js";import{d as ee,X as te,a2 as oe,a3 as A,w as ae,W as se,m as u,g as n,f as s,b as o,a4 as F,o as r,h as i,F as re,n as ie,k as f,t as c,U as ne,$ as me,e as h,A as v,l as y,q as le,ai as $,a1 as pe}from"./BdSOhGsk.js";import{u as D}from"./BgDGWKML.js";import{_ as ue,a as ce,b as de}from"./D1J4i4QH.js";import{u as _e}from"./TN7PRVhZ.js";import{d as fe}from"./9Sj_QenJ.js";import{u as ge}from"./Dsffctbc.js";import{u as be}from"./e3_LbJGJ.js";import{u as he}from"./DLo0VDHZ.js";import{W as ye}from"./CFnM92Jr.js";import{r as ve}from"./tcEz6Ses.js";import"./DsYg1jQ6.js";import"./BdM4cwzc.js";import"./Dwif1nHR.js";import"./CmqCI3Ds.js";import"./BAdqzcEf.js";import"./C2ER3mLQ.js";import"./PMdfjmJL.js";import"./whu8sAfy.js";import"./4x-jLwGX.js";import"./BC6hiRz7.js";import"./BYV6eJnH.js";import"./DqMBYl1T.js";import"./CGOSZnuU.js";import"./B4uTgts-.js";import"./DCP_odjF.js";import"./Da_ppOMN.js";import"./RhtQlTMy.js";import"./D-uQ7qNb.js";import"./Bls4J4LA.js";import"./BrcJygZq.js";import"./QNHmDSlA.js";import"./LFG77kMh.js";import"./Dzlbl1p6.js";import"./zpJgXoLC.js";import"./Co95qMdC.js";import"./CDgWxMEh.js";import"./Bvr6WNZk.js";import"./DVEMhFxU.js";import"./DfXsbqxh.js";import"./BXa05nIk.js";import"./BrC5y0bh.js";import"./DCdcnVTW.js";import"./CyOG3fmE.js";import"./DoSGkHwb.js";import"./DhR7dN3X.js";import"./CHTRE9PC.js";import"./D8UNNBk5.js";import"./BvoaH2cQ.js";import"./BGTIHZA0.js";import"./Dqgp9HQR.js";import"./YJiDrn_A.js";import"./Bb2_hvjD.js";import"./DNCDgSx_.js";import"./DrH2NbaB.js";import"./CGiONNPl.js";import"./B_Y4feH5.js";import"./C6VCwFSf.js";import"./SutZVKsM.js";import"./D9xbHtyf.js";import"./1ZbyvDbK.js";import"./CYPeOkYf.js";import"./BqF7RYsM.js";import"./DtdM1OpW.js";import"./BjFzg36F.js";import"./D0e3kQuE.js";import"./jQ62UYhq.js";import"./BbAOFVZU.js";import"./_3-D1VlH.js";import"./BwUY-mLJ.js";import"./Ch5ngflZ.js";import"./4fXPm08v.js";import"./QPN839Qn.js";import"./BhagHbkA.js";import"./DXymxhd2.js";import"./DCwRaELQ.js";import"./G86qoC_3.js";import"./DE1z0Ewo.js";import"./CTrwpKQD.js";import"./CRywRoai.js";import"./C4YMXJK0.js";import"./F5hV-BnJ.js";import"./DuGy68H0.js";import"./CxPFMcxc.js";import"./Zb-9_TWm.js";import"./DYJB-sHH.js";import"./Cml8kZNc.js";import"./CXTxNKgm.js";import"./CA3a36tv.js";import"./8OFWYCwZ.js";import"./CG814V5X.js";import"./D7jJHZs-.js";const ke={key:0,class:"text-xl font-bold text-gray-900 sm:text-2xl"},xe={key:0,class:"text-sm font-medium text-gray-500"},we={class:"flex flex-wrap items-center justify-between gap-2 mb-3 text-gray-700"},ze={class:"flex items-center gap-2"},Ae={class:"flex flex-wrap gap-2"},Fe={class:"overflow-x-auto"},$e={class:"min-w-0 max-w-xs"},De={class:"flex items-center gap-1 text-sm font-medium text-gray-900"},Ce={class:"truncate"},We={class:"inline-flex shrink-0",role:"img","aria-label":"Basic auth"},Ee={key:0,class:"text-xs text-gray-500 truncate"},Be={key:1,class:"text-gray-400"},Re={key:1,class:"text-gray-400"},C="filter[enabled]",Ao=ee({__name:"index",async setup(Le){let m,g;fe({roles:[pe.ADMIN]});const k=te(),x=oe(),{organization_id:W}=x.params,d=`${W}`,E=x.path.replace(/\/$/,""),{openCustomDialog:w}=_e(),{status:B,data:p,refresh:z}=([m,g]=A(()=>F(`admin.organizations.show.${d}`,()=>k.admin.organizations.show(d))),m=await m,g(),m),{queryArgs:l,bindRefresh:R}=ge(15),{status:L,data:N,refresh:b}=([m,g]=A(()=>F(`admin.webhooks.index.${d}`,()=>k.admin.webhooks.index(d,l.value))),m=await m,g(),m);R(b),be(z,b),ae(l,(t,a)=>{!a||he(t,a)||b()},{deep:!0}),se({title:()=>`Webhooks ${p.value?.name??""}`});const q=[{key:"enabled",label:"Status"},{key:"url",label:"URL"},{key:"organization_branch",label:"Vestiging"}
1,{key:"events",label:"Gebeurtenissen"},{key:"last_delivered_at",label:"Laatste levering"},{key:"last_failed_at",label:"Laatste fout"}],T=[{label:"Alle",value:void 0},{label:"Actief",value:"1"},{label:"Uitgeschakeld",value:"0"}],V=le(()=>l.value[C]),O=t=>{l.value={...l.value,page:1,[C]:t}},S=t=>{if(t.includes("*"))return"Alle";const a=t.slice(0,2).join(", "),_=t.length-2;return _>0?`${a} +${_}`:a},H=t=>t.secret?w($(X),{id:"webhook-secret",title:"Webhookgeheim",size:"lg",secret:t.secret}):Promise.resolve(),M=()=>{w($(Q),{id:"webhook-create",title:"Webhook toevoegen",size:"2xl",organizationId:d,branches:p.value?.branches??[]}).then(t=>{if(t)return b(),H(t)}).catch(()=>{})};return(t,a)=>{const _=I,P=G,U=J,j=Y;return r(),u("div",null,[n(j,{status:o(B),data:o(p),retry:o(z),sections:["endpoints"]},{"header-title":s(()=>[o(p)?(r(),u("h1",ke," Webhooks ")):y("",!0)]),"header-subtitle":s(()=>[o(p)?(r(),u("p",xe,c(o(p).name),1)):y("",!0)]),"header-image":s(()=>[(r(),h(v(("useAvatarFormatter"in t?t.useAvatarFormatter:o(Z))(o(p)?.name,"16"))))]),actions:s(()=>[n(_,{icon:o(ve),onClick:M},{default:s(()=>[...a[2]||(a[2]=[f(" Webhook toevoegen ",-1)])]),_:1},8,["icon"])]),"section-endpoints":s(()=>[i("section",null,[i("div",we,[i("div",ze,[n(o(ye),{class:"size-4"}),a[3]||(a[3]=i("span",{class:"text-sm font-semibold"},"Ontvangers",-1))]),i("div",Ae,[(r(),u(re,null,ie(T,e=>n(_,{key:e.label,"show-icon":!1,layout:o(V)===e.value?"default":"gray",onClick:Ne=>O(e.value)},{default:s(()=>[f(c(e.label),1)]),_:2},1032,["layout","onClick"])),64))])]),i("div",Fe,[n(U,{"query-args":o(l),"onUpdate:queryArgs":a[0]||(a[0]=e=>me(l)?l.value=e:null),"basic-table":"",size:"sm",data:o(N),status:o(L),columns:q,"enable-row-selection":!1,"enable-search":!1,"enable-filtering":!1,"enable-expand":!1,"per-page":15,"add-pages":!0,"simple-pagination":!0,"emit-click-row":!0,"no-data-text":"Nog geen webhooks. Voeg een webhook toe om gebeurtenissen naar een externe ontvanger te sturen.",onClick:a[1]||(a[1]=e=>("navigateTo"in t?t.navigateTo:o(ne))(`${o(E)}/${e.id}`))},{"column-enabled":s(({item:e})=>[n(P,{endpoint:e},null,8,["endpoint"])]),"column-url":s(({item:e})=>[i("div",$e,[i("p",De,[i("span",Ce,c(e.url),1),e.has_basic_auth?(r(),h(o(ue),{key:0,"open-delay":150,"close-delay":0},{default:s(()=>[n(o(ce),{"as-child":""},{default:s(()=>[i("span",We,[n(o(K),{class:"text-gray-500 size-4"})])]),_:1}),n(o(de),{side:"top",class:"w-auto px-2 py-1 text-xs whitespace-nowrap"},{default:s(()=>[...a[4]||(a[4]=[f(" Basic auth: leveringen sturen de opgeslagen inloggegevens mee ",-1)])]),_:1})]),_:1})):y("",!0)]),e.description?(r(),u("p",Ee,c(e.description),1)):y("",!0)])]),"column-organization_branch":s(({item:e})=>[f(c(e.organization_branch?.name??"Hele organisatie"),1)]),"column-events":s(({item:e})=>[f(c(S(e.events)),1)]),"column-last_delivered_at":s(({item:e})=>[e.last_delivered_at?(r(),h(v(("useDateFormatter"in t?t.useDateFormatter:o(D))(e.last_delivered_at,"d-M-y H:mm",!0)),{key:0})):(r(),u("span",Be,"-"))]),"column-last_failed_at":s(({item:e})=>[e.last_failed_at?(r(),h(v(("useDateFormatter"in t?t.useDateFormatter:o(D))(e.last_failed_at,"d-M-y H:mm",!0)),{key:0})):(r(),u("span",Re,"-"))]),_:1},8,["query-args","data","status"])])])]),_:1},8,["status","data","retry"])])}}});export{Ao as default};
2
3//# chunkId=cddc7dc9-78c9-5e3c-affe-23771f755527

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.