"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceTreeList",n="Tree List",a="1.0.0",s="stable",i="data",r="tree",d="Tree-structured data grid with expandable parent rows and selection.",o="1.0.0",c=["web","desktop"],l=["tree","list","hierarchical","expandable"],p=[{name:"columns",type:"NiceDataGridColumn<T>[]",required:!0,description:"Column definitions."},{name:"data",type:"T[]",required:!0,description:"Row data (flat with parentKey or nested)."},{name:"keyField",type:"string",required:!0,description:"Unique key field."},{name:"parentKeyField",type:"string",required:!1,description:"Parent reference field for flat data."},{name:"expandedKeys",type:"string[]",required:!1,description:"Controlled expanded keys."},{name:"selectedKeys",type:"string[]",required:!1,description:"Controlled selected keys."},{name:"selectable",type:"boolean",required:!1,description:"Enable selection."},{name:"loading",type:"boolean",required:!1,description:"Loading state."},{name:"emptyText",type:"string",required:!1,description:"Empty state text."}],m=[{name:"onExpandedChange",parameters:[{name:"keys",type:"string[]"}],description:"Called when expand state changes."},{name:"onSelectionChange",parameters:[{name:"keys",type:"string[]"}],description:"Called when selection changes."}],y=[],u=[{title:"File Tree",code:`<NiceTreeList
  columns={[
    { field: 'name', header: 'Name', width: 300 },
    { field: 'size', header: 'Size', width: 100 },
    { field: 'modified', header: 'Modified' }
  ]}
  data={fileSystem}
  keyField="id"
  parentKeyField="parentId"
  expandedKeys={expanded}
  onExpandedChange={setExpanded}
/>`,language:"tsx"}],g=[{name:"NiceDataGrid",relationship:"base"},{name:"NiceList",relationship:"simple"}],f={$schema:e,name:t,displayName:n,version:a,status:s,category:i,subcategory:r,package:"@nicetoDev/ui",description:d,since:o,platforms:c,keywords:l,props:p,events:m,cssVariables:y,examples:u,related:g};exports.$schema=e;exports.category=i;exports.cssVariables=y;exports.default=f;exports.description=d;exports.displayName=n;exports.events=m;exports.examples=u;exports.keywords=l;exports.name=t;exports.platforms=c;exports.props=p;exports.related=g;exports.since=o;exports.status=s;exports.subcategory=r;exports.version=a;
