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