"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NicePreview",t="File preview component.",i="display",n="1.0.0",a="planned",l=[{name:"file",type:"File | { url: string; type: string; name: string }",required:!0,description:"File to preview"},{name:"visible",type:"boolean",default:"true",description:"Visibility state"},{name:"toolbar",type:"boolean | ToolbarConfig",default:"true",description:"Show toolbar"},{name:"download",type:"boolean",default:"false",description:"Allow download"},{name:"print",type:"boolean",default:"false",description:"Allow print"},{name:"zoom",type:"boolean",default:"true",description:"Allow zoom"},{name:"fallback",type:"React.ReactNode",description:"Unsupported file fallback"},{name:"onClose",type:"() => void",description:"Close callback"}],s=[{title:"Preview",description:"File preview",code:`<NicePreview
  file={{ url: '/document.pdf', type: 'application/pdf', name: 'document.pdf' }}
  toolbar
  download
  print
/>`}],c={keyboard:["Tab through toolbar","Escape to close"],aria:["Preview dialog","File type"]},r=["NiceFileExplorer","NicePdfViewer"],p={$schema:e,name:o,description:t,category:i,since:n,status:a,props:l,examples:s,accessibility:c,seeAlso:r};exports.$schema=e;exports.accessibility=c;exports.category=i;exports.default=p;exports.description=t;exports.examples=s;exports.name=o;exports.props=l;exports.seeAlso=r;exports.since=n;exports.status=a;
