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-273-268.js

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

2 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var w=Object.defineProperty;var x=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var u=(a,t,s)=>t in a?w(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,l=(a,t)=>{for(var s in t||(t={}))z.call(t,s)&&u(a,s,t[s]);if(x)for(var s of x(t))f.call(t,s)&&u(a,s,t[s]);return a};import{r as j,j as e,_ as r,C as T}from"./main-162.js";import{A as _}from"./bf-272-398.js";import{N as E}from"./bf-823-399.js";import{c as S}from"./bf-981-392.js";import"./bf-644-69.js";import"./bf-917-73.js";function O({sendFoxConf:a,setSendFoxConf:t,step:s,setstep:g,isLoading:b,setIsLoading:N,setSnackbar:A,redirectLocation:k,isInfo:n}){const[i,v]=j.useState(!1),[o,d]=j.useState({dataCenter:"",clientId:""}),y=()=>{setTimeout(()=>{document.getElementById("btcd-settings-wrp").scrollTop=0},300),g(2)},m=c=>{const h=l({},a),p=l({},o);p[c.target.name]="",h[c.target.name]=c.target.value,d(p),t(h)};return e.jsxs("div",{className:"btcd-stp-page",style:{width:s===1&&900,height:s===1&&"auto"},children:[e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Integration Name:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:m,name:"name",value:a.name,type:"text",placeholder:r("Integration Name..."),disabled:n}),e.jsxs("small",{className:"d-blk mt-3",children:[r("To Get Client Auth token, Please Visit")," ",e.jsx("a",{className:"btcd-link",href:"https://sendfox.com/account/oauth",target:"_blank",rel:"noreferrer",children:r("SendFox Access Token")})]}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Authorized Redirect URIs:")})}),e.jsx(T,{value:k||`${window.location.href}`,className:"field-key-cpy w-6 ml-0",readOnly:n,setSnackbar:A}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Access Token:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:m,name:"access_token",value:a.access_token,type:"text",placeholder:r("Access Token..."),disabled:n}),e.jsx("div",{style:{color:"red",fontSize:"15px"},children:o.access_token}),!n&&e.jsxs(e.Fragment,{children:[e.jsx(_,{isAuthorized:i,isLoading:b,handleAuthorize:()=>S(a,t,d,v,N)}),e.jsx("br",{}),e.jsx(E,{nextPageHandler:()=>y(),disabled:!i})]})]})}export{O as default};
2