import{a as u,g as f,i as h,aH as x,H as y,j as o,_ as M,f as g,bG as F}from"./main-634.js";import{F as s}from"./bf-767-388.js";import{t as j}from"./bf-676-386.js";import{S}from"./bf-982-242.js";import"./bf-638-271.js";import"./bf-247-269.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";const _=["none","text","decimal","numeric","tel","search","email","url"];function T(){const{css:n}=u(),{fieldKey:t}=f(),[a,l]=h(x);if(!t)return null;const i=y(a[t]),p=i.adminLbl||"",r=i.inputMode||"text",m=({target:{value:e}})=>{e!==""&&(i.inputMode=e);const d=g(a,c=>{c[t]=i});l(d),F({event:`Field Input mode update to ${e}: ${i.lbl||p||t}`,type:"change_input_mode",state:{fields:d,fldKey:t}})};return o.jsx(S,{id:"inp-mod-stng",title:M("Input mode"),className:n(s.fieldSection,s.hover_tip),tip:j.inputMode,tipProps:{width:250,icnSize:17},isPro:!0,proProperty:"inputMode",children:o.jsx("div",{className:n(s.placeholder),children:o.jsx("select",{"data-testid":"inp-mod-stng-slct",className:n(s.input),"aria-label":"Input mode for this Field",placeholder:"Type field inpur mode here...",value:r,onChange:m,children:_.map(e=>o.jsx("option",{value:e,children:e},e))})})})}export{T as default};
