1import{s as e}from"./appType-H4Lk86HF.js";import{Ri as t,ei as n,mr as r,zi as i}from"./vendor-BYBdXKh1.js";import{n as a}from"./useImperativeFormFieldFunctions-C7jnjDYs.js";var o=e(i(),1),s={input:`_input_1398v_1`,appendElement:`_appendElement_1398v_32`,hoverOnly:`_hoverOnly_1398v_32`,inputWrapper:`_inputWrapper_1398v_35`,disabled:`_disabled_1398v_49`,topLabelWrapper:`_topLabelWrapper_1398v_57`,appendString:`_appendString_1398v_71`,prependString:`_prependString_1398v_72`,topLabel:`_topLabel_1398v_57`,withBackground:`_withBackground_1398v_97`,withTopLabel:`_withTopLabel_1398v_113`,alignRight:`_alignRight_1398v_116`,alignCenter:`_alignCenter_1398v_119`,error:`_error_1398v_122`,icon:`_icon_1398v_132`},c=t(),l=o.forwardRef(({append:e,prepend:t,error:i,topLabel:l,id:u,textAlign:d,highlighted:f,className:p,placeholder:m,...h},g)=>{let _=o.useRef(null),v=o.useRef(null),y=o.useMemo(()=>u??n(),[u]);return a({ref:g,inputRef:_,wrapperRef:v}),(0,c.jsxs)(`div`,{ref:v,className:r(s.inputWrapper,l&&s.topLabelWrapper,i&&s.error,(h.disabled||h.readOnly)&&s.disabled,p),children:[l&&(0,c.jsx)(`label`,{className:s.topLabel,htmlFor:y,children:l}),t?.content&&(typeof t.content==`string`?(0,c.jsx)(`div`,{className:r(s.prependString,t.background&&s.withBackground),dangerouslySetInnerHTML:{__html:t.content}}):(0,c.jsx)(`div`,{className:r(t.background&&s.withBackground),children:t.content})),(0,c.jsx)(`input`,{className:r(s.input,l&&s.withTopLabel,d===`right`&&s.alignRight,d===`center`&&s.alignCenter),ref:_,"data-highlighted":f,"aria-invalid":i,id:y,placeholder:h.disabled||h.readOnly?``:m,...h}),e?.content&&(typeof e.content==`string`?(0,c.jsx)(`div`,{className:r(s.appendString,e.background&&s.withBackground),dangerouslySetInnerHTML:{__html:e.content}}):(0,c.jsx)(`div`,{className:r(s.appendElement,e.background&&s.withBackground,e.hoverOnly&&s.hoverOnly),children:e.content}))]})});l.displayName=`Input`;export{l as t}; 2//# sourceMappingURL=Input-D0q3cQQ9.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.