"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceAuthGuard",s="Authentication guard for protecting routes and content.",n="tools",c="1.0.0",i="stable",o=[{name:"children",type:"React.ReactNode",required:!0,description:"Protected content"},{name:"fallback",type:"React.ReactNode",description:"Unauthenticated fallback"},{name:"redirectTo",type:"string",description:"Redirect URL when not auth"},{name:"roles",type:"string[]",description:"Required roles"},{name:"permissions",type:"string[]",description:"Required permissions"},{name:"requireAll",type:"boolean",default:"false",description:"Require all roles/perms"},{name:"loading",type:"React.ReactNode",description:"Loading state"}],a=[{title:"Auth Guard",description:"Protect routes",code:`<NiceAuthGuard
  roles={['admin']}
  redirectTo="/login"
  fallback={<AccessDenied />}
>
  <AdminPanel />
</NiceAuthGuard>`}],r={keyboard:[],aria:["Access status announcements"]},d=["NicePermissionMatrix","NiceFeatureGate"],l={$schema:e,name:t,description:s,category:n,since:c,status:i,props:o,examples:a,accessibility:r,seeAlso:d};exports.$schema=e;exports.accessibility=r;exports.category=n;exports.default=l;exports.description=s;exports.examples=a;exports.name=t;exports.props=o;exports.seeAlso=d;exports.since=c;exports.status=i;
