@thunderid/vue 1.5.0 → 1.7.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/__tests__/helpers/managementContext.d.ts +27 -0
- package/dist/__tests__/helpers/managementContext.d.ts.map +1 -0
- package/dist/api/account/getUsersMe.d.ts.map +1 -0
- package/dist/api/account/getUsersMeMeta.d.ts.map +1 -0
- package/dist/api/account/updateMeCredentials.d.ts.map +1 -0
- package/dist/api/account/updateMeProfile.d.ts.map +1 -0
- package/dist/api/management/getUsers.d.ts.map +1 -0
- package/dist/cjs/index.cjs +12076 -6293
- package/dist/components/account/change-credential/BaseChangeCredential.d.ts.map +1 -0
- package/dist/components/account/change-credential/ChangeCredential.css.d.ts.map +1 -0
- package/dist/components/account/change-credential/ChangeCredential.d.ts.map +1 -0
- package/dist/components/account/user/User.d.ts.map +1 -0
- package/dist/components/account/user-dropdown/BaseUserDropdown.d.ts.map +1 -0
- package/dist/components/account/user-dropdown/UserDropdown.css.d.ts.map +1 -0
- package/dist/components/account/user-dropdown/UserDropdown.d.ts.map +1 -0
- package/dist/components/account/user-profile/BaseUserProfile.d.ts.map +1 -0
- package/dist/components/account/user-profile/UserProfile.css.d.ts.map +1 -0
- package/dist/components/account/user-profile/UserProfile.d.ts.map +1 -0
- package/dist/components/admin/AgentCreate/AgentCreate.d.ts +13 -0
- package/dist/components/admin/AgentCreate/AgentCreate.d.ts.map +1 -0
- package/dist/components/admin/AgentCreate/BaseAgentCreate.d.ts +32 -0
- package/dist/components/admin/AgentCreate/BaseAgentCreate.d.ts.map +1 -0
- package/dist/components/admin/AgentDetails/AgentDetails.d.ts +15 -0
- package/dist/components/admin/AgentDetails/AgentDetails.d.ts.map +1 -0
- package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts +25 -0
- package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts.map +1 -0
- package/dist/components/admin/AgentList/AgentList.d.ts +16 -0
- package/dist/components/admin/AgentList/AgentList.d.ts.map +1 -0
- package/dist/components/admin/AgentList/BaseAgentList.d.ts +13 -0
- package/dist/components/admin/AgentList/BaseAgentList.d.ts.map +1 -0
- package/dist/components/admin/ApplicationCreate/ApplicationCreate.d.ts +21 -0
- package/dist/components/admin/ApplicationCreate/ApplicationCreate.d.ts.map +1 -0
- package/dist/components/admin/ApplicationCreate/BaseApplicationCreate.d.ts +36 -0
- package/dist/components/admin/ApplicationCreate/BaseApplicationCreate.d.ts.map +1 -0
- package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts +27 -0
- package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts.map +1 -0
- package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts +43 -0
- package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts.map +1 -0
- package/dist/components/admin/ApplicationList/ApplicationList.d.ts +20 -0
- package/dist/components/admin/ApplicationList/ApplicationList.d.ts.map +1 -0
- package/dist/components/admin/ApplicationList/BaseApplicationList.d.ts +13 -0
- package/dist/components/admin/ApplicationList/BaseApplicationList.d.ts.map +1 -0
- package/dist/components/admin/GroupCreate/BaseGroupCreate.d.ts +28 -0
- package/dist/components/admin/GroupCreate/BaseGroupCreate.d.ts.map +1 -0
- package/dist/components/admin/GroupCreate/GroupCreate.d.ts +13 -0
- package/dist/components/admin/GroupCreate/GroupCreate.d.ts.map +1 -0
- package/dist/components/admin/GroupList/BaseGroupList.d.ts +13 -0
- package/dist/components/admin/GroupList/BaseGroupList.d.ts.map +1 -0
- package/dist/components/admin/GroupList/GroupList.d.ts +16 -0
- package/dist/components/admin/GroupList/GroupList.d.ts.map +1 -0
- package/dist/components/admin/GroupMembers/BaseGroupMembers.d.ts +32 -0
- package/dist/components/admin/GroupMembers/BaseGroupMembers.d.ts.map +1 -0
- package/dist/components/admin/GroupMembers/GroupMembers.d.ts +13 -0
- package/dist/components/admin/GroupMembers/GroupMembers.d.ts.map +1 -0
- package/dist/components/admin/RoleAssignments/BaseRoleAssignments.d.ts +37 -0
- package/dist/components/admin/RoleAssignments/BaseRoleAssignments.d.ts.map +1 -0
- package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts +13 -0
- package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts.map +1 -0
- package/dist/components/admin/RoleCreate/BaseRoleCreate.d.ts +28 -0
- package/dist/components/admin/RoleCreate/BaseRoleCreate.d.ts.map +1 -0
- package/dist/components/admin/RoleCreate/RoleCreate.d.ts +13 -0
- package/dist/components/admin/RoleCreate/RoleCreate.d.ts.map +1 -0
- package/dist/components/admin/RoleList/BaseRoleList.d.ts +13 -0
- package/dist/components/admin/RoleList/BaseRoleList.d.ts.map +1 -0
- package/dist/components/admin/RoleList/RoleList.d.ts +16 -0
- package/dist/components/admin/RoleList/RoleList.d.ts.map +1 -0
- package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts +23 -0
- package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts.map +1 -0
- package/dist/components/admin/RolePermissions/RolePermissions.d.ts +12 -0
- package/dist/components/admin/RolePermissions/RolePermissions.d.ts.map +1 -0
- package/dist/components/admin/UserCreate/BaseUserCreate.d.ts +35 -0
- package/dist/components/admin/UserCreate/BaseUserCreate.d.ts.map +1 -0
- package/dist/components/admin/UserCreate/UserCreate.d.ts +14 -0
- package/dist/components/admin/UserCreate/UserCreate.d.ts.map +1 -0
- package/dist/components/admin/UserCreate/userCreateFields.d.ts +20 -0
- package/dist/components/admin/UserCreate/userCreateFields.d.ts.map +1 -0
- package/dist/components/admin/UserDetails/BaseUserDetails.d.ts +31 -0
- package/dist/components/admin/UserDetails/BaseUserDetails.d.ts.map +1 -0
- package/dist/components/admin/UserDetails/UserDetails.d.ts +15 -0
- package/dist/components/admin/UserDetails/UserDetails.d.ts.map +1 -0
- package/dist/components/admin/UserList/BaseUserList.d.ts +13 -0
- package/dist/components/admin/UserList/BaseUserList.d.ts.map +1 -0
- package/dist/components/admin/UserList/UserList.d.ts +17 -0
- package/dist/components/admin/UserList/UserList.d.ts.map +1 -0
- package/dist/components/admin/shared/Admin.css.d.ts +17 -0
- package/dist/components/admin/shared/Admin.css.d.ts.map +1 -0
- package/dist/components/admin/shared/AdminAvatar.d.ts +8 -0
- package/dist/components/admin/shared/AdminAvatar.d.ts.map +1 -0
- package/dist/components/admin/shared/AdminSearch.d.ts +15 -0
- package/dist/components/admin/shared/AdminSearch.d.ts.map +1 -0
- package/dist/components/admin/shared/AdminSection.d.ts +11 -0
- package/dist/components/admin/shared/AdminSection.d.ts.map +1 -0
- package/dist/components/admin/shared/ChipList.d.ts +16 -0
- package/dist/components/admin/shared/ChipList.d.ts.map +1 -0
- package/dist/components/admin/shared/ClientSecretNotice.d.ts +7 -0
- package/dist/components/admin/shared/ClientSecretNotice.d.ts.map +1 -0
- package/dist/components/admin/shared/ConfirmButton.d.ts +8 -0
- package/dist/components/admin/shared/ConfirmButton.d.ts.map +1 -0
- package/dist/components/admin/shared/DetailList.d.ts +14 -0
- package/dist/components/admin/shared/DetailList.d.ts.map +1 -0
- package/dist/components/admin/shared/IdentityPicker.d.ts +15 -0
- package/dist/components/admin/shared/IdentityPicker.d.ts.map +1 -0
- package/dist/components/admin/shared/Panel.d.ts +8 -0
- package/dist/components/admin/shared/Panel.d.ts.map +1 -0
- package/dist/components/admin/shared/adminFormProps.d.ts +67 -0
- package/dist/components/admin/shared/adminFormProps.d.ts.map +1 -0
- package/dist/components/admin/shared/createAdminList.d.ts +144 -0
- package/dist/components/admin/shared/createAdminList.d.ts.map +1 -0
- package/dist/components/admin/shared/createConnectedAdminList.d.ts +42 -0
- package/dist/components/admin/shared/createConnectedAdminList.d.ts.map +1 -0
- package/dist/components/admin/shared/renderAdminForm.d.ts +26 -0
- package/dist/components/admin/shared/renderAdminForm.d.ts.map +1 -0
- package/dist/components/admin/shared/renderApplicationFields.d.ts +34 -0
- package/dist/components/admin/shared/renderApplicationFields.d.ts.map +1 -0
- package/dist/components/admin/shared/useAdminTranslation.d.ts +16 -0
- package/dist/components/admin/shared/useAdminTranslation.d.ts.map +1 -0
- package/dist/components/admin/shared/useDefaultOuId.d.ts +11 -0
- package/dist/components/admin/shared/useDefaultOuId.d.ts.map +1 -0
- package/dist/components/auth/accept-invite/AcceptInvite.d.ts.map +1 -0
- package/dist/components/auth/accept-invite/BaseAcceptInvite.d.ts.map +1 -0
- package/dist/components/auth/buttons/BaseSignInButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/BaseSignOutButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/BaseSignUpButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/FacebookButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/GitHubButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/GoogleButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/MicrosoftButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/SignInButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/SignOutButton.d.ts.map +1 -0
- package/dist/components/auth/buttons/SignUpButton.d.ts.map +1 -0
- package/dist/components/auth/flow/AuthOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts.map +1 -0
- package/dist/components/{factories → auth/flow}/FieldFactory.d.ts +1 -1
- package/dist/components/auth/flow/FieldFactory.d.ts.map +1 -0
- package/dist/components/auth/guards/Loading.d.ts.map +1 -0
- package/dist/components/auth/guards/SignedIn.d.ts.map +1 -0
- package/dist/components/auth/guards/SignedOut.d.ts.map +1 -0
- package/dist/components/auth/invite-user/BaseInviteUser.d.ts.map +1 -0
- package/dist/components/auth/invite-user/InviteUser.d.ts.map +1 -0
- package/dist/components/common/attribution/Attribution.css.d.ts +7 -0
- package/dist/components/common/attribution/Attribution.css.d.ts.map +1 -0
- package/dist/components/common/attribution/Attribution.d.ts +15 -0
- package/dist/components/common/attribution/Attribution.d.ts.map +1 -0
- package/dist/components/common/language-switcher/BaseLanguageSwitcher.d.ts.map +1 -0
- package/dist/components/common/language-switcher/LanguageSwitcher.css.d.ts.map +1 -0
- package/dist/components/common/language-switcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/primitives/DataTable/DataTable.css.d.ts +12 -0
- package/dist/components/primitives/DataTable/DataTable.css.d.ts.map +1 -0
- package/dist/components/primitives/DataTable/DataTable.d.ts +32 -0
- package/dist/components/primitives/DataTable/DataTable.d.ts.map +1 -0
- package/dist/composables/auth/useFetchAuthFlows.d.ts.map +1 -0
- package/dist/composables/auth/useOAuthCallback.d.ts.map +1 -0
- package/dist/composables/management/useFetchUserTypes.d.ts.map +1 -0
- package/dist/composables/management/useFetchUsers.d.ts.map +1 -0
- package/dist/composables/management/useGrantedPermissions.d.ts +34 -0
- package/dist/composables/management/useGrantedPermissions.d.ts.map +1 -0
- package/dist/composables/management/useInfiniteOptions.d.ts.map +1 -0
- package/dist/composables/management/useManagementEndpoint.d.ts +26 -0
- package/dist/composables/management/useManagementEndpoint.d.ts.map +1 -0
- package/dist/composables/management/useManagementRequestConfig.d.ts +21 -0
- package/dist/composables/management/useManagementRequestConfig.d.ts.map +1 -0
- package/dist/composables/management/useResourceMutation.d.ts +51 -0
- package/dist/composables/management/useResourceMutation.d.ts.map +1 -0
- package/dist/composables/management/useResourceQuery.d.ts +59 -0
- package/dist/composables/management/useResourceQuery.d.ts.map +1 -0
- package/dist/index.d.ts +106 -42
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10513 -5968
- package/dist/models/contexts.d.ts +13 -1
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/api/getUsers.d.ts.map +0 -1
- package/dist/api/getUsersMe.d.ts.map +0 -1
- package/dist/api/getUsersMeMeta.d.ts.map +0 -1
- package/dist/api/updateMeCredentials.d.ts.map +0 -1
- package/dist/api/updateMeProfile.d.ts.map +0 -1
- package/dist/components/actions/BaseSignInButton.d.ts.map +0 -1
- package/dist/components/actions/BaseSignOutButton.d.ts.map +0 -1
- package/dist/components/actions/BaseSignUpButton.d.ts.map +0 -1
- package/dist/components/actions/SignInButton.d.ts.map +0 -1
- package/dist/components/actions/SignOutButton.d.ts.map +0 -1
- package/dist/components/actions/SignUpButton.d.ts.map +0 -1
- package/dist/components/adapters/FacebookButton.d.ts.map +0 -1
- package/dist/components/adapters/GitHubButton.d.ts.map +0 -1
- package/dist/components/adapters/GoogleButton.d.ts.map +0 -1
- package/dist/components/adapters/MicrosoftButton.d.ts.map +0 -1
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts.map +0 -1
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +0 -1
- package/dist/components/control/Loading.d.ts.map +0 -1
- package/dist/components/control/SignedIn.d.ts.map +0 -1
- package/dist/components/control/SignedOut.d.ts.map +0 -1
- package/dist/components/factories/FieldFactory.d.ts.map +0 -1
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts.map +0 -1
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts.map +0 -1
- package/dist/components/presentation/change-credential/BaseChangeCredential.d.ts.map +0 -1
- package/dist/components/presentation/change-credential/ChangeCredential.css.d.ts.map +0 -1
- package/dist/components/presentation/change-credential/ChangeCredential.d.ts.map +0 -1
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts.map +0 -1
- package/dist/components/presentation/invite-user/InviteUser.d.ts.map +0 -1
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts.map +0 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +0 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts.map +0 -1
- package/dist/components/presentation/user/User.d.ts.map +0 -1
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +0 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +0 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts.map +0 -1
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +0 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +0 -1
- package/dist/components/presentation/user-profile/UserProfile.d.ts.map +0 -1
- package/dist/composables/useFetchAuthFlows.d.ts.map +0 -1
- package/dist/composables/useFetchUserTypes.d.ts.map +0 -1
- package/dist/composables/useFetchUsers.d.ts.map +0 -1
- package/dist/composables/useInfiniteOptions.d.ts.map +0 -1
- package/dist/composables/useOAuthCallback.d.ts.map +0 -1
- /package/dist/api/{getUsersMe.d.ts → account/getUsersMe.d.ts} +0 -0
- /package/dist/api/{getUsersMeMeta.d.ts → account/getUsersMeMeta.d.ts} +0 -0
- /package/dist/api/{updateMeCredentials.d.ts → account/updateMeCredentials.d.ts} +0 -0
- /package/dist/api/{updateMeProfile.d.ts → account/updateMeProfile.d.ts} +0 -0
- /package/dist/api/{getUsers.d.ts → management/getUsers.d.ts} +0 -0
- /package/dist/components/{presentation → account}/change-credential/BaseChangeCredential.d.ts +0 -0
- /package/dist/components/{presentation → account}/change-credential/ChangeCredential.css.d.ts +0 -0
- /package/dist/components/{presentation → account}/change-credential/ChangeCredential.d.ts +0 -0
- /package/dist/components/{presentation → account}/user/User.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-dropdown/BaseUserDropdown.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-dropdown/UserDropdown.css.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-dropdown/UserDropdown.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-profile/BaseUserProfile.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-profile/UserProfile.css.d.ts +0 -0
- /package/dist/components/{presentation → account}/user-profile/UserProfile.d.ts +0 -0
- /package/dist/components/{presentation → auth}/accept-invite/AcceptInvite.d.ts +0 -0
- /package/dist/components/{presentation → auth}/accept-invite/BaseAcceptInvite.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/BaseSignInButton.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/BaseSignOutButton.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/BaseSignUpButton.d.ts +0 -0
- /package/dist/components/{adapters → auth/buttons}/FacebookButton.d.ts +0 -0
- /package/dist/components/{adapters → auth/buttons}/GitHubButton.d.ts +0 -0
- /package/dist/components/{adapters → auth/buttons}/GoogleButton.d.ts +0 -0
- /package/dist/components/{adapters → auth/buttons}/MicrosoftButton.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/SignInButton.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/SignOutButton.d.ts +0 -0
- /package/dist/components/{actions → auth/buttons}/SignUpButton.d.ts +0 -0
- /package/dist/components/auth/{sign-in → flow}/AuthOptionFactory.d.ts +0 -0
- /package/dist/components/auth/{sign-in → flow}/AuthOptionFactoryCore.d.ts +0 -0
- /package/dist/components/{control → auth/guards}/Loading.d.ts +0 -0
- /package/dist/components/{control → auth/guards}/SignedIn.d.ts +0 -0
- /package/dist/components/{control → auth/guards}/SignedOut.d.ts +0 -0
- /package/dist/components/{presentation → auth}/invite-user/BaseInviteUser.d.ts +0 -0
- /package/dist/components/{presentation → auth}/invite-user/InviteUser.d.ts +0 -0
- /package/dist/components/{presentation → common}/language-switcher/BaseLanguageSwitcher.d.ts +0 -0
- /package/dist/components/{presentation → common}/language-switcher/LanguageSwitcher.css.d.ts +0 -0
- /package/dist/components/{presentation → common}/language-switcher/LanguageSwitcher.d.ts +0 -0
- /package/dist/composables/{useFetchAuthFlows.d.ts → auth/useFetchAuthFlows.d.ts} +0 -0
- /package/dist/composables/{useOAuthCallback.d.ts → auth/useOAuthCallback.d.ts} +0 -0
- /package/dist/composables/{useFetchUserTypes.d.ts → management/useFetchUserTypes.d.ts} +0 -0
- /package/dist/composables/{useFetchUsers.d.ts → management/useFetchUsers.d.ts} +0 -0
- /package/dist/composables/{useInfiniteOptions.d.ts → management/useInfiniteOptions.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseChangeCredential.d.ts","sourceRoot":"","sources":["../../../../src/components/account/change-credential/BaseChangeCredential.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,SAAS,EAWf,MAAM,KAAK,CAAC;AAOb;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;CACrB;AAoBD;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,EAAE,SAoP1B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangeCredential.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/change-credential/ChangeCredential.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,qBAAqB,kyEAiG1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangeCredential.d.ts","sourceRoot":"","sources":["../../../../src/components/account/change-credential/ChangeCredential.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,KAAK,SAAS,EAUf,MAAM,KAAK,CAAC;AAuBb;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAkHtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user/User.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,KAAK,CAAC;AAG7E;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,IAAI,EAAE,SAeV,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseUserDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-dropdown/BaseUserDropdown.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,IAAI,EAA2B,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,KAAK,SAAS,EAGd,KAAK,KAAK,EASX,MAAM,KAAK,CAAC;AAOb;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mFAAmF;IACnF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AA4ED,QAAA,MAAM,gBAAgB,EAAE,SAgVtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDropdown.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-dropdown/UserDropdown.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,iBAAiB,gtZAuXtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-dropdown/UserDropdown.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,YAAY,EAAE,SAiHlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAE,WAAW,EAAE,KAAK,IAAI,EAAsC,MAAM,oBAAoB,CAAC;AAChH,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AA+BpH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,IAAI,CAAC;CACrD;AAiGD,QAAA,MAAM,eAAe,EAAE,SAmarB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,gBAAgB,66OAoPrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAqBb,QAAA,MAAM,WAAW,EAAE,SA6HjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a agent through the management API in the given organization unit, or the signed-in user's
|
|
4
|
+
* own. Emits `created` with the created agent.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <AgentCreate @created="(agent) => (selectedAgentId = agent.id)" />
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
declare const AgentCreate: Component;
|
|
12
|
+
export default AgentCreate;
|
|
13
|
+
//# sourceMappingURL=AgentCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentCreate/AgentCreate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAgF,MAAM,KAAK,CAAC;AAelH;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW,EAAE,SA4DjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SelectOption } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
import { type AdminFormRenderProps } from '../shared/adminFormProps';
|
|
4
|
+
/**
|
|
5
|
+
* The agent `BaseAgentCreate` emits on `submit`. The organization unit is added by the caller.
|
|
6
|
+
*/
|
|
7
|
+
export interface AgentCreateSubmission {
|
|
8
|
+
description?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* What `BaseAgentCreate` hands its default scoped slot, so the form can be built with any UI.
|
|
14
|
+
*/
|
|
15
|
+
export interface BaseAgentCreateRenderProps extends AdminFormRenderProps {
|
|
16
|
+
agentTypes: SelectOption[];
|
|
17
|
+
/** Sets one field of the form. */
|
|
18
|
+
handleInputChange: (field: 'description' | 'name' | 'type', value: string) => void;
|
|
19
|
+
values: {
|
|
20
|
+
description: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A form that collects a new agent's name, type and description. Holds no data of its own: handle the
|
|
27
|
+
* `submit` event, which carries a {@link AgentCreateSubmission}. Slots: `default`, a scoped slot that
|
|
28
|
+
* replaces the form with custom UI and receives {@link BaseAgentCreateRenderProps}.
|
|
29
|
+
*/
|
|
30
|
+
declare const BaseAgentCreate: Component;
|
|
31
|
+
export default BaseAgentCreate;
|
|
32
|
+
//# sourceMappingURL=BaseAgentCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentCreate/BaseAgentCreate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAGb,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAID;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,UAAU,EAAE,YAAY,EAAE,CAAC;IAC3B,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnF,MAAM,EAAE;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC;CAC3D;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,SAwErB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Shows an agent with the groups it belongs to and the roles it holds, and optionally lets the
|
|
4
|
+
* signed-in user delete it. Emits `deleted` after the agent has been deleted.
|
|
5
|
+
*
|
|
6
|
+
* Slots: `actions`, rendered next to the agent's name.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```vue
|
|
10
|
+
* <AgentDetails :agent-id="agentId" deletable @deleted="router.push('/agents')" />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
declare const AgentDetails: Component;
|
|
14
|
+
export default AgentDetails;
|
|
15
|
+
//# sourceMappingURL=AgentDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentDetails/AgentDetails.ts"],"names":[],"mappings":"AAcA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAcrG;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY,EAAE,SAyDlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type Agent, type MembershipGroup } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* What `BaseAgentDetails` hands its default scoped slot, so the agent can be shown with any UI.
|
|
5
|
+
*/
|
|
6
|
+
export interface BaseAgentDetailsRenderProps {
|
|
7
|
+
agent?: Agent;
|
|
8
|
+
error: string | null;
|
|
9
|
+
groups: MembershipGroup[];
|
|
10
|
+
isDeleting: boolean;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
/** Deletes the agent. Undefined when deletion is not allowed, including for read-only agents. */
|
|
13
|
+
onDelete?: () => void;
|
|
14
|
+
roles: string[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Shows an agent's type, owner, organization unit, client identifier, groups and roles. Holds no data
|
|
18
|
+
* of its own: pass the agent and handle deletion.
|
|
19
|
+
*
|
|
20
|
+
* Slots: `actions`, rendered next to the agent's name; `default`, a scoped slot that replaces the view
|
|
21
|
+
* with custom UI and receives {@link BaseAgentDetailsRenderProps}.
|
|
22
|
+
*/
|
|
23
|
+
declare const BaseAgentDetails: Component;
|
|
24
|
+
export default BaseAgentDetails;
|
|
25
|
+
//# sourceMappingURL=BaseAgentDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentDetails/BaseAgentDetails.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,KAAK,EAAE,KAAK,eAAe,EAA6C,MAAM,oBAAoB,CAAC;AAChH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAuBrG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAID;;;;;;GAMG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAyItB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists the agents the signed-in user is allowed to see, a page at a time.
|
|
4
|
+
*
|
|
5
|
+
* Props: `searchable` (default `true`; shows a search form the server matches exactly), `searchAttributes`, `limit`, `selectedAgentId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
6
|
+
* `preferences`. Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
|
|
7
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```vue
|
|
11
|
+
* <AgentList @select="(agent) => (selectedAgentId = agent.id)" />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare const AgentList: Component;
|
|
15
|
+
export default AgentList;
|
|
16
|
+
//# sourceMappingURL=AgentList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentList/AgentList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAOnC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,SAAS,EAAE,SAyBf,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists agents with their type, client identifier and organization unit. Holds no data of its own:
|
|
4
|
+
* pass the page of agents and handle selection and pagination.
|
|
5
|
+
*
|
|
6
|
+
* Props: `agents` (required), `selectedAgentId`, `isLoading`, `error`, `limit`, `offset`, `totalResults`,
|
|
7
|
+
* `onPageChange`, `onSelect` (`@select`), `title`, `description`, `className`, `preferences`.
|
|
8
|
+
* Slots: `actions`, rendered next to the title; `default`, a scoped slot that replaces the table with custom UI and
|
|
9
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
10
|
+
*/
|
|
11
|
+
declare const BaseAgentList: Component;
|
|
12
|
+
export default BaseAgentList;
|
|
13
|
+
//# sourceMappingURL=BaseAgentList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AgentList/BaseAgentList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAqB,MAAM,KAAK,CAAC;AAIvD;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,EAAE,SAsBnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Creates an application with an OAuth client through the management API in the given organization
|
|
4
|
+
* unit, or the signed-in user's own. When the server returns a client secret, shows it once and emits
|
|
5
|
+
* `created` with the application after the user has copied it; otherwise emits `created` right away.
|
|
6
|
+
*
|
|
7
|
+
* The server guards applications with the root `system` permission, for reading and for changes alike;
|
|
8
|
+
* it defines no application-specific permission. Gate the view and its actions on it with
|
|
9
|
+
* `useGrantedPermissions().can('system')`.
|
|
10
|
+
*
|
|
11
|
+
* Slots: `default`, a scoped slot that replaces the form with custom UI and receives
|
|
12
|
+
* `BaseApplicationCreateRenderProps`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```vue
|
|
16
|
+
* <ApplicationCreate @created="(application) => (selectedApplicationId = application.id)" />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const ApplicationCreate: Component;
|
|
20
|
+
export default ApplicationCreate;
|
|
21
|
+
//# sourceMappingURL=ApplicationCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationCreate/ApplicationCreate.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,KAAK,SAAS,EAAqF,MAAM,KAAK,CAAC;AAUvH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,iBAAiB,EAAE,SAsEvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type ApplicationSubmission, type SelectOption } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
import { type AdminFormRenderProps } from '../shared/adminFormProps';
|
|
4
|
+
import { type ApplicationFormValues, type ApplicationTextField } from '../shared/renderApplicationFields';
|
|
5
|
+
/**
|
|
6
|
+
* The application `BaseApplicationCreate` emits on `submit`. The organization unit is added by the caller.
|
|
7
|
+
*/
|
|
8
|
+
export type ApplicationCreateSubmission = ApplicationSubmission;
|
|
9
|
+
/**
|
|
10
|
+
* What `BaseApplicationCreate` hands its default scoped slot, so the form can be built with any UI.
|
|
11
|
+
*/
|
|
12
|
+
export interface BaseApplicationCreateRenderProps extends AdminFormRenderProps {
|
|
13
|
+
/** The client secret of the application just created, to show once. `null` while there is none. */
|
|
14
|
+
clientSecret: string | null;
|
|
15
|
+
/** The grant types to choose from, with translated labels. */
|
|
16
|
+
grantTypeOptions: SelectOption[];
|
|
17
|
+
/** Sets the chosen grant types. */
|
|
18
|
+
handleGrantTypesChange: (grantTypes: string[]) => void;
|
|
19
|
+
/** Sets one text field of the form. `redirectUris` takes URIs separated by commas. */
|
|
20
|
+
handleInputChange: (field: ApplicationTextField, value: string) => void;
|
|
21
|
+
/** Sets whether the client is public. */
|
|
22
|
+
handlePublicClientChange: (publicClient: boolean) => void;
|
|
23
|
+
/** Hides the client secret once it has been copied. Undefined while there is no secret. */
|
|
24
|
+
onSecretDismiss?: () => void;
|
|
25
|
+
values: ApplicationFormValues;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A form that collects a new application's name, description, links and OAuth basics: redirect URIs,
|
|
29
|
+
* grant types and whether the client is public. Holds no data of its own: handle the `submit` event,
|
|
30
|
+
* which carries an {@link ApplicationCreateSubmission}, and pass back the client secret the server
|
|
31
|
+
* returned as `clientSecret` to show it once. Slots: `default`, a scoped slot that replaces the form
|
|
32
|
+
* with custom UI and receives {@link BaseApplicationCreateRenderProps}.
|
|
33
|
+
*/
|
|
34
|
+
declare const BaseApplicationCreate: Component;
|
|
35
|
+
export default BaseApplicationCreate;
|
|
36
|
+
//# sourceMappingURL=BaseApplicationCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationCreate/BaseApplicationCreate.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAI1B,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AACb,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG,OAAgC,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAG3C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,CAAC;AAKhE;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,oBAAoB;IAC5E,mGAAmG;IACnG,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,8DAA8D;IAC9D,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,mCAAmC;IACnC,sBAAsB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACvD,sFAAsF;IACtF,iBAAiB,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,yCAAyC;IACzC,wBAAwB,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1D,2FAA2F;IAC3F,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE,qBAAqB,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,qBAAqB,EAAE,SAkG3B,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Shows an application and its OAuth configuration, and optionally lets the signed-in user edit it,
|
|
4
|
+
* regenerate its client secret (shown once) or delete it. Emits `deleted` after the application has
|
|
5
|
+
* been deleted.
|
|
6
|
+
*
|
|
7
|
+
* The server guards applications with the root `system` permission, for reading and for changes alike;
|
|
8
|
+
* it defines no application-specific permission. Gate the view and its actions on it with
|
|
9
|
+
* `useGrantedPermissions().can('system')`.
|
|
10
|
+
*
|
|
11
|
+
* Slots: `actions`, rendered next to the application's name; `default`, a scoped slot that replaces the
|
|
12
|
+
* view with custom UI and receives `BaseApplicationDetailsRenderProps`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```vue
|
|
16
|
+
* <ApplicationDetails
|
|
17
|
+
* :application-id="applicationId"
|
|
18
|
+
* :editable="can('system')"
|
|
19
|
+
* :deletable="can('system')"
|
|
20
|
+
* :secret-regenerable="can('system')"
|
|
21
|
+
* @deleted="router.push('/applications')"
|
|
22
|
+
* />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
declare const ApplicationDetails: Component;
|
|
26
|
+
export default ApplicationDetails;
|
|
27
|
+
//# sourceMappingURL=ApplicationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationDetails/ApplicationDetails.ts"],"names":[],"mappings":"AAaA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAqBrG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,kBAAkB,EAAE,SAoFxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type Application, type ApplicationSubmission, type OAuth2Config } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* The edited fields `BaseApplicationDetails` hands `onUpdate`. Whether the client is public does not change.
|
|
5
|
+
*/
|
|
6
|
+
export type ApplicationUpdateSubmission = Omit<ApplicationSubmission, 'publicClient'>;
|
|
7
|
+
/**
|
|
8
|
+
* What `BaseApplicationDetails` hands its default scoped slot, so the application can be shown with any UI.
|
|
9
|
+
*/
|
|
10
|
+
export interface BaseApplicationDetailsRenderProps {
|
|
11
|
+
application?: Application;
|
|
12
|
+
/** The new client secret, to show once. `null` while there is none. */
|
|
13
|
+
clientSecret: string | null;
|
|
14
|
+
error: string | null;
|
|
15
|
+
isDeleting: boolean;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
isRegeneratingSecret: boolean;
|
|
18
|
+
isUpdating: boolean;
|
|
19
|
+
/** The application's OAuth configuration, without its client secret. Undefined when it has no OAuth client. */
|
|
20
|
+
oauth?: Omit<OAuth2Config, 'clientSecret'>;
|
|
21
|
+
/** Deletes the application. Undefined when deletion is not allowed, including for read-only applications. */
|
|
22
|
+
onDelete?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Gives the application a new client secret. Undefined when not allowed, for read-only applications
|
|
25
|
+
* and for applications without a confidential OAuth client.
|
|
26
|
+
*/
|
|
27
|
+
onRegenerateSecret?: () => void;
|
|
28
|
+
/** Hides the new client secret once it has been copied. Undefined while there is no secret. */
|
|
29
|
+
onSecretDismiss?: () => void;
|
|
30
|
+
/** Saves edited fields. Undefined when editing is not allowed, including for read-only applications. */
|
|
31
|
+
onUpdate?: (application: ApplicationUpdateSubmission) => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Shows an application's general fields and OAuth configuration. Holds no data of its own: pass the
|
|
35
|
+
* application and handle editing, deletion and client secret regeneration, each offered only when its
|
|
36
|
+
* handler is set.
|
|
37
|
+
*
|
|
38
|
+
* Slots: `actions`, rendered next to the application's name; `default`, a scoped slot that replaces the
|
|
39
|
+
* view with custom UI and receives {@link BaseApplicationDetailsRenderProps}.
|
|
40
|
+
*/
|
|
41
|
+
declare const BaseApplicationDetails: Component;
|
|
42
|
+
export default BaseApplicationDetails;
|
|
43
|
+
//# sourceMappingURL=BaseApplicationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationDetails/BaseApplicationDetails.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,qBAAqB,EAG1B,KAAK,YAAY,EAIlB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAiBb;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC;AAkBtF;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,uEAAuE;IACvE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,+GAA+G;IAC/G,KAAK,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC3C,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,+FAA+F;IAC/F,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,wGAAwG;IACxG,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC/D;AAwBD;;;;;;;GAOG;AACH,QAAA,MAAM,sBAAsB,EAAE,SA4R5B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists the applications the signed-in user is allowed to see, a page at a time.
|
|
4
|
+
*
|
|
5
|
+
* The server guards applications with the root `system` permission, for reading and for changes alike;
|
|
6
|
+
* it defines no application-specific permission. Gate the view and its actions on it with
|
|
7
|
+
* `useGrantedPermissions().can('system')`.
|
|
8
|
+
*
|
|
9
|
+
* Props: `limit`, `selectedApplicationId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
10
|
+
* `preferences`. Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
|
|
11
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```vue
|
|
15
|
+
* <ApplicationList @select="(application) => (selectedApplicationId = application.id)" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
declare const ApplicationList: Component;
|
|
19
|
+
export default ApplicationList;
|
|
20
|
+
//# sourceMappingURL=ApplicationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationList/ApplicationList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAMnC;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,eAAe,EAAE,SAwBrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists applications with their client identifier, type and, when the server reports it, access status. Holds no data of its own: pass the page
|
|
4
|
+
* of applications and handle selection and pagination.
|
|
5
|
+
*
|
|
6
|
+
* Props: `applications` (required), `selectedApplicationId`, `isLoading`, `error`, `limit`, `offset`,
|
|
7
|
+
* `totalResults`, `onPageChange`, `onSelect` (`@select`), `title`, `description`, `className`, `preferences`.
|
|
8
|
+
* Slots: `actions`, rendered next to the title; `default`, a scoped slot that replaces the table with custom UI and
|
|
9
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
10
|
+
*/
|
|
11
|
+
declare const BaseApplicationList: Component;
|
|
12
|
+
export default BaseApplicationList;
|
|
13
|
+
//# sourceMappingURL=BaseApplicationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ApplicationList/BaseApplicationList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAqB,MAAM,KAAK,CAAC;AAqBvD;;;;;;;;GAQG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAoCzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
import { type AdminFormRenderProps } from '../shared/adminFormProps';
|
|
3
|
+
/**
|
|
4
|
+
* The group `BaseGroupCreate` emits on `submit`. The organization unit is added by the caller.
|
|
5
|
+
*/
|
|
6
|
+
export interface GroupCreateSubmission {
|
|
7
|
+
description?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* What `BaseGroupCreate` hands its default scoped slot, so the form can be built with any UI.
|
|
12
|
+
*/
|
|
13
|
+
export interface BaseGroupCreateRenderProps extends AdminFormRenderProps {
|
|
14
|
+
/** Sets one field of the form. */
|
|
15
|
+
handleInputChange: (field: 'description' | 'name', value: string) => void;
|
|
16
|
+
values: {
|
|
17
|
+
description: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A form that collects a new group's name and description. Holds no data of its own: handle the
|
|
23
|
+
* `submit` event, which carries a {@link GroupCreateSubmission}. Slots: `default`, a scoped slot that
|
|
24
|
+
* replaces the form with custom UI and receives {@link BaseGroupCreateRenderProps}.
|
|
25
|
+
*/
|
|
26
|
+
declare const BaseGroupCreate: Component;
|
|
27
|
+
export default BaseGroupCreate;
|
|
28
|
+
//# sourceMappingURL=BaseGroupCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupCreate/BaseGroupCreate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,SAAS,EAA0E,MAAM,KAAK,CAAC;AAE5G,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,MAAM,EAAE;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC;CAC7C;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,SAuDrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a group through the management API in the given organization unit, or the signed-in user's
|
|
4
|
+
* own. Emits `created` with the created group.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <GroupCreate @created="(group) => (selectedGroupId = group.id)" />
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
declare const GroupCreate: Component;
|
|
12
|
+
export default GroupCreate;
|
|
13
|
+
//# sourceMappingURL=GroupCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupCreate/GroupCreate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAsE,MAAM,KAAK,CAAC;AAaxG;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW,EAAE,SA8CjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists groups with their description and organization unit. Holds no data of its own: pass the
|
|
4
|
+
* page of groups and handle selection and pagination.
|
|
5
|
+
*
|
|
6
|
+
* Props: `groups` (required), `selectedGroupId`, `isLoading`, `error`, `limit`, `offset`, `totalResults`,
|
|
7
|
+
* `onPageChange`, `onSelect` (`@select`), `title`, `description`, `className`, `preferences`.
|
|
8
|
+
* Slots: `actions`, rendered next to the title; `default`, a scoped slot that replaces the table with custom UI and
|
|
9
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
10
|
+
*/
|
|
11
|
+
declare const BaseGroupList: Component;
|
|
12
|
+
export default BaseGroupList;
|
|
13
|
+
//# sourceMappingURL=BaseGroupList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupList/BaseGroupList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAC;AAIpD;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,EAAE,SAqBnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists the groups the signed-in user is allowed to see, a page at a time.
|
|
4
|
+
*
|
|
5
|
+
* Props: `limit`, `selectedGroupId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
6
|
+
* `preferences`. Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
|
|
7
|
+
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```vue
|
|
11
|
+
* <GroupList @select="(group) => (selectedGroupId = group.id)" />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare const GroupList: Component;
|
|
15
|
+
export default GroupList;
|
|
16
|
+
//# sourceMappingURL=GroupList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupList/GroupList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAMnC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,SAAS,EAAE,SAwBf,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { GroupMember, GroupMemberType } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
import { type DataTableColumn } from '../../primitives/DataTable/DataTable';
|
|
4
|
+
import { type IdentityCandidate } from '../shared/IdentityPicker';
|
|
5
|
+
/**
|
|
6
|
+
* What `BaseGroupMembers` hands its default scoped slot, so the members can be shown with any UI, such
|
|
7
|
+
* as a third-party data grid.
|
|
8
|
+
*/
|
|
9
|
+
export interface BaseGroupMembersRenderProps {
|
|
10
|
+
/** The identities that can be added, keyed by member type. Undefined when adding is not allowed. */
|
|
11
|
+
candidates?: Partial<Record<GroupMemberType, IdentityCandidate[]>>;
|
|
12
|
+
/** The columns the default table shows, including the remove action when removing is allowed. */
|
|
13
|
+
columns: DataTableColumn<GroupMember>[];
|
|
14
|
+
error: string | null;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
isMutating: boolean;
|
|
17
|
+
members: GroupMember[];
|
|
18
|
+
/** Adds a member. Undefined when adding is not allowed. */
|
|
19
|
+
onAdd?: (member: Pick<GroupMember, 'id' | 'type'>) => void;
|
|
20
|
+
/** Removes a member. Undefined when removing is not allowed. */
|
|
21
|
+
onRemove?: (member: GroupMember) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists a group's members and optionally adds and removes them. Holds no data of its own: pass the
|
|
25
|
+
* members, the identities that can be added, and handle the changes.
|
|
26
|
+
*
|
|
27
|
+
* Slots: `default`, a scoped slot that replaces the table and picker with custom UI and receives
|
|
28
|
+
* {@link BaseGroupMembersRenderProps}.
|
|
29
|
+
*/
|
|
30
|
+
declare const BaseGroupMembers: Component;
|
|
31
|
+
export default BaseGroupMembers;
|
|
32
|
+
//# sourceMappingURL=BaseGroupMembers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupMembers.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupMembers/BaseGroupMembers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,WAAW,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAC,KAAK,SAAS,EAAoF,MAAM,KAAK,CAAC;AAEtH,OAAkB,EAAC,KAAK,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAErF,OAAuB,EAAC,KAAK,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAmBhF;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,oGAAoG;IACpG,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;IACnE,iGAAiG;IACjG,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;IACxC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IAC3D,gEAAgE;IAChE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAwHtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists a group's members and, unless `editable` is `false`, lets the signed-in user add users and
|
|
4
|
+
* agents to it or remove members.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <GroupMembers :group-id="groupId" />
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
declare const GroupMembers: Component;
|
|
12
|
+
export default GroupMembers;
|
|
13
|
+
//# sourceMappingURL=GroupMembers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupMembers.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GroupMembers/GroupMembers.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAsBrG;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,EAAE,SA2FlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { RoleAssigneeType, RoleAssignment, RoleAssignmentInput } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
import { type DataTableColumn } from '../../primitives/DataTable/DataTable';
|
|
4
|
+
import { type IdentityCandidate } from '../shared/IdentityPicker';
|
|
5
|
+
/**
|
|
6
|
+
* What `BaseRoleAssignments` hands its default scoped slot, so the assignments can be shown with any
|
|
7
|
+
* UI, such as a third-party data grid.
|
|
8
|
+
*/
|
|
9
|
+
export interface BaseRoleAssignmentsRenderProps {
|
|
10
|
+
assignments: RoleAssignment[];
|
|
11
|
+
/** The identities the role can be assigned to, keyed by assignee type. Undefined when assigning is not allowed. */
|
|
12
|
+
candidates?: Partial<Record<RoleAssigneeType, IdentityCandidate[]>>;
|
|
13
|
+
/** The columns the default table shows, including the remove action when unassigning is allowed. */
|
|
14
|
+
columns: DataTableColumn<RoleAssignment>[];
|
|
15
|
+
error: string | null;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
isMutating: boolean;
|
|
18
|
+
/** Assigns the role. Undefined when assigning is not allowed. */
|
|
19
|
+
onAssign?: (assignment: RoleAssignmentInput) => void;
|
|
20
|
+
/** Removes an assignment. Undefined when unassigning is not allowed. */
|
|
21
|
+
/** Shows only one assignee type, or every type with `null`. Undefined when the list cannot be filtered. */
|
|
22
|
+
onTypeFilterChange?: (type: RoleAssigneeType | null) => void;
|
|
23
|
+
onUnassign?: (assignment: RoleAssignment) => void;
|
|
24
|
+
/** The assignee type the list is narrowed to, or `null` for every type. */
|
|
25
|
+
typeFilter: RoleAssigneeType | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Lists the users, groups, apps and agents a role is assigned to and optionally assigns and unassigns
|
|
29
|
+
* it. Holds no data of its own: pass the assignments, the identities that can be assigned, and handle
|
|
30
|
+
* the changes.
|
|
31
|
+
*
|
|
32
|
+
* Slots: `default`, a scoped slot that replaces the table and picker with custom UI and receives
|
|
33
|
+
* {@link BaseRoleAssignmentsRenderProps}.
|
|
34
|
+
*/
|
|
35
|
+
declare const BaseRoleAssignments: Component;
|
|
36
|
+
export default BaseRoleAssignments;
|
|
37
|
+
//# sourceMappingURL=BaseRoleAssignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseRoleAssignments.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleAssignments/BaseRoleAssignments.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,gBAAgB,EAAE,cAAc,EAAE,mBAAmB,EAAc,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EAAC,KAAK,SAAS,EAAoF,MAAM,KAAK,CAAC;AAEtH,OAAkB,EAAC,KAAK,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAGrF,OAAuB,EAAC,KAAK,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAqBhF;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,mHAAmH;IACnH,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;IACpE,oGAAoG;IACpG,OAAO,EAAE,eAAe,CAAC,cAAc,CAAC,EAAE,CAAC;IAC3C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,wEAAwE;IACxE,2GAA2G;IAC3G,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7D,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD,2EAA2E;IAC3E,UAAU,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACrC;AAED;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAsJzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Lists who a role is assigned to and, unless `editable` is `false`, lets the signed-in user assign it
|
|
4
|
+
* to users, groups and agents or remove assignments.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <RoleAssignments :role-id="roleId" />
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
declare const RoleAssignments: Component;
|
|
12
|
+
export default RoleAssignments;
|
|
13
|
+
//# sourceMappingURL=RoleAssignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleAssignments.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleAssignments/RoleAssignments.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AAuBpH;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe,EAAE,SAmHrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|