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-349-201.js

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

2 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var n=Object.defineProperty;var o=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var _=(e,l,a)=>l in e?n(e,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[l]=a,i=(e,l)=>{for(var a in l||(l={}))c.call(l,a)&&_(e,a,l[a]);if(o)for(var a of o(l))m.call(l,a)&&_(e,a,l[a]);return e};const g=(e,l,a,d,t,s,f)=>{const p=[...e];if(f)p[s]=i(i({},e[s]),d),p.push({editItegration:!0}),l([...p]),t(a);else{const r=[...p];r.push(d),r.push({newItegration:!0}),l(r),t(a)}},h=(e,l,a,d,t)=>{const s=i({},l);t?d?s.relatedlists[t-1].upload_field_map.splice(e,0,{}):s.relatedlists[t-1].field_map.splice(e,0,{}):d?s.upload_field_map.splice(e,0,{}):s.field_map.splice(e,0,{}),a(i({},s))},w=(e,l,a,d,t)=>{const s=i({},l);t?d?s.relatedlists[t-1].upload_field_map.length>1&&s.relatedlists[t-1].upload_field_map.splice(e,1):s.relatedlists[t-1].field_map.length>1&&s.relatedlists[t-1].field_map.splice(e,1):d?s.upload_field_map.length>1&&s.upload_field_map.splice(e,1):s.field_map.length>1&&s.field_map.splice(e,1),a(i({},s))},C=(e,l,a,d,t,s)=>{const f=i({},a);s?t?f.relatedlists[s-1].upload_field_map[l][e.target.name]=e.target.value:f.relatedlists[s-1].field_map[l][e.target.name]=e.target.value:t?f.upload_field_map[l][e.target.name]=e.target.value:f.field_map[l][e.target.name]=e.target.value,e.target.value==="custom"&&(s?f.relatedlists[s-1].field_map[l].customValue="":f.field_map[l].customValue=""),d(i({},f))},M=(e,l,a,d,t)=>{const s=i({},a);t?s.relatedlists[t-1].field_map[l].customValue=e.target.value:s.field_map[l].customValue=e.target.value,d(i({},s))},V=(e,l,a,d,t,s)=>{const f=i({},a);f.address_field[l][e.target.name]=e.target.value,d(i({},f))},A=(e,l,a)=>{const d=i({},l);d.address_field||(d.address_field=[]),d.address_field.push({}),a(i({},d))},F=(e,l,a)=>{const d=i({},l);d.address_field&&d.address_field.length>1&&d.address_field.splice(e,1),a(i({},d))};export{C as a,M as b,h as c,F as d,w as e,A as f,V as h,g as s};
2