"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NicePermissionMatrix",i="Permission matrix for managing role-based access control.",o="tools",t="1.0.0",n="stable",r=[{name:"roles",type:"Role[]",required:!0,description:"Roles to display"},{name:"permissions",type:"Permission[]",required:!0,description:"Permissions to display"},{name:"matrix",type:"Record<string, string[]>",required:!0,description:"Role-permission mapping"},{name:"onChange",type:"(matrix: Record<string, string[]>) => void",description:"Change callback"},{name:"readOnly",type:"boolean",default:"false",description:"Read-only mode"},{name:"groupBy",type:"'role' | 'permission'",default:"'role'",description:"Group by axis"}],a=[{title:"Permission Matrix",description:"Manage permissions",code:`<NicePermissionMatrix
  roles={systemRoles}
  permissions={availablePermissions}
  matrix={permissionMatrix}
  onChange={setPermissionMatrix}
/>`}],c={keyboard:["Tab through checkboxes","Space to toggle"],aria:["Grid role","Checkbox descriptions"]},m=["NiceRoleEditor","NiceAuditLog"],l={$schema:e,name:s,description:i,category:o,since:t,status:n,props:r,examples:a,accessibility:c,seeAlso:m};exports.$schema=e;exports.accessibility=c;exports.category=o;exports.default=l;exports.description=i;exports.examples=a;exports.name=s;exports.props=r;exports.seeAlso=m;exports.since=t;exports.status=n;
