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-142-95.js

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

2 lines 4.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var T=(n,o,l)=>o in n?X(n,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[o]=l,f=(n,o)=>{for(var l in o||(o={}))ee.call(o,l)&&T(n,l,o[l]);if(N)for(var l of N(o))te.call(o,l)&&T(n,l,o[l]);return n},j=(n,o)=>Y(n,Z(o));import{u as _,k as A,V as se,a as ie,r as k,j as e,w,_ as m,I as L,M as oe,p as S,bN as le,b3 as ne,ab as re,ag as ce,d2 as ae}from"./main-162.js";import{B as pe,a as p,F as b,t as B,I as de}from"./bf-630-188.js";import{s as r}from"./bf-40-156.js";import{F as c,A as F}from"./bf-4-157.js";import{C as ue}from"./bf-644-69.js";import{a as me}from"./bf-562-110.js";import{S as M}from"./bf-243-83.js";import"./bf-917-73.js";import"./bf-174-145.js";import"./bf-746-113.js";import"./bf-442-111.js";import"./bf-432-112.js";import"./bf-553-107.js";import"./bf-424-108.js";import"./bf-974-109.js";import"./bf-207-114.js";import"./bf-734-115.js";import"./bf-379-125.js";import"./bf-217-124.js";import"./bf-741-81.js";import"./bf-819-116.js";import"./bf-76-117.js";import"./bf-608-71.js";function He(){const n=_(le),o=_(ne),[l,R]=A(re),C=se(ce),[a,g]=A(ae),{css:s}=ie(),$=a||{},[H,h]=k.useState(!1),[v,z]=k.useState(""),{showStepHeader:U}=l.multiStepSettings||{},{lbl:D,showLbl:y,subtitle:E,showSubtitle:P,lblPreIcn:V,lblSufIcn:O,subTlePreIcn:q,subTleSufIcn:G}=$||{},J=(t,i)=>{R(u=>S(u,W=>{W.multiStepSettings[t]=i})),C(u=>j(f({},u),{unsaved:!0}))},d=t=>{z(t),h(!0)},I=t=>{g(S(a,i=>{delete i[t]}))},x=(t,i)=>{g(S(a,u=>{u[t]=i}))},K=t=>{g(S(a,i=>{i[v]=t})),h(!1)},Q=t=>{a[v]===t&&g(S(a,i=>{delete i[v]}))};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{children:[e.jsxs("div",{className:s(r.section,r.flxColumn,r.fixed,o&&r.shw),children:[e.jsx(pe,{size:"16",className:s(r.btn,w.fontBody)}),e.jsx("div",{children:e.jsx("div",{className:s(r.mainTitle),children:m("Step Settings")})})]}),e.jsx(p,{}),e.jsxs("div",{className:s(r.section,{mx:15}),children:[e.jsx("span",{className:s(r.title),children:"Step key"}),e.jsx(ue,{id:"fld-stng-key",value:n+1})]}),e.jsx(p,{}),e.jsx("div",{className:s(c.fieldSection,c.hover_tip),children:e.jsx(b,{label:"Step Icon",iconSrc:$.icon,styleRoute:"step-icn",setIcon:()=>d("icon"),isPro:!0,proProperty:"stepIcon"})}),e.jsx(p,{}),e.jsx("div",{className:s(c.fieldSection),children:e.jsx(me,{id:"show-stp-header",tip:"By disabling this option, the Step Header will be hidden.",title:m("Show Step Header"),action:t=>J("showStepHeader",t.target.checked),isChecked:U||"",isPro:!0})}),e.jsx(p,{}),e.jsx(M,j(f({id:"fld-lbl-stng",title:m("Step Label"),className:`${s(c.fieldSection)} ${s(c.hover_tip)}`,switching:!0,tip:B.stepLbl,tipProps:{width:250,icnSize:17},toggleAction:t=>x("showLbl",t.target.checked),toggleChecked:y,open:y},L&&{disable:!y}),{isPro:!0,proTip:"Use this feature? please buy pro version.",children:e.jsxs("div",{children:[e.jsx("div",{className:s({w:"97%",mx:5}),children:e.jsx(F,{id:"fld-lbl-stng",ariaLabel:"Label input",changeAction:t=>{var i;return x("lbl",(i=t.target.value)==null?void 0:i.replace(/\\\\/g,"$_bf_$"))},value:D.replace(/\$_bf_\$/g,"\\")})}),e.jsxs("div",{className:s(w.mt1),children:[e.jsx(b,{label:"Leading Icon",iconSrc:V,styleRoute:"lbl-pre-i",setIcon:()=>d("lblPreIcn"),removeIcon:()=>I("lblPreIcn"),isPro:!0,proProperty:"leadingIcon"}),e.jsx(b,{label:"Trailing Icon",iconSrc:O,styleRoute:"lbl-suf-i",setIcon:()=>d("lblSufIcn"),removeIcon:()=>I("lblSufIcn"),isPro:!0,proProperty:"trailingIcon"})]})]})})),e.jsx(p,{}),e.jsx(M,j(f({id:"fld-sub-titl-stng",title:m("Step Subtitle"),className:`${s(c.fieldSection)} ${s(c.hover_tip)}`,switching:!0,tip:B.stepSubtitle,tipProps:{width:250,icnSize:17},toggleAction:t=>x("showSubtitle",t.target.checked),toggleChecked:P,open:P},L&&{disable:!P}),{isPro:!0,proTip:"Use this feature? please buy pro version.",children:e.jsxs("div",{children:[e.jsx("div",{className:s({w:"97%",mx:5}),children:e.jsx(F,{id:"fld-lbl-stng",ariaLabel:"Label input",changeAction:t=>{var i;return x("subtitle",(i=t.target.value)==null?void 0:i.replace(/\\\\/g,"$_bf_$"))},value:E.replace(/\$_bf_\$/g,"\\")})}),e.jsxs("div",{className:s(w.mt1),children:[e.jsx(b,{label:"Leading Icon",iconSrc:q,styleRoute:"lbl-pre-i",setIcon:()=>d("subTlePreIcn"),removeIcon:()=>I("subTlePreIcn"),isPro:!0,proProperty:"leadingIcon"}),e.jsx(b,{label:"Trailing Icon",iconSrc:G,styleRoute:"lbl-suf-i",setIcon:()=>d("subTleSufIcn"),removeIcon:()=>I("subTleSufIcn"),isPro:!0,proProperty:"trailingIcon"})]})]})})),e.jsx(p,{})]}),e.jsxs(oe,{md:!0,autoHeight:!0,show:H,setModal:h,className:"o-v",title:m("Icons"),children:[e.jsx("div",{className:"pos-rel"}),e.jsx(de,{iconType:"opt",setModal:h,setIconAction:K,removeIconAction:Q})]})]})}export{He as default};
2