"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceUpload",i="File upload component with drag and drop.",o="input",a="1.0.0",n="stable",l=[{name:"accept",type:"string",description:"Accepted file types"},{name:"multiple",type:"boolean",default:"false",description:"Allow multiple files"},{name:"maxCount",type:"number",description:"Max file count"},{name:"maxSize",type:"number",description:"Max file size in bytes"},{name:"disabled",type:"boolean",default:"false",description:"Disabled state"},{name:"drag",type:"boolean",default:"false",description:"Enable drag and drop"},{name:"listType",type:"'text' | 'picture' | 'picture-card'",default:"'text'",description:"File list display type"},{name:"action",type:"string | ((file: File) => Promise<string>)",description:"Upload URL or function"},{name:"beforeUpload",type:"(file: File) => boolean | Promise<File>",description:"Pre-upload validation"},{name:"onChange",type:"(info: UploadChangeInfo) => void",description:"Change callback"}],s=[{title:"Upload",description:"File upload",code:`<NiceUpload
  accept="image/*"
  multiple
  maxCount={5}
  drag
  listType="picture-card"
  action="/api/upload"
  onChange={({ file, fileList }) => console.log('Uploaded:', file)}
>
  <p>Click or drag files to upload</p>
</NiceUpload>`}],p={keyboard:["Tab to trigger","Enter/Space to open picker"],aria:["File input","Upload status"]},c=["NiceDropzone","NiceFilePicker"],d={$schema:e,name:t,description:i,category:o,since:a,status:n,props:l,examples:s,accessibility:p,seeAlso:c};exports.$schema=e;exports.accessibility=p;exports.category=o;exports.default=d;exports.description=i;exports.examples=s;exports.name=t;exports.props=l;exports.seeAlso=c;exports.since=a;exports.status=n;
