"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceJsonEditor",o="JSON editor with validation and tree view.",n="editors",i="1.0.0",a="planned",s=[{name:"value",type:"object | string",required:!0,description:"JSON value"},{name:"onChange",type:"(value: object) => void",required:!0,description:"Change callback"},{name:"mode",type:"'tree' | 'code' | 'text'",default:"'tree'",description:"View mode"},{name:"schema",type:"object",description:"JSON schema for validation"},{name:"readOnly",type:"boolean",default:"false",description:"Read-only mode"},{name:"height",type:"number | string",default:"400",description:"Editor height"},{name:"onValidate",type:"(errors: ValidationError[]) => void",description:"Validation callback"},{name:"expandAll",type:"boolean",default:"false",description:"Expand all nodes"}],d=[{title:"JSON Editor",description:"Edit JSON",code:`<NiceJsonEditor
  value={jsonData}
  onChange={setJsonData}
  mode="tree"
  schema={jsonSchema}
  onValidate={handleValidation}
/>`}],c={keyboard:["Tab through nodes","Enter to edit"],aria:["JSON editor","Node descriptions"]},r=["NiceCodeEditor","NicePropertyGrid"],l={$schema:e,name:t,description:o,category:n,since:i,status:a,props:s,examples:d,accessibility:c,seeAlso:r};exports.$schema=e;exports.accessibility=c;exports.category=n;exports.default=l;exports.description=o;exports.examples=d;exports.name=t;exports.props=s;exports.seeAlso=r;exports.since=i;exports.status=a;
