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
V3.3.2 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 All 139 releases
bit-form / assets / bf-406-206.js

bf-406-206.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 2.10.0, at assets/bf-406-206.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 w=Object.defineProperty;var u=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var f=(a,t,e)=>t in a?w(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,h=(a,t)=>{for(var e in t||(t={}))v.call(t,e)&&f(a,e,t[e]);if(u)for(var e of u(t))S.call(t,e)&&f(a,e,t[e]);return a};import{t as N,v as y,r as c,j as n,S as C,_ as i}from"./main-162.js";import{b as _}from"./bf-230-72.js";import{I as D}from"./bf-283-330.js";import{h as x,c as E}from"./bf-336-342.js";import{Z as L}from"./bf-27-343.js";import"./bf-582-127.js";import"./bf-361-122.js";import"./bf-527-130.js";function B({formFields:a,setIntegration:t,integrations:e,allIntegURL:g}){const{id:d,formID:l}=N(),j=y(),[s,m]=c.useState(h({},e[d])),[b,p]=c.useState(!1),[k,r]=c.useState({show:!1}),I=()=>{var o;if(!E(s)){r({show:!0,msg:i("Please map mandatory fields")});return}if(!((o=s.actions)!=null&&o.ticket_owner)){r({show:!0,msg:i("Please select a ticket owner")});return}_(e,t,g,s,j,d,1)};return n.jsxs("div",{style:{width:900},children:[n.jsx(C,{snack:k,setSnackbar:r}),n.jsxs("div",{className:"flx mt-3",children:[n.jsx("b",{className:"wdt-100 d-in-b",children:i("Integration Name:")}),n.jsx("input",{className:"btcd-paper-inp w-7",onChange:o=>x(o,s,m),name:"name",value:s.name,type:"text",placeholder:i("Integration Name...")})]}),n.jsx("br",{}),n.jsx("br",{}),n.jsx(L,{formID:l,formFields:a,handleInput:o=>x(o,s,m,l,p,r),deskConf:s,setDeskConf:m,isLoading:b,setisLoading:p,setSnackbar:r}),n.jsx(D,{edit:!0,saveConfig:I,disabled:s.department===""||s.table===""||s.field_map.length<1})]})}export{B as default};
2