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-236-337.js

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

2 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as $,i as x,aH as F,u as S,W as j,a as C,cF as b,j as o,_ as v,f as P,bG as _}from"./main-294.js";import{F as p}from"./bf-821-385.js";import{S as L}from"./bf-908-241.js";import"./bf-176-80.js";import"./bf-764-245.js";import"./bf-5-86.js";import"./bf-487-72.js";import"./bf-867-113.js";function R(){var i,l,r;const{fieldKey:s}=$(),[c,d]=x(F),y=S(j),{css:a}=C();if(!s)return null;const e=c[s],n=b((e==null?void 0:e.typ)||""),g=(i=e==null?void 0:e.payIntegID)!=null?i:"",f=(r=(l=e==null?void 0:e.lbl)!=null?l:e==null?void 0:e.adminLbl)!=null?r:"",I=()=>y.filter(t=>t.type.toLowerCase()===n.toLowerCase()).map(t=>o.jsx("option",{value:t.id,children:t.name},t.id)),h=u=>{const{value:t}=u.target,m=P(c,A=>{A[s].payIntegID=t});d(m),_({event:`${n} Account Changed to "${t}": ${f||s}`,type:"payment_account_change",state:{fields:m,fldKey:s}})};return o.jsx(L,{id:"slct-cnfg-stng",title:`${n} Accounts`,className:`${a(p.fieldSection)}`,open:!0,children:o.jsxs("select",{"data-testid":"slct-cnfg-slct",name:"payIntegID",id:"payIntegID",onChange:h,className:a(p.input),value:g,"aria-label":`Select ${n} Account`,children:[o.jsx("option",{value:"",children:v("Select Account")}),I()]})})}export{R as default};
2