import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";import{ht as r,t as i}from"./dist-DtfJeYQK.js";import{t as a}from"./jsx-runtime-C2wGStra.js";import{i as o,n as s,r as c,t as l}from"./InputContainer-xfDpQQNl.js";var u,d,f,p=t((()=>{u=e(n(),1),o(),i(),s(),d=a(),f=(0,u.forwardRef)(function({button:e,icon:t,dataset:n,onChange:i,onValueChange:a,...o},s){let u=r(n),f=e=>{i?.(e),a?.(e.target.value)};return(0,d.jsx)(l,{button:e,icon:t,children:(0,d.jsx)(`input`,{...u,...o,ref:s,onChange:f,className:c.input})})});try{f.displayName=`Input`,f.__docgenInfo={description:`A component to render input with optional icon and button.
For internal use only.`,displayName:`Input`,props:{icon:{defaultValue:null,description:``,name:`icon`,required:!1,type:{name:`enum`,value:[{value:`ReactElement<any, string | JSXElementConstructor<any>>`}]}},button:{defaultValue:null,description:``,name:`button`,required:!1,type:{name:`enum`,value:[{value:`ReactElement<any, string | JSXElementConstructor<any>>`}]}},dataset:{defaultValue:null,description:``,name:`dataset`,required:!1,type:{name:`enum`,value:[{value:`Dataset`}]}},onValueChange:{defaultValue:null,description:``,name:`onValueChange`,required:!1,type:{name:`enum`,value:[{value:`(value: string) => void`}]}}}}}catch{}})),m,h,g,_=t((()=>{m=e(n(),1),o(),i(),s(),h=a(),g=(0,m.forwardRef)(function({dataset:e,onChange:t,onValueChange:n,resize:i=`vertical`,...a},o){let s=r(e),u=e=>{t?.(e),n?.(e.target.value)};return(0,h.jsx)(l,{children:(0,h.jsx)(`textarea`,{...s,...a,onChange:u,ref:o,className:c.input,style:{resize:i}})})});try{g.displayName=`Textarea`,g.__docgenInfo={description:`A component to render a textarea.
For internal use only.`,displayName:`Textarea`,props:{dataset:{defaultValue:null,description:``,name:`dataset`,required:!1,type:{name:`enum`,value:[{value:`Dataset`}]}},onValueChange:{defaultValue:null,description:``,name:`onValueChange`,required:!1,type:{name:`enum`,value:[{value:`(value: string) => void`}]}},resize:{defaultValue:{value:`vertical`},description:``,name:`resize`,required:!1,type:{name:`enum`,value:[{value:`"none"`},{value:`"both"`},{value:`"horizontal"`},{value:`"vertical"`}]}}}}}catch{}})),v=t((()=>{p(),_()}));export{g as n,f as r,v as t};