import{u as p,d as r,r as d,h as u,j as e}from"./main-406.js";import{$ as h,g as j,h as b,_ as c,i as y,I as C,s as w}from"./bi.394.85.js";import{h as I,A as _}from"./bi.218.921.js";function S({allIntegURL:m}){const l=p(),[a,v]=r(h),[s,t]=r(j),[n,o]=d.useState(!1),[L,i]=d.useState({show:!1}),f=u(b),x=()=>{w({flow:a,allIntegURL:m,conf:s,navigate:l,edit:1,setIsLoading:o,setSnackbar:i})};return e.jsxs("div",{style:{width:900},children:[e.jsxs("div",{className:"flx mt-3",children:[e.jsx("b",{className:"wdt-200 d-in-b",children:c("Integration Name:","bit-integrations")}),e.jsx("input",{className:"btcd-paper-inp w-5",onChange:g=>I(g,s,t),name:"name",value:s.name,type:"text",placeholder:c("Integration Name...","bit-integrations")})]}),e.jsx("br",{}),e.jsx(y,{entity:a.triggered_entity,setSnackbar:i}),e.jsx(_,{academyLmsConf:s,setAcademyLmsConf:t,isLoading:n,setIsLoading:o}),e.jsx(C,{edit:!0,saveConfig:x,disabled:!1,isLoading:n,dataConf:s,setDataConf:t,formFields:f}),e.jsx("br",{})]})}export{S as default};
