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-79-256.js

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

2 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var S=Object.defineProperty;var v=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var g=(l,t,a)=>t in l?S(l,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[t]=a,o=(l,t)=>{for(var a in t||(t={}))I.call(t,a)&&g(l,a,t[a]);if(v)for(var a of v(t))L.call(t,a)&&g(l,a,t[a]);return l};import{u as $,r as N,j as e,_ as r,C as z,$ as P}from"./main-162.js";import{t as y}from"./bf-307-196.js";import{T as U}from"./bf-23-135.js";import{A as _}from"./bf-272-398.js";import{N as B}from"./bf-823-399.js";import{f as D,b as O}from"./bf-336-342.js";/* empty css */import"./bf-875-77.js";import"./bf-230-72.js";import"./bf-917-73.js";import"./bf-644-69.js";function Y({formID:l,deskConf:t,setDeskConf:a,step:d,setstep:A,isLoading:w,setisLoading:m,setSnackbar:h,redirectLocation:R,isInfo:i}){const p=$(P),{siteURL:T}=p,[x,C]=N.useState(!1),[s,u]=N.useState({dataCenter:"",clientId:"",clientSecret:""}),E=()=>{setTimeout(()=>{document.getElementById("btcd-settings-wrp").scrollTop=0},300),A(2),O(l,t,a,m,h)},n=c=>{const j=o({},t),b=o({},s);b[c.target.name]="",j[c.target.name]=c.target.value,u(b),a(j)};return e.jsxs(e.Fragment,{children:[e.jsx(U,{title:y.zohoDesk.title,youTubeLink:y.zohoDesk.link}),e.jsxs("div",{className:"btcd-stp-page",style:{width:d===1&&900,height:d===1&&"100%"},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:n,name:"name",value:t.name,type:"text",placeholder:r("Integration Name..."),disabled:i}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Data Center:")})}),e.jsxs("select",{onChange:n,name:"dataCenter",value:t.dataCenter,className:"btcd-paper-inp w-6 mt-1",disabled:i,children:[e.jsx("option",{value:"",children:r("--Select a data center--")}),e.jsx("option",{value:"com",children:"zoho.com"}),e.jsx("option",{value:"eu",children:"zoho.eu"}),e.jsx("option",{value:"com.cn",children:"zoho.com.cn"}),e.jsx("option",{value:"in",children:"zoho.in"}),e.jsx("option",{value:"com.au",children:"zoho.com.au"})]}),e.jsx("div",{style:{color:"red"},children:s.dataCenter}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Homepage URL:")})}),e.jsx(z,{value:T,className:"field-key-cpy w-6 ml-0",readOnly:i}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Authorized Redirect URIs:")})}),e.jsx(z,{value:R||`${p.zohoRedirectURL}`,className:"field-key-cpy w-6 ml-0",readOnly:i}),e.jsxs("small",{className:"d-blk mt-5",children:[r("To get Client ID and SECRET , Please Visit")," ",e.jsx("a",{className:"btcd-link",href:`https://api-console.zoho.${(t==null?void 0:t.dataCenter)||"com"}/`,target:"_blank",rel:"noreferrer",children:r("Zoho API Console")})]}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Client id:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:n,name:"clientId",value:t.clientId,type:"text",placeholder:r("Client id..."),disabled:i}),e.jsx("div",{style:{color:"red"},children:s.clientId}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:r("Client secret:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:n,name:"clientSecret",value:t.clientSecret,type:"text",placeholder:r("Client secret..."),disabled:i}),e.jsx("div",{style:{color:"red"},children:s.clientSecret}),!i&&e.jsxs(e.Fragment,{children:[e.jsx(_,{isAuthorized:x,isLoading:w,handleAuthorize:()=>D(t,a,u,C,m,h)}),e.jsx("br",{}),e.jsx(B,{nextPageHandler:()=>E(),disabled:!x})]})]})]})}export{Y as default};
2