PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V3.3.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV3.3.2
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-812-320.js

bf-812-320.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V3.3.2, at assets/bf-812-320.js

2 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as j,i as v,a as S,j as e,_ as a,h as b,f as F,bI as N,b1 as T}from"./main-96.js";import{F as t}from"./bf-460-326.js";import{F as _}from"./bf-178-325.js";import{S as f}from"./bf-283-176.js";import"./bf-542-181.js";import"./bf-781-46.js";import"./bf-678-179.js";import"./bf-687-180.js";import"./bf-551-68.js";import"./bf-200-43.js";import"./bf-431-60.js";/* empty css */import"./bf-63-62.js";import"./bf-762-63.js";import"./bf-163-182.js";function k(){var m,g,h;const{fieldKey:s}=j(),[d,x]=v(T),{css:i}=S();if(!s)return null;const o=d[s],c=(o==null?void 0:o.config)||{},y=(m=o==null?void 0:o.lbl)!=null?m:s,p=(n,r)=>{const u=F(d,l=>{l[s].config=l[s].config||{},l[s].config[n]=r});x(u),N({event:`OTP ${n} changed to ${r}: ${y}`,type:`otp_${n}_changed`,state:{fields:u,fldKey:s}})};return e.jsxs(e.Fragment,{children:[e.jsx(f,{id:"otp-digit-len-stng",title:a("OTP Code Length"),className:i([t.fieldSection,t.hover_tip]),tip:a("Set how many digits the OTP code will contain. Accepted range: 4 – 8."),open:!0,children:e.jsxs("div",{className:i(t.placeholder),children:[e.jsx("input",{id:"otp-length",type:"number",className:i(t.input),value:(g=c.otpLength)!=null?g:6,onChange:n=>{const r=Math.min(8,Math.max(4,parseInt(n.target.value,10)||6));p("otpLength",r)}}),e.jsx("p",{className:i(b.helpText),children:a("Allowed range: 4 to 8 digits.")})]})}),e.jsx(_,{}),e.jsx(f,{id:"otp-resend-delay-stng",title:a("OTP Resend Delay (Seconds)"),className:i([t.fieldSection,t.hover_tip]),tip:a('Sets the waiting time (in seconds) before the "Resend OTP" button becomes active again.'),open:!0,children:e.jsx("div",{className:i(t.placeholder),children:e.jsx("input",{id:"resend-delay",type:"number",className:i(t.input),value:(h=c.resendDelay)!=null?h:60,onChange:n=>p("resendDelay",parseInt(n.target.value,10)||60)})})})]})}export{k as default};
2