@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.
Files changed (258) hide show
  1. package/dist/__tests__/helpers/managementContext.d.ts +27 -0
  2. package/dist/__tests__/helpers/managementContext.d.ts.map +1 -0
  3. package/dist/api/account/getUsersMe.d.ts.map +1 -0
  4. package/dist/api/account/getUsersMeMeta.d.ts.map +1 -0
  5. package/dist/api/account/updateMeCredentials.d.ts.map +1 -0
  6. package/dist/api/account/updateMeProfile.d.ts.map +1 -0
  7. package/dist/api/management/getUsers.d.ts.map +1 -0
  8. package/dist/cjs/index.cjs +12076 -6293
  9. package/dist/components/account/change-credential/BaseChangeCredential.d.ts.map +1 -0
  10. package/dist/components/account/change-credential/ChangeCredential.css.d.ts.map +1 -0
  11. package/dist/components/account/change-credential/ChangeCredential.d.ts.map +1 -0
  12. package/dist/components/account/user/User.d.ts.map +1 -0
  13. package/dist/components/account/user-dropdown/BaseUserDropdown.d.ts.map +1 -0
  14. package/dist/components/account/user-dropdown/UserDropdown.css.d.ts.map +1 -0
  15. package/dist/components/account/user-dropdown/UserDropdown.d.ts.map +1 -0
  16. package/dist/components/account/user-profile/BaseUserProfile.d.ts.map +1 -0
  17. package/dist/components/account/user-profile/UserProfile.css.d.ts.map +1 -0
  18. package/dist/components/account/user-profile/UserProfile.d.ts.map +1 -0
  19. package/dist/components/admin/AgentCreate/AgentCreate.d.ts +13 -0
  20. package/dist/components/admin/AgentCreate/AgentCreate.d.ts.map +1 -0
  21. package/dist/components/admin/AgentCreate/BaseAgentCreate.d.ts +32 -0
  22. package/dist/components/admin/AgentCreate/BaseAgentCreate.d.ts.map +1 -0
  23. package/dist/components/admin/AgentDetails/AgentDetails.d.ts +15 -0
  24. package/dist/components/admin/AgentDetails/AgentDetails.d.ts.map +1 -0
  25. package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts +25 -0
  26. package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts.map +1 -0
  27. package/dist/components/admin/AgentList/AgentList.d.ts +16 -0
  28. package/dist/components/admin/AgentList/AgentList.d.ts.map +1 -0
  29. package/dist/components/admin/AgentList/BaseAgentList.d.ts +13 -0
  30. package/dist/components/admin/AgentList/BaseAgentList.d.ts.map +1 -0
  31. package/dist/components/admin/ApplicationCreate/ApplicationCreate.d.ts +21 -0
  32. package/dist/components/admin/ApplicationCreate/ApplicationCreate.d.ts.map +1 -0
  33. package/dist/components/admin/ApplicationCreate/BaseApplicationCreate.d.ts +36 -0
  34. package/dist/components/admin/ApplicationCreate/BaseApplicationCreate.d.ts.map +1 -0
  35. package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts +27 -0
  36. package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts.map +1 -0
  37. package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts +43 -0
  38. package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts.map +1 -0
  39. package/dist/components/admin/ApplicationList/ApplicationList.d.ts +20 -0
  40. package/dist/components/admin/ApplicationList/ApplicationList.d.ts.map +1 -0
  41. package/dist/components/admin/ApplicationList/BaseApplicationList.d.ts +13 -0
  42. package/dist/components/admin/ApplicationList/BaseApplicationList.d.ts.map +1 -0
  43. package/dist/components/admin/GroupCreate/BaseGroupCreate.d.ts +28 -0
  44. package/dist/components/admin/GroupCreate/BaseGroupCreate.d.ts.map +1 -0
  45. package/dist/components/admin/GroupCreate/GroupCreate.d.ts +13 -0
  46. package/dist/components/admin/GroupCreate/GroupCreate.d.ts.map +1 -0
  47. package/dist/components/admin/GroupList/BaseGroupList.d.ts +13 -0
  48. package/dist/components/admin/GroupList/BaseGroupList.d.ts.map +1 -0
  49. package/dist/components/admin/GroupList/GroupList.d.ts +16 -0
  50. package/dist/components/admin/GroupList/GroupList.d.ts.map +1 -0
  51. package/dist/components/admin/GroupMembers/BaseGroupMembers.d.ts +32 -0
  52. package/dist/components/admin/GroupMembers/BaseGroupMembers.d.ts.map +1 -0
  53. package/dist/components/admin/GroupMembers/GroupMembers.d.ts +13 -0
  54. package/dist/components/admin/GroupMembers/GroupMembers.d.ts.map +1 -0
  55. package/dist/components/admin/RoleAssignments/BaseRoleAssignments.d.ts +37 -0
  56. package/dist/components/admin/RoleAssignments/BaseRoleAssignments.d.ts.map +1 -0
  57. package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts +13 -0
  58. package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts.map +1 -0
  59. package/dist/components/admin/RoleCreate/BaseRoleCreate.d.ts +28 -0
  60. package/dist/components/admin/RoleCreate/BaseRoleCreate.d.ts.map +1 -0
  61. package/dist/components/admin/RoleCreate/RoleCreate.d.ts +13 -0
  62. package/dist/components/admin/RoleCreate/RoleCreate.d.ts.map +1 -0
  63. package/dist/components/admin/RoleList/BaseRoleList.d.ts +13 -0
  64. package/dist/components/admin/RoleList/BaseRoleList.d.ts.map +1 -0
  65. package/dist/components/admin/RoleList/RoleList.d.ts +16 -0
  66. package/dist/components/admin/RoleList/RoleList.d.ts.map +1 -0
  67. package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts +23 -0
  68. package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts.map +1 -0
  69. package/dist/components/admin/RolePermissions/RolePermissions.d.ts +12 -0
  70. package/dist/components/admin/RolePermissions/RolePermissions.d.ts.map +1 -0
  71. package/dist/components/admin/UserCreate/BaseUserCreate.d.ts +35 -0
  72. package/dist/components/admin/UserCreate/BaseUserCreate.d.ts.map +1 -0
  73. package/dist/components/admin/UserCreate/UserCreate.d.ts +14 -0
  74. package/dist/components/admin/UserCreate/UserCreate.d.ts.map +1 -0
  75. package/dist/components/admin/UserCreate/userCreateFields.d.ts +20 -0
  76. package/dist/components/admin/UserCreate/userCreateFields.d.ts.map +1 -0
  77. package/dist/components/admin/UserDetails/BaseUserDetails.d.ts +31 -0
  78. package/dist/components/admin/UserDetails/BaseUserDetails.d.ts.map +1 -0
  79. package/dist/components/admin/UserDetails/UserDetails.d.ts +15 -0
  80. package/dist/components/admin/UserDetails/UserDetails.d.ts.map +1 -0
  81. package/dist/components/admin/UserList/BaseUserList.d.ts +13 -0
  82. package/dist/components/admin/UserList/BaseUserList.d.ts.map +1 -0
  83. package/dist/components/admin/UserList/UserList.d.ts +17 -0
  84. package/dist/components/admin/UserList/UserList.d.ts.map +1 -0
  85. package/dist/components/admin/shared/Admin.css.d.ts +17 -0
  86. package/dist/components/admin/shared/Admin.css.d.ts.map +1 -0
  87. package/dist/components/admin/shared/AdminAvatar.d.ts +8 -0
  88. package/dist/components/admin/shared/AdminAvatar.d.ts.map +1 -0
  89. package/dist/components/admin/shared/AdminSearch.d.ts +15 -0
  90. package/dist/components/admin/shared/AdminSearch.d.ts.map +1 -0
  91. package/dist/components/admin/shared/AdminSection.d.ts +11 -0
  92. package/dist/components/admin/shared/AdminSection.d.ts.map +1 -0
  93. package/dist/components/admin/shared/ChipList.d.ts +16 -0
  94. package/dist/components/admin/shared/ChipList.d.ts.map +1 -0
  95. package/dist/components/admin/shared/ClientSecretNotice.d.ts +7 -0
  96. package/dist/components/admin/shared/ClientSecretNotice.d.ts.map +1 -0
  97. package/dist/components/admin/shared/ConfirmButton.d.ts +8 -0
  98. package/dist/components/admin/shared/ConfirmButton.d.ts.map +1 -0
  99. package/dist/components/admin/shared/DetailList.d.ts +14 -0
  100. package/dist/components/admin/shared/DetailList.d.ts.map +1 -0
  101. package/dist/components/admin/shared/IdentityPicker.d.ts +15 -0
  102. package/dist/components/admin/shared/IdentityPicker.d.ts.map +1 -0
  103. package/dist/components/admin/shared/Panel.d.ts +8 -0
  104. package/dist/components/admin/shared/Panel.d.ts.map +1 -0
  105. package/dist/components/admin/shared/adminFormProps.d.ts +67 -0
  106. package/dist/components/admin/shared/adminFormProps.d.ts.map +1 -0
  107. package/dist/components/admin/shared/createAdminList.d.ts +144 -0
  108. package/dist/components/admin/shared/createAdminList.d.ts.map +1 -0
  109. package/dist/components/admin/shared/createConnectedAdminList.d.ts +42 -0
  110. package/dist/components/admin/shared/createConnectedAdminList.d.ts.map +1 -0
  111. package/dist/components/admin/shared/renderAdminForm.d.ts +26 -0
  112. package/dist/components/admin/shared/renderAdminForm.d.ts.map +1 -0
  113. package/dist/components/admin/shared/renderApplicationFields.d.ts +34 -0
  114. package/dist/components/admin/shared/renderApplicationFields.d.ts.map +1 -0
  115. package/dist/components/admin/shared/useAdminTranslation.d.ts +16 -0
  116. package/dist/components/admin/shared/useAdminTranslation.d.ts.map +1 -0
  117. package/dist/components/admin/shared/useDefaultOuId.d.ts +11 -0
  118. package/dist/components/admin/shared/useDefaultOuId.d.ts.map +1 -0
  119. package/dist/components/auth/accept-invite/AcceptInvite.d.ts.map +1 -0
  120. package/dist/components/auth/accept-invite/BaseAcceptInvite.d.ts.map +1 -0
  121. package/dist/components/auth/buttons/BaseSignInButton.d.ts.map +1 -0
  122. package/dist/components/auth/buttons/BaseSignOutButton.d.ts.map +1 -0
  123. package/dist/components/auth/buttons/BaseSignUpButton.d.ts.map +1 -0
  124. package/dist/components/auth/buttons/FacebookButton.d.ts.map +1 -0
  125. package/dist/components/auth/buttons/GitHubButton.d.ts.map +1 -0
  126. package/dist/components/auth/buttons/GoogleButton.d.ts.map +1 -0
  127. package/dist/components/auth/buttons/MicrosoftButton.d.ts.map +1 -0
  128. package/dist/components/auth/buttons/SignInButton.d.ts.map +1 -0
  129. package/dist/components/auth/buttons/SignOutButton.d.ts.map +1 -0
  130. package/dist/components/auth/buttons/SignUpButton.d.ts.map +1 -0
  131. package/dist/components/auth/flow/AuthOptionFactory.d.ts.map +1 -0
  132. package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts.map +1 -0
  133. package/dist/components/{factories → auth/flow}/FieldFactory.d.ts +1 -1
  134. package/dist/components/auth/flow/FieldFactory.d.ts.map +1 -0
  135. package/dist/components/auth/guards/Loading.d.ts.map +1 -0
  136. package/dist/components/auth/guards/SignedIn.d.ts.map +1 -0
  137. package/dist/components/auth/guards/SignedOut.d.ts.map +1 -0
  138. package/dist/components/auth/invite-user/BaseInviteUser.d.ts.map +1 -0
  139. package/dist/components/auth/invite-user/InviteUser.d.ts.map +1 -0
  140. package/dist/components/common/attribution/Attribution.css.d.ts +7 -0
  141. package/dist/components/common/attribution/Attribution.css.d.ts.map +1 -0
  142. package/dist/components/common/attribution/Attribution.d.ts +15 -0
  143. package/dist/components/common/attribution/Attribution.d.ts.map +1 -0
  144. package/dist/components/common/language-switcher/BaseLanguageSwitcher.d.ts.map +1 -0
  145. package/dist/components/common/language-switcher/LanguageSwitcher.css.d.ts.map +1 -0
  146. package/dist/components/common/language-switcher/LanguageSwitcher.d.ts.map +1 -0
  147. package/dist/components/primitives/DataTable/DataTable.css.d.ts +12 -0
  148. package/dist/components/primitives/DataTable/DataTable.css.d.ts.map +1 -0
  149. package/dist/components/primitives/DataTable/DataTable.d.ts +32 -0
  150. package/dist/components/primitives/DataTable/DataTable.d.ts.map +1 -0
  151. package/dist/composables/auth/useFetchAuthFlows.d.ts.map +1 -0
  152. package/dist/composables/auth/useOAuthCallback.d.ts.map +1 -0
  153. package/dist/composables/management/useFetchUserTypes.d.ts.map +1 -0
  154. package/dist/composables/management/useFetchUsers.d.ts.map +1 -0
  155. package/dist/composables/management/useGrantedPermissions.d.ts +34 -0
  156. package/dist/composables/management/useGrantedPermissions.d.ts.map +1 -0
  157. package/dist/composables/management/useInfiniteOptions.d.ts.map +1 -0
  158. package/dist/composables/management/useManagementEndpoint.d.ts +26 -0
  159. package/dist/composables/management/useManagementEndpoint.d.ts.map +1 -0
  160. package/dist/composables/management/useManagementRequestConfig.d.ts +21 -0
  161. package/dist/composables/management/useManagementRequestConfig.d.ts.map +1 -0
  162. package/dist/composables/management/useResourceMutation.d.ts +51 -0
  163. package/dist/composables/management/useResourceMutation.d.ts.map +1 -0
  164. package/dist/composables/management/useResourceQuery.d.ts +59 -0
  165. package/dist/composables/management/useResourceQuery.d.ts.map +1 -0
  166. package/dist/index.d.ts +106 -42
  167. package/dist/index.d.ts.map +1 -1
  168. package/dist/index.js +10513 -5968
  169. package/dist/models/contexts.d.ts +13 -1
  170. package/dist/models/contexts.d.ts.map +1 -1
  171. package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
  172. package/dist/styles/injectStyles.d.ts.map +1 -1
  173. package/package.json +2 -2
  174. package/dist/api/getUsers.d.ts.map +0 -1
  175. package/dist/api/getUsersMe.d.ts.map +0 -1
  176. package/dist/api/getUsersMeMeta.d.ts.map +0 -1
  177. package/dist/api/updateMeCredentials.d.ts.map +0 -1
  178. package/dist/api/updateMeProfile.d.ts.map +0 -1
  179. package/dist/components/actions/BaseSignInButton.d.ts.map +0 -1
  180. package/dist/components/actions/BaseSignOutButton.d.ts.map +0 -1
  181. package/dist/components/actions/BaseSignUpButton.d.ts.map +0 -1
  182. package/dist/components/actions/SignInButton.d.ts.map +0 -1
  183. package/dist/components/actions/SignOutButton.d.ts.map +0 -1
  184. package/dist/components/actions/SignUpButton.d.ts.map +0 -1
  185. package/dist/components/adapters/FacebookButton.d.ts.map +0 -1
  186. package/dist/components/adapters/GitHubButton.d.ts.map +0 -1
  187. package/dist/components/adapters/GoogleButton.d.ts.map +0 -1
  188. package/dist/components/adapters/MicrosoftButton.d.ts.map +0 -1
  189. package/dist/components/auth/sign-in/AuthOptionFactory.d.ts.map +0 -1
  190. package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +0 -1
  191. package/dist/components/control/Loading.d.ts.map +0 -1
  192. package/dist/components/control/SignedIn.d.ts.map +0 -1
  193. package/dist/components/control/SignedOut.d.ts.map +0 -1
  194. package/dist/components/factories/FieldFactory.d.ts.map +0 -1
  195. package/dist/components/presentation/accept-invite/AcceptInvite.d.ts.map +0 -1
  196. package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts.map +0 -1
  197. package/dist/components/presentation/change-credential/BaseChangeCredential.d.ts.map +0 -1
  198. package/dist/components/presentation/change-credential/ChangeCredential.css.d.ts.map +0 -1
  199. package/dist/components/presentation/change-credential/ChangeCredential.d.ts.map +0 -1
  200. package/dist/components/presentation/invite-user/BaseInviteUser.d.ts.map +0 -1
  201. package/dist/components/presentation/invite-user/InviteUser.d.ts.map +0 -1
  202. package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts.map +0 -1
  203. package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +0 -1
  204. package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts.map +0 -1
  205. package/dist/components/presentation/user/User.d.ts.map +0 -1
  206. package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +0 -1
  207. package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +0 -1
  208. package/dist/components/presentation/user-dropdown/UserDropdown.d.ts.map +0 -1
  209. package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +0 -1
  210. package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +0 -1
  211. package/dist/components/presentation/user-profile/UserProfile.d.ts.map +0 -1
  212. package/dist/composables/useFetchAuthFlows.d.ts.map +0 -1
  213. package/dist/composables/useFetchUserTypes.d.ts.map +0 -1
  214. package/dist/composables/useFetchUsers.d.ts.map +0 -1
  215. package/dist/composables/useInfiniteOptions.d.ts.map +0 -1
  216. package/dist/composables/useOAuthCallback.d.ts.map +0 -1
  217. /package/dist/api/{getUsersMe.d.ts → account/getUsersMe.d.ts} +0 -0
  218. /package/dist/api/{getUsersMeMeta.d.ts → account/getUsersMeMeta.d.ts} +0 -0
  219. /package/dist/api/{updateMeCredentials.d.ts → account/updateMeCredentials.d.ts} +0 -0
  220. /package/dist/api/{updateMeProfile.d.ts → account/updateMeProfile.d.ts} +0 -0
  221. /package/dist/api/{getUsers.d.ts → management/getUsers.d.ts} +0 -0
  222. /package/dist/components/{presentation → account}/change-credential/BaseChangeCredential.d.ts +0 -0
  223. /package/dist/components/{presentation → account}/change-credential/ChangeCredential.css.d.ts +0 -0
  224. /package/dist/components/{presentation → account}/change-credential/ChangeCredential.d.ts +0 -0
  225. /package/dist/components/{presentation → account}/user/User.d.ts +0 -0
  226. /package/dist/components/{presentation → account}/user-dropdown/BaseUserDropdown.d.ts +0 -0
  227. /package/dist/components/{presentation → account}/user-dropdown/UserDropdown.css.d.ts +0 -0
  228. /package/dist/components/{presentation → account}/user-dropdown/UserDropdown.d.ts +0 -0
  229. /package/dist/components/{presentation → account}/user-profile/BaseUserProfile.d.ts +0 -0
  230. /package/dist/components/{presentation → account}/user-profile/UserProfile.css.d.ts +0 -0
  231. /package/dist/components/{presentation → account}/user-profile/UserProfile.d.ts +0 -0
  232. /package/dist/components/{presentation → auth}/accept-invite/AcceptInvite.d.ts +0 -0
  233. /package/dist/components/{presentation → auth}/accept-invite/BaseAcceptInvite.d.ts +0 -0
  234. /package/dist/components/{actions → auth/buttons}/BaseSignInButton.d.ts +0 -0
  235. /package/dist/components/{actions → auth/buttons}/BaseSignOutButton.d.ts +0 -0
  236. /package/dist/components/{actions → auth/buttons}/BaseSignUpButton.d.ts +0 -0
  237. /package/dist/components/{adapters → auth/buttons}/FacebookButton.d.ts +0 -0
  238. /package/dist/components/{adapters → auth/buttons}/GitHubButton.d.ts +0 -0
  239. /package/dist/components/{adapters → auth/buttons}/GoogleButton.d.ts +0 -0
  240. /package/dist/components/{adapters → auth/buttons}/MicrosoftButton.d.ts +0 -0
  241. /package/dist/components/{actions → auth/buttons}/SignInButton.d.ts +0 -0
  242. /package/dist/components/{actions → auth/buttons}/SignOutButton.d.ts +0 -0
  243. /package/dist/components/{actions → auth/buttons}/SignUpButton.d.ts +0 -0
  244. /package/dist/components/auth/{sign-in → flow}/AuthOptionFactory.d.ts +0 -0
  245. /package/dist/components/auth/{sign-in → flow}/AuthOptionFactoryCore.d.ts +0 -0
  246. /package/dist/components/{control → auth/guards}/Loading.d.ts +0 -0
  247. /package/dist/components/{control → auth/guards}/SignedIn.d.ts +0 -0
  248. /package/dist/components/{control → auth/guards}/SignedOut.d.ts +0 -0
  249. /package/dist/components/{presentation → auth}/invite-user/BaseInviteUser.d.ts +0 -0
  250. /package/dist/components/{presentation → auth}/invite-user/InviteUser.d.ts +0 -0
  251. /package/dist/components/{presentation → common}/language-switcher/BaseLanguageSwitcher.d.ts +0 -0
  252. /package/dist/components/{presentation → common}/language-switcher/LanguageSwitcher.css.d.ts +0 -0
  253. /package/dist/components/{presentation → common}/language-switcher/LanguageSwitcher.d.ts +0 -0
  254. /package/dist/composables/{useFetchAuthFlows.d.ts → auth/useFetchAuthFlows.d.ts} +0 -0
  255. /package/dist/composables/{useOAuthCallback.d.ts → auth/useOAuthCallback.d.ts} +0 -0
  256. /package/dist/composables/{useFetchUserTypes.d.ts → management/useFetchUserTypes.d.ts} +0 -0
  257. /package/dist/composables/{useFetchUsers.d.ts → management/useFetchUsers.d.ts} +0 -0
  258. /package/dist/composables/{useInfiniteOptions.d.ts → management/useInfiniteOptions.d.ts} +0 -0
