PageSourceSearch

https://xn--80aeec0cfsgl1g.xn--p1ai/build/assets/FieldText-Bp-_uho7.js

js xn--80aeec0cfsgl1g.xn--p1ai collected 2026-10-01 14:11:06 UTC 2,523 bytes, 1 lines download raw bytes

1import{a as m,r as f,j as s}from"./index-9BJQdpvo.js";import{c as j,P as a}from"./index-B7QvqFjn.js";import{b as y}from"./formik.esm-C_fEjZA6.js";import{B as v}from"./Button-BQTei5Qg.js";import{M,a as N}from"./ModalBody-CG5bnRxs.js";import{_ as T,a as R}from"./objectWithoutPropertiesLoose-Cv5OCJ0e.js";import{m as F,t as P}from"./utils-BdCq8ex-.js";import{F as C}from"./FormGroup-COFc60AQ.js";import{F as g}from"./FormText-CAYvixEs.js";import{L}from"./Label-DhU86SkY.js";import{c as O}from"./index-RvS1aOr8.js";var w=["className","cssModule","tag"],q={tag:P,className:a.string,cssModule:a.object},S={tag:"div"},u=function(t){var n=t.className,l=t.cssModule,r=t.tag,i=T(t,w),o=F(j(n,"modal-footer"),l);return m.createElement(r,R({},i,{className:o}))};u.propTypes=q;u.defaultProps=S;const h=e=>{const t=e.id??e.name,n=e.standalone?e.as==="textarea"?"textarea":"input":y,l={placeholder:e.placeholder,name:e.name,readOnly:e.readOnly,disabled:e.disabled,value:e.value,as:e.as,onChange:e.onChange,rows:e.rows},[r,i]=f.useState(!1),[o,d]=f.useState(!1),x=b=>{i(b),d(!0)},c=m.useRef();return m.useEffect(()=>{e.innerRef&&e.innerRef(c.current)},[]),s.jsxs(C,{className:"form-label-group",children:[s.jsx(n,{type:e.as==="textarea"?void 0:"text",className:O(["form-control",e.className,{"form-control-lg":e.isLarge,"is-invalid":e.error&&e.touched}]),...l,...e.standalone?{ref:c}:{innerRef:c},id:t}),s.jsx(L,{htmlFor:t,children:s.jsxs("span",{children:[e.icon,e.placeholder]})}),e.hint&&s.jsxs(g,{color:"muted",children:[e.hint," ",e.modalQuestion&&s.jsx("button",{style:{marginLeft:"5px"},type:"button",className:"btn btn-link p-0 btn-sm",onClick:()=>x(e.modalQuestion),children:s.jsx("i",{className:"far fa-question-circle fa-lg",style:{fontSize:"unset"}})})]}),e.secondHint&&s.jsx(g,{color:"muted",children:e.secondHint}),s.jsx("div",{className:"invalid-feedback",children:e.touched&&e.error}),s.jsxs(M,{isOpen:o,toggle:()=>d(!o),children:[s.jsx(N,{children:r}),s.jsx(u,{children:s.jsx(v,{color:"secondary",onClick:()=>d(!o),children:"Закрыть"})})]})]})};h.propTypes={placeholder:a.string.isRequired,name:a.string.isRequired,id:a.string,readOnly:a.bool,touched:a.bool,error:a.oneOfType([a.string,a.bool]),hint:a.string,secondHint:a.string,modalQuestion:a.element,className:a.string,rows:a.oneOfType([a.string,a.number]),as:a.string,standalone:a.bool,value:a.string.isRequired,onChange:a.func.isRequired,isLarge:a.bool,disabled:a.bool};h.defaultProps={readOnly:!1,isLarge:!0,disabled:!1,standalone:!1};export{h as F,u as M};

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.