| 1 |
var S=Object.defineProperty;var g=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var p=(a,s,t)=>s in a?S(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,c=(a,s)=>{for(var t in s||(s={}))b.call(s,t)&&p(a,t,s[t]);if(g)for(var t of g(s))v.call(s,t)&&p(a,t,s[t]);return a};import{F as N,g as C,r as i,j as e,S as w,_ as u}from"./main-294.js";import{a7 as y}from"./bf-813-81.js";import{I as G}from"./bf-906-183.js";import{a as l}from"./bf-560-177.js";import{G as k}from"./bf-899-222.js";import"./bf-582-82.js";import"./bf-158-107.js";import"./bf-176-80.js";import"./bf-728-185.js";import"./bf-867-113.js";function z({formFields:a,setIntegration:s,integrations:t,allIntegURL:f}){const h=N(),{id:m,formID:E}=C(),[o,n]=i.useState(c({},t[m])),[x,j]=i.useState(!1),[I,d]=i.useState({show:!1});return o.mainAction==="2"&&o.addTagToUser,e.jsxs("div",{style:{width:900},children:[e.jsx(w,{snack:I,setSnackbar:d}),e.jsxs("div",{className:"flx mt-3",children:[e.jsx("b",{className:"wdt-200 d-in-b",children:u("Integration Name:")}),e.jsx("input",{className:"btcd-paper-inp w-5",onChange:r=>l(r,o,n),name:"name",value:o.name,type:"text",placeholder:u("Integration Name...")})]}),e.jsx("br",{}),e.jsx(k,{formFields:a,handleInput:r=>l(r,o,n),groundhoggConf:o,setGroundhoggConf:n,isLoading:x,setIsLoading:j,setSnackbar:d}),e.jsx(G,{edit:!0,saveConfig:()=>y(t,s,f,o,h,m,1)}),e.jsx("br",{})]})}export{z as default}; |