PageSourceSearch

https://agentoai.dk/assets/BusinessBrainRegistry-0mEQD8KL.js

js agentoai.dk collected 2026-10-02 01:55:02 UTC 5,689 bytes, 1 lines download raw bytes

1import{r as s,j as e}from"./framer-motion-CQxuJa5n.js";import{B as S}from"./BusinessBrainLayout-CfgY7Fl5.js";import{D as B,I as b,C as A,i as I}from"./index-CSx7K-7R.js";import{B as o}from"./badge-Yar_qzGV.js";import{S as p,a as d,b as x,c as u,d as h}from"./select-BP_Q7Vjk.js";import{g as k}from"./integrationDiscoveryService-CqHZtk4K.js";import{S as E}from"./search-CTXuE0h0.js";import{C as g}from"./circle-check-big-BvOaTfBT.js";import{C as f}from"./circle-x-Bjw_qpIQ.js";import"./suggestion-engine-D0RnVcSI.js";import"./chevron-up-fhR0nOsN.js";import"./chevron-down-DvU9LH4D.js";import"./copy-B5YKNs8h.js";import"./circle-alert-BTQs6TYB.js";import"./circle-check-B_lwCfqV.js";import"./compass-DjolDLR6.js";import"./wrench-DfDJJ0Jp.js";import"./circle-help-Bky_gBt3.js";import"./index-LVhgA_5_.js";import"./send-DOJcdEwD.js";import"./rotate-ccw-Dtzdjl-6.js";import"./arrow-down-CUpdqIwW.js";import"./mouse-pointer-click-uQfHAPlc.js";import"./navigation-BOs-RwO7.js";import"./dropdown-menu-B-FPVSP9.js";import"./index-CwKDC_mg.js";import"./index-CVOcPLpq.js";import"./check-BKeeD-3t.js";import"./circle-C-nBCxpe.js";import"./dialog-RiETlj4q.js";import"./textarea-BFuIyuCd.js";import"./switch-GLkYldml.js";import"./index-srxnih4L.js";import"./audioConsentPolicy-Dk1eS16f.js";import"./mic-off-mo8vRT9e.js";import"./plus-t8RS0EeL.js";import"./chevrons-up-down-BOtDc1gx.js";import"./smartphone-Pu_ALQBu.js";import"./download-B29izdwZ.js";import"./radio-CEdjniLT.js";import"./cpu-BGbpP_L0.js";import"./network-uHWkZtbR.js";import"./git-branch-TS776fjf.js";import"./scale-zCwWjfgU.js";import"./flame-BkldTYb6.js";import"./scroll-text-DmdnLCDK.js";import"./shield-check-BcKgGayo.js";import"./graduation-cap-D1TP_Mw6.js";import"./message-circle-C_UnzPr5.js";import"./file-text-CQNieni0.js";import"./wand-sparkles-D3ewtxXC.js";import"./store-CLn7GiY7.js";import"./flask-conical-DPInzIZf.js";import"./settings-ClDRCqQC.js";import"./recharts-CFjfazL9.js";import"./index-BdQq_4o_.js";const L=["all","crm","communication","calendar","support","ecommerce","analytics","middleware","custom"],R=["all","oauth","api_key","webhook","none"];function De(){const[j,y]=s.useState([]),[l,n]=s.useState(!0),[r,N]=s.useState(""),[a,v]=s.useState("all"),[i,_]=s.useState("all"),[w,T]=s.useState(!1);s.useEffect(()=>{C()},[]);const C=async()=>{n(!0),y(await k()),n(!1)},m=j.filter(t=>!(a!=="all"&&t.category!==a||i!=="all"&&t.auth_type!==i||w&&!t.supports_actions||r&&!t.provider_name.toLowerCase().includes(r.toLowerCase())&&!t.provider_key.toLowerCase().includes(r.toLowerCase())));return e.jsx(S,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-2xl font-bold flex items-center gap-2",children:[e.jsx(B,{className:"w-6 h-6 text-primary"}),"Integration Registry"]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Alle tilgængelige integrationer i Business Brain"})]}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsxs("div",{className:"relative flex-1 min-w-[200px]",children:[e.jsx(E,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(b,{placeholder:"Søg integrationer...",value:r,onChange:t=>N(t.target.value),className:"pl-9"})]}),e.jsxs(p,{value:a,onValueChange:v,children:[e.jsx(d,{className:"w-[160px]",children:e.jsx(x,{})}),e.jsx(u,{children:L.map(t=>e.jsx(h,{value:t,children:t==="all"?"Alle kategorier":t},t))})]}),e.jsxs(p,{value:i,onValueChange:_,children:[e.jsx(d,{className:"w-[140px]",children:e.jsx(x,{})}),e.jsx(u,{children:R.map(t=>e.jsx(h,{value:t,children:t==="all"?"Alle auth":t},t))})]})]}),l?e.jsx("p",{className:"text-center text-sm text-muted-foreground py-8",children:"Indlæser..."}):e.jsx("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3",children:m.map(t=>e.jsx(A,{className:"hover:border-primary/30 transition-colors",children:e.jsxs(I,{className:"p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:t.provider_name}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t.provider_key})]}),e.jsx(o,{variant:"outline",className:"text-[10px]",children:t.category})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[e.jsx(o,{variant:"secondary",className:"text-[10px]",children:t.auth_type||"none"}),e.jsx(o,{variant:"secondary",className:"text-[10px]",children:t.connection_type||"api"}),e.jsxs("div",{className:"flex items-center gap-1 text-[10px]",children:[t.supports_read?e.jsx(g,{className:"w-3 h-3 text-primary"}):e.jsx(f,{className:"w-3 h-3 text-muted-foreground"}),e.jsx("span",{children:"Read"})]}),e.jsxs("div",{className:"flex items-center gap-1 text-[10px]",children:[t.supports_actions?e.
1jsx(g,{className:"w-3 h-3 text-primary"}):e.jsx(f,{className:"w-3 h-3 text-muted-foreground"}),e.jsx("span",{children:"Actions"})]})]}),t.supported_entities.length>0&&e.jsxs("div",{className:"flex flex-wrap gap-1",children:[t.supported_entities.slice(0,4).map(c=>e.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-muted text-muted-foreground",children:c},c)),t.supported_entities.length>4&&e.jsxs("span",{className:"text-[10px] text-muted-foreground",children:["+",t.supported_entities.length-4]})]}),t.recommended_for_industries.length>0&&t.recommended_for_industries[0]!=="all"&&e.jsxs("p",{className:"text-[10px] text-muted-foreground",children:["Industries: ",t.recommended_for_industries.join(", ")]})]})},t.id))}),!l&&m.length===0&&e.jsx("p",{className:"text-center text-sm text-muted-foreground py-8",children:"Ingen integrationer matcher dine filtre."})]})})}export{De 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.