@keycloak/keycloak-admin-ui 26.0.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 (531) hide show
  1. package/LICENSE.txt +202 -0
  2. package/README.md +59 -0
  3. package/lib/.vite/manifest.json +105 -0
  4. package/lib/App.d.ts +1 -0
  5. package/lib/Banners.d.ts +1 -0
  6. package/lib/CreateFlow-Cs5xTx-G.js +80 -0
  7. package/lib/CreateFlow-Cs5xTx-G.js.map +1 -0
  8. package/lib/DetailOrganization-qj8m2QUy.js +130 -0
  9. package/lib/DetailOrganization-qj8m2QUy.js.map +1 -0
  10. package/lib/ExecutorForm-DwNxoZuZ.js +198 -0
  11. package/lib/ExecutorForm-DwNxoZuZ.js.map +1 -0
  12. package/lib/FlowDetails-BMYNGuYV.js +10593 -0
  13. package/lib/FlowDetails-BMYNGuYV.js.map +1 -0
  14. package/lib/ForbiddenSection.d.ts +6 -0
  15. package/lib/NewOrganization-FsgFNfEd.js +36 -0
  16. package/lib/NewOrganization-FsgFNfEd.js.map +1 -0
  17. package/lib/PageHeader.d.ts +1 -0
  18. package/lib/PageNav.d.ts +1 -0
  19. package/lib/PageNotFoundSection.d.ts +1 -0
  20. package/lib/PermissionDetails-9Ej9jFpb.js +413 -0
  21. package/lib/PermissionDetails-9Ej9jFpb.js.map +1 -0
  22. package/lib/ResourceDetails-apuGPq7h.js +286 -0
  23. package/lib/ResourceDetails-apuGPq7h.js.map +1 -0
  24. package/lib/Root.d.ts +1 -0
  25. package/lib/ScopeDetails-CxuBwUaZ.js +153 -0
  26. package/lib/ScopeDetails-CxuBwUaZ.js.map +1 -0
  27. package/lib/admin-client.d.ts +10 -0
  28. package/lib/authentication/AuthenticationSection.d.ts +14 -0
  29. package/lib/authentication/BindFlowDialog.d.ts +6 -0
  30. package/lib/authentication/BuildInLabel.d.ts +1 -0
  31. package/lib/authentication/DuplicateFlowModal.d.ts +8 -0
  32. package/lib/authentication/EditFlowModal.d.ts +7 -0
  33. package/lib/authentication/EmptyExecutionState.d.ts +10 -0
  34. package/lib/authentication/FlowDetails.d.ts +3 -0
  35. package/lib/authentication/RequiredActions.d.ts +1 -0
  36. package/lib/authentication/components/AddFlowDropdown.d.ts +10 -0
  37. package/lib/authentication/components/DraggableTable.d.ts +20 -0
  38. package/lib/authentication/components/EditFlow.d.ts +7 -0
  39. package/lib/authentication/components/ExecutionConfigModal.d.ts +6 -0
  40. package/lib/authentication/components/FlowDiagram.d.ts +6 -0
  41. package/lib/authentication/components/FlowHeader.d.ts +1 -0
  42. package/lib/authentication/components/FlowRequirementDropdown.d.ts +7 -0
  43. package/lib/authentication/components/FlowRow.d.ts +14 -0
  44. package/lib/authentication/components/FlowTitle.d.ts +7 -0
  45. package/lib/authentication/components/RequiredActionConfigModal.d.ts +7 -0
  46. package/lib/authentication/components/UsedBy.d.ts +6 -0
  47. package/lib/authentication/components/diagram/ButtonEdge.d.ts +13 -0
  48. package/lib/authentication/components/diagram/ConditionalNode.d.ts +8 -0
  49. package/lib/authentication/components/diagram/SubFlowNode.d.ts +13 -0
  50. package/lib/authentication/components/diagram/auto-layout.d.ts +3 -0
  51. package/lib/authentication/components/modals/AddStepModal.d.ts +9 -0
  52. package/lib/authentication/components/modals/AddSubFlowModal.d.ts +14 -0
  53. package/lib/authentication/execution-model.d.ts +25 -0
  54. package/lib/authentication/form/CreateFlow.d.ts +1 -0
  55. package/lib/authentication/form/NameDescription.d.ts +1 -0
  56. package/lib/authentication/policies/CibaPolicy.d.ts +7 -0
  57. package/lib/authentication/policies/OtpPolicy.d.ts +7 -0
  58. package/lib/authentication/policies/PasswordPolicy.d.ts +7 -0
  59. package/lib/authentication/policies/Policies.d.ts +1 -0
  60. package/lib/authentication/policies/PolicyRow.d.ts +7 -0
  61. package/lib/authentication/policies/WebauthnPolicy.d.ts +8 -0
  62. package/lib/authentication/policies/util.d.ts +10 -0
  63. package/lib/authentication/routes/Authentication.d.ts +10 -0
  64. package/lib/authentication/routes/CreateFlow.d.ts +7 -0
  65. package/lib/authentication/routes/Flow.d.ts +11 -0
  66. package/lib/authentication/routes.d.ts +3 -0
  67. package/lib/client-scopes/ChangeTypeDropdown.d.ts +8 -0
  68. package/lib/client-scopes/ClientScopesSection.d.ts +1 -0
  69. package/lib/client-scopes/CreateClientScope.d.ts +1 -0
  70. package/lib/client-scopes/EditClientScope.d.ts +1 -0
  71. package/lib/client-scopes/add/MapperDialog.d.ts +12 -0
  72. package/lib/client-scopes/details/MapperList.d.ts +13 -0
  73. package/lib/client-scopes/details/MappingDetails.d.ts +1 -0
  74. package/lib/client-scopes/details/ScopeForm.d.ts +8 -0
  75. package/lib/client-scopes/details/SearchFilter.d.ts +22 -0
  76. package/lib/client-scopes/routes/ClientScope.d.ts +10 -0
  77. package/lib/client-scopes/routes/ClientScopes.d.ts +7 -0
  78. package/lib/client-scopes/routes/Mapper.d.ts +9 -0
  79. package/lib/client-scopes/routes/NewClientScope.d.ts +7 -0
  80. package/lib/client-scopes/routes.d.ts +3 -0
  81. package/lib/clients/AdvancedTab.d.ts +11 -0
  82. package/lib/clients/ClientDescription.d.ts +6 -0
  83. package/lib/clients/ClientDetails.d.ts +7 -0
  84. package/lib/clients/ClientSessions.d.ts +6 -0
  85. package/lib/clients/ClientSettings.d.ts +7 -0
  86. package/lib/clients/ClientsSection.d.ts +1 -0
  87. package/lib/clients/add/AccessSettings.d.ts +2 -0
  88. package/lib/clients/add/CapabilityConfig.d.ts +6 -0
  89. package/lib/clients/add/GeneralSettings.d.ts +1 -0
  90. package/lib/clients/add/LoginSettings.d.ts +5 -0
  91. package/lib/clients/add/LoginSettingsPanel.d.ts +3 -0
  92. package/lib/clients/add/LogoutPanel.d.ts +2 -0
  93. package/lib/clients/add/NewClientForm.d.ts +1 -0
  94. package/lib/clients/add/SamlConfig.d.ts +9 -0
  95. package/lib/clients/add/SamlSignature.d.ts +1 -0
  96. package/lib/clients/advanced/AddHostDialog.d.ts +8 -0
  97. package/lib/clients/advanced/AdvancedSettings.d.ts +8 -0
  98. package/lib/clients/advanced/ApplicationUrls.d.ts +5 -0
  99. package/lib/clients/advanced/AuthenticationOverrides.d.ts +8 -0
  100. package/lib/clients/advanced/ClusteringPanel.d.ts +2 -0
  101. package/lib/clients/advanced/FineGrainOpenIdConnect.d.ts +7 -0
  102. package/lib/clients/advanced/FineGrainSamlEndpointConfig.d.ts +6 -0
  103. package/lib/clients/advanced/OpenIdConnectCompatibilityModes.d.ts +7 -0
  104. package/lib/clients/advanced/TokenLifespan.d.ts +9 -0
  105. package/lib/clients/authorization/AuthorizationDataModal.d.ts +6 -0
  106. package/lib/clients/authorization/AuthorizationEvaluate.d.ts +36 -0
  107. package/lib/clients/authorization/AuthorizationEvaluateResource.d.ts +8 -0
  108. package/lib/clients/authorization/AuthorizationEvaluateResourcePolicies.d.ts +10 -0
  109. package/lib/clients/authorization/AuthorizationExport.d.ts +1 -0
  110. package/lib/clients/authorization/DecisionStrategySelect.d.ts +7 -0
  111. package/lib/clients/authorization/DeleteScopeDialog.d.ts +11 -0
  112. package/lib/clients/authorization/DetailCell.d.ts +7 -0
  113. package/lib/clients/authorization/DetailDescription.d.ts +12 -0
  114. package/lib/clients/authorization/EmptyPermissionsState.d.ts +7 -0
  115. package/lib/clients/authorization/ImportDialog.d.ts +7 -0
  116. package/lib/clients/authorization/KeyBasedAttributeInput.d.ts +16 -0
  117. package/lib/clients/authorization/MoreLabel.d.ts +5 -0
  118. package/lib/clients/authorization/NewPolicyDialog.d.ts +8 -0
  119. package/lib/clients/authorization/PermissionDetails.d.ts +1 -0
  120. package/lib/clients/authorization/Permissions.d.ts +6 -0
  121. package/lib/clients/authorization/Policies.d.ts +6 -0
  122. package/lib/clients/authorization/ResourceDetails.d.ts +1 -0
  123. package/lib/clients/authorization/Resources.d.ts +6 -0
  124. package/lib/clients/authorization/ResourcesPolicySelect.d.ts +12 -0
  125. package/lib/clients/authorization/ScopeDetails.d.ts +1 -0
  126. package/lib/clients/authorization/ScopePicker.d.ts +3 -0
  127. package/lib/clients/authorization/ScopeSelect.d.ts +7 -0
  128. package/lib/clients/authorization/Scopes.d.ts +12 -0
  129. package/lib/clients/authorization/SearchDropdown.d.ts +17 -0
  130. package/lib/clients/authorization/Settings.d.ts +5 -0
  131. package/lib/clients/authorization/evaluate/Results.d.ts +8 -0
  132. package/lib/clients/authorization/policy/Aggregate.d.ts +1 -0
  133. package/lib/clients/authorization/policy/Client.d.ts +1 -0
  134. package/lib/clients/authorization/policy/ClientScope.d.ts +5 -0
  135. package/lib/clients/authorization/policy/Group.d.ts +5 -0
  136. package/lib/clients/authorization/policy/JavaScript.d.ts +1 -0
  137. package/lib/clients/authorization/policy/LogicSelector.d.ts +5 -0
  138. package/lib/clients/authorization/policy/NameDescription.d.ts +5 -0
  139. package/lib/clients/authorization/policy/PolicyDetails.d.ts +2 -0
  140. package/lib/clients/authorization/policy/Regex.d.ts +1 -0
  141. package/lib/clients/authorization/policy/Role.d.ts +1 -0
  142. package/lib/clients/authorization/policy/Time.d.ts +1 -0
  143. package/lib/clients/authorization/policy/User.d.ts +1 -0
  144. package/lib/clients/credentials/ClientSecret.d.ts +7 -0
  145. package/lib/clients/credentials/Credentials.d.ts +7 -0
  146. package/lib/clients/credentials/SignedJWT.d.ts +5 -0
  147. package/lib/clients/credentials/X509.d.ts +1 -0
  148. package/lib/clients/import/ImportForm.d.ts +1 -0
  149. package/lib/clients/initial-access/AccessTokenDialog.d.ts +6 -0
  150. package/lib/clients/initial-access/CreateInitialAccessToken.d.ts +1 -0
  151. package/lib/clients/initial-access/InitialAccessTokenList.d.ts +1 -0
  152. package/lib/clients/keys/Certificate.d.ts +10 -0
  153. package/lib/clients/keys/ExportSamlKeyDialog.d.ts +8 -0
  154. package/lib/clients/keys/GenerateKeyDialog.d.ts +15 -0
  155. package/lib/clients/keys/ImportKeyDialog.d.ts +15 -0
  156. package/lib/clients/keys/Keys.d.ts +7 -0
  157. package/lib/clients/keys/SamlImportKeyDialog.d.ts +8 -0
  158. package/lib/clients/keys/SamlKeys.d.ts +8 -0
  159. package/lib/clients/keys/SamlKeysDialog.d.ts +15 -0
  160. package/lib/clients/keys/StoreSettings.d.ts +4 -0
  161. package/lib/clients/registration/AddProviderDialog.d.ts +6 -0
  162. package/lib/clients/registration/ClientRegistration.d.ts +1 -0
  163. package/lib/clients/registration/ClientRegistrationList.d.ts +5 -0
  164. package/lib/clients/registration/DetailProvider.d.ts +1 -0
  165. package/lib/clients/roles/CreateClientRole.d.ts +1 -0
  166. package/lib/clients/routes/AddClient.d.ts +7 -0
  167. package/lib/clients/routes/AddRegistrationProvider.d.ts +12 -0
  168. package/lib/clients/routes/AuthenticationTab.d.ts +10 -0
  169. package/lib/clients/routes/Client.d.ts +10 -0
  170. package/lib/clients/routes/ClientRegistration.d.ts +9 -0
  171. package/lib/clients/routes/ClientRole.d.ts +11 -0
  172. package/lib/clients/routes/ClientScopeTab.d.ts +10 -0
  173. package/lib/clients/routes/Clients.d.ts +10 -0
  174. package/lib/clients/routes/CreateInitialAccessToken.d.ts +7 -0
  175. package/lib/clients/routes/DedicatedScopeDetails.d.ts +11 -0
  176. package/lib/clients/routes/ImportClient.d.ts +7 -0
  177. package/lib/clients/routes/Mapper.d.ts +9 -0
  178. package/lib/clients/routes/NewPermission.d.ts +12 -0
  179. package/lib/clients/routes/NewPolicy.d.ts +9 -0
  180. package/lib/clients/routes/NewResource.d.ts +8 -0
  181. package/lib/clients/routes/NewRole.d.ts +8 -0
  182. package/lib/clients/routes/NewScope.d.ts +8 -0
  183. package/lib/clients/routes/PermissionDetails.d.ts +11 -0
  184. package/lib/clients/routes/PolicyDetails.d.ts +10 -0
  185. package/lib/clients/routes/Resource.d.ts +10 -0
  186. package/lib/clients/routes/Scope.d.ts +10 -0
  187. package/lib/clients/routes.d.ts +3 -0
  188. package/lib/clients/scopes/AddScopeDialog.d.ts +14 -0
  189. package/lib/clients/scopes/ClientScopes.d.ts +13 -0
  190. package/lib/clients/scopes/CopyToClipboardButton.d.ts +8 -0
  191. package/lib/clients/scopes/DedicatedScope.d.ts +6 -0
  192. package/lib/clients/scopes/DedicatedScopes.d.ts +1 -0
  193. package/lib/clients/scopes/EvaluateScopes.d.ts +5 -0
  194. package/lib/clients/scopes/GeneratedCodeTab.d.ts +8 -0
  195. package/lib/clients/service-account/ServiceAccount.d.ts +6 -0
  196. package/lib/clients/utils.d.ts +29 -0
  197. package/lib/components/SwitchControl.d.ts +4 -0
  198. package/lib/components/bread-crumb/GroupBreadCrumbs.d.ts +1 -0
  199. package/lib/components/bread-crumb/PageBreadCrumbs.d.ts +1 -0
  200. package/lib/components/client/ClientSelect.d.ts +7 -0
  201. package/lib/components/client-scope/ClientScopeTypes.d.ts +33 -0
  202. package/lib/components/confirm-dialog/ConfirmDialog.d.ts +21 -0
  203. package/lib/components/download-dialog/DownloadDialog.d.ts +8 -0
  204. package/lib/components/dropdown-panel/DropdownPanel.d.ts +10 -0
  205. package/lib/components/dynamic/BooleanComponent.d.ts +2 -0
  206. package/lib/components/dynamic/ClientSelectComponent.d.ts +2 -0
  207. package/lib/components/dynamic/DynamicComponents.d.ts +9 -0
  208. package/lib/components/dynamic/FileComponent.d.ts +2 -0
  209. package/lib/components/dynamic/GroupComponent.d.ts +2 -0
  210. package/lib/components/dynamic/ListComponent.d.ts +2 -0
  211. package/lib/components/dynamic/MapComponent.d.ts +2 -0
  212. package/lib/components/dynamic/MultivaluedListComponent.d.ts +2 -0
  213. package/lib/components/dynamic/MultivaluedStringComponent.d.ts +2 -0
  214. package/lib/components/dynamic/PasswordComponent.d.ts +2 -0
  215. package/lib/components/dynamic/RoleComponent.d.ts +2 -0
  216. package/lib/components/dynamic/ScriptComponent.d.ts +2 -0
  217. package/lib/components/dynamic/StringComponent.d.ts +2 -0
  218. package/lib/components/dynamic/TextComponent.d.ts +2 -0
  219. package/lib/components/dynamic/UrlComponent.d.ts +2 -0
  220. package/lib/components/dynamic/UserProfileAttributeListComponent.d.ts +2 -0
  221. package/lib/components/dynamic/components.d.ts +13 -0
  222. package/lib/components/error/ErrorRenderer.d.ts +2 -0
  223. package/lib/components/external-link/FormattedLink.d.ts +5 -0
  224. package/lib/components/form/FixedButtonGroup.d.ts +12 -0
  225. package/lib/components/form/FormAccess.d.ts +29 -0
  226. package/lib/components/group/GroupPath.d.ts +7 -0
  227. package/lib/components/group/GroupPickerDialog.d.ts +15 -0
  228. package/lib/components/help-enabler/HelpHeader.d.ts +1 -0
  229. package/lib/components/json-file-upload/FileUploadForm.d.ts +13 -0
  230. package/lib/components/json-file-upload/JsonFileUpload.d.ts +5 -0
  231. package/lib/components/json-file-upload/patternfly/FileUpload.d.ts +73 -0
  232. package/lib/components/json-file-upload/patternfly/FileUploadField.d.ts +67 -0
  233. package/lib/components/json-file-upload/patternfly/fileUtils.d.ts +12 -0
  234. package/lib/components/key-value-form/AttributeForm.d.ts +15 -0
  235. package/lib/components/key-value-form/KeySelect.d.ts +7 -0
  236. package/lib/components/key-value-form/KeyValueInput.d.ts +13 -0
  237. package/lib/components/key-value-form/ValueSelect.d.ts +8 -0
  238. package/lib/components/key-value-form/key-value-convert.d.ts +7 -0
  239. package/lib/components/keycloak-card/ClickableCard.d.ts +6 -0
  240. package/lib/components/keycloak-card/KeycloakCard.d.ts +11 -0
  241. package/lib/components/keycloak-spinner/KeycloakSpinner.d.ts +1 -0
  242. package/lib/components/multi-line-input/MultiLineInput.d.ts +9 -0
  243. package/lib/components/permission-tab/PermissionTab.d.ts +7 -0
  244. package/lib/components/realm-selector/RealmSelector.d.ts +1 -0
  245. package/lib/components/role-form/RoleForm.d.ts +11 -0
  246. package/lib/components/role-mapping/AddRoleMappingModal.d.ts +12 -0
  247. package/lib/components/role-mapping/RoleMapping.d.ts +55 -0
  248. package/lib/components/role-mapping/queries.d.ts +9 -0
  249. package/lib/components/role-mapping/resource.d.ts +40 -0
  250. package/lib/components/roles-list/RolesList.d.ts +13 -0
  251. package/lib/components/routable-tabs/RoutableTabs.d.ts +15 -0
  252. package/lib/components/time-selector/TimeSelector.d.ts +11 -0
  253. package/lib/components/time-selector/TimeSelectorControl.d.ts +13 -0
  254. package/lib/components/time-selector/TimeSelectorForm.d.ts +6 -0
  255. package/lib/components/users/UserDataTable.d.ts +10 -0
  256. package/lib/components/users/UserDataTableAttributeSearchForm.d.ts +12 -0
  257. package/lib/components/users/UserDataTableToolbarItems.d.ts +27 -0
  258. package/lib/components/users/UserSelect.d.ts +8 -0
  259. package/lib/components/view-header/ViewHeader.d.ts +25 -0
  260. package/lib/components/wizard-section-header/WizardSectionHeader.d.ts +6 -0
  261. package/lib/context/RecentRealms.d.ts +4 -0
  262. package/lib/context/access/Access.d.ts +10 -0
  263. package/lib/context/auth/admin-ui-endpoint.d.ts +4 -0
  264. package/lib/context/auth/uiRealmInfo.d.ts +5 -0
  265. package/lib/context/realm-context/RealmContext.d.ts +11 -0
  266. package/lib/context/server-info/ServerInfoProvider.d.ts +6 -0
  267. package/lib/context/whoami/WhoAmI.d.ts +23 -0
  268. package/lib/dashboard/Dashboard.d.ts +1 -0
  269. package/lib/dashboard/ProviderInfo.d.ts +1 -0
  270. package/lib/dashboard/routes/Dashboard.d.ts +11 -0
  271. package/lib/dashboard/routes.d.ts +3 -0
  272. package/lib/environment.d.ts +19 -0
  273. package/lib/events/AdminEvents.d.ts +1 -0
  274. package/lib/events/EventsSection.d.ts +1 -0
  275. package/lib/events/ResourceLinks.d.ts +7 -0
  276. package/lib/events/routes/Events.d.ts +10 -0
  277. package/lib/events/routes.d.ts +3 -0
  278. package/lib/favicon.svg +63 -0
  279. package/lib/groups/GroupAttributes.d.ts +1 -0
  280. package/lib/groups/GroupRoleMapping.d.ts +6 -0
  281. package/lib/groups/GroupTable.d.ts +5 -0
  282. package/lib/groups/GroupsModal.d.ts +10 -0
  283. package/lib/groups/GroupsSection.d.ts +1 -0
  284. package/lib/groups/Members.d.ts +1 -0
  285. package/lib/groups/MembersModal.d.ts +8 -0
  286. package/lib/groups/SubGroupsContext.d.ts +12 -0
  287. package/lib/groups/components/CheckableTreeView.d.ts +7 -0
  288. package/lib/groups/components/DeleteGroup.d.ts +9 -0
  289. package/lib/groups/components/GroupToolbar.d.ts +7 -0
  290. package/lib/groups/components/GroupTree.d.ts +8 -0
  291. package/lib/groups/components/MoveDialog.d.ts +8 -0
  292. package/lib/groups/groupIdUtils.d.ts +2 -0
  293. package/lib/groups/routes/Groups.d.ts +10 -0
  294. package/lib/groups/routes.d.ts +3 -0
  295. package/lib/help-urls.d.ts +19 -0
  296. package/lib/icon.svg +55 -0
  297. package/lib/identity-providers/IdentityProvidersSection.d.ts +1 -0
  298. package/lib/identity-providers/ManageOrderDialog.d.ts +7 -0
  299. package/lib/identity-providers/OIDCConfigurationRepresentation.d.ts +39 -0
  300. package/lib/identity-providers/add/AddIdentityProvider.d.ts +1 -0
  301. package/lib/identity-providers/add/AddMapper.d.ts +8 -0
  302. package/lib/identity-providers/add/AddMapperForm.d.ts +13 -0
  303. package/lib/identity-providers/add/AddOpenIdConnect.d.ts +1 -0
  304. package/lib/identity-providers/add/AddSamlConnect.d.ts +1 -0
  305. package/lib/identity-providers/add/AdvancedSettings.d.ts +6 -0
  306. package/lib/identity-providers/add/DescriptorSettings.d.ts +5 -0
  307. package/lib/identity-providers/add/DetailSettings.d.ts +1 -0
  308. package/lib/identity-providers/add/DiscoverySettings.d.ts +5 -0
  309. package/lib/identity-providers/add/ExtendedNonDiscoverySettings.d.ts +1 -0
  310. package/lib/identity-providers/add/GeneralSettings.d.ts +6 -0
  311. package/lib/identity-providers/add/OIDCAuthentication.d.ts +3 -0
  312. package/lib/identity-providers/add/OIDCGeneralSettings.d.ts +1 -0
  313. package/lib/identity-providers/add/OpenIdConnectSettings.d.ts +1 -0
  314. package/lib/identity-providers/add/ReqAuthnConstraintsSettings.d.ts +1 -0
  315. package/lib/identity-providers/add/SamlConnectSettings.d.ts +1 -0
  316. package/lib/identity-providers/add/SamlGeneralSettings.d.ts +5 -0
  317. package/lib/identity-providers/component/ClientIdSecret.d.ts +4 -0
  318. package/lib/identity-providers/component/DiscoveryEndpointField.d.ts +8 -0
  319. package/lib/identity-providers/component/DisplayOrder.d.ts +1 -0
  320. package/lib/identity-providers/component/FormGroupField.d.ts +10 -0
  321. package/lib/identity-providers/component/RedirectUrl.d.ts +3 -0
  322. package/lib/identity-providers/component/SwitchField.d.ts +8 -0
  323. package/lib/identity-providers/component/TextField.d.ts +2 -0
  324. package/lib/identity-providers/routes/AddMapper.d.ts +10 -0
  325. package/lib/identity-providers/routes/EditMapper.d.ts +10 -0
  326. package/lib/identity-providers/routes/IdentityProvider.d.ts +11 -0
  327. package/lib/identity-providers/routes/IdentityProviderCreate.d.ts +8 -0
  328. package/lib/identity-providers/routes/IdentityProviderKeycloakOidc.d.ts +7 -0
  329. package/lib/identity-providers/routes/IdentityProviderOidc.d.ts +7 -0
  330. package/lib/identity-providers/routes/IdentityProviderSaml.d.ts +7 -0
  331. package/lib/identity-providers/routes/IdentityProviders.d.ts +7 -0
  332. package/lib/identity-providers/routes.d.ts +3 -0
  333. package/lib/img_avatar.svg +33 -0
  334. package/lib/index-DXWy23Yd.js +65735 -0
  335. package/lib/index-DXWy23Yd.js.map +1 -0
  336. package/lib/index.d.ts +295 -0
  337. package/lib/keycloak-admin-ui.d.ts +2 -0
  338. package/lib/keycloak-admin-ui.js +309 -0
  339. package/lib/keycloak-admin-ui.js.map +1 -0
  340. package/lib/logo.svg +1 -0
  341. package/lib/main.d.ts +0 -0
  342. package/lib/organizations/DetailOraganzationHeader.d.ts +5 -0
  343. package/lib/organizations/DetailOrganization.d.ts +1 -0
  344. package/lib/organizations/IdentityProviderSelect.d.ts +7 -0
  345. package/lib/organizations/IdentityProviders.d.ts +1 -0
  346. package/lib/organizations/InviteMemberModal.d.ts +6 -0
  347. package/lib/organizations/LinkIdentityProviderModal.d.ts +8 -0
  348. package/lib/organizations/Members.d.ts +1 -0
  349. package/lib/organizations/NewOrganization.d.ts +1 -0
  350. package/lib/organizations/OrganizationForm.d.ts +11 -0
  351. package/lib/organizations/OrganizationModal.d.ts +9 -0
  352. package/lib/organizations/OrganizationsSection.d.ts +1 -0
  353. package/lib/organizations/routes/AddOrganization.d.ts +7 -0
  354. package/lib/organizations/routes/EditOrganization.d.ts +10 -0
  355. package/lib/organizations/routes/Organizations.d.ts +8 -0
  356. package/lib/organizations/routes.d.ts +3 -0
  357. package/lib/page/Page.d.ts +1 -0
  358. package/lib/page/PageHandler.d.ts +9 -0
  359. package/lib/page/PageList.d.ts +3 -0
  360. package/lib/page/routes.d.ts +16 -0
  361. package/lib/realm/add/NewRealmForm.d.ts +1 -0
  362. package/lib/realm/routes/AddRealm.d.ts +7 -0
  363. package/lib/realm/routes.d.ts +3 -0
  364. package/lib/realm-roles/CreateRealmRole.d.ts +1 -0
  365. package/lib/realm-roles/RealmRoleTabs.d.ts +1 -0
  366. package/lib/realm-roles/RealmRolesSection.d.ts +1 -0
  367. package/lib/realm-roles/UsersInRoleTab.d.ts +1 -0
  368. package/lib/realm-roles/routes/AddRole.d.ts +7 -0
  369. package/lib/realm-roles/routes/RealmRole.d.ts +10 -0
  370. package/lib/realm-roles/routes/RealmRoles.d.ts +7 -0
  371. package/lib/realm-roles/routes.d.ts +3 -0
  372. package/lib/realm-settings/AddClientProfileModal.d.ts +8 -0
  373. package/lib/realm-settings/AddTranslationModal.d.ts +15 -0
  374. package/lib/realm-settings/ClientProfileForm.d.ts +1 -0
  375. package/lib/realm-settings/DefaultGroupsTab.d.ts +1 -0
  376. package/lib/realm-settings/EmailTab.d.ts +7 -0
  377. package/lib/realm-settings/ExecutorForm.d.ts +1 -0
  378. package/lib/realm-settings/GeneralTab.d.ts +7 -0
  379. package/lib/realm-settings/LoginTab.d.ts +7 -0
  380. package/lib/realm-settings/NewAttributeSettings.d.ts +6 -0
  381. package/lib/realm-settings/NewClientPolicy.d.ts +1 -0
  382. package/lib/realm-settings/NewClientPolicyCondition.d.ts +4 -0
  383. package/lib/realm-settings/PartialExport.d.ts +5 -0
  384. package/lib/realm-settings/PartialImport.d.ts +5 -0
  385. package/lib/realm-settings/PoliciesTab.d.ts +1 -0
  386. package/lib/realm-settings/ProfilesTab.d.ts +1 -0
  387. package/lib/realm-settings/RealmSettingsSection.d.ts +1 -0
  388. package/lib/realm-settings/RealmSettingsTabs.d.ts +6 -0
  389. package/lib/realm-settings/SessionsTab.d.ts +7 -0
  390. package/lib/realm-settings/ThemesTab.d.ts +7 -0
  391. package/lib/realm-settings/TokensTab.d.ts +8 -0
  392. package/lib/realm-settings/UserRegistration.d.ts +1 -0
  393. package/lib/realm-settings/event-config/AddEventTypesDialog.d.ts +8 -0
  394. package/lib/realm-settings/event-config/EventConfigForm.d.ts +10 -0
  395. package/lib/realm-settings/event-config/EventListenersForm.d.ts +7 -0
  396. package/lib/realm-settings/event-config/EventsTab.d.ts +6 -0
  397. package/lib/realm-settings/event-config/EventsTypeTable.d.ts +12 -0
  398. package/lib/realm-settings/keys/KeysListTab.d.ts +6 -0
  399. package/lib/realm-settings/keys/KeysProvidersTab.d.ts +7 -0
  400. package/lib/realm-settings/keys/KeysTab.d.ts +1 -0
  401. package/lib/realm-settings/keys/key-providers/KeyProviderForm.d.ts +9 -0
  402. package/lib/realm-settings/keys/key-providers/KeyProviderModal.d.ts +7 -0
  403. package/lib/realm-settings/keys/key-providers/KeyProvidersPicker.d.ts +6 -0
  404. package/lib/realm-settings/localization/EffectiveMessageBundles.d.ts +6 -0
  405. package/lib/realm-settings/localization/LocalizationTab.d.ts +8 -0
  406. package/lib/realm-settings/localization/RealmOverrides.d.ts +21 -0
  407. package/lib/realm-settings/routes/AddAttribute.d.ts +7 -0
  408. package/lib/realm-settings/routes/AddClientPolicy.d.ts +7 -0
  409. package/lib/realm-settings/routes/AddClientProfile.d.ts +8 -0
  410. package/lib/realm-settings/routes/AddCondition.d.ts +8 -0
  411. package/lib/realm-settings/routes/AddExecutor.d.ts +8 -0
  412. package/lib/realm-settings/routes/Attribute.d.ts +8 -0
  413. package/lib/realm-settings/routes/ClientPolicies.d.ts +9 -0
  414. package/lib/realm-settings/routes/ClientProfile.d.ts +8 -0
  415. package/lib/realm-settings/routes/EditAttributesGroup.d.ts +8 -0
  416. package/lib/realm-settings/routes/EditClientPolicy.d.ts +8 -0
  417. package/lib/realm-settings/routes/EditCondition.d.ts +9 -0
  418. package/lib/realm-settings/routes/Executor.d.ts +9 -0
  419. package/lib/realm-settings/routes/KeyProvider.d.ts +10 -0
  420. package/lib/realm-settings/routes/KeysTab.d.ts +9 -0
  421. package/lib/realm-settings/routes/NewAttributesGroup.d.ts +7 -0
  422. package/lib/realm-settings/routes/RealmSettings.d.ts +10 -0
  423. package/lib/realm-settings/routes/UserProfile.d.ts +9 -0
  424. package/lib/realm-settings/routes.d.ts +3 -0
  425. package/lib/realm-settings/security-defences/BruteForceDetection.d.ts +7 -0
  426. package/lib/realm-settings/security-defences/HeadersForm.d.ts +7 -0
  427. package/lib/realm-settings/security-defences/HelpLinkTextInput.d.ts +6 -0
  428. package/lib/realm-settings/security-defences/SecurityDefenses.d.ts +7 -0
  429. package/lib/realm-settings/security-defences/Time.d.ts +5 -0
  430. package/lib/realm-settings/user-profile/AttributesGroupDetails.d.ts +2 -0
  431. package/lib/realm-settings/user-profile/AttributesGroupForm.d.ts +1 -0
  432. package/lib/realm-settings/user-profile/AttributesGroupTab.d.ts +5 -0
  433. package/lib/realm-settings/user-profile/AttributesTab.d.ts +5 -0
  434. package/lib/realm-settings/user-profile/JsonEditorTab.d.ts +1 -0
  435. package/lib/realm-settings/user-profile/UserProfileContext.d.ts +16 -0
  436. package/lib/realm-settings/user-profile/UserProfileTab.d.ts +5 -0
  437. package/lib/realm-settings/user-profile/attribute/AddTranslationsDialog.d.ts +19 -0
  438. package/lib/realm-settings/user-profile/attribute/AddValidatorDialog.d.ts +8 -0
  439. package/lib/realm-settings/user-profile/attribute/AttributeAnnotations.d.ts +1 -0
  440. package/lib/realm-settings/user-profile/attribute/AttributeGeneralSettings.d.ts +14 -0
  441. package/lib/realm-settings/user-profile/attribute/AttributePermission.d.ts +1 -0
  442. package/lib/realm-settings/user-profile/attribute/AttributeValidations.d.ts +1 -0
  443. package/lib/realm-settings/user-profile/attribute/ValidatorSelect.d.ts +7 -0
  444. package/lib/robots.txt +3 -0
  445. package/lib/root/AuthWall.d.ts +1 -0
  446. package/lib/routes.d.ts +15 -0
  447. package/lib/sessions/RevocationModal.d.ts +6 -0
  448. package/lib/sessions/SessionsSection.d.ts +1 -0
  449. package/lib/sessions/SessionsTable.d.ts +14 -0
  450. package/lib/sessions/routes/Sessions.d.ts +7 -0
  451. package/lib/sessions/routes.d.ts +3 -0
  452. package/lib/style.css +1 -0
  453. package/lib/user/CreateUser.d.ts +1 -0
  454. package/lib/user/EditUser.d.ts +1 -0
  455. package/lib/user/FederatedUserLink.d.ts +6 -0
  456. package/lib/user/Organizations.d.ts +1 -0
  457. package/lib/user/UserAttributes.d.ts +10 -0
  458. package/lib/user/UserConsents.d.ts +1 -0
  459. package/lib/user/UserCredentials.d.ts +7 -0
  460. package/lib/user/UserForm.d.ts +21 -0
  461. package/lib/user/UserGroups.d.ts +6 -0
  462. package/lib/user/UserIdPModal.d.ts +8 -0
  463. package/lib/user/UserIdentityProviderLinks.d.ts +5 -0
  464. package/lib/user/UserRoleMapping.d.ts +6 -0
  465. package/lib/user/UserSessions.d.ts +1 -0
  466. package/lib/user/UsersSection.d.ts +1 -0
  467. package/lib/user/details/SearchFilter.d.ts +9 -0
  468. package/lib/user/form-state.d.ts +14 -0
  469. package/lib/user/routes/AddUser.d.ts +7 -0
  470. package/lib/user/routes/User.d.ts +10 -0
  471. package/lib/user/routes/Users.d.ts +10 -0
  472. package/lib/user/routes.d.ts +3 -0
  473. package/lib/user/user-credentials/CredentialDataDialog.d.ts +6 -0
  474. package/lib/user/user-credentials/CredentialRow.d.ts +10 -0
  475. package/lib/user/user-credentials/InlineLabelEdit.d.ts +9 -0
  476. package/lib/user/user-credentials/LifespanField.d.ts +1 -0
  477. package/lib/user/user-credentials/RequiredActionMultiSelect.d.ts +7 -0
  478. package/lib/user/user-credentials/ResetCredentialDialog.d.ts +6 -0
  479. package/lib/user/user-credentials/ResetPasswordDialog.d.ts +15 -0
  480. package/lib/user/utils/user-profile.d.ts +2 -0
  481. package/lib/user/utils.d.ts +1 -0
  482. package/lib/user-federation/CreateUserFederationLdapSettings.d.ts +1 -0
  483. package/lib/user-federation/ManagePriorityDialog.d.ts +7 -0
  484. package/lib/user-federation/UserFederationKerberosSettings.d.ts +1 -0
  485. package/lib/user-federation/UserFederationKerberosWizard.d.ts +1 -0
  486. package/lib/user-federation/UserFederationLdapForm.d.ts +13 -0
  487. package/lib/user-federation/UserFederationLdapSettings.d.ts +1 -0
  488. package/lib/user-federation/UserFederationLdapWizard.d.ts +1 -0
  489. package/lib/user-federation/UserFederationSection.d.ts +1 -0
  490. package/lib/user-federation/custom/CustomProviderSettings.d.ts +1 -0
  491. package/lib/user-federation/custom/SyncSettings.d.ts +1 -0
  492. package/lib/user-federation/kerberos/KerberosSettingsRequired.d.ts +7 -0
  493. package/lib/user-federation/ldap/LdapSettingsAdvanced.d.ts +8 -0
  494. package/lib/user-federation/ldap/LdapSettingsConnection.d.ts +10 -0
  495. package/lib/user-federation/ldap/LdapSettingsGeneral.d.ts +9 -0
  496. package/lib/user-federation/ldap/LdapSettingsKerberosIntegration.d.ts +7 -0
  497. package/lib/user-federation/ldap/LdapSettingsSearching.d.ts +7 -0
  498. package/lib/user-federation/ldap/LdapSettingsSynchronization.d.ts +7 -0
  499. package/lib/user-federation/ldap/mappers/LdapMapperDetails.d.ts +1 -0
  500. package/lib/user-federation/ldap/mappers/LdapMapperList.d.ts +6 -0
  501. package/lib/user-federation/routes/CustomUserFederation.d.ts +9 -0
  502. package/lib/user-federation/routes/NewCustomUserFederation.d.ts +8 -0
  503. package/lib/user-federation/routes/NewKerberosUserFederation.d.ts +7 -0
  504. package/lib/user-federation/routes/NewLdapUserFederation.d.ts +7 -0
  505. package/lib/user-federation/routes/UserFederation.d.ts +7 -0
  506. package/lib/user-federation/routes/UserFederationKerberos.d.ts +8 -0
  507. package/lib/user-federation/routes/UserFederationLdap.d.ts +11 -0
  508. package/lib/user-federation/routes/UserFederationLdapMapper.d.ts +9 -0
  509. package/lib/user-federation/routes/UserFederationsKerberos.d.ts +7 -0
  510. package/lib/user-federation/routes/UserFederationsLdap.d.ts +7 -0
  511. package/lib/user-federation/routes.d.ts +3 -0
  512. package/lib/user-federation/shared/ExtendedHeader.d.ts +8 -0
  513. package/lib/user-federation/shared/Header.d.ts +9 -0
  514. package/lib/user-federation/shared/SettingsCache.d.ts +8 -0
  515. package/lib/util.d.ts +24 -0
  516. package/lib/utils/client-url.d.ts +3 -0
  517. package/lib/utils/generateEncodedPath.d.ts +23 -0
  518. package/lib/utils/getAuthorizationHeaders.d.ts +1 -0
  519. package/lib/utils/joinPath.d.ts +1 -0
  520. package/lib/utils/translationFormatter.d.ts +3 -0
  521. package/lib/utils/types.d.ts +4 -0
  522. package/lib/utils/useCurrentUser.d.ts +27 -0
  523. package/lib/utils/useFormatDate.d.ts +2 -0
  524. package/lib/utils/useIsFeatureEnabled.d.ts +14 -0
  525. package/lib/utils/useLocale.d.ts +1 -0
  526. package/lib/utils/useLocaleSort.d.ts +7 -0
  527. package/lib/utils/useParams.d.ts +1 -0
  528. package/lib/utils/useQueryPermission.d.ts +6 -0
  529. package/lib/utils/useToggle.d.ts +6 -0
  530. package/lib/utils/useUpdateEffect.d.ts +5 -0
  531. package/package.json +128 -0
