PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.10.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.10.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-64-243.js

bf-64-243.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 2.10.0, at assets/bf-64-243.js

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