PageSourceSearch

http://node.cc/static/js/TextField.L8vxRwMe.js

js node.cc collected 2026-10-06 13:17:48 UTC 1,704 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{r as t}from"./emotion-is-prop-valid.esm.CygBv61C.js";import{$ as n,C as r,Q as i,Z as a,et as o,it as s,nt as c,rt as l}from"./Tooltip.PNC8NIZa.js";import{n as u}from"./useLabel.BMjZg4WL.js";import{t as d}from"./Autocomplete.D9k6mFCZ.js";import{t as f}from"./Hidden.Bpblr2PM.js";import{t as p}from"./Text.CGzIOlkG.js";import{n as m}from"./useField.CLWVwWoT.js";import{n as h}from"./useFormValidation.CZGpvO3z.js";import{a as g,n as _,t as v}from"./useTextField.BYQ8oAlv.js";var y=e(t(),1),b=(0,y.createContext)({}),x=(0,y.createContext)(null),S=f(function(e,t){[e,t]=i(e,t,x);let{validationBehavior:f}=s(h)||{},S=e.validationBehavior??f??`native`,C=(0,y.useRef)(null);[e,C]=i(e,C,d);let[w,T]=o(!e[`aria-label`]&&!e[`aria-labelledby`]),[E,D]=(0,y.useState)(`input`),{labelProps:O,inputProps:k,descriptionProps:A,errorMessageProps:j,...M}=v({...l(e),inputElementType:E,label:T,validationBehavior:S},C),N=(0,y.useCallback)(e=>{C.current=e,e&&D(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[C]),P=n({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:M.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),F=r(e,{global:!0});return delete F.id,y.createElement(c.div,{...F,...P,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":M.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},y.createElement(a,{values:[[u,{...O,ref:w}],[_,{...k,ref:N}],[b,{...k,ref:N}],[g,{role:`presentation`,isInvalid:M.isInvalid,isDisabled:e.isDisabled||!1}],[p,{slots:{description:A,errorMessage:j}}],[m,M]]},P.children))});export{S as t};

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.