const e = "https://nice2dev.com/schemas/component-doc-v1.json", a = "NiceFileUpload", i = "File Upload", n = "1.0.0", o = "stable", r = "editors", l = "file", s = "Advanced file upload with drag & drop, chunked upload, previews, and progress tracking.", t = "1.0.0", d = ["web", "desktop"], p = ["file", "upload", "drag-drop", "chunked", "preview"], c = [{ name: "accept", type: "string", required: !1, description: "Accepted file types (e.g. 'image/*,.pdf')." }, { name: "multiple", type: "boolean", required: !1, description: "Allow multiple files." }, { name: "maxFileSize", type: "number", required: !1, description: "Max file size in bytes." }, { name: "maxFiles", type: "number", required: !1, description: "Max number of files." }, { name: "chunkSize", type: "number", required: !1, default: "5MB", description: "Chunk size for large files." }, { name: "autoUpload", type: "boolean", required: !1, description: "Auto-start upload on add." }, { name: "uploadHandler", type: "UploadHandler", required: !1, description: "Custom upload handler function." }, { name: "uploadUrl", type: "string", required: !1, description: "URL for upload (if no handler)." }, { name: "showPreview", type: "boolean", required: !1, description: "Show image previews." }, { name: "showFileList", type: "boolean", required: !1, description: "Show file list." }, { name: "listMode", type: "'list' | 'grid' | 'compact'", required: !1, description: "Display mode." }, { name: "dropzoneText", type: "string", required: !1, description: "Text in dropzone." }, { name: "disabled", type: "boolean", required: !1, description: "Disabled state." }], u = [{ name: "onFilesAdded", parameters: [{ name: "files", type: "FileInfo[]" }], description: "After files added." }, { name: "onUploadComplete", parameters: [{ name: "file", type: "FileInfo" }], description: "After successful upload." }, { name: "onUploadError", parameters: [{ name: "file", type: "FileInfo" }, { name: "error", type: "string" }], description: "On upload error." }, { name: "onProgress", parameters: [{ name: "file", type: "FileInfo" }, { name: "progress", type: "number" }], description: "Progress callback." }, { name: "onChange", parameters: [{ name: "files", type: "FileInfo[]" }], description: "On state change." }], m = [{ name: "addFiles", signature: "(files: File[]) => void", description: "Add files programmatically." }, { name: "uploadAll", signature: "() => void", description: "Start uploading all pending files." }, { name: "cancelAll", signature: "() => void", description: "Cancel all uploads." }, { name: "clearAll", signature: "() => void", description: "Clear all files." }], f = [{ name: "--nice-upload-dropzone-bg", default: "var(--nice-surface-alt)", description: "Dropzone background" }, { name: "--nice-upload-active-border", default: "var(--nice-primary)", description: "Border when dragging" }], g = [{ title: "Image Upload", code: `<NiceFileUpload
  accept="image/*"
  multiple
  maxFileSize={5 * 1024 * 1024}
  showPreview
  uploadUrl="/api/upload"
/>`, language: "tsx" }, { title: "Custom Handler", code: `<NiceFileUpload
  uploadHandler={async (file, onProgress) => {
    const url = await uploadToS3(file, onProgress);
    return { url };
  }}
  autoUpload
/>`, language: "tsx" }], y = [{ name: "NiceFileManager", relationship: "parent" }], b = {
  $schema: e,
  name: a,
  displayName: i,
  version: n,
  status: o,
  category: r,
  subcategory: l,
  package: "@nicetoDev/ui",
  description: s,
  since: t,
  platforms: d,
  keywords: p,
  props: c,
  events: u,
  methods: m,
  cssVariables: f,
  examples: g,
  related: y
};
export {
  e as $schema,
  r as category,
  f as cssVariables,
  b as default,
  s as description,
  i as displayName,
  u as events,
  g as examples,
  p as keywords,
  m as methods,
  a as name,
  d as platforms,
  c as props,
  y as related,
  t as since,
  o as status,
  l as subcategory,
  n as version
};
