PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V_3.0.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV_3.0.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-283-234.js

bf-283-234.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V_3.0.0, at assets/bf-283-234.js

2 lines 5.2 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 $=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var _=(n,o,l)=>o in n?X(n,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[o]=l,j=(n,o)=>{for(var l in o||(o={}))ee.call(o,l)&&_(n,l,o[l]);if($)for(var l of $(o))te.call(o,l)&&_(n,l,o[l]);return n},v=(n,o)=>Y(n,Z(o));import{u as T,i as A,aq as se,a as ie,r as F,j as e,h as S,_ as p,I as B,M as oe,f,bC as le,dd as ne,ao as ce,aM as re,ed as ae}from"./main-294.js";import{B as pe,F as h,t as H}from"./bf-384-383.js";import{s as r,A as L}from"./bf-446-382.js";import{F as c}from"./bf-821-385.js";import{p as de}from"./bf-487-72.js";import{S as ue}from"./bf-764-245.js";import{F as x,I as me}from"./bf-766-384.js";import{H as Se}from"./bf-645-110.js";import{S as M}from"./bf-908-241.js";import"./bf-663-270.js";import"./bf-957-268.js";import"./bf-176-80.js";import"./bf-867-113.js";import"./bf-934-246.js";import"./bf-22-244.js";import"./bf-986-242.js";import"./bf-250-243.js";import"./bf-188-247.js";import"./bf-85-248.js";import"./bf-930-249.js";import"./bf-5-86.js";import"./bf-112-250.js";import"./bf-399-251.js";import"./bf-379-106.js";import"./bf-508-252.js";import"./bf-128-253.js";function Ee(){const n=T(le),o=T(ne),[l,R]=A(ce),k=se(re),[a,b]=A(ae),{css:s}=ie(),w=a||{},[C,g]=F.useState(!1),[y,z]=F.useState(""),{showStepHeader:U}=l.multiStepSettings||{},{lbl:D,showLbl:N,subtitle:E,showSubtitle:P,lblPreIcn:K,lblSufIcn:q,subTlePreIcn:O,subTleSufIcn:V}=w||{},G=(t,i)=>{R(m=>f(m,W=>{W.multiStepSettings[t]=i})),k(m=>v(j({},m),{unsaved:!0}))},d=t=>{z(t),g(!0)},u=t=>{b(f(a,i=>{delete i[t]}))},I=(t,i)=>{b(f(a,m=>{m[t]=i}))},J=t=>{b(f(a,i=>{i[y]=t})),g(!1)},Q=t=>{a[y]===t&&b(f(a,i=>{delete i[y]}))};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:s({m:20}),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,S.fontBody)}),e.jsxs("div",{className:s(S.flxcb,S.w10),children:[e.jsx("div",{className:s(r.mainTitle),children:p("Step Settings")}),e.jsxs("div",{className:s({flx:"center",gap:5}),children:[e.jsx(Se,{highlightSelector:"multi-step/stp-hdr"}),e.jsx("span",{className:s(r.fieldKey),children:"Step Key:"}),e.jsx(de,{id:"fld-stng-key",value:n+1})]})]})]}),e.jsx(x,{}),e.jsxs("div",{className:s(c.fieldSection,c.hover_tip,S.flxcb),children:[e.jsx("span",{className:s(S.fw500),children:p("Step Icon")}),e.jsx(h,{iconSrc:w.icon,styleRoute:"step-icn",setIcon:()=>d("icon"),removeIcon:()=>u("icon"),proProperty:"stepIcon",position:"suffix"})]}),e.jsx(x,{}),e.jsx("div",{className:s(c.fieldSection),children:e.jsx(ue,{id:"show-stp-header",tip:"By disabling this option, the Step Header will be hidden.",title:p("Show Step Header"),action:t=>G("showStepHeader",t.target.checked),isChecked:U||"",isPro:!0})}),e.jsx(x,{}),e.jsx(M,v(j({id:"fld-lbl-stng",title:p("Step Label"),className:`${s(c.fieldSection)} ${s(c.hover_tip)}`,switching:!0,tip:H.stepLbl,tipProps:{width:250,icnSize:17},toggleAction:t=>I("showLbl",t.target.checked),toggleChecked:N,open:N},B&&{disable:!N}),{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(L,{id:"fld-lbl-stng",ariaLabel:"Label input",changeAction:t=>{var i;return I("lbl",(i=t.target.value)==null?void 0:i.replace(/\\\\/g,"$_bf_$"))},value:D.replace(/\$_bf_\$/g,"\\")})}),e.jsxs("div",{className:s(c.iconLayoutHorizontal),children:[e.jsx(h,{label:"Prefix Icon",iconSrc:K,styleRoute:"lbl-pre-i",setIcon:()=>d("lblPreIcn"),removeIcon:()=>u("lblPreIcn"),proProperty:"leadingIcon",position:"prefix"}),e.jsx("div",{className:s(c.iconSeparator),children:"|"}),e.jsx(h,{label:"Suffix Icon",iconSrc:q,styleRoute:"lbl-suf-i",setIcon:()=>d("lblSufIcn"),removeIcon:()=>u("lblSufIcn"),proProperty:"trailingIcon",position:"suffix"})]})]})})),e.jsx(x,{}),e.jsx(M,v(j({id:"fld-sub-titl-stng",title:p("Step Subtitle"),className:`${s(c.fieldSection)} ${s(c.hover_tip)}`,switching:!0,tip:H.stepSubtitle,tipProps:{width:250,icnSize:17},toggleAction:t=>I("showSubtitle",t.target.checked),toggleChecked:P,open:P},B&&{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(L,{id:"fld-lbl-stng",ariaLabel:"Label input",changeAction:t=>{var i;return I("subtitle",(i=t.target.value)==null?void 0:i.replace(/\\\\/g,"$_bf_$"))},value:E.replace(/\$_bf_\$/g,"\\")})}),e.jsxs("div",{className:s(c.iconLayoutHorizontal),children:[e.jsx(h,{label:"Prefix Icon",iconSrc:O,styleRoute:"lbl-pre-i",setIcon:()=>d("subTlePreIcn"),removeIcon:()=>u("subTlePreIcn"),proProperty:"leadingIcon",position:"prefix"}),e.jsx("div",{className:s(c.iconSeparator),children:"|"}),e.jsx(h,{label:"Suffix Icon",iconSrc:V,styleRoute:"lbl-suf-i",setIcon:()=>d("subTleSufIcn"),removeIcon:()=>u("subTleSufIcn"),proProperty:"trailingIcon",position:"suffix"})]})]})})),e.jsx(x,{})]}),e.jsxs(oe,{md:!0,autoHeight:!0,show:C,setModal:g,className:"o-v",title:p("Icons"),children:[e.jsx("div",{className:"pos-rel"}),e.jsx(me,{iconType:"opt",setModal:g,setIconAction:J,removeIconAction:Q})]})]})}export{Ee as default};
2