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-251-169.js

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

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