keycloakify 11.8.24 → 11.8.26
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/account/DefaultPage.d.ts +1 -1
- package/account/Template.d.ts +1 -1
- package/account/i18n/withJsx/GenericI18n.d.ts +4 -4
- package/account/pages/Account.d.ts +1 -1
- package/account/pages/Applications.d.ts +1 -1
- package/account/pages/FederatedIdentity.d.ts +1 -1
- package/account/pages/Log.d.ts +1 -1
- package/account/pages/PageProps.d.ts +1 -1
- package/account/pages/Password.d.ts +1 -1
- package/account/pages/Sessions.d.ts +1 -1
- package/account/pages/Totp.d.ts +1 -1
- package/bin/main.js +0 -0
- package/login/DefaultPage.d.ts +2 -2
- package/login/Template.d.ts +1 -1
- package/login/Template.js +1 -1
- package/login/Template.js.map +1 -1
- package/login/UserProfileFormFields.d.ts +1 -1
- package/login/UserProfileFormFieldsProps.d.ts +2 -2
- package/login/i18n/withJsx/GenericI18n.d.ts +4 -4
- package/login/lib/useUserProfileForm.d.ts +1 -1
- package/login/pages/Code.d.ts +1 -1
- package/login/pages/DeleteAccountConfirm.d.ts +1 -1
- package/login/pages/DeleteCredential.d.ts +1 -1
- package/login/pages/Error.d.ts +1 -1
- package/login/pages/FrontchannelLogout.d.ts +1 -1
- package/login/pages/IdpReviewUserProfile.d.ts +2 -2
- package/login/pages/Info.d.ts +1 -1
- package/login/pages/Login.d.ts +1 -1
- package/login/pages/LoginConfigTotp.d.ts +1 -1
- package/login/pages/LoginIdpLinkConfirm.d.ts +1 -1
- package/login/pages/LoginIdpLinkConfirmOverride.d.ts +1 -1
- package/login/pages/LoginIdpLinkEmail.d.ts +1 -1
- package/login/pages/LoginOauth2DeviceVerifyUserCode.d.ts +1 -1
- package/login/pages/LoginOauthGrant.d.ts +1 -1
- package/login/pages/LoginOtp.d.ts +1 -1
- package/login/pages/LoginPageExpired.d.ts +1 -1
- package/login/pages/LoginPasskeysConditionalAuthenticate.d.ts +1 -1
- package/login/pages/LoginPassword.d.ts +1 -1
- package/login/pages/LoginRecoveryAuthnCodeConfig.d.ts +1 -1
- package/login/pages/LoginRecoveryAuthnCodeInput.d.ts +1 -1
- package/login/pages/LoginResetOtp.d.ts +1 -1
- package/login/pages/LoginResetPassword.d.ts +1 -1
- package/login/pages/LoginUpdatePassword.d.ts +1 -1
- package/login/pages/LoginUpdateProfile.d.ts +2 -2
- package/login/pages/LoginUsername.d.ts +1 -1
- package/login/pages/LoginVerifyEmail.d.ts +1 -1
- package/login/pages/LoginX509Info.d.ts +1 -1
- package/login/pages/LogoutConfirm.d.ts +1 -1
- package/login/pages/PageProps.d.ts +1 -1
- package/login/pages/Register.d.ts +2 -2
- package/login/pages/SamlPostForm.d.ts +1 -1
- package/login/pages/SelectAuthenticator.d.ts +1 -1
- package/login/pages/Terms.d.ts +1 -1
- package/login/pages/UpdateEmail.d.ts +2 -2
- package/login/pages/WebauthnAuthenticate.d.ts +1 -1
- package/login/pages/WebauthnError.d.ts +1 -1
- package/login/pages/WebauthnRegister.d.ts +1 -1
- package/package.json +1 -1
- package/src/login/Template.tsx +1 -1
package/account/DefaultPage.d.ts
CHANGED
@@ -2,4 +2,4 @@
|
|
2
2
|
import type { PageProps } from "../account/pages/PageProps";
|
3
3
|
import type { KcContext } from "../account/KcContext";
|
4
4
|
import { I18n } from "../account/i18n";
|
5
|
-
export default function DefaultPage(props: PageProps<KcContext, I18n>):
|
5
|
+
export default function DefaultPage(props: PageProps<KcContext, I18n>): React.ReactElement<any, any>;
|
package/account/Template.d.ts
CHANGED
@@ -2,4 +2,4 @@
|
|
2
2
|
import type { TemplateProps } from "../account/TemplateProps";
|
3
3
|
import type { I18n } from "./i18n";
|
4
4
|
import type { KcContext } from "./KcContext";
|
5
|
-
export default function Template(props: TemplateProps<KcContext, I18n>):
|
5
|
+
export default function Template(props: TemplateProps<KcContext, I18n>): React.ReactElement<any, any> | null;
|
@@ -62,11 +62,11 @@ export type GenericI18n<MessageKey extends string, LanguageTag extends string> =
|
|
62
62
|
*/
|
63
63
|
isFetchingTranslations: boolean;
|
64
64
|
/**
|
65
|
-
* Same as msgStr but returns a
|
65
|
+
* Same as msgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
|
66
66
|
*/
|
67
|
-
msg: (key: MessageKey, ...args: (string | undefined)[]) =>
|
67
|
+
msg: (key: MessageKey, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
|
68
68
|
/**
|
69
|
-
* Same as advancedMsgStr but returns a
|
69
|
+
* Same as advancedMsgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
|
70
70
|
*/
|
71
|
-
advancedMsg: (key: string, ...args: (string | undefined)[]) =>
|
71
|
+
advancedMsg: (key: string, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
|
72
72
|
};
|
package/account/pages/Log.d.ts
CHANGED
@@ -2,7 +2,7 @@ import type { JSX } from "../../tools/JSX";
|
|
2
2
|
import { type TemplateProps, type ClassKey } from "../../account/TemplateProps";
|
3
3
|
import type { LazyOrNot } from "../../tools/LazyOrNot";
|
4
4
|
export type PageProps<NarrowedKcContext, I18n> = {
|
5
|
-
Template: LazyOrNot<(props: TemplateProps<any, any>) =>
|
5
|
+
Template: LazyOrNot<(props: TemplateProps<any, any>) => React.ReactElement<any, any> | null>;
|
6
6
|
kcContext: NarrowedKcContext;
|
7
7
|
i18n: I18n;
|
8
8
|
doUseDefaultCss: boolean;
|
package/account/pages/Totp.d.ts
CHANGED
package/bin/main.js
CHANGED
File without changes
|
package/login/DefaultPage.d.ts
CHANGED
@@ -6,8 +6,8 @@ import type { I18n } from "../login/i18n";
|
|
6
6
|
import type { KcContext } from "../login/KcContext";
|
7
7
|
import type { UserProfileFormFieldsProps } from "../login/UserProfileFormFieldsProps";
|
8
8
|
type DefaultPageProps = PageProps<KcContext, I18n> & {
|
9
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
9
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
|
10
10
|
doMakeUserConfirmPassword: boolean;
|
11
11
|
};
|
12
|
-
export default function DefaultPage(props: DefaultPageProps):
|
12
|
+
export default function DefaultPage(props: DefaultPageProps): React.ReactElement<any, any>;
|
13
13
|
export {};
|
package/login/Template.d.ts
CHANGED
@@ -2,4 +2,4 @@
|
|
2
2
|
import type { TemplateProps } from "../login/TemplateProps";
|
3
3
|
import type { I18n } from "./i18n";
|
4
4
|
import type { KcContext } from "./KcContext";
|
5
|
-
export default function Template(props: TemplateProps<KcContext, I18n>):
|
5
|
+
export default function Template(props: TemplateProps<KcContext, I18n>): React.ReactElement<any, any> | null;
|
package/login/Template.js
CHANGED
@@ -11,7 +11,7 @@ export default function Template(props) {
|
|
11
11
|
const { msg, msgStr, currentLanguage, enabledLanguages } = i18n;
|
12
12
|
const { realm, auth, url, message, isAppInitiatedAction } = kcContext;
|
13
13
|
useEffect(() => {
|
14
|
-
document.title = documentTitle !== null && documentTitle !== void 0 ? documentTitle : msgStr("loginTitle",
|
14
|
+
document.title = documentTitle !== null && documentTitle !== void 0 ? documentTitle : msgStr("loginTitle", realm.displayName);
|
15
15
|
}, []);
|
16
16
|
useSetClassName({
|
17
17
|
qualifiedName: "html",
|
package/login/Template.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Template.js","sourceRoot":"","sources":["../src/login/Template.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAIzE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAqC;IAClE,MAAM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,CAAC;gDACjB,CAAC,gBAEA,GAAG,CAAC,iBAAiB,CAAC,IACvB,KACF,IACH,CACV,EACA,mBAAmB,EACnB,WAAW,IAAI,CACZ,4BAAK,EAAE,EAAC,SAAS,EAAC,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,gBAChD,4BAAK,EAAE,EAAC,iBAAiB,EAAC,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC,gBAChE,QAAQ,IACP,IACJ,CACT,KACC,IACJ,KACJ,KACJ,CACT,CAAC;AACN,CAAC"}
|
@@ -2,4 +2,4 @@
|
|
2
2
|
import type { UserProfileFormFieldsProps } from "../login/UserProfileFormFieldsProps";
|
3
3
|
import type { KcContext } from "./KcContext";
|
4
4
|
import type { I18n } from "./i18n";
|
5
|
-
export default function UserProfileFormFields(props: UserProfileFormFieldsProps<KcContext, I18n>):
|
5
|
+
export default function UserProfileFormFields(props: UserProfileFormFieldsProps<KcContext, I18n>): React.ReactElement<any, any>;
|
@@ -11,8 +11,8 @@ export type UserProfileFormFieldsProps<KcContext = any, I18n = any> = {
|
|
11
11
|
kcClsx: KcClsx;
|
12
12
|
onIsFormSubmittableValueChange: (isFormSubmittable: boolean) => void;
|
13
13
|
doMakeUserConfirmPassword: boolean;
|
14
|
-
BeforeField?: (props: BeforeAfterFieldProps<I18n>) =>
|
15
|
-
AfterField?: (props: BeforeAfterFieldProps<I18n>) =>
|
14
|
+
BeforeField?: (props: BeforeAfterFieldProps<I18n>) => React.ReactElement<any, any> | null;
|
15
|
+
AfterField?: (props: BeforeAfterFieldProps<I18n>) => React.ReactElement<any, any> | null;
|
16
16
|
};
|
17
17
|
type BeforeAfterFieldProps<I18n> = {
|
18
18
|
attribute: Attribute;
|
@@ -62,11 +62,11 @@ export type GenericI18n<MessageKey extends string, LanguageTag extends string> =
|
|
62
62
|
*/
|
63
63
|
isFetchingTranslations: boolean;
|
64
64
|
/**
|
65
|
-
* Same as msgStr but returns a
|
65
|
+
* Same as msgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
|
66
66
|
*/
|
67
|
-
msg: (key: MessageKey, ...args: (string | undefined)[]) =>
|
67
|
+
msg: (key: MessageKey, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
|
68
68
|
/**
|
69
|
-
* Same as advancedMsgStr but returns a
|
69
|
+
* Same as advancedMsgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
|
70
70
|
*/
|
71
|
-
advancedMsg: (key: string, ...args: (string | undefined)[]) =>
|
71
|
+
advancedMsg: (key: string, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
|
72
72
|
};
|
@@ -4,7 +4,7 @@ import type { PasswordPolicies, Attribute, Validators } from "../../login/KcCont
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export { getButtonToDisplayForMultivaluedAttributeField } from "./getUserProfileApi/index";
|
6
6
|
export type FormFieldError = {
|
7
|
-
errorMessage:
|
7
|
+
errorMessage: React.ReactElement<any, any>;
|
8
8
|
errorMessageStr: string;
|
9
9
|
source: FormFieldError.Source;
|
10
10
|
fieldIndex: number | undefined;
|
package/login/pages/Code.d.ts
CHANGED
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function DeleteAccountConfirm(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "delete-account-confirm.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
package/login/pages/Error.d.ts
CHANGED
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function FrontchannelLogout(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "frontchannel-logout.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
|
|
8
8
|
type IdpReviewUserProfileProps = PageProps<Extract<KcContext, {
|
9
9
|
pageId: "idp-review-user-profile.ftl";
|
10
10
|
}>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
|
-
export default function IdpReviewUserProfile(props: IdpReviewUserProfileProps):
|
14
|
+
export default function IdpReviewUserProfile(props: IdpReviewUserProfileProps): React.ReactElement<any, any>;
|
15
15
|
export {};
|
package/login/pages/Info.d.ts
CHANGED
package/login/pages/Login.d.ts
CHANGED
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginIdpLinkConfirm(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-idp-link-confirm.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginIdpLinkConfirmOverride(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-idp-link-confirm-override.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginIdpLinkEmail(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-idp-link-email.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginOauth2DeviceVerifyUserCode(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-oauth2-device-verify-user-code.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginPasskeysConditionalAuthenticate(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-passkeys-conditional-authenticate.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginPassword(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-password.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginRecoveryAuthnCodeConfig(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-recovery-authn-code-config.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginRecoveryAuthnCodeInput(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-recovery-authn-code-input.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginResetPassword(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-reset-password.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function LoginUpdatePassword(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "login-update-password.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
|
|
8
8
|
type LoginUpdateProfileProps = PageProps<Extract<KcContext, {
|
9
9
|
pageId: "login-update-profile.ftl";
|
10
10
|
}>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
|
-
export default function LoginUpdateProfile(props: LoginUpdateProfileProps):
|
14
|
+
export default function LoginUpdateProfile(props: LoginUpdateProfileProps): React.ReactElement<any, any>;
|
15
15
|
export {};
|
@@ -2,7 +2,7 @@ import type { JSX } from "../../tools/JSX";
|
|
2
2
|
import { type TemplateProps, type ClassKey } from "../../login/TemplateProps";
|
3
3
|
import type { LazyOrNot } from "../../tools/LazyOrNot";
|
4
4
|
export type PageProps<NarrowedKcContext, I18n> = {
|
5
|
-
Template: LazyOrNot<(props: TemplateProps<any, any>) =>
|
5
|
+
Template: LazyOrNot<(props: TemplateProps<any, any>) => React.ReactElement<any, any> | null>;
|
6
6
|
kcContext: NarrowedKcContext;
|
7
7
|
i18n: I18n;
|
8
8
|
doUseDefaultCss: boolean;
|
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
|
|
8
8
|
type RegisterProps = PageProps<Extract<KcContext, {
|
9
9
|
pageId: "register.ftl";
|
10
10
|
}>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
|
-
export default function Register(props: RegisterProps):
|
14
|
+
export default function Register(props: RegisterProps): React.ReactElement<any, any>;
|
15
15
|
export {};
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function SelectAuthenticator(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "select-authenticator.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
package/login/pages/Terms.d.ts
CHANGED
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
|
|
8
8
|
type UpdateEmailProps = PageProps<Extract<KcContext, {
|
9
9
|
pageId: "update-email.ftl";
|
10
10
|
}>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
|
-
export default function UpdateEmail(props: UpdateEmailProps):
|
14
|
+
export default function UpdateEmail(props: UpdateEmailProps): React.ReactElement<any, any>;
|
15
15
|
export {};
|
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
|
|
4
4
|
import type { I18n } from "../i18n";
|
5
5
|
export default function WebauthnAuthenticate(props: PageProps<Extract<KcContext, {
|
6
6
|
pageId: "webauthn-authenticate.ftl";
|
7
|
-
}>, I18n>):
|
7
|
+
}>, I18n>): React.ReactElement<any, any>;
|
package/package.json
CHANGED
package/src/login/Template.tsx
CHANGED
@@ -32,7 +32,7 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|
32
32
|
const { realm, auth, url, message, isAppInitiatedAction } = kcContext;
|
33
33
|
|
34
34
|
useEffect(() => {
|
35
|
-
document.title = documentTitle ?? msgStr("loginTitle",
|
35
|
+
document.title = documentTitle ?? msgStr("loginTitle", realm.displayName);
|
36
36
|
}, []);
|
37
37
|
|
38
38
|
useSetClassName({
|