import{a as u,g as f,i as F,aH as g,H as h,j as i,_ as x,f as y,bG as b}from"./main-634.js";import{F as n}from"./bf-767-388.js";import{S as j}from"./bf-982-242.js";import"./bf-25-81.js";import"./bf-497-246.js";import"./bf-641-107.js";import"./bf-400-72.js";import"./bf-438-114.js";function O(){const{css:o}=u(),{fieldKey:t}=f(),[s,p]=F(g);if(!t)return null;const e=h(s[t]),l=e.adminLbl||"",{inputFormat:m}=e.config,d=a=>{e.config.inputFormat=a;const r=y(s,c=>{c[t]=e});p(r),b({event:`Input Format Changed to '${a}': ${e.lbl||l||t}`,type:"inputFormat_changed",state:{fields:r,fldKey:t}})};return i.jsx(j,{id:"inp-frmt-opt-stng",title:x("Input Format Option"),className:o(n.fieldSection),isPro:!0,proProperty:"inputFormatOptions",children:i.jsx("div",{className:o(n.placeholder),children:i.jsx("input",{"data-testid":"inp-frmt-opt-inp","aria-label":"Input Format Option",placeholder:"Input Format(Ex: +c #### ### ###)",className:o(n.input),type:"text",value:m||"",onChange:a=>d(a.target.value)})})})}export{O as default};
