@thunderid/nextjs 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ThunderIDNextClient.d.ts +8 -1
- package/dist/ThunderIDNextClient.d.ts.map +1 -1
- package/dist/ThunderIDNextClient.js +10 -0
- package/dist/ThunderIDNextClient.js.map +1 -1
- package/dist/cjs/ThunderIDNextClient.cjs +10 -0
- package/dist/cjs/ThunderIDNextClient.cjs.map +1 -1
- package/dist/cjs/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.cjs +116 -0
- package/dist/cjs/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.cjs.map +1 -0
- package/dist/cjs/client/components/account/UserProfile/UserProfile.cjs +11 -1
- package/dist/cjs/client/components/account/UserProfile/UserProfile.cjs.map +1 -1
- package/dist/cjs/client/components/account/VerifyAttribute/VerifyAttribute.cjs +80 -0
- package/dist/cjs/client/components/account/VerifyAttribute/VerifyAttribute.cjs.map +1 -0
- package/dist/cjs/client/components/auth/SignIn/SignIn.cjs +3 -2
- package/dist/cjs/client/components/auth/SignIn/SignIn.cjs.map +1 -1
- package/dist/cjs/client/components/{admin → management}/AgentCreate/AgentCreate.cjs +1 -1
- package/dist/cjs/client/components/management/AgentCreate/AgentCreate.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/AgentDetails/AgentDetails.cjs +1 -1
- package/dist/cjs/client/components/management/AgentDetails/AgentDetails.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/AgentList/AgentList.cjs +1 -1
- package/dist/cjs/client/components/management/AgentList/AgentList.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/ApplicationCreate/ApplicationCreate.cjs +1 -1
- package/dist/cjs/client/components/management/ApplicationCreate/ApplicationCreate.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/ApplicationDetails/ApplicationDetails.cjs +1 -1
- package/dist/cjs/client/components/management/ApplicationDetails/ApplicationDetails.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/ApplicationList/ApplicationList.cjs +1 -1
- package/dist/cjs/client/components/management/ApplicationList/ApplicationList.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/GroupCreate/GroupCreate.cjs +1 -1
- package/dist/cjs/client/components/management/GroupCreate/GroupCreate.cjs.map +1 -0
- package/dist/cjs/client/components/management/GroupDetails/GroupDetails.cjs +28 -0
- package/dist/cjs/client/components/management/GroupDetails/GroupDetails.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/GroupList/GroupList.cjs +1 -1
- package/dist/cjs/client/components/management/GroupList/GroupList.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/GroupMembers/GroupMembers.cjs +1 -1
- package/dist/cjs/client/components/management/GroupMembers/GroupMembers.cjs.map +1 -0
- package/dist/cjs/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.cjs +28 -0
- package/dist/cjs/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.cjs.map +1 -0
- package/dist/cjs/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.cjs +28 -0
- package/dist/cjs/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.cjs.map +1 -0
- package/dist/cjs/client/components/management/OrganizationUnitList/OrganizationUnitList.cjs +28 -0
- package/dist/cjs/client/components/management/OrganizationUnitList/OrganizationUnitList.cjs.map +1 -0
- package/dist/cjs/client/components/management/ProjectCreate/ProjectCreate.cjs +28 -0
- package/dist/cjs/client/components/management/ProjectCreate/ProjectCreate.cjs.map +1 -0
- package/dist/cjs/client/components/management/ProjectDetails/ProjectDetails.cjs +28 -0
- package/dist/cjs/client/components/management/ProjectDetails/ProjectDetails.cjs.map +1 -0
- package/dist/cjs/client/components/management/ProjectList/ProjectList.cjs +28 -0
- package/dist/cjs/client/components/management/ProjectList/ProjectList.cjs.map +1 -0
- package/dist/cjs/client/components/management/ProjectSwitcher/ProjectSwitcher.cjs +30 -0
- package/dist/cjs/client/components/management/ProjectSwitcher/ProjectSwitcher.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/RoleAssignments/RoleAssignments.cjs +1 -1
- package/dist/cjs/client/components/management/RoleAssignments/RoleAssignments.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/RoleCreate/RoleCreate.cjs +1 -1
- package/dist/cjs/client/components/management/RoleCreate/RoleCreate.cjs.map +1 -0
- package/dist/cjs/client/components/management/RoleDetails/RoleDetails.cjs +28 -0
- package/dist/cjs/client/components/management/RoleDetails/RoleDetails.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/RoleList/RoleList.cjs +1 -1
- package/dist/cjs/client/components/management/RoleList/RoleList.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/RolePermissions/RolePermissions.cjs +1 -1
- package/dist/cjs/client/components/management/RolePermissions/RolePermissions.cjs.map +1 -0
- package/dist/cjs/client/components/management/SharingPolicies/SharingPolicies.cjs +28 -0
- package/dist/cjs/client/components/management/SharingPolicies/SharingPolicies.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/UserCreate/UserCreate.cjs +1 -1
- package/dist/cjs/client/components/management/UserCreate/UserCreate.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/UserDetails/UserDetails.cjs +1 -1
- package/dist/cjs/client/components/management/UserDetails/UserDetails.cjs.map +1 -0
- package/dist/cjs/client/components/{admin → management}/UserList/UserList.cjs +1 -1
- package/dist/cjs/client/components/management/UserList/UserList.cjs.map +1 -0
- package/dist/cjs/client/contexts/ThunderID/ThunderIDProvider.cjs +65 -2
- package/dist/cjs/client/contexts/ThunderID/ThunderIDProvider.cjs.map +1 -1
- package/dist/cjs/client/index.cjs +29 -17
- package/dist/cjs/index.cjs +100 -16
- package/dist/cjs/server/actions/account/getAccessibleOrganizationUnitsAction.cjs +53 -0
- package/dist/cjs/server/actions/account/getAccessibleOrganizationUnitsAction.cjs.map +1 -0
- package/dist/cjs/server/actions/account/getCurrentOrganizationUnitAction.cjs +31 -0
- package/dist/cjs/server/actions/account/getCurrentOrganizationUnitAction.cjs.map +1 -0
- package/dist/cjs/server/actions/auth/executeSelfFlowAction.cjs +47 -0
- package/dist/cjs/server/actions/auth/executeSelfFlowAction.cjs.map +1 -0
- package/dist/cjs/server/actions/auth/switchOrganizationUnitAction.cjs +85 -0
- package/dist/cjs/server/actions/auth/switchOrganizationUnitAction.cjs.map +1 -0
- package/dist/cjs/server/thunderid.cjs +16 -0
- package/dist/cjs/server/thunderid.cjs.map +1 -1
- package/dist/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.d.ts +24 -0
- package/dist/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.d.ts.map +1 -0
- package/dist/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.js +112 -0
- package/dist/client/components/account/OrganizationUnitSwitcher/OrganizationUnitSwitcher.js.map +1 -0
- package/dist/client/components/account/UserProfile/UserProfile.d.ts +7 -1
- package/dist/client/components/account/UserProfile/UserProfile.d.ts.map +1 -1
- package/dist/client/components/account/UserProfile/UserProfile.js +12 -2
- package/dist/client/components/account/UserProfile/UserProfile.js.map +1 -1
- package/dist/client/components/account/VerifyAttribute/VerifyAttribute.d.ts +41 -0
- package/dist/client/components/account/VerifyAttribute/VerifyAttribute.d.ts.map +1 -0
- package/dist/client/components/account/VerifyAttribute/VerifyAttribute.js +75 -0
- package/dist/client/components/account/VerifyAttribute/VerifyAttribute.js.map +1 -0
- package/dist/client/components/auth/SignIn/SignIn.d.ts +7 -1
- package/dist/client/components/auth/SignIn/SignIn.d.ts.map +1 -1
- package/dist/client/components/auth/SignIn/SignIn.js +3 -2
- package/dist/client/components/auth/SignIn/SignIn.js.map +1 -1
- package/dist/client/components/management/AgentCreate/AgentCreate.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/AgentCreate/AgentCreate.js +1 -1
- package/dist/client/components/management/AgentCreate/AgentCreate.js.map +1 -0
- package/dist/client/components/management/AgentDetails/AgentDetails.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/AgentDetails/AgentDetails.js +1 -1
- package/dist/client/components/management/AgentDetails/AgentDetails.js.map +1 -0
- package/dist/client/components/management/AgentList/AgentList.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/AgentList/AgentList.js +1 -1
- package/dist/client/components/management/AgentList/AgentList.js.map +1 -0
- package/dist/client/components/management/ApplicationCreate/ApplicationCreate.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/ApplicationCreate/ApplicationCreate.js +1 -1
- package/dist/client/components/management/ApplicationCreate/ApplicationCreate.js.map +1 -0
- package/dist/client/components/management/ApplicationDetails/ApplicationDetails.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/ApplicationDetails/ApplicationDetails.js +1 -1
- package/dist/client/components/management/ApplicationDetails/ApplicationDetails.js.map +1 -0
- package/dist/client/components/management/ApplicationList/ApplicationList.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/ApplicationList/ApplicationList.js +1 -1
- package/dist/client/components/management/ApplicationList/ApplicationList.js.map +1 -0
- package/dist/client/components/management/GroupCreate/GroupCreate.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/GroupCreate/GroupCreate.js +1 -1
- package/dist/client/components/management/GroupCreate/GroupCreate.js.map +1 -0
- package/dist/client/components/management/GroupDetails/GroupDetails.d.ts +17 -0
- package/dist/client/components/management/GroupDetails/GroupDetails.d.ts.map +1 -0
- package/dist/client/components/management/GroupDetails/GroupDetails.js +25 -0
- package/dist/client/components/management/GroupDetails/GroupDetails.js.map +1 -0
- package/dist/client/components/management/GroupList/GroupList.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/GroupList/GroupList.js +1 -1
- package/dist/client/components/management/GroupList/GroupList.js.map +1 -0
- package/dist/client/components/management/GroupMembers/GroupMembers.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/GroupMembers/GroupMembers.js +1 -1
- package/dist/client/components/management/GroupMembers/GroupMembers.js.map +1 -0
- package/dist/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.d.ts +17 -0
- package/dist/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.d.ts.map +1 -0
- package/dist/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.js +25 -0
- package/dist/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.js.map +1 -0
- package/dist/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.d.ts +17 -0
- package/dist/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.d.ts.map +1 -0
- package/dist/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.js +25 -0
- package/dist/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.js.map +1 -0
- package/dist/client/components/management/OrganizationUnitList/OrganizationUnitList.d.ts +17 -0
- package/dist/client/components/management/OrganizationUnitList/OrganizationUnitList.d.ts.map +1 -0
- package/dist/client/components/management/OrganizationUnitList/OrganizationUnitList.js +25 -0
- package/dist/client/components/management/OrganizationUnitList/OrganizationUnitList.js.map +1 -0
- package/dist/client/components/management/ProjectCreate/ProjectCreate.d.ts +17 -0
- package/dist/client/components/management/ProjectCreate/ProjectCreate.d.ts.map +1 -0
- package/dist/client/components/management/ProjectCreate/ProjectCreate.js +25 -0
- package/dist/client/components/management/ProjectCreate/ProjectCreate.js.map +1 -0
- package/dist/client/components/management/ProjectDetails/ProjectDetails.d.ts +17 -0
- package/dist/client/components/management/ProjectDetails/ProjectDetails.d.ts.map +1 -0
- package/dist/client/components/management/ProjectDetails/ProjectDetails.js +25 -0
- package/dist/client/components/management/ProjectDetails/ProjectDetails.js.map +1 -0
- package/dist/client/components/management/ProjectList/ProjectList.d.ts +17 -0
- package/dist/client/components/management/ProjectList/ProjectList.d.ts.map +1 -0
- package/dist/client/components/management/ProjectList/ProjectList.js +25 -0
- package/dist/client/components/management/ProjectList/ProjectList.js.map +1 -0
- package/dist/client/components/management/ProjectSwitcher/ProjectSwitcher.d.ts +19 -0
- package/dist/client/components/management/ProjectSwitcher/ProjectSwitcher.d.ts.map +1 -0
- package/dist/client/components/management/ProjectSwitcher/ProjectSwitcher.js +27 -0
- package/dist/client/components/management/ProjectSwitcher/ProjectSwitcher.js.map +1 -0
- package/dist/client/components/management/RoleAssignments/RoleAssignments.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/RoleAssignments/RoleAssignments.js +1 -1
- package/dist/client/components/management/RoleAssignments/RoleAssignments.js.map +1 -0
- package/dist/client/components/management/RoleCreate/RoleCreate.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/RoleCreate/RoleCreate.js +1 -1
- package/dist/client/components/management/RoleCreate/RoleCreate.js.map +1 -0
- package/dist/client/components/management/RoleDetails/RoleDetails.d.ts +17 -0
- package/dist/client/components/management/RoleDetails/RoleDetails.d.ts.map +1 -0
- package/dist/client/components/management/RoleDetails/RoleDetails.js +25 -0
- package/dist/client/components/management/RoleDetails/RoleDetails.js.map +1 -0
- package/dist/client/components/management/RoleList/RoleList.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/RoleList/RoleList.js +1 -1
- package/dist/client/components/management/RoleList/RoleList.js.map +1 -0
- package/dist/client/components/management/RolePermissions/RolePermissions.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/RolePermissions/RolePermissions.js +1 -1
- package/dist/client/components/management/RolePermissions/RolePermissions.js.map +1 -0
- package/dist/client/components/management/SharingPolicies/SharingPolicies.d.ts +17 -0
- package/dist/client/components/management/SharingPolicies/SharingPolicies.d.ts.map +1 -0
- package/dist/client/components/management/SharingPolicies/SharingPolicies.js +25 -0
- package/dist/client/components/management/SharingPolicies/SharingPolicies.js.map +1 -0
- package/dist/client/components/management/UserCreate/UserCreate.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/UserCreate/UserCreate.js +1 -1
- package/dist/client/components/management/UserCreate/UserCreate.js.map +1 -0
- package/dist/client/components/management/UserDetails/UserDetails.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/UserDetails/UserDetails.js +1 -1
- package/dist/client/components/management/UserDetails/UserDetails.js.map +1 -0
- package/dist/client/components/management/UserList/UserList.d.ts.map +1 -0
- package/dist/client/components/{admin → management}/UserList/UserList.js +1 -1
- package/dist/client/components/management/UserList/UserList.js.map +1 -0
- package/dist/client/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -1
- package/dist/client/contexts/ThunderID/ThunderIDProvider.js +67 -4
- package/dist/client/contexts/ThunderID/ThunderIDProvider.js.map +1 -1
- package/dist/client/index.d.ts +57 -33
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +29 -17
- package/dist/client/management.d.ts +3 -0
- package/dist/client/management.d.ts.map +1 -0
- package/dist/client/management.js +6 -0
- package/dist/index.js +30 -18
- package/dist/server/actions/account/getAccessibleOrganizationUnitsAction.d.ts +20 -0
- package/dist/server/actions/account/getAccessibleOrganizationUnitsAction.d.ts.map +1 -0
- package/dist/server/actions/account/getAccessibleOrganizationUnitsAction.js +51 -0
- package/dist/server/actions/account/getAccessibleOrganizationUnitsAction.js.map +1 -0
- package/dist/server/actions/account/getCurrentOrganizationUnitAction.d.ts +10 -0
- package/dist/server/actions/account/getCurrentOrganizationUnitAction.d.ts.map +1 -0
- package/dist/server/actions/account/getCurrentOrganizationUnitAction.js +28 -0
- package/dist/server/actions/account/getCurrentOrganizationUnitAction.js.map +1 -0
- package/dist/server/actions/auth/executeSelfFlowAction.d.ts +20 -0
- package/dist/server/actions/auth/executeSelfFlowAction.d.ts.map +1 -0
- package/dist/server/actions/auth/executeSelfFlowAction.js +45 -0
- package/dist/server/actions/auth/executeSelfFlowAction.js.map +1 -0
- package/dist/server/actions/auth/switchOrganizationUnitAction.d.ts +30 -0
- package/dist/server/actions/auth/switchOrganizationUnitAction.d.ts.map +1 -0
- package/dist/server/actions/auth/switchOrganizationUnitAction.js +82 -0
- package/dist/server/actions/auth/switchOrganizationUnitAction.js.map +1 -0
- package/dist/server/thunderid.d.ts +2 -1
- package/dist/server/thunderid.d.ts.map +1 -1
- package/dist/server/thunderid.js +14 -0
- package/dist/server/thunderid.js.map +1 -1
- package/package.json +3 -3
- package/dist/cjs/client/components/admin/AgentCreate/AgentCreate.cjs.map +0 -1
- package/dist/cjs/client/components/admin/AgentDetails/AgentDetails.cjs.map +0 -1
- package/dist/cjs/client/components/admin/AgentList/AgentList.cjs.map +0 -1
- package/dist/cjs/client/components/admin/ApplicationCreate/ApplicationCreate.cjs.map +0 -1
- package/dist/cjs/client/components/admin/ApplicationDetails/ApplicationDetails.cjs.map +0 -1
- package/dist/cjs/client/components/admin/ApplicationList/ApplicationList.cjs.map +0 -1
- package/dist/cjs/client/components/admin/GroupCreate/GroupCreate.cjs.map +0 -1
- package/dist/cjs/client/components/admin/GroupList/GroupList.cjs.map +0 -1
- package/dist/cjs/client/components/admin/GroupMembers/GroupMembers.cjs.map +0 -1
- package/dist/cjs/client/components/admin/RoleAssignments/RoleAssignments.cjs.map +0 -1
- package/dist/cjs/client/components/admin/RoleCreate/RoleCreate.cjs.map +0 -1
- package/dist/cjs/client/components/admin/RoleList/RoleList.cjs.map +0 -1
- package/dist/cjs/client/components/admin/RolePermissions/RolePermissions.cjs.map +0 -1
- package/dist/cjs/client/components/admin/UserCreate/UserCreate.cjs.map +0 -1
- package/dist/cjs/client/components/admin/UserDetails/UserDetails.cjs.map +0 -1
- package/dist/cjs/client/components/admin/UserList/UserList.cjs.map +0 -1
- package/dist/client/admin.d.ts +0 -3
- package/dist/client/admin.d.ts.map +0 -1
- package/dist/client/admin.js +0 -6
- package/dist/client/components/admin/AgentCreate/AgentCreate.d.ts.map +0 -1
- package/dist/client/components/admin/AgentCreate/AgentCreate.js.map +0 -1
- package/dist/client/components/admin/AgentDetails/AgentDetails.d.ts.map +0 -1
- package/dist/client/components/admin/AgentDetails/AgentDetails.js.map +0 -1
- package/dist/client/components/admin/AgentList/AgentList.d.ts.map +0 -1
- package/dist/client/components/admin/AgentList/AgentList.js.map +0 -1
- package/dist/client/components/admin/ApplicationCreate/ApplicationCreate.d.ts.map +0 -1
- package/dist/client/components/admin/ApplicationCreate/ApplicationCreate.js.map +0 -1
- package/dist/client/components/admin/ApplicationDetails/ApplicationDetails.d.ts.map +0 -1
- package/dist/client/components/admin/ApplicationDetails/ApplicationDetails.js.map +0 -1
- package/dist/client/components/admin/ApplicationList/ApplicationList.d.ts.map +0 -1
- package/dist/client/components/admin/ApplicationList/ApplicationList.js.map +0 -1
- package/dist/client/components/admin/GroupCreate/GroupCreate.d.ts.map +0 -1
- package/dist/client/components/admin/GroupCreate/GroupCreate.js.map +0 -1
- package/dist/client/components/admin/GroupList/GroupList.d.ts.map +0 -1
- package/dist/client/components/admin/GroupList/GroupList.js.map +0 -1
- package/dist/client/components/admin/GroupMembers/GroupMembers.d.ts.map +0 -1
- package/dist/client/components/admin/GroupMembers/GroupMembers.js.map +0 -1
- package/dist/client/components/admin/RoleAssignments/RoleAssignments.d.ts.map +0 -1
- package/dist/client/components/admin/RoleAssignments/RoleAssignments.js.map +0 -1
- package/dist/client/components/admin/RoleCreate/RoleCreate.d.ts.map +0 -1
- package/dist/client/components/admin/RoleCreate/RoleCreate.js.map +0 -1
- package/dist/client/components/admin/RoleList/RoleList.d.ts.map +0 -1
- package/dist/client/components/admin/RoleList/RoleList.js.map +0 -1
- package/dist/client/components/admin/RolePermissions/RolePermissions.d.ts.map +0 -1
- package/dist/client/components/admin/RolePermissions/RolePermissions.js.map +0 -1
- package/dist/client/components/admin/UserCreate/UserCreate.d.ts.map +0 -1
- package/dist/client/components/admin/UserCreate/UserCreate.js.map +0 -1
- package/dist/client/components/admin/UserDetails/UserDetails.d.ts.map +0 -1
- package/dist/client/components/admin/UserDetails/UserDetails.js.map +0 -1
- package/dist/client/components/admin/UserList/UserList.d.ts.map +0 -1
- package/dist/client/components/admin/UserList/UserList.js.map +0 -1
- /package/dist/cjs/client/{admin.cjs → management.cjs} +0 -0
- /package/dist/client/components/{admin → management}/AgentCreate/AgentCreate.d.ts +0 -0
- /package/dist/client/components/{admin → management}/AgentDetails/AgentDetails.d.ts +0 -0
- /package/dist/client/components/{admin → management}/AgentList/AgentList.d.ts +0 -0
- /package/dist/client/components/{admin → management}/ApplicationCreate/ApplicationCreate.d.ts +0 -0
- /package/dist/client/components/{admin → management}/ApplicationDetails/ApplicationDetails.d.ts +0 -0
- /package/dist/client/components/{admin → management}/ApplicationList/ApplicationList.d.ts +0 -0
- /package/dist/client/components/{admin → management}/GroupCreate/GroupCreate.d.ts +0 -0
- /package/dist/client/components/{admin → management}/GroupList/GroupList.d.ts +0 -0
- /package/dist/client/components/{admin → management}/GroupMembers/GroupMembers.d.ts +0 -0
- /package/dist/client/components/{admin → management}/RoleAssignments/RoleAssignments.d.ts +0 -0
- /package/dist/client/components/{admin → management}/RoleCreate/RoleCreate.d.ts +0 -0
- /package/dist/client/components/{admin → management}/RoleList/RoleList.d.ts +0 -0
- /package/dist/client/components/{admin → management}/RolePermissions/RolePermissions.d.ts +0 -0
- /package/dist/client/components/{admin → management}/UserCreate/UserCreate.d.ts +0 -0
- /package/dist/client/components/{admin → management}/UserDetails/UserDetails.d.ts +0 -0
- /package/dist/client/components/{admin → management}/UserList/UserList.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignIn.cjs","names":["SignIn: FC<SignInProps>","useThunderID","normalizedError: Error","response: any","EmbeddedFlowType","ThunderIDRuntimeError","BaseSignIn"],"sources":["../../../../../../src/client/components/auth/SignIn/SignIn.tsx"],"sourcesContent":["// Copyright 2025 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {EmbeddedFlowComponent, EmbeddedFlowType, ThunderIDRuntimeError} from '@thunderid/node';\nimport {BaseSignIn, BaseSignInProps, normalizeFlowResponse, useTranslation} from '@thunderid/react';\nimport {FC, useEffect, useRef, useState} from 'react';\nimport useThunderID from '../../../contexts/ThunderID/useThunderID';\n\n/**\n * Props for the SignIn component.\n * Extends BaseSignInProps for full compatibility with the React BaseSignIn component\n */\nexport type SignInProps = Pick<\n BaseSignInProps,\n 'children' | 'className' | 'id' | 'onSuccess' | 'onError' | 'variant' | 'size'\n
|
|
1
|
+
{"version":3,"file":"SignIn.cjs","names":["SignIn: FC<SignInProps>","useThunderID","normalizedError: Error","response: any","EmbeddedFlowType","ThunderIDRuntimeError","BaseSignIn"],"sources":["../../../../../../src/client/components/auth/SignIn/SignIn.tsx"],"sourcesContent":["// Copyright 2025 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {EmbeddedFlowComponent, EmbeddedFlowType, ThunderIDRuntimeError} from '@thunderid/node';\nimport {BaseSignIn, BaseSignInProps, normalizeFlowResponse, useTranslation} from '@thunderid/react';\nimport {FC, useEffect, useRef, useState} from 'react';\nimport useThunderID from '../../../contexts/ThunderID/useThunderID';\n\n/**\n * Props for the SignIn component.\n * Extends BaseSignInProps for full compatibility with the React BaseSignIn component\n */\nexport type SignInProps = Pick<\n BaseSignInProps,\n 'children' | 'className' | 'id' | 'onSuccess' | 'onError' | 'variant' | 'size'\n> & {\n /**\n * Bounds the sign-in to this organization unit. Sent as `ouId` on the request that starts the\n * `AUTHENTICATION` flow only, never on a continuation.\n */\n organizationUnitId?: string;\n};\n\n/**\n * A SignIn component for Next.js that provides native authentication flow.\n * This component delegates to the BaseSignIn from @thunderid/react. Unlike BaseSignUp,\n * BaseSignIn does not manage its own flow state, so this component initiates the flow\n * (using the server-action-backed `signIn`) and tracks `components`/`executionId` itself.\n */\nconst SignIn: FC<SignInProps> = ({\n size = 'medium',\n variant = 'outlined',\n onError,\n organizationUnitId,\n ...rest\n}: SignInProps) => {\n const {signIn, applicationId, scopes} = useThunderID();\n const {t} = useTranslation();\n\n const [components, setComponents] = useState<EmbeddedFlowComponent[]>([]);\n const [additionalData, setAdditionalData] = useState<Record<string, any>>({});\n const [executionId, setExecutionId] = useState<string | undefined>(undefined);\n const [isFlowInitialized, setIsFlowInitialized] = useState(false);\n const [flowError, setFlowError] = useState<Error | null>(null);\n const initializationAttemptedRef = useRef(false);\n // A fresh challenge token is required on every step to prevent replay attacks; the server\n // rotates it on each response, so it's tracked in a ref (not state) to avoid a stale value\n // from a closure captured before the previous response's state update committed.\n const challengeTokenRef = useRef<string | undefined>(undefined);\n\n const applyFlowResponse = (response: any): void => {\n const normalized = normalizeFlowResponse(response, t, {resolveTranslations: false});\n\n challengeTokenRef.current = response?.challengeToken ?? undefined;\n setExecutionId(normalized.executionId ?? undefined);\n setComponents(normalized.components);\n setAdditionalData(normalized.additionalData);\n };\n\n const handleFlowError = (error: unknown): void => {\n const normalizedError: Error = error instanceof Error ? error : new Error(String(error));\n\n setFlowError(normalizedError);\n onError?.(normalizedError);\n };\n\n useEffect(() => {\n if (initializationAttemptedRef.current || !signIn) {\n return;\n }\n\n initializationAttemptedRef.current = true;\n\n (async (): Promise<void> => {\n try {\n const response: any = await signIn(\n {\n applicationId,\n flowType: EmbeddedFlowType.Authentication,\n ...(scopes && {scopes}),\n ...(organizationUnitId && {ouId: organizationUnitId}),\n },\n {},\n );\n\n // `response` is undefined when the provider already redirected\n // (OAuth-redirect or completed flows are handled there directly).\n if (response) {\n applyFlowResponse(response);\n }\n } catch (error) {\n handleFlowError(error);\n } finally {\n setIsFlowInitialized(true);\n }\n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [signIn]);\n\n const handleOnSubmit = async (payload: any): Promise<void> => {\n if (!signIn) {\n throw new ThunderIDRuntimeError(\n '`signIn` function is not available.',\n 'SignIn-handleOnSubmit-RuntimeError-001',\n 'nextjs',\n );\n }\n\n const response: any = await signIn(\n {\n ...payload,\n executionId,\n ...(challengeTokenRef.current ? {challengeToken: challengeTokenRef.current} : {}),\n },\n {},\n );\n\n if (response) {\n applyFlowResponse(response);\n }\n };\n\n return (\n <BaseSignIn\n additionalData={additionalData}\n components={components}\n error={flowError}\n isLoading={!isFlowInitialized}\n onError={onError}\n onSubmit={handleOnSubmit}\n size={size}\n variant={variant}\n {...rest}\n />\n );\n};\n\nSignIn.displayName = 'SignIn';\n\nexport default SignIn;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA+BA,MAAMA,UAA2B,EAC/B,OAAO,UACP,UAAU,YACV,SACA,mBACA,GAAG,WACc;CACjB,MAAM,EAAC,QAAQ,eAAe,WAAUC,8BAAc;CACtD,MAAM,EAAC,6CAAqB;CAE5B,MAAM,CAAC,YAAY,qCAAmD,EAAE,CAAC;CACzE,MAAM,CAAC,gBAAgB,yCAAmD,EAAE,CAAC;CAC7E,MAAM,CAAC,aAAa,sCAA+C,OAAU;CAC7E,MAAM,CAAC,mBAAmB,4CAAiC,MAAM;CACjE,MAAM,CAAC,WAAW,oCAAuC,KAAK;CAC9D,MAAM,+CAAoC,MAAM;CAIhD,MAAM,sCAA+C,OAAU;CAE/D,MAAM,qBAAqB,aAAwB;EACjD,MAAM,0DAAmC,UAAU,GAAG,EAAC,qBAAqB,OAAM,CAAC;AAEnF,oBAAkB,UAAU,UAAU,kBAAkB;AACxD,iBAAe,WAAW,eAAe,OAAU;AACnD,gBAAc,WAAW,WAAW;AACpC,oBAAkB,WAAW,eAAe;;CAG9C,MAAM,mBAAmB,UAAyB;EAChD,MAAMC,kBAAyB,iBAAiB,QAAQ,QAAQ,IAAI,MAAM,OAAO,MAAM,CAAC;AAExF,eAAa,gBAAgB;AAC7B,YAAU,gBAAgB;;AAG5B,4BAAgB;AACd,MAAI,2BAA2B,WAAW,CAAC,OACzC;AAGF,6BAA2B,UAAU;AAErC,GAAC,YAA2B;AAC1B,OAAI;IACF,MAAMC,WAAgB,MAAM,OAC1B;KACE;KACA,UAAUC,kCAAiB;KAC3B,GAAI,UAAU,EAAC,QAAO;KACtB,GAAI,sBAAsB,EAAC,MAAM,oBAAmB;KACrD,EACD,EAAE,CACH;AAID,QAAI,SACF,mBAAkB,SAAS;YAEtB,OAAO;AACd,oBAAgB,MAAM;aACd;AACR,yBAAqB,KAAK;;MAE1B;IAEH,CAAC,OAAO,CAAC;CAEZ,MAAM,iBAAiB,OAAO,YAAgC;AAC5D,MAAI,CAAC,OACH,OAAM,IAAIC,uCACR,uCACA,0CACA,SACD;EAGH,MAAMF,WAAgB,MAAM,OAC1B;GACE,GAAG;GACH;GACA,GAAI,kBAAkB,UAAU,EAAC,gBAAgB,kBAAkB,SAAQ,GAAG,EAAE;GACjF,EACD,EAAE,CACH;AAED,MAAI,SACF,mBAAkB,SAAS;;AAI/B,QACE,2CAACG;EACiB;EACJ;EACZ,OAAO;EACP,WAAW,CAAC;EACH;EACT,UAAU;EACJ;EACG;EACT,GAAI;GACJ;;AAIN,OAAO,cAAc;AAErB,qBAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/AgentCreate/AgentCreate.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Creates an agent.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentCreate.cjs","names":["AgentCreate: FC<AgentCreateProps>","ReactAgentCreate"],"sources":["../../../../../../src/client/components/management/AgentCreate/AgentCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {AgentCreate as ReactAgentCreate, AgentCreateProps as ReactAgentCreateProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type AgentCreateProps = ReactAgentCreateProps;\n\n/**\n * Creates an agent.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <AgentCreate onCreated={(agent) => router.push(`/admin/agents/${agent.id}`)} />\n * ```\n */\nconst AgentCreate: FC<AgentCreateProps> = (props: AgentCreateProps): ReactElement => <ReactAgentCreate {...props} />;\n\nAgentCreate.displayName = 'AgentCreate';\n\nexport default AgentCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,eAAqC,UAA0C,2CAACC,iCAAiB,GAAI,QAAS;AAEpH,YAAY,cAAc;AAE1B,0BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/AgentDetails/AgentDetails.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Shows an agent's details, groups and roles, and optionally deletes the agent.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentDetails.cjs","names":["AgentDetails: FC<AgentDetailsProps>","ReactAgentDetails"],"sources":["../../../../../../src/client/components/management/AgentDetails/AgentDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {AgentDetails as ReactAgentDetails, AgentDetailsProps as ReactAgentDetailsProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type AgentDetailsProps = ReactAgentDetailsProps;\n\n/**\n * Shows an agent's details, groups and roles, and optionally deletes the agent.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <AgentDetails agentId={id} deletable onDeleted={() => router.push('/admin/agents')} />\n * ```\n */\nconst AgentDetails: FC<AgentDetailsProps> = (props: AgentDetailsProps): ReactElement => (\n <ReactAgentDetails {...props} />\n);\n\nAgentDetails.displayName = 'AgentDetails';\n\nexport default AgentDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,gBAAuC,UAC3C,2CAACC,kCAAkB,GAAI,QAAS;AAGlC,aAAa,cAAc;AAE3B,2BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/AgentList/AgentList.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists agents, a page at a time.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentList.cjs","names":["AgentList: FC<AgentListProps>","ReactAgentList"],"sources":["../../../../../../src/client/components/management/AgentList/AgentList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {AgentList as ReactAgentList, AgentListProps as ReactAgentListProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type AgentListProps = ReactAgentListProps;\n\n/**\n * Lists agents, a page at a time.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <AgentList onSelect={(agent) => router.push(`/admin/agents/${agent.id}`)} />\n * ```\n */\nconst AgentList: FC<AgentListProps> = (props: AgentListProps): ReactElement => <ReactAgentList {...props} />;\n\nAgentList.displayName = 'AgentList';\n\nexport default AgentList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,aAAiC,UAAwC,2CAACC,+BAAe,GAAI,QAAS;AAE5G,UAAU,cAAc;AAExB,wBAAe"}
|
package/dist/cjs/client/components/{admin → management}/ApplicationCreate/ApplicationCreate.cjs
RENAMED
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/ApplicationCreate/ApplicationCreate.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Creates an application with an OAuth client, and shows its client secret once when the server
|
|
13
13
|
* returns one.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationCreate.cjs","names":["ApplicationCreate: FC<ApplicationCreateProps>","ReactApplicationCreate"],"sources":["../../../../../../src/client/components/management/ApplicationCreate/ApplicationCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n ApplicationCreate as ReactApplicationCreate,\n ApplicationCreateProps as ReactApplicationCreateProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ApplicationCreateProps = ReactApplicationCreateProps;\n\n/**\n * Creates an application with an OAuth client, and shows its client secret once when the server\n * returns one.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ApplicationCreate onCreated={(application) => router.push(`/admin/applications/${application.id}`)} />\n * ```\n */\nconst ApplicationCreate: FC<ApplicationCreateProps> = (props: ApplicationCreateProps): ReactElement => (\n <ReactApplicationCreate {...props} />\n);\n\nApplicationCreate.displayName = 'ApplicationCreate';\n\nexport default ApplicationCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAMA,qBAAiD,UACrD,2CAACC,uCAAuB,GAAI,QAAS;AAGvC,kBAAkB,cAAc;AAEhC,gCAAe"}
|
package/dist/cjs/client/components/{admin → management}/ApplicationDetails/ApplicationDetails.cjs
RENAMED
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/ApplicationDetails/ApplicationDetails.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Shows an application and its OAuth configuration, and optionally edits it, regenerates its client
|
|
13
13
|
* secret or deletes it.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDetails.cjs","names":["ApplicationDetails: FC<ApplicationDetailsProps>","ReactApplicationDetails"],"sources":["../../../../../../src/client/components/management/ApplicationDetails/ApplicationDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n ApplicationDetails as ReactApplicationDetails,\n ApplicationDetailsProps as ReactApplicationDetailsProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ApplicationDetailsProps = ReactApplicationDetailsProps;\n\n/**\n * Shows an application and its OAuth configuration, and optionally edits it, regenerates its client\n * secret or deletes it.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ApplicationDetails applicationId={id} editable deletable onDeleted={() => router.push('/admin/applications')} />\n * ```\n */\nconst ApplicationDetails: FC<ApplicationDetailsProps> = (props: ApplicationDetailsProps): ReactElement => (\n <ReactApplicationDetails {...props} />\n);\n\nApplicationDetails.displayName = 'ApplicationDetails';\n\nexport default ApplicationDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAMA,sBAAmD,UACvD,2CAACC,wCAAwB,GAAI,QAAS;AAGxC,mBAAmB,cAAc;AAEjC,iCAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/ApplicationList/ApplicationList.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists applications, a page at a time.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationList.cjs","names":["ApplicationList: FC<ApplicationListProps>","ReactApplicationList"],"sources":["../../../../../../src/client/components/management/ApplicationList/ApplicationList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n ApplicationList as ReactApplicationList,\n ApplicationListProps as ReactApplicationListProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ApplicationListProps = ReactApplicationListProps;\n\n/**\n * Lists applications, a page at a time.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ApplicationList onSelect={(application) => router.push(`/admin/applications/${application.id}`)} />\n * ```\n */\nconst ApplicationList: FC<ApplicationListProps> = (props: ApplicationListProps): ReactElement => (\n <ReactApplicationList {...props} />\n);\n\nApplicationList.displayName = 'ApplicationList';\n\nexport default ApplicationList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,mBAA6C,UACjD,2CAACC,qCAAqB,GAAI,QAAS;AAGrC,gBAAgB,cAAc;AAE9B,8BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/GroupCreate/GroupCreate.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Creates a group.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupCreate.cjs","names":["GroupCreate: FC<GroupCreateProps>","ReactGroupCreate"],"sources":["../../../../../../src/client/components/management/GroupCreate/GroupCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {GroupCreate as ReactGroupCreate, GroupCreateProps as ReactGroupCreateProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type GroupCreateProps = ReactGroupCreateProps;\n\n/**\n * Creates a group.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <GroupCreate onCreated={(group) => router.push(`/admin/groups/${group.id}`)} />\n * ```\n */\nconst GroupCreate: FC<GroupCreateProps> = (props: GroupCreateProps): ReactElement => <ReactGroupCreate {...props} />;\n\nGroupCreate.displayName = 'GroupCreate';\n\nexport default GroupCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,eAAqC,UAA0C,2CAACC,iCAAiB,GAAI,QAAS;AAEpH,YAAY,cAAc;AAE1B,0BAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/GroupDetails/GroupDetails.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Shows a group with its members, and optionally manages the members and deletes the group.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <GroupDetails groupId={id} editable deletable onDeleted={() => router.push('/admin/groups')} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const GroupDetails = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.GroupDetails, { ...props });
|
|
23
|
+
GroupDetails.displayName = "GroupDetails";
|
|
24
|
+
var GroupDetails_default = GroupDetails;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = GroupDetails_default;
|
|
28
|
+
//# sourceMappingURL=GroupDetails.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupDetails.cjs","names":["GroupDetails: FC<GroupDetailsProps>","ReactGroupDetails"],"sources":["../../../../../../src/client/components/management/GroupDetails/GroupDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {GroupDetails as ReactGroupDetails, GroupDetailsProps as ReactGroupDetailsProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type GroupDetailsProps = ReactGroupDetailsProps;\n\n/**\n * Shows a group with its members, and optionally manages the members and deletes the group.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <GroupDetails groupId={id} editable deletable onDeleted={() => router.push('/admin/groups')} />\n * ```\n */\nconst GroupDetails: FC<GroupDetailsProps> = (props: GroupDetailsProps): ReactElement => (\n <ReactGroupDetails {...props} />\n);\n\nGroupDetails.displayName = 'GroupDetails';\n\nexport default GroupDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,gBAAuC,UAC3C,2CAACC,kCAAkB,GAAI,QAAS;AAGlC,aAAa,cAAc;AAE3B,2BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/GroupList/GroupList.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists groups, a page at a time.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupList.cjs","names":["GroupList: FC<GroupListProps>","ReactGroupList"],"sources":["../../../../../../src/client/components/management/GroupList/GroupList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {GroupList as ReactGroupList, GroupListProps as ReactGroupListProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type GroupListProps = ReactGroupListProps;\n\n/**\n * Lists groups, a page at a time.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <GroupList onSelect={(group) => router.push(`/admin/groups/${group.id}`)} />\n * ```\n */\nconst GroupList: FC<GroupListProps> = (props: GroupListProps): ReactElement => <ReactGroupList {...props} />;\n\nGroupList.displayName = 'GroupList';\n\nexport default GroupList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,aAAiC,UAAwC,2CAACC,+BAAe,GAAI,QAAS;AAE5G,UAAU,cAAc;AAExB,wBAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/GroupMembers/GroupMembers.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists a group's members and adds or removes them.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupMembers.cjs","names":["GroupMembers: FC<GroupMembersProps>","ReactGroupMembers"],"sources":["../../../../../../src/client/components/management/GroupMembers/GroupMembers.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {GroupMembers as ReactGroupMembers, GroupMembersProps as ReactGroupMembersProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type GroupMembersProps = ReactGroupMembersProps;\n\n/**\n * Lists a group's members and adds or removes them.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <GroupMembers groupId={id} />\n * ```\n */\nconst GroupMembers: FC<GroupMembersProps> = (props: GroupMembersProps): ReactElement => (\n <ReactGroupMembers {...props} />\n);\n\nGroupMembers.displayName = 'GroupMembers';\n\nexport default GroupMembers;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,gBAAuC,UAC3C,2CAACC,kCAAkB,GAAI,QAAS;AAGlC,aAAa,cAAc;AAE3B,2BAAe"}
|
package/dist/cjs/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Creates an organization unit.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <OrganizationUnitCreate parentId={unitId} onCreated={(unit) => router.push(`/admin/units/${unit.id}`)} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const OrganizationUnitCreate = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.OrganizationUnitCreate, { ...props });
|
|
23
|
+
OrganizationUnitCreate.displayName = "OrganizationUnitCreate";
|
|
24
|
+
var OrganizationUnitCreate_default = OrganizationUnitCreate;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = OrganizationUnitCreate_default;
|
|
28
|
+
//# sourceMappingURL=OrganizationUnitCreate.cjs.map
|
package/dist/cjs/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUnitCreate.cjs","names":["OrganizationUnitCreate: FC<OrganizationUnitCreateProps>","ReactOrganizationUnitCreate"],"sources":["../../../../../../src/client/components/management/OrganizationUnitCreate/OrganizationUnitCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n OrganizationUnitCreate as ReactOrganizationUnitCreate,\n OrganizationUnitCreateProps as ReactOrganizationUnitCreateProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type OrganizationUnitCreateProps = ReactOrganizationUnitCreateProps;\n\n/**\n * Creates an organization unit.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <OrganizationUnitCreate parentId={unitId} onCreated={(unit) => router.push(`/admin/units/${unit.id}`)} />\n * ```\n */\nconst OrganizationUnitCreate: FC<OrganizationUnitCreateProps> = (props: OrganizationUnitCreateProps): ReactElement => (\n <ReactOrganizationUnitCreate {...props} />\n);\n\nOrganizationUnitCreate.displayName = 'OrganizationUnitCreate';\n\nexport default OrganizationUnitCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,0BAA2D,UAC/D,2CAACC,4CAA4B,GAAI,QAAS;AAG5C,uBAAuB,cAAc;AAErC,qCAAe"}
|
package/dist/cjs/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Shows an organization unit with its child units and the users, groups and roles in it, and lets the signed-in user edit and delete it.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <OrganizationUnitDetails organizationUnitId={unitId} editable deletable />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const OrganizationUnitDetails = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.OrganizationUnitDetails, { ...props });
|
|
23
|
+
OrganizationUnitDetails.displayName = "OrganizationUnitDetails";
|
|
24
|
+
var OrganizationUnitDetails_default = OrganizationUnitDetails;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = OrganizationUnitDetails_default;
|
|
28
|
+
//# sourceMappingURL=OrganizationUnitDetails.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUnitDetails.cjs","names":["OrganizationUnitDetails: FC<OrganizationUnitDetailsProps>","ReactOrganizationUnitDetails"],"sources":["../../../../../../src/client/components/management/OrganizationUnitDetails/OrganizationUnitDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n OrganizationUnitDetails as ReactOrganizationUnitDetails,\n OrganizationUnitDetailsProps as ReactOrganizationUnitDetailsProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type OrganizationUnitDetailsProps = ReactOrganizationUnitDetailsProps;\n\n/**\n * Shows an organization unit with its child units and the users, groups and roles in it, and lets the signed-in user edit and delete it.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <OrganizationUnitDetails organizationUnitId={unitId} editable deletable />\n * ```\n */\nconst OrganizationUnitDetails: FC<OrganizationUnitDetailsProps> = (\n props: OrganizationUnitDetailsProps,\n): ReactElement => <ReactOrganizationUnitDetails {...props} />;\n\nOrganizationUnitDetails.displayName = 'OrganizationUnitDetails';\n\nexport default OrganizationUnitDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,2BACJ,UACiB,2CAACC,6CAA6B,GAAI,QAAS;AAE9D,wBAAwB,cAAc;AAEtC,sCAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/OrganizationUnitList/OrganizationUnitList.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Lists organization units, a page at a time: the root units, or the children of `parentId`.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <OrganizationUnitList parentId={projectId} onSelect={(unit) => router.push(`/admin/units/${unit.id}`)} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const OrganizationUnitList = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.OrganizationUnitList, { ...props });
|
|
23
|
+
OrganizationUnitList.displayName = "OrganizationUnitList";
|
|
24
|
+
var OrganizationUnitList_default = OrganizationUnitList;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = OrganizationUnitList_default;
|
|
28
|
+
//# sourceMappingURL=OrganizationUnitList.cjs.map
|
package/dist/cjs/client/components/management/OrganizationUnitList/OrganizationUnitList.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUnitList.cjs","names":["OrganizationUnitList: FC<OrganizationUnitListProps>","ReactOrganizationUnitList"],"sources":["../../../../../../src/client/components/management/OrganizationUnitList/OrganizationUnitList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n OrganizationUnitList as ReactOrganizationUnitList,\n OrganizationUnitListProps as ReactOrganizationUnitListProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type OrganizationUnitListProps = ReactOrganizationUnitListProps;\n\n/**\n * Lists organization units, a page at a time: the root units, or the children of `parentId`.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <OrganizationUnitList parentId={projectId} onSelect={(unit) => router.push(`/admin/units/${unit.id}`)} />\n * ```\n */\nconst OrganizationUnitList: FC<OrganizationUnitListProps> = (props: OrganizationUnitListProps): ReactElement => (\n <ReactOrganizationUnitList {...props} />\n);\n\nOrganizationUnitList.displayName = 'OrganizationUnitList';\n\nexport default OrganizationUnitList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,wBAAuD,UAC3D,2CAACC,0CAA0B,GAAI,QAAS;AAG1C,qBAAqB,cAAc;AAEnC,mCAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/ProjectCreate/ProjectCreate.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Creates a project.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <ProjectCreate onCreated={(project) => router.push(`/admin/projects/${project.id}`)} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const ProjectCreate = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.ProjectCreate, { ...props });
|
|
23
|
+
ProjectCreate.displayName = "ProjectCreate";
|
|
24
|
+
var ProjectCreate_default = ProjectCreate;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = ProjectCreate_default;
|
|
28
|
+
//# sourceMappingURL=ProjectCreate.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectCreate.cjs","names":["ProjectCreate: FC<ProjectCreateProps>","ReactProjectCreate"],"sources":["../../../../../../src/client/components/management/ProjectCreate/ProjectCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {ProjectCreate as ReactProjectCreate, ProjectCreateProps as ReactProjectCreateProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ProjectCreateProps = ReactProjectCreateProps;\n\n/**\n * Creates a project.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ProjectCreate onCreated={(project) => router.push(`/admin/projects/${project.id}`)} />\n * ```\n */\nconst ProjectCreate: FC<ProjectCreateProps> = (props: ProjectCreateProps): ReactElement => (\n <ReactProjectCreate {...props} />\n);\n\nProjectCreate.displayName = 'ProjectCreate';\n\nexport default ProjectCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,iBAAyC,UAC7C,2CAACC,mCAAmB,GAAI,QAAS;AAGnC,cAAc,cAAc;AAE5B,4BAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/ProjectDetails/ProjectDetails.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Shows a project, and lets the signed-in user edit and delete it.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <ProjectDetails projectId={projectId} editable deletable onDeleted={() => router.push('/admin/projects')} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const ProjectDetails = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.ProjectDetails, { ...props });
|
|
23
|
+
ProjectDetails.displayName = "ProjectDetails";
|
|
24
|
+
var ProjectDetails_default = ProjectDetails;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = ProjectDetails_default;
|
|
28
|
+
//# sourceMappingURL=ProjectDetails.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectDetails.cjs","names":["ProjectDetails: FC<ProjectDetailsProps>","ReactProjectDetails"],"sources":["../../../../../../src/client/components/management/ProjectDetails/ProjectDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {ProjectDetails as ReactProjectDetails, ProjectDetailsProps as ReactProjectDetailsProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ProjectDetailsProps = ReactProjectDetailsProps;\n\n/**\n * Shows a project, and lets the signed-in user edit and delete it.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ProjectDetails projectId={projectId} editable deletable onDeleted={() => router.push('/admin/projects')} />\n * ```\n */\nconst ProjectDetails: FC<ProjectDetailsProps> = (props: ProjectDetailsProps): ReactElement => (\n <ReactProjectDetails {...props} />\n);\n\nProjectDetails.displayName = 'ProjectDetails';\n\nexport default ProjectDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,kBAA2C,UAC/C,2CAACC,oCAAoB,GAAI,QAAS;AAGpC,eAAe,cAAc;AAE7B,6BAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/ProjectList/ProjectList.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Lists the projects, a page at a time. Projects are served by the control plane only.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <ProjectList onSelect={(project) => router.push(`/admin/projects/${project.id}`)} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const ProjectList = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.ProjectList, { ...props });
|
|
23
|
+
ProjectList.displayName = "ProjectList";
|
|
24
|
+
var ProjectList_default = ProjectList;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = ProjectList_default;
|
|
28
|
+
//# sourceMappingURL=ProjectList.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectList.cjs","names":["ProjectList: FC<ProjectListProps>","ReactProjectList"],"sources":["../../../../../../src/client/components/management/ProjectList/ProjectList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {ProjectList as ReactProjectList, ProjectListProps as ReactProjectListProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ProjectListProps = ReactProjectListProps;\n\n/**\n * Lists the projects, a page at a time. Projects are served by the control plane only.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ProjectList onSelect={(project) => router.push(`/admin/projects/${project.id}`)} />\n * ```\n */\nconst ProjectList: FC<ProjectListProps> = (props: ProjectListProps): ReactElement => <ReactProjectList {...props} />;\n\nProjectList.displayName = 'ProjectList';\n\nexport default ProjectList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,eAAqC,UAA0C,2CAACC,iCAAiB,GAAI,QAAS;AAEpH,YAAY,cAAc;AAE1B,0BAAe"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/ProjectSwitcher/ProjectSwitcher.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Lets the user choose the current project. The choice is client-side context kept in the browser, not a sign-in: `useThunderID()` exposes it as `currentProject`.
|
|
13
|
+
* `ApplicationList` and `AgentList` list the current project, and `ApplicationCreate` and `AgentCreate` place new
|
|
14
|
+
* resources in it when no organization unit is given.
|
|
15
|
+
*
|
|
16
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
17
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <ProjectSwitcher onSelect={(project) => router.refresh()} />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
const ProjectSwitcher = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.ProjectSwitcher, { ...props });
|
|
25
|
+
ProjectSwitcher.displayName = "ProjectSwitcher";
|
|
26
|
+
var ProjectSwitcher_default = ProjectSwitcher;
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.default = ProjectSwitcher_default;
|
|
30
|
+
//# sourceMappingURL=ProjectSwitcher.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectSwitcher.cjs","names":["ProjectSwitcher: FC<ProjectSwitcherProps>","ReactProjectSwitcher"],"sources":["../../../../../../src/client/components/management/ProjectSwitcher/ProjectSwitcher.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n ProjectSwitcher as ReactProjectSwitcher,\n ProjectSwitcherProps as ReactProjectSwitcherProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type ProjectSwitcherProps = ReactProjectSwitcherProps;\n\n/**\n * Lets the user choose the current project. The choice is client-side context kept in the browser, not a sign-in: `useThunderID()` exposes it as `currentProject`.\n * `ApplicationList` and `AgentList` list the current project, and `ApplicationCreate` and `AgentCreate` place new\n * resources in it when no organization unit is given.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <ProjectSwitcher onSelect={(project) => router.refresh()} />\n * ```\n */\nconst ProjectSwitcher: FC<ProjectSwitcherProps> = (props: ProjectSwitcherProps): ReactElement => (\n <ReactProjectSwitcher {...props} />\n);\n\nProjectSwitcher.displayName = 'ProjectSwitcher';\n\nexport default ProjectSwitcher;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0BA,MAAMA,mBAA6C,UACjD,2CAACC,qCAAqB,GAAI,QAAS;AAGrC,gBAAgB,cAAc;AAE9B,8BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/RoleAssignments/RoleAssignments.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists a role's assignments and assigns or unassigns users, groups and agents.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleAssignments.cjs","names":["RoleAssignments: FC<RoleAssignmentsProps>","ReactRoleAssignments"],"sources":["../../../../../../src/client/components/management/RoleAssignments/RoleAssignments.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n RoleAssignments as ReactRoleAssignments,\n RoleAssignmentsProps as ReactRoleAssignmentsProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type RoleAssignmentsProps = ReactRoleAssignmentsProps;\n\n/**\n * Lists a role's assignments and assigns or unassigns users, groups and agents.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <RoleAssignments roleId={id} />\n * ```\n */\nconst RoleAssignments: FC<RoleAssignmentsProps> = (props: RoleAssignmentsProps): ReactElement => (\n <ReactRoleAssignments {...props} />\n);\n\nRoleAssignments.displayName = 'RoleAssignments';\n\nexport default RoleAssignments;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,mBAA6C,UACjD,2CAACC,qCAAqB,GAAI,QAAS;AAGrC,gBAAgB,cAAc;AAE9B,8BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/RoleCreate/RoleCreate.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Creates a role.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleCreate.cjs","names":["RoleCreate: FC<RoleCreateProps>","ReactRoleCreate"],"sources":["../../../../../../src/client/components/management/RoleCreate/RoleCreate.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {RoleCreate as ReactRoleCreate, RoleCreateProps as ReactRoleCreateProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type RoleCreateProps = ReactRoleCreateProps;\n\n/**\n * Creates a role.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <RoleCreate onCreated={(role) => router.push(`/admin/roles/${role.id}`)} />\n * ```\n */\nconst RoleCreate: FC<RoleCreateProps> = (props: RoleCreateProps): ReactElement => <ReactRoleCreate {...props} />;\n\nRoleCreate.displayName = 'RoleCreate';\n\nexport default RoleCreate;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,cAAmC,UAAyC,2CAACC,gCAAgB,GAAI,QAAS;AAEhH,WAAW,cAAc;AAEzB,yBAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/RoleDetails/RoleDetails.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Shows a role with its permissions and assignments, and optionally manages the assignments and deletes the role.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <RoleDetails roleId={id} editable deletable onDeleted={() => router.push('/admin/roles')} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const RoleDetails = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.RoleDetails, { ...props });
|
|
23
|
+
RoleDetails.displayName = "RoleDetails";
|
|
24
|
+
var RoleDetails_default = RoleDetails;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = RoleDetails_default;
|
|
28
|
+
//# sourceMappingURL=RoleDetails.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleDetails.cjs","names":["RoleDetails: FC<RoleDetailsProps>","ReactRoleDetails"],"sources":["../../../../../../src/client/components/management/RoleDetails/RoleDetails.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {RoleDetails as ReactRoleDetails, RoleDetailsProps as ReactRoleDetailsProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type RoleDetailsProps = ReactRoleDetailsProps;\n\n/**\n * Shows a role with its permissions and assignments, and optionally manages the assignments and deletes the role.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <RoleDetails roleId={id} editable deletable onDeleted={() => router.push('/admin/roles')} />\n * ```\n */\nconst RoleDetails: FC<RoleDetailsProps> = (props: RoleDetailsProps): ReactElement => <ReactRoleDetails {...props} />;\n\nRoleDetails.displayName = 'RoleDetails';\n\nexport default RoleDetails;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,eAAqC,UAA0C,2CAACC,iCAAiB,GAAI,QAAS;AAEpH,YAAY,cAAc;AAE1B,0BAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/RoleList/RoleList.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Lists roles, a page at a time.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleList.cjs","names":["RoleList: FC<RoleListProps>","ReactRoleList"],"sources":["../../../../../../src/client/components/management/RoleList/RoleList.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {RoleList as ReactRoleList, RoleListProps as ReactRoleListProps} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type RoleListProps = ReactRoleListProps;\n\n/**\n * Lists roles, a page at a time.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <RoleList onSelect={(role) => router.push(`/admin/roles/${role.id}`)} />\n * ```\n */\nconst RoleList: FC<RoleListProps> = (props: RoleListProps): ReactElement => <ReactRoleList {...props} />;\n\nRoleList.displayName = 'RoleList';\n\nexport default RoleList;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,YAA+B,UAAuC,2CAACC,8BAAc,GAAI,QAAS;AAExG,SAAS,cAAc;AAEvB,uBAAe"}
|
|
@@ -7,7 +7,7 @@ __thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/client/components/
|
|
10
|
+
//#region src/client/components/management/RolePermissions/RolePermissions.tsx
|
|
11
11
|
/**
|
|
12
12
|
* Shows the permissions a role grants.
|
|
13
13
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RolePermissions.cjs","names":["RolePermissions: FC<RolePermissionsProps>","ReactRolePermissions"],"sources":["../../../../../../src/client/components/management/RolePermissions/RolePermissions.tsx"],"sourcesContent":["// Copyright 2026 The ThunderID Authors\n// SPDX-License-Identifier: Apache-2.0\n\n'use client';\n\nimport {\n RolePermissions as ReactRolePermissions,\n RolePermissionsProps as ReactRolePermissionsProps,\n} from '@thunderid/react';\nimport {FC, ReactElement} from 'react';\n\nexport type RolePermissionsProps = ReactRolePermissionsProps;\n\n/**\n * Shows the permissions a role grants.\n *\n * Management requests go through a server action with the signed-in user's server-held session, so\n * the access token never reaches the browser. Whether a request succeeds is the server's decision.\n *\n * @example\n * ```tsx\n * <RolePermissions roleId={id} />\n * ```\n */\nconst RolePermissions: FC<RolePermissionsProps> = (props: RolePermissionsProps): ReactElement => (\n <ReactRolePermissions {...props} />\n);\n\nRolePermissions.displayName = 'RolePermissions';\n\nexport default RolePermissions;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,mBAA6C,UACjD,2CAACC,qCAAqB,GAAI,QAAS;AAGrC,gBAAgB,cAAc;AAE9B,8BAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
let __thunderid_react = require("@thunderid/react");
|
|
6
|
+
__thunderid_react = require_rolldown_runtime.__toESM(__thunderid_react);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
|
+
|
|
10
|
+
//#region src/client/components/management/SharingPolicies/SharingPolicies.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Lists the sharing policies of a user, an application, a role or a flow, and lets the signed-in user manage them when `editable`.
|
|
13
|
+
*
|
|
14
|
+
* Management requests go through a server action with the signed-in user's server-held session, so
|
|
15
|
+
* the access token never reaches the browser. Whether a request succeeds is the server's decision.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <SharingPolicies resourceType="role" resourceId={roleId} editable />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const SharingPolicies = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__thunderid_react.SharingPolicies, { ...props });
|
|
23
|
+
SharingPolicies.displayName = "SharingPolicies";
|
|
24
|
+
var SharingPolicies_default = SharingPolicies;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = SharingPolicies_default;
|
|
28
|
+
//# sourceMappingURL=SharingPolicies.cjs.map
|