PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V_3.0.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV_3.0.0
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
bit-form / assets / bf-545-170.js

bf-545-170.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V_3.0.0, at assets/bf-545-170.js

2 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var b=Object.defineProperty;var c=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var d=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,f=(e,t)=>{for(var s in t||(t={}))v.call(t,s)&&d(e,s,t[s]);if(c)for(var s of c(t))N.call(t,s)&&d(e,s,t[s]);return e};import{F as y,g as C,r as m,j as a,S as T,_ as p}from"./main-294.js";import{a7 as k}from"./bf-813-81.js";import{I as E}from"./bf-906-183.js";import{a as u,c as L}from"./bf-561-182.js";import{T as _}from"./bf-421-225.js";import"./bf-582-82.js";import"./bf-158-107.js";import"./bf-176-80.js";import"./bf-867-113.js";function H({formFields:e,setIntegration:t,integrations:s,allIntegURL:x}){const g=y(),{id:l,formID:h}=C(),[o,i]=m.useState(f({},s[l])),[j,I]=m.useState(!1),[w,n]=m.useState({show:!1}),S=()=>{if(!L(o)){n({show:!0,msg:p("Please map mandatory fields")});return}k(s,t,x,o,g,l,1)};return a.jsxs("div",{style:{width:900},children:[a.jsx(T,{snack:w,setSnackbar:n}),a.jsxs("div",{className:"flx mt-3",children:[a.jsx("b",{className:"wdt-200 d-in-b",children:p("Integration Name:")}),a.jsx("input",{className:"btcd-paper-inp w-5",onChange:r=>u(r,o,i),name:"name",value:o.name,type:"text",placeholder:p("Integration Name...")})]}),a.jsx("br",{}),a.jsx(_,{formID:h,formFields:e,handleInput:r=>u(r,o,i),twilioConf:o,setTwilioConf:i,isLoading:j,setIsLoading:I,setSnackbar:n}),a.jsx(E,{edit:!0,saveConfig:S}),a.jsx("br",{})]})}export{H as default};
2