File: /var/www/html/wordpress/wp-content/plugins/bit-integrations/assets/bi.324.42.js
import{u as h,o as v,e as n,f as b,r as i,j as e}from"./main-685.js";import{e as w,$ as I,f as _,_ as r}from"./bi.878.0.js";import{S}from"./bi.674.13.js";import"./bi.451.455.js";import{S as C,I as N,s as y}from"./bi.776.3.js";import{h as D}from"./bi.102.804.js";import{G as E}from"./bi.685.805.js";import"./bi.327.9.js";import"./bi.601.11.js";import"./bi.825.14.js";function q({allIntegURL:m}){const l=h(),{id:d}=v(),[t,o]=n(w),[a,c]=n(I),f=b(_),[p,g]=i.useState(!1),[x,s]=i.useState({show:!1}),u=()=>{y({flow:a,setFlow:c,allIntegURL:m,conf:t,navigate:l,edit:1,setIsLoading:g,setSnackbar:s})};return e.jsxs("div",{style:{width:900},children:[e.jsx(S,{snack:x,setSnackbar:s}),e.jsxs("div",{className:"flx mt-3",children:[e.jsx("b",{className:"wdt-200 d-in-b",children:r("Integration Name:","bit-integrations")}),e.jsx("input",{className:"btcd-paper-inp w-5",onChange:j=>D(j,t,o),name:"name",value:t.name,type:"text",placeholder:r("Integration Name...","bit-integrations")})]}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(C,{entity:a.triggered_entity,setSnackbar:s}),e.jsx(E,{flowID:d,formFields:f,googleDriveConf:t,setGoogleDriveConf:o}),e.jsx(N,{edit:!0,saveConfig:u,disabled:t.field_map.length<1,isLoading:p}),e.jsx("br",{})]})}export{q as default};