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