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-977-131.js

bf-977-131.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V_3.0.0, at assets/bf-977-131.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 v=Object.defineProperty;var f=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var h=(a,e,t)=>e in a?v(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,u=(a,e)=>{for(var t in e||(e={}))N.call(e,t)&&h(a,t,e[t]);if(f)for(var t of f(e))b.call(e,t)&&h(a,t,e[t]);return a};import{g as w,F as y,r as m,j as o,S as k,_ as p}from"./main-294.js";import{a7 as _}from"./bf-813-81.js";import{I as E}from"./bf-906-183.js";import{h as g,c as L}from"./bf-443-93.js";import{Z}from"./bf-37-188.js";import"./bf-582-82.js";import"./bf-158-107.js";import"./bf-186-103.js";import"./bf-728-185.js";import"./bf-176-80.js";import"./bf-867-113.js";function J({formFields:a,setIntegration:e,integrations:t,allIntegURL:x}){const{id:d,formID:c}=w(),I=y(),[s,n]=m.useState(u({},t[d])),[j,l]=m.useState(!1),[C,r]=m.useState({show:!1}),S=()=>{if(!L(s)){r({show:!0,msg:p("Please map mandatory fields")});return}_(t,e,x,s,I,d,1)};return o.jsxs("div",{style:{width:900},children:[o.jsx(k,{snack:C,setSnackbar:r}),o.jsxs("div",{className:"flx mt-3",children:[o.jsx("b",{className:"wdt-100 d-in-b",children:p("Integration Name:")}),o.jsx("input",{className:"btcd-paper-inp w-7",onChange:i=>g(i,s,n),name:"name",value:s.name,type:"text",placeholder:p("Integration Name...")})]}),o.jsx(Z,{formID:c,formFields:a,handleInput:i=>g(i,s,n,c,l,r),creatorConf:s,setCreatorConf:n,isLoading:j,setisLoading:l,setSnackbar:r}),o.jsx(E,{edit:!0,saveConfig:S,disabled:!s.applicationId||!s.formId||s.field_map.length<1})]})}export{J as default};
2