@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,67 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface FileUploadFieldProps extends Omit<React.HTMLProps<HTMLDivElement>, "value" | "onChange"> {
3
+ /** Unique id for the TextArea, also used to generate ids for accessible labels */
4
+ id: string;
5
+ /** What type of file. Determines what is is expected by `value`
6
+ * (a string for 'text' and 'dataURL', or a File object otherwise). */
7
+ type?: "text" | "dataURL";
8
+ /** Value of the file's contents
9
+ * (string if text file, File object otherwise) */
10
+ value?: string | File;
11
+ /** Value to be shown in the read-only filename field. */
12
+ filename?: string;
13
+ /** A callback for when the TextArea value changes. */
14
+ onChange?: (value: string, filename: string, event: React.ChangeEvent<HTMLTextAreaElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
15
+ /** Additional classes added to the FileUploadField container element. */
16
+ className?: string;
17
+ /** Flag to show if the field is disabled. */
18
+ isDisabled?: boolean;
19
+ /** Flag to show if the field is read only. */
20
+ isReadOnly?: boolean;
21
+ /** Flag to show if a file is being loaded. */
22
+ isLoading?: boolean;
23
+ /** Aria-valuetext for the loading spinner */
24
+ spinnerAriaValueText?: string;
25
+ /** Flag to show if the field is required. */
26
+ isRequired?: boolean;
27
+ /** Value to indicate if the field is modified to show that validation state.
28
+ * If set to success, field will be modified to indicate valid state.
29
+ * If set to error, field will be modified to indicate error state.
30
+ */
31
+ validated?: "success" | "error" | "default";
32
+ /** Aria-label for the TextArea. */
33
+ "aria-label"?: string;
34
+ /** Placeholder string to display in the empty filename field */
35
+ filenamePlaceholder?: string;
36
+ /** Aria-label for the read-only filename field */
37
+ filenameAriaLabel?: string;
38
+ /** Text for the Browse button */
39
+ browseButtonText?: string;
40
+ /** Text for the Clear button */
41
+ clearButtonText?: string;
42
+ /** Flag to disable the Clear button */
43
+ isClearButtonDisabled?: boolean;
44
+ /** Flag to hide the built-in preview of the file (where available).
45
+ * If true, you can use children to render an alternate preview. */
46
+ hideDefaultPreview?: boolean;
47
+ /** Flag to allow editing of a text file's contents after it is selected from disk */
48
+ allowEditingUploadedText?: boolean;
49
+ /** Additional children to render after (or instead of) the file preview. */
50
+ children?: React.ReactNode;
51
+ /** A callback for when the Browse button is clicked. */
52
+ onBrowseButtonClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
53
+ /** A callback for when the Clear button is clicked. */
54
+ onClearButtonClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
55
+ /** A callback from when the text area is clicked. Can also be set via the onClick property of FileUpload. */
56
+ onTextAreaClick?: (event: React.MouseEvent<HTMLTextAreaElement, MouseEvent>) => void;
57
+ /** Flag to show if a file is being dragged over the field */
58
+ isDragActive?: boolean;
59
+ /** A reference object to attach to the FileUploadField container element. */
60
+ containerRef?: React.Ref<HTMLDivElement>;
61
+ /** Text area text changed */
62
+ onTextChange?: (text: string) => void;
63
+ }
64
+ export declare const FileUploadField: {
65
+ ({ id, type, value, filename, onChange, onBrowseButtonClick, onClearButtonClick, onTextAreaClick, onTextChange, className, isDisabled, isReadOnly, isLoading, spinnerAriaValueText, isRequired, isDragActive, validated, "aria-label": ariaLabel, filenamePlaceholder, filenameAriaLabel, browseButtonText, clearButtonText, isClearButtonDisabled, containerRef, allowEditingUploadedText, hideDefaultPreview, children, ...props }: PropsWithChildren<FileUploadFieldProps>): import("react/jsx-runtime").JSX.Element;
66
+ displayName: string;
67
+ };
@@ -0,0 +1,12 @@
1
+ export declare enum fileReaderType {
2
+ text = "text",
3
+ dataURL = "dataURL"
4
+ }
5
+ /**
6
+ * Read a file using the FileReader API, either as a plain text string or as a DataURL string.
7
+ * Returns a promise which will resolve with the file contents as a string or reject with a DOMException.
8
+ *
9
+ * @param {File} fileHandle - File object to read
10
+ * @param {fileReaderType} type - How to read it
11
+ */
12
+ export declare function readFile(fileHandle: File, type: fileReaderType): Promise<unknown>;
@@ -0,0 +1,15 @@
1
+ import { default as RoleRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/roleRepresentation';
2
+ import { UseFormReturn } from 'react-hook-form';
3
+ import { KeyValueType } from './key-value-convert';
4
+ export type AttributeForm = Omit<RoleRepresentation, "attributes"> & {
5
+ attributes?: KeyValueType[];
6
+ };
7
+ export type AttributesFormProps = {
8
+ form: UseFormReturn<AttributeForm>;
9
+ save?: (model: AttributeForm) => void;
10
+ reset?: () => void;
11
+ fineGrainedAccess?: boolean;
12
+ name?: string;
13
+ isDisabled?: boolean;
14
+ };
15
+ export declare const AttributesForm: ({ form, reset, save, fineGrainedAccess, name, isDisabled, }: AttributesFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { DefaultValue } from './KeyValueInput';
3
+ type KeySelectProp = UseControllerProps & {
4
+ selectItems: DefaultValue[];
5
+ };
6
+ export declare const KeySelect: ({ selectItems, ...rest }: KeySelectProp) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,13 @@
1
+ export type DefaultValue = {
2
+ key: string;
3
+ values?: string[];
4
+ label: string;
5
+ };
6
+ type KeyValueInputProps = {
7
+ name: string;
8
+ label?: string;
9
+ defaultKeyValue?: DefaultValue[];
10
+ isDisabled?: boolean;
11
+ };
12
+ export declare const KeyValueInput: ({ name, label, defaultKeyValue, isDisabled, }: KeyValueInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,8 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { DefaultValue } from './KeyValueInput';
3
+ type ValueSelectProps = UseControllerProps & {
4
+ selectItems: DefaultValue[];
5
+ keyValue: string;
6
+ };
7
+ export declare const ValueSelect: ({ selectItems, keyValue, ...rest }: ValueSelectProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Path, PathValue } from 'react-hook-form';
2
+ export type KeyValueType = {
3
+ key: string;
4
+ value: string;
5
+ };
6
+ export declare function keyValueToArray(attributeArray?: KeyValueType[]): Record<string, string[]>;
7
+ export declare function arrayToKeyValue<T>(attributes?: Record<string, string[]>): PathValue<T, Path<T>>;
@@ -0,0 +1,6 @@
1
+ import { CardProps } from '@patternfly/react-core';
2
+ type ClickableCardProps = Omit<CardProps, "onClick"> & {
3
+ onClick: () => void;
4
+ };
5
+ export declare const ClickableCard: ({ onClick, children, ...rest }: ClickableCardProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ import { ReactElement } from 'react';
2
+ import { To } from 'react-router-dom';
3
+ export type KeycloakCardProps = {
4
+ title: string;
5
+ dropdownItems?: ReactElement[];
6
+ labelText?: string;
7
+ labelColor?: any;
8
+ footerText?: string;
9
+ to: To;
10
+ };
11
+ export declare const KeycloakCard: ({ title, dropdownItems, labelText, labelColor, footerText, to, }: KeycloakCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const KeycloakSpinner: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { TextInputProps } from '@patternfly/react-core';
2
+ export type MultiLineInputProps = Omit<TextInputProps, "form"> & {
3
+ name: string;
4
+ addButtonLabel?: string;
5
+ isDisabled?: boolean;
6
+ defaultValue?: string[];
7
+ stringify?: boolean;
8
+ };
9
+ export declare const MultiLineInput: ({ name, addButtonLabel, isDisabled, defaultValue, stringify, id, ...rest }: MultiLineInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ type PermissionScreenType = "clients" | "users" | "groups" | "roles" | "identityProviders";
2
+ type PermissionsTabProps = {
3
+ id?: string;
4
+ type: PermissionScreenType;
5
+ };
6
+ export declare const PermissionsTab: ({ id, type }: PermissionsTabProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export declare const RealmSelector: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { SubmitHandler, UseFormReturn } from 'react-hook-form';
2
+ import { To } from 'react-router-dom';
3
+ import { AttributeForm } from '../key-value-form/AttributeForm';
4
+ export type RoleFormProps = {
5
+ form: UseFormReturn<AttributeForm>;
6
+ onSubmit: SubmitHandler<AttributeForm>;
7
+ cancelLink: To;
8
+ role: "manage-realm" | "manage-clients";
9
+ editMode: boolean;
10
+ };
11
+ export declare const RoleForm: ({ form: { formState }, onSubmit, cancelLink, role, editMode, }: RoleFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { ResourcesKey, Row } from './RoleMapping';
2
+ type AddRoleMappingModalProps = {
3
+ id: string;
4
+ type: ResourcesKey;
5
+ name?: string;
6
+ isRadio?: boolean;
7
+ onAssign: (rows: Row[]) => void;
8
+ onClose: () => void;
9
+ isLDAPmapper?: boolean;
10
+ };
11
+ export declare const AddRoleMappingModal: ({ id, name, type, isRadio, isLDAPmapper, onAssign, onClose, }: AddRoleMappingModalProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,55 @@
1
+ import { default as KeycloakAdminClient } from '@keycloak/keycloak-admin-client';
2
+ import { default as ClientRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/clientRepresentation';
3
+ import { default as RoleRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/roleRepresentation';
4
+ export type CompositeRole = RoleRepresentation & {
5
+ parent: RoleRepresentation;
6
+ isInherited?: boolean;
7
+ };
8
+ export type Row = {
9
+ client?: ClientRepresentation;
10
+ role: RoleRepresentation | CompositeRole;
11
+ id?: string;
12
+ };
13
+ export declare const mapRoles: (assignedRoles: Row[], effectiveRoles: Row[], hide: boolean) => {
14
+ role: {
15
+ isInherited: boolean;
16
+ id?: string;
17
+ name?: string;
18
+ description?: string;
19
+ scopeParamRequired?: boolean;
20
+ composite?: boolean;
21
+ composites?: import('@keycloak/keycloak-admin-client/lib/defs/roleRepresentation').Composites;
22
+ clientRole?: boolean;
23
+ containerId?: string;
24
+ attributes?: {
25
+ [index: string]: string[];
26
+ };
27
+ } | {
28
+ isInherited: boolean;
29
+ id?: string;
30
+ name?: string;
31
+ description?: string;
32
+ scopeParamRequired?: boolean;
33
+ composite?: boolean;
34
+ composites?: import('@keycloak/keycloak-admin-client/lib/defs/roleRepresentation').Composites;
35
+ clientRole?: boolean;
36
+ containerId?: string;
37
+ attributes?: {
38
+ [index: string]: string[];
39
+ };
40
+ parent: RoleRepresentation;
41
+ };
42
+ client?: ClientRepresentation;
43
+ id?: string;
44
+ }[];
45
+ export declare const ServiceRole: ({ role, client }: Row) => import("react/jsx-runtime").JSX.Element;
46
+ export type ResourcesKey = keyof KeycloakAdminClient;
47
+ type RoleMappingProps = {
48
+ name: string;
49
+ id: string;
50
+ type: ResourcesKey;
51
+ isManager?: boolean;
52
+ save: (rows: Row[]) => Promise<void>;
53
+ };
54
+ export declare const RoleMapping: ({ name, id, type, isManager, save, }: RoleMappingProps) => import("react/jsx-runtime").JSX.Element;
55
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as KeycloakAdminClient } from '@keycloak/keycloak-admin-client';
2
+ import { default as MappingsRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/mappingsRepresentation';
3
+ import { default as RoleRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/roleRepresentation';
4
+ import { Row } from './RoleMapping';
5
+ export type ResourcesKey = keyof KeycloakAdminClient;
6
+ export declare const deleteMapping: (adminClient: KeycloakAdminClient, type: ResourcesKey, id: string, rows: Row[]) => Promise<RoleRepresentation[]>[];
7
+ export declare const getMapping: (adminClient: KeycloakAdminClient, type: ResourcesKey, id: string) => Promise<MappingsRepresentation>;
8
+ export declare const getEffectiveRoles: (adminClient: KeycloakAdminClient, type: ResourcesKey, id: string) => Promise<Row[]>;
9
+ export declare const getAvailableRoles: (adminClient: KeycloakAdminClient, type: ResourcesKey, params: Record<string, string | number>) => Promise<Row[]>;
@@ -0,0 +1,40 @@
1
+ import { default as UserRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/userRepresentation';
2
+ import { default as KeycloakAdminClient } from '@keycloak/keycloak-admin-client';
3
+ type IDQuery = {
4
+ id: string;
5
+ type: string;
6
+ };
7
+ type PaginatingQuery = IDQuery & {
8
+ first: number;
9
+ max: number;
10
+ search?: string;
11
+ };
12
+ type EffectiveClientRolesQuery = IDQuery;
13
+ type ClientRole = {
14
+ id: string;
15
+ role: string;
16
+ description?: string;
17
+ client: string;
18
+ clientId: string;
19
+ };
20
+ export declare const getAvailableClientRoles: (adminClient: KeycloakAdminClient, query: PaginatingQuery) => Promise<ClientRole[]>;
21
+ export declare const getEffectiveClientRoles: (adminClient: KeycloakAdminClient, query: EffectiveClientRolesQuery) => Promise<ClientRole[]>;
22
+ type UserQuery = {
23
+ lastName?: string;
24
+ firstName?: string;
25
+ email?: string;
26
+ username?: string;
27
+ emailVerified?: boolean;
28
+ idpAlias?: string;
29
+ idpUserId?: string;
30
+ enabled?: boolean;
31
+ briefRepresentation?: boolean;
32
+ exact?: boolean;
33
+ q?: string;
34
+ };
35
+ export type BruteUser = UserRepresentation & {
36
+ bruteForceStatus?: Record<string, object>;
37
+ };
38
+ export declare const findUsers: (adminClient: KeycloakAdminClient, query: UserQuery) => Promise<BruteUser[]>;
39
+ export declare const fetchUsedBy: (adminClient: KeycloakAdminClient, query: PaginatingQuery) => Promise<string[]>;
40
+ export {};
@@ -0,0 +1,13 @@
1
+ import { default as RoleRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/roleRepresentation';
2
+ import { To } from 'react-router-dom';
3
+ type RolesListProps = {
4
+ paginated?: boolean;
5
+ parentRoleId?: string;
6
+ messageBundle?: string;
7
+ isReadOnly: boolean;
8
+ toCreate: To;
9
+ toDetail: (roleId: string) => To;
10
+ loader?: (first?: number, max?: number, search?: string) => Promise<RoleRepresentation[]>;
11
+ };
12
+ export declare const RolesList: ({ loader, paginated, parentRoleId, messageBundle, toCreate, toDetail, isReadOnly, }: RolesListProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,15 @@
1
+ import { TabProps, TabsProps } from '@patternfly/react-core';
2
+ import { JSXElementConstructor, ReactElement } from 'react';
3
+ import { Path } from 'react-router-dom';
4
+ type ChildElement = ReactElement<TabProps, JSXElementConstructor<TabProps>>;
5
+ type Child = ChildElement | boolean | null | undefined;
6
+ type RoutableTabsProps = {
7
+ children: Child | Child[];
8
+ defaultLocation?: Partial<Path>;
9
+ } & Omit<TabsProps, "ref" | "activeKey" | "defaultActiveKey" | "component" | "children">;
10
+ export declare const RoutableTabs: ({ children, defaultLocation, ...otherProps }: RoutableTabsProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const useRoutableTab: (to: Partial<Path>) => {
12
+ eventKey: string;
13
+ href: string;
14
+ };
15
+ export {};
@@ -0,0 +1,11 @@
1
+ import { KeycloakSelectProps } from '@keycloak/keycloak-ui-shared';
2
+ import { TextInputProps } from '@patternfly/react-core';
3
+ export type Unit = "second" | "minute" | "hour" | "day";
4
+ export type TimeSelectorProps = Omit<TextInputProps, "onChange" | "defaultValue"> & Pick<KeycloakSelectProps, "menuAppendTo"> & {
5
+ value?: number;
6
+ units?: Unit[];
7
+ onChange?: (time: number | string) => void;
8
+ className?: string;
9
+ };
10
+ export declare const toHumanFormat: (value: number, locale: string) => string;
11
+ export declare const TimeSelector: ({ value, units, onChange, className, min, menuAppendTo, ...rest }: TimeSelectorProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { ControllerProps, FieldPath, FieldValues, UseControllerProps } from 'react-hook-form';
2
+ import { TimeSelectorProps } from './TimeSelector';
3
+ export type NumberControlOption = {
4
+ key: string;
5
+ value: string;
6
+ };
7
+ export type TimeSelectorControlProps<T extends FieldValues, P extends FieldPath<T> = FieldPath<T>> = Omit<TimeSelectorProps, "name"> & UseControllerProps<T, P> & {
8
+ name: string;
9
+ label?: string;
10
+ labelIcon?: string;
11
+ controller: Omit<ControllerProps, "name" | "render">;
12
+ };
13
+ export declare const TimeSelectorControl: <T extends FieldValues, P extends FieldPath<T> = FieldPath<T>>({ name, label, controller, labelIcon, ...rest }: TimeSelectorControlProps<T, P>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { TimeSelectorProps } from './TimeSelector';
2
+ type TimeSelectorFormProps = TimeSelectorProps & {
3
+ name: string;
4
+ };
5
+ export declare const TimeSelectorForm: (props: TimeSelectorFormProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ export type UserFilter = {
2
+ exact: boolean;
3
+ userAttribute: UserAttribute[];
4
+ };
5
+ export type UserAttribute = {
6
+ name: string;
7
+ displayName: string;
8
+ value: string;
9
+ };
10
+ export declare function UserDataTable(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { UserProfileConfig } from '@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata';
2
+ import { ReactNode } from 'react';
3
+ import { UserFilter } from './UserDataTable';
4
+ type UserDataTableAttributeSearchFormProps = {
5
+ activeFilters: UserFilter;
6
+ setActiveFilters: (filters: UserFilter) => void;
7
+ profile: UserProfileConfig;
8
+ createAttributeSearchChips: () => ReactNode;
9
+ searchUserWithAttributes: () => void;
10
+ };
11
+ export declare function UserDataTableAttributeSearchForm({ activeFilters, setActiveFilters, profile, createAttributeSearchChips, searchUserWithAttributes, }: UserDataTableAttributeSearchFormProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,27 @@
1
+ import { default as RealmRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/realmRepresentation';
2
+ import { UserProfileConfig } from '@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata';
3
+ import { ReactNode } from 'react';
4
+ import { SearchType } from '../../user/details/SearchFilter';
5
+ import { UserFilter } from './UserDataTable';
6
+ type UserDataTableToolbarItemsProps = {
7
+ searchDropdownOpen: boolean;
8
+ setSearchDropdownOpen: (open: boolean) => void;
9
+ realm: RealmRepresentation;
10
+ hasSelectedRows: boolean;
11
+ toggleDeleteDialog: () => void;
12
+ toggleUnlockUsersDialog: () => void;
13
+ goToCreate: () => void;
14
+ searchType: SearchType;
15
+ setSearchType: (searchType: SearchType) => void;
16
+ searchUser: string;
17
+ setSearchUser: (searchUser: string) => void;
18
+ activeFilters: UserFilter;
19
+ setActiveFilters: (activeFilters: UserFilter) => void;
20
+ refresh: () => void;
21
+ profile: UserProfileConfig;
22
+ clearAllFilters: () => void;
23
+ createAttributeSearchChips: () => ReactNode;
24
+ searchUserWithAttributes: () => void;
25
+ };
26
+ export declare function UserDataTableToolbarItems({ searchDropdownOpen, setSearchDropdownOpen, realm, hasSelectedRows, toggleDeleteDialog, toggleUnlockUsersDialog, goToCreate, searchType, setSearchType, searchUser, setSearchUser, activeFilters, setActiveFilters, refresh, profile, clearAllFilters, createAttributeSearchChips, searchUserWithAttributes, }: UserDataTableToolbarItemsProps): import("react/jsx-runtime").JSX.Element;
27
+ export {};
@@ -0,0 +1,8 @@
1
+ import { ComponentProps } from '../dynamic/components';
2
+ type UserSelectVariant = "typeaheadMulti" | "typeahead";
3
+ type UserSelectProps = ComponentProps & {
4
+ variant?: UserSelectVariant;
5
+ isRequired?: boolean;
6
+ };
7
+ export declare const UserSelect: ({ name, label, helpText, defaultValue, isRequired, variant, }: UserSelectProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,25 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ export type ViewHeaderProps = {
3
+ titleKey: string;
4
+ className?: string;
5
+ badges?: ViewHeaderBadge[];
6
+ isDropdownDisabled?: boolean;
7
+ subKey?: string | ReactNode;
8
+ actionsDropdownId?: string;
9
+ helpUrl?: string | undefined;
10
+ dropdownItems?: ReactElement[];
11
+ lowerDropdownItems?: any;
12
+ lowerDropdownMenuTitle?: any;
13
+ lowerButton?: any;
14
+ isEnabled?: boolean;
15
+ onToggle?: (value: boolean) => void;
16
+ divider?: boolean;
17
+ helpTextKey?: string;
18
+ isReadOnly?: boolean;
19
+ };
20
+ export type ViewHeaderBadge = {
21
+ id?: string;
22
+ text?: string | ReactNode;
23
+ readonly?: boolean;
24
+ };
25
+ export declare const ViewHeader: ({ actionsDropdownId, className, titleKey, badges, isDropdownDisabled, subKey, helpUrl, dropdownItems, lowerDropdownMenuTitle, lowerDropdownItems, lowerButton, isEnabled, onToggle, divider, helpTextKey, isReadOnly, }: ViewHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export type WizardSectionHeaderProps = {
2
+ title: string;
3
+ description?: string;
4
+ showDescription?: boolean;
5
+ };
6
+ export declare const WizardSectionHeader: ({ title, description, showDescription, }: WizardSectionHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare const RecentRealmsContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<string[] | undefined>;
3
+ export declare const RecentRealmsProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const useRecentRealms: () => string[];
@@ -0,0 +1,10 @@
1
+ import { AccessType } from '@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation';
2
+ import { PropsWithChildren } from 'react';
3
+ type AccessContextProps = {
4
+ hasAccess: (...types: AccessType[]) => boolean;
5
+ hasSomeAccess: (...types: AccessType[]) => boolean;
6
+ };
7
+ export declare const AccessContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<AccessContextProps | undefined>;
8
+ export declare const useAccess: () => AccessContextProps;
9
+ export declare const AccessContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as KeycloakAdminClient } from '@keycloak/keycloak-admin-client';
2
+ import { UiRealmInfo } from './uiRealmInfo';
3
+ export declare function fetchAdminUI<T>(adminClient: KeycloakAdminClient, endpoint: string, query?: Record<string, string>): Promise<T>;
4
+ export declare function fetchRealmInfo(adminClient: KeycloakAdminClient): Promise<UiRealmInfo>;
@@ -0,0 +1,5 @@
1
+ /** Information about a realm, which is available for all admins of the realm */
2
+ export interface UiRealmInfo {
3
+ /** Whether at least one user storage provider is enabled */
4
+ userProfileProvidersEnabled?: boolean;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { default as RealmRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/realmRepresentation';
2
+ import { PropsWithChildren } from 'react';
3
+ type RealmContextType = {
4
+ realm: string;
5
+ realmRepresentation?: RealmRepresentation;
6
+ refresh: () => void;
7
+ };
8
+ export declare const RealmContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<RealmContextType | undefined>;
9
+ export declare const RealmContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const useRealm: () => RealmContextType;
11
+ export {};
@@ -0,0 +1,6 @@
1
+ import { ServerInfoRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/serverInfoRepesentation';
2
+ import { PropsWithChildren } from 'react';
3
+ export declare const ServerInfoContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<ServerInfoRepresentation | undefined>;
4
+ export declare const useServerInfo: () => ServerInfoRepresentation;
5
+ export declare const useLoginProviders: () => string[];
6
+ export declare const ServerInfoProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { default as WhoAmIRepresentation, AccessType } from '@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation';
2
+ import { PropsWithChildren } from 'react';
3
+ export declare class WhoAmI {
4
+ #private;
5
+ constructor(me?: WhoAmIRepresentation);
6
+ getDisplayName(): string;
7
+ getLocale(): string;
8
+ getRealm(): string;
9
+ getUserId(): string;
10
+ canCreateRealm(): boolean;
11
+ getRealmAccess(): Readonly<{
12
+ [key: string]: ReadonlyArray<AccessType>;
13
+ }>;
14
+ isTemporary(): boolean;
15
+ }
16
+ type WhoAmIProps = {
17
+ refresh: () => void;
18
+ whoAmI: WhoAmI;
19
+ };
20
+ export declare const WhoAmIContext: import('js/libs/ui-shared/dist/utils/createNamedContext').NamedContext<WhoAmIProps | undefined>;
21
+ export declare const useWhoAmI: () => WhoAmIProps;
22
+ export declare const WhoAmIContextProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -0,0 +1 @@
1
+ export default function DashboardSection(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ProviderInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { Path } from 'react-router-dom';
2
+ import { AppRouteObject } from '../../routes';
3
+ export type DashboardTab = "info" | "providers" | "welcome";
4
+ export type DashboardParams = {
5
+ realm?: string;
6
+ tab?: DashboardTab;
7
+ };
8
+ export declare const DashboardRoute: AppRouteObject;
9
+ export declare const DashboardRouteWithRealm: AppRouteObject;
10
+ export declare const DashboardRouteWithTab: AppRouteObject;
11
+ export declare const toDashboard: (params: DashboardParams) => Partial<Path>;
@@ -0,0 +1,3 @@
1
+ import { AppRouteObject } from '../routes';
2
+ declare const routes: AppRouteObject[];
3
+ export default routes;
@@ -0,0 +1,19 @@
1
+ import { BaseEnvironment } from '@keycloak/keycloak-ui-shared';
2
+ export type Environment = BaseEnvironment & {
3
+ /**
4
+ * The URL to the root of the Administration Console, including the path if present, this takes into account the configured hostname of the Administration Console.
5
+ * For example, the Keycloak server could be hosted on `auth.example.com` and Admin Console may be hosted on `admin.example.com/some/path`.
6
+ *
7
+ * Note that this URL is normalized not to include a trailing slash, so take this into account when constructing URLs.
8
+ *
9
+ * @see {@link https://www.keycloak.org/server/hostname#_administration_console}
10
+ */
11
+ adminBaseUrl: string;
12
+ /** The URL to the base of the Admin Console. */
13
+ consoleBaseUrl: string;
14
+ /** The name of the master realm. */
15
+ masterRealm: string;
16
+ /** The version hash of the auth server. */
17
+ resourceVersion: string;
18
+ };
19
+ export declare const environment: Environment;
@@ -0,0 +1 @@
1
+ export declare const AdminEvents: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function EventsSection(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { default as AdminEventRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/adminEventRepresentation';
2
+ type ResourceLinkProps = {
3
+ event: AdminEventRepresentation;
4
+ };
5
+ export declare const ResourceLink: ({ event }: ResourceLinkProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CellResourceLinkRenderer: (adminEvent: AdminEventRepresentation) => import("react/jsx-runtime").JSX.Element;
7
+ export {};