| 1 |
var f=Object.defineProperty;var m=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(e,t,s)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,d=(e,t)=>{for(var s in t||(t={}))j.call(t,s)&&c(e,s,t[s]);if(m)for(var s of m(t))k.call(t,s)&&c(e,s,t[s]);return e};import{r as a,G as v,F as _,g as b,j as o,S as I}from"./main-294.js";import{ae as S,a7 as h}from"./bf-813-81.js";import"./bf-582-82.js";import"./bf-158-107.js";const E=a.lazy(()=>v(()=>import("./bf-737-116.js"),["./bf-737-116.js","./main-294.js","./main-294.css","./bf-176-80.js","./bf-293-475.css"],import.meta.url));function C({formFields:e,setIntegration:t,integrations:s,allIntegURL:u}){const p=_(),{id:r,formID:x}=b(),[i,g]=a.useState(d({},s[r])),[l,n]=a.useState({show:!1});return o.jsxs("div",{style:{width:900},children:[o.jsx(I,{snack:l,setSnackbar:n}),o.jsx("div",{className:"mt-3",children:o.jsx(E,{formID:x,formFields:e,webHooks:i,setWebHooks:g,setSnackbar:n})}),o.jsx(S,{edit:!0,saveConfig:()=>h(s,t,u,i,p,r,1)}),o.jsx("br",{})]})}export{C as default}; |