@@ -0,0 +1 @@
1
+ export default function CreateUser(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function EditUser(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ type FederatedUserLinkProps = {
3
+ user: UserRepresentation;
4
+ };
5
+ export declare const FederatedUserLink: ({ user }: FederatedUserLinkProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Organizations: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ import { UserFormFields } from './form-state';
3
+ import { UserProfileConfig } from '@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata';
4
+ type UserAttributesProps = {
5
+ user: UserRepresentation;
6
+ save: (user: UserFormFields) => void;
7
+ upConfig?: UserProfileConfig;
8
+ };
9
+ export declare const UserAttributes: ({ user, save, upConfig, }: UserAttributesProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1 @@
1
+ export declare const UserConsents: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ type UserCredentialsProps = {
3
+ user: UserRepresentation;
4
+ setUser: (user: UserRepresentation) => void;
5
+ };
6
+ export declare const UserCredentials: ({ user, setUser }: UserCredentialsProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,21 @@
1
+ import { default as GroupRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/groupRepresentation';
2
+ import { default as RealmRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/realmRepresentation';
3
+ import { UserProfileMetadata } from '@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata';
4
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
5
+ import { UseFormReturn } from 'react-hook-form';
6
+ import { UserFormFields } from './form-state';
7
+ export type BruteForced = {
8
+ isBruteForceProtected?: boolean;
9
+ isLocked?: boolean;
10
+ };
11
+ export type UserFormProps = {
12
+ form: UseFormReturn<UserFormFields>;
13
+ realm: RealmRepresentation;
14
+ user?: UserRepresentation;
15
+ bruteForce?: BruteForced;
16
+ userProfileMetadata?: UserProfileMetadata;
17
+ save: (user: UserFormFields) => void;
18
+ refresh?: () => void;
19
+ onGroupsUpdate?: (groups: GroupRepresentation[]) => void;
20
+ };
21
+ export declare const UserForm: ({ form, realm, user, bruteForce: { isBruteForceProtected, isLocked }, userProfileMetadata, save, refresh, onGroupsUpdate, }: UserFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ type UserGroupsProps = {
3
+ user: UserRepresentation;
4
+ };
5
+ export declare const UserGroups: ({ user }: UserGroupsProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ type UserIdpModalProps = {
2
+ userId: string;
3
+ federatedId: string;
4
+ onClose: () => void;
5
+ onRefresh: () => void;
6
+ };
7
+ export declare const UserIdpModal: ({ userId, federatedId, onClose, onRefresh, }: UserIdpModalProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ type UserIdentityProviderLinksProps = {
2
+ userId: string;
3
+ };
4
+ export declare const UserIdentityProviderLinks: ({ userId, }: UserIdentityProviderLinksProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ type UserRoleMappingProps = {
2
+ id: string;
3
+ name: string;
4
+ };
5
+ export declare const UserRoleMapping: ({ id, name }: UserRoleMappingProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const UserSessions: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function UsersSection(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export type SearchType = "default" | "attribute";
2
+ type SearchToolbarProps = SearchDropdownProps;
3
+ type SearchDropdownProps = {
4
+ searchType: SearchType;
5
+ onSelect: (value: SearchType) => void;
6
+ };
7
+ export declare const SearchDropdown: ({ searchType, onSelect, }: SearchDropdownProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const SearchToolbar: ({ searchType, onSelect }: SearchToolbarProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ import { KeyValueType } from '../components/key-value-form/key-value-convert';
3
+ export type UserFormFields = Omit<UIUserRepresentation, "attributes" | "userProfileMetadata" | "unmanagedAttributes"> & {
4
+ attributes?: KeyValueType[] | Record<string, string | string[]>;
5
+ unmanagedAttributes?: KeyValueType[] | Record<string, string | string[]>;
6
+ };
7
+ export interface UIUserRepresentation extends UserRepresentation {
8
+ unmanagedAttributes?: Record<string, string[]>;
9
+ }
10
+ export declare function toUserFormFields(data: UIUserRepresentation): UserFormFields;
11
+ export declare function toUserRepresentation(data: UserFormFields): UIUserRepresentation;
12
+ export declare function filterManagedAttributes(attributes?: Record<string, string[]>, unmanagedAttributes?: Record<string, string[]>): {
13
+ [k: string]: string[];
14
+ };
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type AddUserParams = {
4
+ realm: string;
5
+ };
6
+ export declare const AddUserRoute: AppRouteObject;
7
+ export declare const toAddUser: (params: AddUserParams) => Partial<Path>;
@@ -0,0 +1,10 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserTab = "settings" | "groups" | "organizations" | "consents" | "attributes" | "sessions" | "credentials" | "role-mapping" | "identity-provider-links";
4
+ export type UserParams = {
5
+ realm: string;
6
+ id: string;
7
+ tab: UserTab;
8
+ };
9
+ export declare const UserRoute: AppRouteObject;
10
+ export declare const toUser: (params: UserParams) => Partial<Path>;
@@ -0,0 +1,10 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserTab = "list" | "permissions";
4
+ export type UsersParams = {
5
+ realm: string;
6
+ tab?: UserTab;
7
+ };
8
+ export declare const UsersRoute: AppRouteObject;
9
+ export declare const UsersRouteWithTab: AppRouteObject;
10
+ export declare const toUsers: (params: UsersParams) => Partial<Path>;
@@ -0,0 +1,3 @@
1
+ import { AppRouteObject } from '../routes';
2
+ declare const routes: AppRouteObject[];
3
+ export default routes;
@@ -0,0 +1,6 @@
1
+ type CredentialDataDialogProps = {
2
+ credentialData: [string, string][];
3
+ onClose: () => void;
4
+ };
5
+ export declare const CredentialDataDialog: ({ credentialData, onClose, }: CredentialDataDialogProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ import { default as CredentialRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/credentialRepresentation';
3
+ type CredentialRowProps = {
4
+ credential: CredentialRepresentation;
5
+ resetPassword: () => void;
6
+ toggleDelete: () => void;
7
+ children: ReactNode;
8
+ };
9
+ export declare const CredentialRow: ({ credential, resetPassword, toggleDelete, children, }: CredentialRowProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as CredentialRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/credentialRepresentation';
2
+ type InlineLabelEditProps = {
3
+ userId: string;
4
+ credential: CredentialRepresentation;
5
+ isEditable: boolean;
6
+ toggle: () => void;
7
+ };
8
+ export declare const InlineLabelEdit: ({ userId, credential, isEditable, toggle, }: InlineLabelEditProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare const LifespanField: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { FieldPathByValue, FieldValues } from 'react-hook-form';
2
+ export type RequiredActionMultiSelectProps<T extends FieldValues, P extends FieldPathByValue<T, string[] | undefined>> = {
3
+ name: P;
4
+ label: string;
5
+ help: string;
6
+ };
7
+ export declare const RequiredActionMultiSelect: <T extends FieldValues, P extends FieldPathByValue<T, string[] | undefined>>({ name, label, help, }: RequiredActionMultiSelectProps<T, P>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ type ResetCredentialDialogProps = {
2
+ userId: string;
3
+ onClose: () => void;
4
+ };
5
+ export declare const ResetCredentialDialog: ({ userId, onClose, }: ResetCredentialDialogProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,15 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ type ResetPasswordDialogProps = {
3
+ user: UserRepresentation;
4
+ isResetPassword: boolean;
5
+ onAddRequiredActions?: (requiredActions: string[]) => void;
6
+ refresh: () => void;
7
+ onClose: () => void;
8
+ };
9
+ export type CredentialsForm = {
10
+ password: string;
11
+ passwordConfirmation: string;
12
+ temporaryPassword: boolean;
13
+ };
14
+ export declare const ResetPasswordDialog: ({ user, isResetPassword, onAddRequiredActions, refresh, onClose, }: ResetPasswordDialogProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import { UserProfileAttributeMetadata } from '@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata';
2
+ export declare function isRequiredAttribute({ required, validators, }: UserProfileAttributeMetadata): boolean;
@@ -0,0 +1 @@
1
+ export declare const isLightweightUser: (userId?: string) => boolean | undefined;
@@ -0,0 +1 @@
1
+ export default function CreateUserFederationLdapSettings(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { default as ComponentRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/componentRepresentation';
2
+ type ManagePriorityDialogProps = {
3
+ components: ComponentRepresentation[];
4
+ onClose: () => void;
5
+ };
6
+ export declare const ManagePriorityDialog: ({ components, onClose, }: ManagePriorityDialogProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export default function UserFederationKerberosSettings(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const UserFederationKerberosWizard: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { default as ComponentRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/componentRepresentation';
2
+ export type LdapComponentRepresentation = ComponentRepresentation & {
3
+ config?: {
4
+ periodicChangedUsersSync?: boolean;
5
+ periodicFullSync?: boolean;
6
+ };
7
+ };
8
+ export type UserFederationLdapFormProps = {
9
+ id?: string;
10
+ onSubmit: (formData: LdapComponentRepresentation) => void;
11
+ };
12
+ export declare const UserFederationLdapForm: ({ id, onSubmit, }: UserFederationLdapFormProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare function serializeFormData(formData: LdapComponentRepresentation): LdapComponentRepresentation;
@@ -0,0 +1 @@
1
+ export default function UserFederationLdapSettings(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const UserFederationLdapWizard: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function UserFederationSection(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function CustomProviderSettings(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const SyncSettings: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type KerberosSettingsRequiredProps = {
3
+ form: UseFormReturn;
4
+ showSectionHeading?: boolean;
5
+ showSectionDescription?: boolean;
6
+ };
7
+ export declare const KerberosSettingsRequired: ({ form, showSectionHeading, showSectionDescription, }: KerberosSettingsRequiredProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type LdapSettingsAdvancedProps = {
3
+ id?: string;
4
+ form: UseFormReturn;
5
+ showSectionHeading?: boolean;
6
+ showSectionDescription?: boolean;
7
+ };
8
+ export declare const LdapSettingsAdvanced: ({ id, form, showSectionHeading, showSectionDescription, }: LdapSettingsAdvancedProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { default as TestLdapConnectionRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/testLdapConnection';
2
+ import { UseFormReturn } from 'react-hook-form';
3
+ export type LdapSettingsConnectionProps = {
4
+ form: UseFormReturn;
5
+ id?: string;
6
+ showSectionHeading?: boolean;
7
+ showSectionDescription?: boolean;
8
+ };
9
+ export declare const convertFormToSettings: (form: UseFormReturn) => TestLdapConnectionRepresentation;
10
+ export declare const LdapSettingsConnection: ({ form, id, showSectionHeading, showSectionDescription, }: LdapSettingsConnectionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { default as ComponentRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/componentRepresentation';
2
+ import { UseFormReturn } from 'react-hook-form';
3
+ export type LdapSettingsGeneralProps = {
4
+ form: UseFormReturn<ComponentRepresentation>;
5
+ showSectionHeading?: boolean;
6
+ showSectionDescription?: boolean;
7
+ vendorEdit?: boolean;
8
+ };
9
+ export declare const LdapSettingsGeneral: ({ form, showSectionHeading, showSectionDescription, vendorEdit, }: LdapSettingsGeneralProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type LdapSettingsKerberosIntegrationProps = {
3
+ form: UseFormReturn;
4
+ showSectionHeading?: boolean;
5
+ showSectionDescription?: boolean;
6
+ };
7
+ export declare const LdapSettingsKerberosIntegration: ({ form, showSectionHeading, showSectionDescription, }: LdapSettingsKerberosIntegrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type LdapSettingsSearchingProps = {
3
+ form: UseFormReturn;
4
+ showSectionHeading?: boolean;
5
+ showSectionDescription?: boolean;
6
+ };
7
+ export declare const LdapSettingsSearching: ({ form, showSectionHeading, showSectionDescription, }: LdapSettingsSearchingProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type LdapSettingsSynchronizationProps = {
3
+ form: UseFormReturn;
4
+ showSectionHeading?: boolean;
5
+ showSectionDescription?: boolean;
6
+ };
7
+ export declare const LdapSettingsSynchronization: ({ form, showSectionHeading, showSectionDescription, }: LdapSettingsSynchronizationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function LdapMapperDetails(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { To } from 'react-router-dom';
2
+ export type LdapMapperListProps = {
3
+ toCreate: To;
4
+ toDetail: (mapperId: string) => To;
5
+ };
6
+ export declare const LdapMapperList: ({ toCreate, toDetail }: LdapMapperListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type CustomUserFederationRouteParams = {
4
+ realm: string;
5
+ providerId: string;
6
+ id: string;
7
+ };
8
+ export declare const CustomUserFederationRoute: AppRouteObject;
9
+ export declare const toCustomUserFederation: (params: CustomUserFederationRouteParams) => Partial<Path>;
@@ -0,0 +1,8 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type NewCustomUserFederationRouteParams = {
4
+ realm: string;
5
+ providerId: string;
6
+ };
7
+ export declare const NewCustomUserFederationRoute: AppRouteObject;
8
+ export declare const toNewCustomUserFederation: (params: NewCustomUserFederationRouteParams) => Partial<Path>;
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type NewKerberosUserFederationParams = {
4
+ realm: string;
5
+ };
6
+ export declare const NewKerberosUserFederationRoute: AppRouteObject;
7
+ export declare const toNewKerberosUserFederation: (params: NewKerberosUserFederationParams) => Partial<Path>;
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type NewLdapUserFederationParams = {
4
+ realm: string;
5
+ };
6
+ export declare const NewLdapUserFederationRoute: AppRouteObject;
7
+ export declare const toNewLdapUserFederation: (params: NewLdapUserFederationParams) => Partial<Path>;
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationParams = {
4
+ realm: string;
5
+ };
6
+ export declare const UserFederationRoute: AppRouteObject;
7
+ export declare const toUserFederation: (params: UserFederationParams) => Partial<Path>;
@@ -0,0 +1,8 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationKerberosParams = {
4
+ realm: string;
5
+ id: string;
6
+ };
7
+ export declare const UserFederationKerberosRoute: AppRouteObject;
8
+ export declare const toUserFederationKerberos: (params: UserFederationKerberosParams) => Partial<Path>;
@@ -0,0 +1,11 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationLdapTab = "settings" | "mappers";
4
+ export type UserFederationLdapParams = {
5
+ realm: string;
6
+ id: string;
7
+ tab?: UserFederationLdapTab;
8
+ };
9
+ export declare const UserFederationLdapRoute: AppRouteObject;
10
+ export declare const UserFederationLdapWithTabRoute: AppRouteObject;
11
+ export declare const toUserFederationLdap: (params: UserFederationLdapParams) => Partial<Path>;
@@ -0,0 +1,9 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationLdapMapperParams = {
4
+ realm: string;
5
+ id: string;
6
+ mapperId: string;
7
+ };
8
+ export declare const UserFederationLdapMapperRoute: AppRouteObject;
9
+ export declare const toUserFederationLdapMapper: (params: UserFederationLdapMapperParams) => Partial<Path>;
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationsKerberosParams = {
4
+ realm: string;
5
+ };
6
+ export declare const UserFederationsKerberosRoute: AppRouteObject;
7
+ export declare const toUserFederationsKerberos: (params: UserFederationsKerberosParams) => Partial<Path>;
@@ -0,0 +1,7 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type UserFederationsLdapParams = {
4
+ realm: string;
5
+ };
6
+ export declare const UserFederationsLdapRoute: AppRouteObject;
7
+ export declare const toUserFederationsLdap: (params: UserFederationsLdapParams) => Partial<Path>;
@@ -0,0 +1,3 @@
1
+ import { AppRouteObject } from '../routes';
2
+ declare const routes: AppRouteObject[];
3
+ export default routes;
@@ -0,0 +1,8 @@
1
+ type ExtendedHeaderProps = {
2
+ provider: string;
3
+ editMode?: string | string[];
4
+ save: () => void;
5
+ noDivider?: boolean;
6
+ };
7
+ export declare const ExtendedHeader: ({ provider, editMode, save, noDivider, }: ExtendedHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ type HeaderProps = {
3
+ provider: string;
4
+ save: () => void;
5
+ dropdownItems?: ReactElement[];
6
+ noDivider?: boolean;
7
+ };
8
+ export declare const Header: ({ provider, save, noDivider, dropdownItems, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { UseFormReturn } from 'react-hook-form';
2
+ export type SettingsCacheProps = {
3
+ form: UseFormReturn;
4
+ showSectionHeading?: boolean;
5
+ showSectionDescription?: boolean;
6
+ unWrap?: boolean;
7
+ };
8
+ export declare const SettingsCache: ({ form, showSectionHeading, showSectionDescription, unWrap, }: SettingsCacheProps) => import("react/jsx-runtime").JSX.Element;
package/lib/util.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ import { default as ClientRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/clientRepresentation';
2
+ import { ProviderRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/serverInfoRepesentation';
3
+ import { IFormatter } from '@patternfly/react-table';
4
+ import { FieldValues, Path, PathValue, UseFormSetValue } from 'react-hook-form';
5
+ import { ReplaceString } from './utils/types';
6
+ export declare const sortProviders: (providers: {
7
+ [index: string]: ProviderRepresentation;
8
+ }) => string[];
9
+ export declare const toKey: (value: string) => string;
10
+ export declare const exportClient: (client: ClientRepresentation) => void;
11
+ export declare const toUpperCase: <T extends string>(name: T) => Capitalize<T>;
12
+ export declare function convertAttributeNameToForm<T>(name: string): PathValue<T, Path<T>>;
13
+ export declare const beerify: <T extends string>(name: T) => ReplaceString<T, ".", "\uD83C\uDF7A">;
14
+ export declare const debeerify: <T extends string>(name: T) => ReplaceString<T, "\uD83C\uDF7A", ".">;
15
+ export declare function convertToFormValues<T extends FieldValues>(obj: FieldValues, setValue: UseFormSetValue<T>): void;
16
+ export declare function convertFormValuesToObject<T extends Record<string, any>, G = T>(obj: T): G;
17
+ export declare const emptyFormatter: () => IFormatter;
18
+ export declare const upperCaseFormatter: () => IFormatter;
19
+ export declare const alphaRegexPattern: RegExp;
20
+ export declare const emailRegexPattern: RegExp;
21
+ export declare const KEY_PROVIDER_TYPE = "org.keycloak.keys.KeyProvider";
22
+ export declare const prettyPrintJSON: (value: any) => string;
23
+ export declare const addTrailingSlash: (url: string) => string;
24
+ export declare const localeToDisplayName: (locale: string, displayLocale: string) => string | undefined;
@@ -0,0 +1,3 @@
1
+ import { default as ClientRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/clientRepresentation';
2
+ import { Environment } from '../environment';
3
+ export declare const convertClientToUrl: ({ rootUrl, baseUrl }: ClientRepresentation, environment: Environment) => string | undefined;
@@ -0,0 +1,23 @@
1
+ import { PathParam } from 'react-router-dom';
2
+ /**
3
+ * Represents an object that contains the parameters to be included in a path.
4
+ *
5
+ * @example
6
+ * const params: PathParams<"/user/:id"> = { id: "123" };
7
+ */
8
+ export type PathParams<Path extends string> = {
9
+ [key in PathParam<Path>]: string;
10
+ };
11
+ /**
12
+ * Generates a path that represents the given path template with parameters interpolated and encoded in it, so that it can safely used in a URL.
13
+ *
14
+ * @param originalPath - The path template to use to generate the path.
15
+ * @param params - An object that contains the parameters to be included in the path.
16
+ *
17
+ * @example
18
+ * const path = "/user/:id";
19
+ * const params = { id: "123" };
20
+ * const encodedPath = generateEncodedPath(path, params);
21
+ * // encodedPath will be "/user/123"
22
+ */
23
+ export declare function generateEncodedPath<Path extends string>(originalPath: Path, params: PathParams<Path>): string;
@@ -0,0 +1 @@
1
+ export declare function getAuthorizationHeaders(accessToken?: string): Record<string, string>;
@@ -0,0 +1 @@
1
+ export declare function joinPath(...paths: string[]): string;
@@ -0,0 +1,3 @@
1
+ import { IFormatter } from '@patternfly/react-table';
2
+ import { TFunction } from 'i18next';
3
+ export declare const translationFormatter: (t: TFunction) => IFormatter;
@@ -0,0 +1,4 @@
1
+ export type ReplaceStringOptions = {
2
+ skipFirst?: boolean;
3
+ };
4
+ export type ReplaceString<Input extends string, Search extends string, Replacement extends string, Options extends ReplaceStringOptions = object> = Input extends `${infer Head}${Search}${infer Tail}` ? Options["skipFirst"] extends true ? `${Head}${Search}${ReplaceString<Tail, Search, Replacement>}` : `${Head}${Replacement}${ReplaceString<Tail, Search, Replacement>}` : Input;
@@ -0,0 +1,27 @@
1
+ export declare function useCurrentUser(): {
2
+ realm: string;
3
+ id?: string;
4
+ createdTimestamp?: number;
5
+ username?: string;
6
+ enabled?: boolean;
7
+ totp?: boolean;
8
+ emailVerified?: boolean;
9
+ disableableCredentialTypes?: string[];
10
+ requiredActions?: (import('js/libs/keycloak-admin-client/lib/defs/requiredActionProviderRepresentation').RequiredActionAlias | string)[];
11
+ notBefore?: number;
12
+ access?: Record<string, boolean>;
13
+ attributes?: Record<string, any>;
14
+ clientConsents?: import('js/libs/keycloak-admin-client/lib/defs/userConsentRepresentation').default[];
15
+ clientRoles?: Record<string, any>;
16
+ credentials?: import('js/libs/keycloak-admin-client/lib/defs/credentialRepresentation').default[];
17
+ email?: string;
18
+ federatedIdentities?: import('js/libs/keycloak-admin-client/lib/defs/federatedIdentityRepresentation').default[];
19
+ federationLink?: string;
20
+ firstName?: string;
21
+ groups?: string[];
22
+ lastName?: string;
23
+ realmRoles?: string[];
24
+ self?: string;
25
+ serviceAccountClientId?: string;
26
+ userProfileMetadata?: import('js/libs/keycloak-admin-client/lib/defs/userProfileMetadata').UserProfileMetadata;
27
+ };