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-973-366.js

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

2 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{g as u,a as h,i as x,aH as j,z as f,j as e,_ as o,f as C,bG as y}from"./main-294.js";import{F as i}from"./bf-821-385.js";import{S as v}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";const W={penColor:o("Pen Color"),backgroundColor:o("Background Color"),maxWidth:o("Pen Width"),imgTyp:o("Image Type")};function _(){const{fieldKey:t}=u(),{css:a}=h(),[r,c]=x(j),n=f(r[t]);function s(m){const{value:p,name:d}=m.target;n.config[d]=p,c(C(r,g=>{g[t]=n})),y({event:`${W[d]} changed to ${p}: ${n.txt}`,type:`signature_pad_${d}`,state:{fields:r,fldKey:t}})}return e.jsx(v,{id:"signature-pad",title:o("Signature Pad"),className:a(i.fieldSection),open:!0,children:e.jsxs("div",{className:a(i.placeholder),children:[e.jsxs("div",{className:a(l.inpWrp),children:[e.jsx("label",{htmlFor:"maxWidth",children:"Pen Width"}),e.jsx("input",{className:a(i.input,{w:"30%"}),type:"text",name:"maxWidth",id:"maxWidth",min:"1",max:"10",value:n.config.maxWidth,step:"0.1",onChange:s})]}),e.jsxs("div",{className:a(l.inpWrp),children:[e.jsx("label",{htmlFor:"penColor",children:"Pen Color"}),e.jsx("input",{className:a(i.input,{w:"30%"}),type:"color",name:"penColor",id:"penColor",value:n.config.penColor,onChange:s})]}),e.jsxs("div",{className:a(l.inpWrp),children:[e.jsx("label",{htmlFor:"backgroundColor",children:"Background Color"}),e.jsx("input",{className:a(i.input,{w:"30%"}),type:"color",name:"backgroundColor",id:"backgroundColor",value:n.config.backgroundColor,onChange:s})]}),e.jsxs("div",{className:a(l.inpWrp),children:[e.jsx("label",{htmlFor:"imgTyp",children:"Image Type"}),e.jsxs("select",{className:a(i.input,{w:"30%"}),name:"imgTyp",id:"imgTyp",value:n.config.imgTyp,onChange:s,children:[e.jsx("option",{value:"image/png",children:"PNG"}),e.jsx("option",{value:"image/jpeg",children:"JPEG"}),e.jsx("option",{value:"image/svg+xml",children:"SVG"})]})]})]})})}const l={inpWrp:{flx:"center-between",mx:5}};export{_ as default};
2