@@ -0,0 +1,28 @@
1
+ import { type Component } from 'vue';
2
+ import { type AdminFormRenderProps } from '../shared/adminFormProps';
3
+ /**
4
+ * The role `BaseRoleCreate` emits on `submit`. The organization unit is added by the caller.
5
+ */
6
+ export interface RoleCreateSubmission {
7
+ description?: string;
8
+ name: string;
9
+ }
10
+ /**
11
+ * What `BaseRoleCreate` hands its default scoped slot, so the form can be built with any UI.
12
+ */
13
+ export interface BaseRoleCreateRenderProps 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 role's name and description. Holds no data of its own: handle the
23
+ * `submit` event, which carries a {@link RoleCreateSubmission}. Slots: `default`, a scoped slot that
24
+ * replaces the form with custom UI and receives {@link BaseRoleCreateRenderProps}.
25
+ */
26
+ declare const BaseRoleCreate: Component;
27
+ export default BaseRoleCreate;
28
+ //# sourceMappingURL=BaseRoleCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseRoleCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleCreate/BaseRoleCreate.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,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB;IACrE,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,cAAc,EAAE,SAuDpB,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Creates a role through the management API in the given organization unit, or the signed-in user's
4
+ * own. Emits `created` with the created role.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <RoleCreate @created="(role) => (selectedRoleId = role.id)" />
9
+ * ```
10
+ */
11
+ declare const RoleCreate: Component;
12
+ export default RoleCreate;
13
+ //# sourceMappingURL=RoleCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoleCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleCreate/RoleCreate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAsE,MAAM,KAAK,CAAC;AAaxG;;;;;;;;GAQG;AACH,QAAA,MAAM,UAAU,EAAE,SA8ChB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Lists roles with their description and organization unit. Holds no data of its own: pass the
4
+ * page of roles and handle selection and pagination.
5
+ *
6
+ * Props: `roles` (required), `selectedRoleId`, `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 BaseRoleList: Component;
12
+ export default BaseRoleList;
13
+ //# sourceMappingURL=BaseRoleList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseRoleList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleList/BaseRoleList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAC;AAIpD;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,EAAE,SAqBlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Component } from 'vue';
2
+ /**
3
+ * Lists the roles the signed-in user is allowed to see, a page at a time.
4
+ *
5
+ * Props: `limit`, `selectedRoleId`, `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
+ * <RoleList @select="(role) => (selectedRoleId = role.id)" />
12
+ * ```
13
+ */
14
+ declare const RoleList: Component;
15
+ export default RoleList;
16
+ //# sourceMappingURL=RoleList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoleList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RoleList/RoleList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAMnC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,QAAQ,EAAE,SAwBd,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { type RoleResourcePermissions } from '@thunderid/browser';
2
+ import { type Component } from 'vue';
3
+ /**
4
+ * What `BaseRolePermissions` hands its default scoped slot, so the permissions can be shown with any UI.
5
+ */
6
+ export interface BaseRolePermissionsRenderProps {
7
+ error: string | null;
8
+ isLoading: boolean;
9
+ /** The resource servers the role grants at least one permission on, with those permissions. */
10
+ permissions: RoleResourcePermissions[];
11
+ /** Returns a resource server's display name, or its identifier when the name is missing. */
12
+ resolveResourceServerName: (resourceServerId: string) => string;
13
+ }
14
+ /**
15
+ * Shows the permissions a role grants, grouped by resource server. Holds no data of its own: pass the
16
+ * permissions.
17
+ *
18
+ * Slots: `default`, a scoped slot that replaces the view with custom UI and receives
19
+ * {@link BaseRolePermissionsRenderProps}.
20
+ */
21
+ declare const BaseRolePermissions: Component;
22
+ export default BaseRolePermissions;
23
+ //# sourceMappingURL=BaseRolePermissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseRolePermissions.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RolePermissions/BaseRolePermissions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,uBAAuB,EAA2B,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAmBrG;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,+FAA+F;IAC/F,WAAW,EAAE,uBAAuB,EAAE,CAAC;IACvC,4FAA4F;IAC5F,yBAAyB,EAAE,CAAC,gBAAgB,EAAE,MAAM,KAAK,MAAM,CAAC;CACjE;AAED;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAuFzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Shows the permissions a role grants, grouped by resource server.
4
+ *
5
+ * @example
6
+ * ```vue
7
+ * <RolePermissions :role-id="roleId" />
8
+ * ```
9
+ */
10
+ declare const RolePermissions: Component;
11
+ export default RolePermissions;
12
+ //# sourceMappingURL=RolePermissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RolePermissions.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RolePermissions/RolePermissions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAerG;;;;;;;GAOG;AACH,QAAA,MAAM,eAAe,EAAE,SAyCrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { SelectOption } from '@thunderid/browser';
2
+ import { type Component } from 'vue';
3
+ import { type UserCreateField } from './userCreateFields';
4
+ import { type AdminFormRenderProps } from '../shared/adminFormProps';
5
+ /**
6
+ * The user `BaseUserCreate` emits on `submit`. The organization unit is added by the caller.
7
+ */
8
+ export interface UserCreateSubmission {
9
+ attributes: Record<string, string>;
10
+ type: string;
11
+ }
12
+ /**
13
+ * What `BaseUserCreate` hands its default scoped slot, so the form can be built with any UI.
14
+ */
15
+ export interface BaseUserCreateRenderProps extends AdminFormRenderProps {
16
+ /** The attributes to collect. */
17
+ fields: UserCreateField[];
18
+ /** Sets one attribute. */
19
+ handleInputChange: (name: string, value: string) => void;
20
+ /** Chooses the user type. */
21
+ handleTypeChange: (type: string) => void;
22
+ /** The chosen user type. */
23
+ type: string;
24
+ userTypes: SelectOption[];
25
+ /** The attribute values, keyed by attribute name. */
26
+ values: Record<string, string>;
27
+ }
28
+ /**
29
+ * A form that collects a new user's type and attributes. Holds no data of its own: pass the user
30
+ * types and handle the `submit` event, which carries a {@link UserCreateSubmission}. Slots: `default`, a scoped slot that
31
+ * replaces the form with custom UI and receives {@link BaseUserCreateRenderProps}.
32
+ */
33
+ declare const BaseUserCreate: Component;
34
+ export default BaseUserCreate;
35
+ //# sourceMappingURL=BaseUserCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseUserCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserCreate/BaseUserCreate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AACb,OAAO,EAA6B,KAAK,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAIpF,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB;IACrE,iCAAiC;IACjC,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,0BAA0B;IAC1B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,6BAA6B;IAC7B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAQD;;;;GAIG;AACH,QAAA,MAAM,cAAc,EAAE,SA2FpB,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Adds a user, either directly through the management API or by inviting them through the invite
4
+ * user flow. Emits `created` with the created user in `api` mode.
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <UserCreate @created="(user) => router.push(`/users/${user.id}`)" />
9
+ * <UserCreate mode="invite" />
10
+ * ```
11
+ */
12
+ declare const UserCreate: Component;
13
+ export default UserCreate;
14
+ //# sourceMappingURL=UserCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserCreate/UserCreate.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,SAAS,EAQf,MAAM,KAAK,CAAC;AAmBb;;;;;;;;;GASG;AACH,QAAA,MAAM,UAAU,EAAE,SA8EhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * A user attribute collected by `BaseUserCreate`.
3
+ */
4
+ export interface UserCreateField {
5
+ /**
6
+ * Label shown for the field. Defaults to the translation of `admin.users.create.fields.<name>`.
7
+ */
8
+ label?: string;
9
+ /**
10
+ * Attribute name, as defined in the user type schema.
11
+ */
12
+ name: string;
13
+ required?: boolean;
14
+ type?: 'text' | 'email' | 'password' | 'tel';
15
+ }
16
+ /**
17
+ * The attributes `UserCreate` collects when no `fields` are given.
18
+ */
19
+ export declare const DEFAULT_USER_CREATE_FIELDS: UserCreateField[];
20
+ //# sourceMappingURL=userCreateFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userCreateFields.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserCreate/userCreateFields.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,CAAC;CAC9C;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,eAAe,EAMvD,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { type ManagedUser, type MembershipGroup } from '@thunderid/browser';
2
+ import { type Component } from 'vue';
3
+ /**
4
+ * What `BaseUserDetails` hands its default scoped slot, so the user can be shown with any UI.
5
+ */
6
+ export interface BaseUserDetailsRenderProps {
7
+ /** The user's attributes, without the hidden ones. */
8
+ attributes: Record<string, unknown>;
9
+ /** The user's display name, or an empty string while there is no user. */
10
+ displayName: string;
11
+ error: string | null;
12
+ groups: MembershipGroup[];
13
+ isDeleting: boolean;
14
+ isLoading: boolean;
15
+ isUpdating: boolean;
16
+ /** Deletes the user. Undefined when deletion is not allowed, including for read-only users. */
17
+ onDelete?: () => void;
18
+ /** Saves the given attributes. Undefined when editing is not allowed, including for read-only users. */
19
+ onUpdate?: (attributes: Record<string, unknown>) => void;
20
+ user?: ManagedUser;
21
+ }
22
+ /**
23
+ * Shows a user's attributes, type, organization unit and groups. Holds no data of its own: pass the
24
+ * user and handle deletion and editing.
25
+ *
26
+ * Slots: `actions`, rendered next to the user's name; `default`, a scoped slot that replaces the view
27
+ * with custom UI and receives {@link BaseUserDetailsRenderProps}.
28
+ */
29
+ declare const BaseUserDetails: Component;
30
+ export default BaseUserDetails;
31
+ //# sourceMappingURL=BaseUserDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseUserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserDetails/BaseUserDetails.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,WAAW,EAAE,KAAK,eAAe,EAA6C,MAAM,oBAAoB,CAAC;AACtH,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AA2Bb;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,0EAA0E;IAC1E,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wGAAwG;IACxG,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACzD,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAYD;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,EAAE,SA4NrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Shows a user and the groups they belong to, and optionally lets the signed-in user edit or delete
4
+ * them. Emits `deleted` after the user has been deleted.
5
+ *
6
+ * Slots: `actions`, rendered next to the user's name.
7
+ *
8
+ * @example
9
+ * ```vue
10
+ * <UserDetails :user-id="userId" deletable @deleted="router.push('/users')" />
11
+ * ```
12
+ */
13
+ declare const UserDetails: Component;
14
+ export default UserDetails;
15
+ //# sourceMappingURL=UserDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserDetails/UserDetails.ts"],"names":[],"mappings":"AAaA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAqBrG;;;;;;;;;;GAUG;AACH,QAAA,MAAM,WAAW,EAAE,SAyEjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Lists users with their type and organization unit. Holds no data of its own: pass the page of
4
+ * users and handle selection and pagination.
5
+ *
6
+ * Props: `users` (required), `selectedUserId`, `isLoading`, `error`, `limit`, `offset`, `totalResults`,
7
+ * `onPageChange`, `onSelect` (`@select`), `title`, `description`, `className`, `preferences`.
8
+ * Slots: `actions`, rendered next to the title, such as a button that opens `UserCreate`; `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 BaseUserList: Component;
12
+ export default BaseUserList;
13
+ //# sourceMappingURL=BaseUserList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseUserList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserList/BaseUserList.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAqB,MAAM,KAAK,CAAC;AAKvD;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,EAAE,SAyBlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Component } from 'vue';
2
+ /**
3
+ * Lists the users 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`, `filter` (server-side filter expression, for example `username sw "a"`), `limit`,
6
+ * `selectedUserId`, `onSelect` (`@select`), `title`, `description`, `className`, `preferences`.
7
+ * Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
8
+ * receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
9
+ *
10
+ * @example
11
+ * ```vue
12
+ * <UserList @select="(user) => (selectedUserId = user.id)" />
13
+ * ```
14
+ */
15
+ declare const UserList: Component;
16
+ export default UserList;
17
+ //# sourceMappingURL=UserList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/UserList/UserList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAOnC;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,QAAQ,EAAE,SA6Bd,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Styles shared by the admin components (`UserList`, `GroupMembers`, `RoleCreate`, ...).
3
+ *
4
+ * BEM block: `.thunderid-admin`
5
+ *
6
+ * Elements:
7
+ * Section: __header | __heading | __title | __description | __actions
8
+ * Forms: __form | __form-actions
9
+ * Parts: __panel | __panel-header | __panel-title | __detail | __detail-label | __detail-value
10
+ * __chip-list | __chip | __confirm | __muted | __row | __avatar | __picker
11
+ *
12
+ * Each component root also carries its own block class (for example `.thunderid-user-list`), so an
13
+ * application can target a single component.
14
+ */
15
+ declare const ADMIN_CSS = "\n/* ============================================================\n Admin components\n ============================================================ */\n\n.thunderid-admin {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n font-family: var(--thunderid-typography-fontFamily);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__header {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-xl);\n font-weight: var(--thunderid-typography-fontWeight-normal);\n}\n\n.thunderid-admin__description {\n margin: calc(var(--thunderid-spacing-unit) / 2) 0 0;\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n}\n\n.thunderid-admin__form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n max-width: 560px;\n}\n\n.thunderid-admin__form-actions {\n display: flex;\n gap: var(--thunderid-spacing-unit);\n justify-content: flex-end;\n}\n\n.thunderid-admin__panel {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-large);\n background: var(--thunderid-color-background-surface);\n}\n\n.thunderid-admin__panel-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__panel-title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-md);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n}\n\n.thunderid-admin__detail {\n display: grid;\n grid-template-columns: fit-content(200px) minmax(0, 1fr);\n gap: var(--thunderid-spacing-unit) calc(var(--thunderid-spacing-unit) * 2);\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__detail-label {\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-admin__detail-value {\n margin: 0;\n color: var(--thunderid-color-text-primary);\n overflow-wrap: anywhere;\n}\n\n.thunderid-admin__chip-list {\n display: flex;\n flex-wrap: wrap;\n gap: var(--thunderid-spacing-unit);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.thunderid-admin__chip {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n padding: calc(var(--thunderid-spacing-unit) / 2) var(--thunderid-spacing-unit);\n border-radius: var(--thunderid-border-radius-full);\n border: 1px solid var(--thunderid-color-border);\n background: var(--thunderid-color-background-surface);\n font-size: var(--thunderid-typography-fontSize-sm);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__confirm {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__muted {\n display: inline-flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__name {\n display: inline-flex;\n align-items: center;\n gap: 0.75em;\n}\n\n.thunderid-admin__avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: var(--thunderid-border-radius-full);\n background: var(--thunderid-color-primary-main);\n color: var(--thunderid-color-primary-contrastText);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n line-height: 1;\n user-select: none;\n}\n\n.thunderid-admin__picker {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__picker > .thunderid-select {\n flex: 1 1 180px;\n}\n\n.thunderid-admin__edit-form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n";
16
+ export default ADMIN_CSS;
17
+ //# sourceMappingURL=Admin.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Admin.css.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/Admin.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,SAAS,y9IA8Kd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * A decorative circle with a name's initials. Hidden from assistive technology, since the name is
4
+ * always rendered next to it.
5
+ */
6
+ declare const AdminAvatar: Component;
7
+ export default AdminAvatar;
8
+ //# sourceMappingURL=AdminAvatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/AdminAvatar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAInE;;;GAGG;AACH,QAAA,MAAM,WAAW,EAAE,SA0BjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * A search an admin list applies on the server: the attribute to match and the value it must equal.
4
+ */
5
+ export interface AdminSearchValue {
6
+ attribute: string;
7
+ value: string;
8
+ }
9
+ /**
10
+ * Searches an admin list by one attribute. The server matches the whole value, so the search runs when
11
+ * submitted rather than on every keystroke.
12
+ */
13
+ declare const AdminSearch: Component;
14
+ export default AdminSearch;
15
+ //# sourceMappingURL=AdminSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/AdminSearch.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAsE,MAAM,KAAK,CAAC;AAMxG;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AASD;;;GAGG;AACH,QAAA,MAAM,WAAW,EAAE,SA6EjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Frames an admin component with a title, a description and actions.
4
+ *
5
+ * Slots:
6
+ * - `default` — the component's content.
7
+ * - `actions` — controls rendered next to the title, such as a create button.
8
+ */
9
+ declare const AdminSection: Component;
10
+ export default AdminSection;
11
+ //# sourceMappingURL=AdminSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/AdminSection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,KAAK,SAAS,EAA6E,MAAM,KAAK,CAAC;AAqCxH;;;;;;GAMG;AACH,QAAA,MAAM,YAAY,EAAE,SAuDlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * One item of a {@link ChipList}.
4
+ */
5
+ export interface ChipListItem {
6
+ id: string;
7
+ label: string;
8
+ onRemove?: () => void;
9
+ removeLabel?: string;
10
+ }
11
+ /**
12
+ * Renders a list of named items, each optionally removable.
13
+ */
14
+ declare const ChipList: Component;
15
+ export default ChipList;
16
+ //# sourceMappingURL=ChipList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/ChipList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,KAAK,CAAC;AAKlF;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,QAAA,MAAM,QAAQ,EAAE,SAiCd,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * Shows a client secret the one time it can be read, masked until revealed, with a copy button.
4
+ */
5
+ declare const ClientSecretNotice: Component;
6
+ export default ClientSecretNotice;
7
+ //# sourceMappingURL=ClientSecretNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientSecretNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/ClientSecretNotice.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,KAAK,CAAC;AAclF;;GAEG;AACH,QAAA,MAAM,kBAAkB,EAAE,SAwBxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * A destructive action that asks for confirmation inline before it runs. The default slot is the
4
+ * label of the button that starts the action.
5
+ */
6
+ declare const ConfirmButton: Component;
7
+ export default ConfirmButton;
8
+ //# sourceMappingURL=ConfirmButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmButton.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/ConfirmButton.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAkF,MAAM,KAAK,CAAC;AAapH;;;GAGG;AACH,QAAA,MAAM,aAAa,EAAE,SAyDnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type Component, type VNodeChild } from 'vue';
2
+ /**
3
+ * One label and value pair of a {@link DetailList}.
4
+ */
5
+ export interface DetailListItem {
6
+ label: string;
7
+ value: VNodeChild;
8
+ }
9
+ /**
10
+ * Renders label and value pairs as a description list.
11
+ */
12
+ declare const DetailList: Component;
13
+ export default DetailList;
14
+ //# sourceMappingURL=DetailList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailList.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/DetailList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAA6B,KAAK,UAAU,EAAqB,MAAM,KAAK,CAAC;AAInG;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,CAAC;CACnB;AAED;;GAEG;AACH,QAAA,MAAM,UAAU,EAAE,SAkBhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * An identity that can be picked, such as a user, agent or group.
4
+ */
5
+ export interface IdentityCandidate {
6
+ id: string;
7
+ label: string;
8
+ }
9
+ /**
10
+ * Picks one identity of a chosen type and emits `add` with it, for example to add a group member or a
11
+ * role assignee.
12
+ */
13
+ declare const IdentityPicker: Component;
14
+ export default IdentityPicker;
15
+ //# sourceMappingURL=IdentityPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentityPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/IdentityPicker.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAKb;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAWD;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,SAqEpB,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type Component } from 'vue';
2
+ /**
3
+ * A bordered block with a heading, used to group parts of a details view. Accepts an `actions` slot
4
+ * rendered next to the heading.
5
+ */
6
+ declare const Panel: Component;
7
+ export default Panel;
8
+ //# sourceMappingURL=Panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/Panel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAoD,MAAM,KAAK,CAAC;AAItF;;;GAGG;AACH,QAAA,MAAM,KAAK,EAAE,SAeX,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,67 @@
1
+ import type { Preferences } from '@thunderid/browser';
2
+ import type { PropType } from 'vue';
3
+ /**
4
+ * Props shared by the presentational admin create forms (`BaseUserCreate`, `BaseGroupCreate`, ...).
5
+ */
6
+ export declare const adminFormProps: {
7
+ /** Extra CSS class added to the root element. */
8
+ readonly className: {
9
+ readonly default: "";
10
+ readonly type: StringConstructor;
11
+ };
12
+ /** Text shown under the title. */
13
+ readonly description: {
14
+ readonly default: undefined;
15
+ readonly type: StringConstructor;
16
+ };
17
+ /** An error message, already translated. */
18
+ readonly error: {
19
+ readonly default: null;
20
+ readonly type: PropType<string | null>;
21
+ };
22
+ /** Whether a submission is in flight. */
23
+ readonly isSubmitting: {
24
+ readonly default: false;
25
+ readonly type: BooleanConstructor;
26
+ };
27
+ /** Shows a cancel button that calls it. Also available as `@cancel`. */
28
+ readonly onCancel: {
29
+ readonly default: undefined;
30
+ readonly type: PropType<() => void>;
31
+ };
32
+ /** Component-level preferences, for example `i18n.bundles` overrides. */
33
+ readonly preferences: {
34
+ readonly default: undefined;
35
+ readonly type: PropType<Preferences>;
36
+ };
37
+ /** Heading of the form. Pass an empty string to hide it. */
38
+ readonly title: {
39
+ readonly default: undefined;
40
+ readonly type: StringConstructor;
41
+ };
42
+ };
43
+ /**
44
+ * What every admin create form hands its default scoped slot. Each form adds its values and setters.
45
+ */
46
+ export interface AdminFormRenderProps {
47
+ error: string | null;
48
+ /** Submits the current values. Does nothing while they are not valid or a submission is in flight. */
49
+ handleSubmit: () => void;
50
+ isSubmitting: boolean;
51
+ /** Whether the values can be submitted. */
52
+ isValid: boolean;
53
+ onCancel?: () => void;
54
+ }
55
+ /**
56
+ * The resolved values of {@link adminFormProps}.
57
+ */
58
+ export type AdminFormProps = Readonly<{
59
+ className: string;
60
+ description: string | undefined;
61
+ error: string | null;
62
+ isSubmitting: boolean;
63
+ onCancel: (() => void) | undefined;
64
+ preferences: Preferences | undefined;
65
+ title: string | undefined;
66
+ }>;
67
+ //# sourceMappingURL=adminFormProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adminFormProps.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/shared/adminFormProps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,KAAK,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,cAAc;IACzB,iDAAiD;;;;;IAEjD,kCAAkC;;;;;IAElC,4CAA4C;;;uBACL,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;IAC9D,yCAAyC;;;;;IAEzC,wEAAwE;;;uBACvB,QAAQ,CAAC,MAAM,IAAI,CAAC;;IACrE,yEAAyE;;;uBACvB,QAAQ,CAAC,WAAW,CAAC;;IACvE,4DAA4D;;;;;CAEpD,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,sGAAsG;IACtG,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACnC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC,CAAC"}