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