@keycloak/keycloak-account-ui 26.5.6 → 26.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/environment.d.ts +2 -26
- package/lib/i18n-type.d.ts +1 -0
- package/lib/index.d.ts +25 -1
- package/lib/keycloak-account-ui.js +7092 -8391
- package/lib/keycloak-account-ui.js.map +1 -1
- package/lib/root/PageNav.d.ts +2 -2
- package/lib/utils/formatDate.d.ts +1 -1
- package/package.json +6 -6
package/lib/environment.d.ts
CHANGED
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
/** The URL to the root of the account console. */
|
|
4
|
-
baseUrl: string;
|
|
5
|
-
/** The locale of the user */
|
|
6
|
-
locale: string;
|
|
7
|
-
/** Name of the referrer application in the back link */
|
|
8
|
-
referrerName?: string;
|
|
9
|
-
/** UR to the referrer application in the back link */
|
|
10
|
-
referrerUrl?: string;
|
|
11
|
-
/** Feature flags */
|
|
12
|
-
features: Feature;
|
|
13
|
-
};
|
|
14
|
-
export type Feature = {
|
|
15
|
-
isRegistrationEmailAsUsername: boolean;
|
|
16
|
-
isEditUserNameAllowed: boolean;
|
|
17
|
-
isLinkedAccountsEnabled: boolean;
|
|
18
|
-
isMyResourcesEnabled: boolean;
|
|
19
|
-
deleteAccountAllowed: boolean;
|
|
20
|
-
updateEmailFeatureEnabled: boolean;
|
|
21
|
-
updateEmailActionEnabled: boolean;
|
|
22
|
-
isViewGroupsEnabled: boolean;
|
|
23
|
-
isViewOrganizationsEnabled: boolean;
|
|
24
|
-
isOid4VciEnabled: boolean;
|
|
25
|
-
};
|
|
26
|
-
export declare const environment: Environment;
|
|
1
|
+
import { AccountEnvironment } from '.';
|
|
2
|
+
export declare const environment: AccountEnvironment;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TFuncKey = any;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BaseEnvironment } from '@keycloak/keycloak-ui-shared';
|
|
1
2
|
export { PersonalInfo } from './personal-info/PersonalInfo';
|
|
2
3
|
export { Header } from './root/Header';
|
|
3
4
|
export { PageNav } from './root/PageNav';
|
|
@@ -20,7 +21,30 @@ export { Oid4Vci } from './oid4vci/Oid4Vci';
|
|
|
20
21
|
export { Organizations } from './organizations/Organizations';
|
|
21
22
|
export { ShareTheResource } from './resources/ShareTheResource';
|
|
22
23
|
export { deleteConsent, deleteSession, getApplications, getCredentials, getDevices, getGroups, getLinkedAccounts, getPermissionRequests, getPersonalInfo, getSupportedLocales, savePersonalInfo, unLinkAccount, } from './api/methods';
|
|
23
|
-
export type
|
|
24
|
+
export type AccountEnvironment = BaseEnvironment & {
|
|
25
|
+
/** The URL to the root of the account console. */
|
|
26
|
+
baseUrl: string;
|
|
27
|
+
/** The locale of the user */
|
|
28
|
+
locale: string;
|
|
29
|
+
/** Name of the referrer application in the back link */
|
|
30
|
+
referrerName?: string;
|
|
31
|
+
/** UR to the referrer application in the back link */
|
|
32
|
+
referrerUrl?: string;
|
|
33
|
+
/** Feature flags */
|
|
34
|
+
features: Feature;
|
|
35
|
+
};
|
|
36
|
+
export type Feature = {
|
|
37
|
+
isRegistrationEmailAsUsername: boolean;
|
|
38
|
+
isEditUserNameAllowed: boolean;
|
|
39
|
+
isLinkedAccountsEnabled: boolean;
|
|
40
|
+
isMyResourcesEnabled: boolean;
|
|
41
|
+
deleteAccountAllowed: boolean;
|
|
42
|
+
updateEmailFeatureEnabled: boolean;
|
|
43
|
+
updateEmailActionEnabled: boolean;
|
|
44
|
+
isViewGroupsEnabled: boolean;
|
|
45
|
+
isViewOrganizationsEnabled: boolean;
|
|
46
|
+
isOid4VciEnabled: boolean;
|
|
47
|
+
};
|
|
24
48
|
export { KeycloakProvider, useEnvironment } from '@keycloak/keycloak-ui-shared';
|
|
25
49
|
export { useAccountAlerts } from './utils/useAccountAlerts';
|
|
26
50
|
export { usePromise } from './utils/usePromise';
|