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-152-270.js

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

2 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var y=Object.defineProperty;var u=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var x=(t,a,r)=>a in t?y(t,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[a]=r,c=(t,a)=>{for(var r in a||(a={}))_.call(a,r)&&x(t,r,a[r]);if(u)for(var r of u(a))z.call(a,r)&&x(t,r,a[r]);return t};import{r as j,j as e,_ as s}from"./main-162.js";import{A as S}from"./bf-272-398.js";import{N as T}from"./bf-823-399.js";import{a as w}from"./bf-859-396.js";import"./bf-644-69.js";import"./bf-917-73.js";function q({twilioConf:t,setTwilioConf:a,step:r,setstep:b,isLoading:g,setIsLoading:N,setSnackbar:v,isInfo:n}){const[m,A]=j.useState(!1),[l,i]=j.useState({username:"",password:""}),k=()=>{b(2),document.querySelector(".btcd-s-wrp").scrollTop=0},d=o=>{const h=c({},t),p=c({},l);p[o.target.name]="",h[o.target.name]=o.target.value,i(p),a(h)};return e.jsxs("div",{className:"btcd-stp-page",style:{width:r===1&&900,height:r===1&&"auto"},children:[e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:s("Integration Name:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:d,name:"name",value:t.name,type:"text",placeholder:s("Integration Name..."),disabled:n}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:s("Account SID:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:d,name:"sid",value:t.sid,type:"text",placeholder:s("Account SID..."),disabled:n}),e.jsx("div",{style:{color:"red"},children:l.sid}),e.jsxs("small",{className:"d-blk mt-5",children:[s("To get Account SID and Auth Token , Please Visit")," ",e.jsx("a",{className:"btcd-link",href:"https://console.twilio.com/",target:"_blank",rel:"noreferrer",children:s("Twilio Console")})]}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:s("Auth Token:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:d,name:"token",value:t.token,type:"text",placeholder:s("Auth Token..."),disabled:n}),e.jsx("div",{style:{color:"red"},children:l.token}),e.jsx("div",{className:"mt-3",children:e.jsx("b",{children:s("From:")})}),e.jsx("input",{className:"btcd-paper-inp w-6 mt-1",onChange:d,name:"from_num",value:t.from_num,type:"text",placeholder:s("Phone Number..."),disabled:n}),e.jsx("div",{style:{color:"red"},children:l.from_num}),!n&&e.jsxs(e.Fragment,{children:[e.jsx(S,{isAuthorized:m,isLoading:g,handleAuthorize:()=>w(t,a,i,A,N,v)}),e.jsx("br",{}),e.jsx(T,{nextPageHandler:()=>k(),disabled:!m})]})]})}export{q as default};
2