import{u as j,k as v,d as r,h as b,r as d,j as e}from"./main-406.js";import{g as w,$ as I,h as _,d as C,_ as c,i as N,I as S,s as y}from"./bi.394.85.js";import{h as D}from"./bi.665.713.js";import{O as k}from"./bi.845.714.js";function L({allIntegURL:l}){const m=j(),{id:f}=v(),[s,a]=r(w),[n,x]=r(I),g=b(_),[i,o]=d.useState(!1),[p,t]=d.useState({show:!1}),u=()=>{y({flow:n,setFlow:x,allIntegURL:l,conf:s,navigate:m,edit:1,setIsLoading:o,setSnackbar:t})};return e.jsxs("div",{style:{width:900},children:[e.jsx(C,{snack:p,setSnackbar:t}),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:h=>D(h,s,a),name:"name",value:s.name,type:"text",placeholder:c("Integration Name...","bit-integrations")})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(N,{entity:n.triggered_entity,setSnackbar:t}),e.jsx(k,{flowID:f,formFields:g,oneDriveConf:s,setOneDriveConf:a,isLoading:i,setIsLoading:o,setSnackbar:t}),e.jsx(S,{edit:!0,saveConfig:u,disabled:!s.actions.attachments||!s.folder,isLoading:i}),e.jsx("br",{})]})}export{L as default};
