keycloakify 10.0.0-rc.40 → 10.0.0-rc.42

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 (262) hide show
  1. package/account/DefaultPage.d.ts +5 -0
  2. package/account/{Fallback.js → DefaultPage.js} +2 -2
  3. package/account/DefaultPage.js.map +1 -0
  4. package/account/Template.d.ts +2 -1
  5. package/account/Template.js +2 -3
  6. package/account/Template.js.map +1 -1
  7. package/account/TemplateProps.d.ts +3 -3
  8. package/account/i18n/i18n.d.ts +3 -1
  9. package/account/i18n/i18n.js +2 -2
  10. package/account/i18n/i18n.js.map +1 -1
  11. package/account/i18n/index.d.ts +4 -8
  12. package/account/i18n/index.js +1 -4
  13. package/account/i18n/index.js.map +1 -1
  14. package/account/pages/Account.d.ts +2 -1
  15. package/account/pages/Account.js +3 -4
  16. package/account/pages/Account.js.map +1 -1
  17. package/account/pages/Applications.d.ts +2 -1
  18. package/account/pages/Applications.js +3 -4
  19. package/account/pages/Applications.js.map +1 -1
  20. package/account/pages/FederatedIdentity.d.ts +2 -1
  21. package/account/pages/FederatedIdentity.js +3 -4
  22. package/account/pages/FederatedIdentity.js.map +1 -1
  23. package/account/pages/Log.d.ts +2 -1
  24. package/account/pages/Log.js +3 -4
  25. package/account/pages/Log.js.map +1 -1
  26. package/account/pages/PageProps.d.ts +4 -4
  27. package/account/pages/Password.d.ts +2 -1
  28. package/account/pages/Password.js +3 -3
  29. package/account/pages/Password.js.map +1 -1
  30. package/account/pages/Sessions.d.ts +2 -1
  31. package/account/pages/Sessions.js +3 -4
  32. package/account/pages/Sessions.js.map +1 -1
  33. package/account/pages/Totp.d.ts +2 -1
  34. package/account/pages/Totp.js +3 -4
  35. package/account/pages/Totp.js.map +1 -1
  36. package/bin/453.index.js +4 -4
  37. package/bin/538.index.js +37 -2
  38. package/login/{Fallback.d.ts → DefaultPage.d.ts} +4 -3
  39. package/login/{Fallback.js → DefaultPage.js} +2 -2
  40. package/login/DefaultPage.js.map +1 -0
  41. package/login/Template.d.ts +2 -1
  42. package/login/Template.js +2 -3
  43. package/login/Template.js.map +1 -1
  44. package/login/TemplateProps.d.ts +3 -3
  45. package/login/UserProfileFormFields.d.ts +2 -1
  46. package/login/UserProfileFormFields.js +3 -4
  47. package/login/UserProfileFormFields.js.map +1 -1
  48. package/login/i18n/i18n.d.ts +3 -1
  49. package/login/i18n/i18n.js +1 -1
  50. package/login/i18n/i18n.js.map +1 -1
  51. package/login/i18n/index.d.ts +4 -8
  52. package/login/i18n/index.js +1 -4
  53. package/login/i18n/index.js.map +1 -1
  54. package/login/lib/useUserProfileForm.d.ts +2 -0
  55. package/login/lib/useUserProfileForm.js +5 -5
  56. package/login/lib/useUserProfileForm.js.map +1 -1
  57. package/login/pages/Code.d.ts +2 -1
  58. package/login/pages/Code.js +3 -4
  59. package/login/pages/Code.js.map +1 -1
  60. package/login/pages/DeleteAccountConfirm.d.ts +2 -1
  61. package/login/pages/DeleteAccountConfirm.js +3 -4
  62. package/login/pages/DeleteAccountConfirm.js.map +1 -1
  63. package/login/pages/DeleteCredential.d.ts +2 -1
  64. package/login/pages/DeleteCredential.js +3 -4
  65. package/login/pages/DeleteCredential.js.map +1 -1
  66. package/login/pages/Error.d.ts +2 -1
  67. package/login/pages/Error.js +3 -4
  68. package/login/pages/Error.js.map +1 -1
  69. package/login/pages/FrontchannelLogout.d.ts +2 -1
  70. package/login/pages/FrontchannelLogout.js +3 -4
  71. package/login/pages/FrontchannelLogout.js.map +1 -1
  72. package/login/pages/IdpReviewUserProfile.d.ts +2 -1
  73. package/login/pages/IdpReviewUserProfile.js +3 -4
  74. package/login/pages/IdpReviewUserProfile.js.map +1 -1
  75. package/login/pages/Info.d.ts +2 -1
  76. package/login/pages/Info.js +3 -4
  77. package/login/pages/Info.js.map +1 -1
  78. package/login/pages/Login.d.ts +2 -1
  79. package/login/pages/Login.js +2 -4
  80. package/login/pages/Login.js.map +1 -1
  81. package/login/pages/LoginConfigTotp.d.ts +2 -1
  82. package/login/pages/LoginConfigTotp.js +2 -4
  83. package/login/pages/LoginConfigTotp.js.map +1 -1
  84. package/login/pages/LoginIdpLinkConfirm.d.ts +2 -1
  85. package/login/pages/LoginIdpLinkConfirm.js +3 -4
  86. package/login/pages/LoginIdpLinkConfirm.js.map +1 -1
  87. package/login/pages/LoginIdpLinkEmail.d.ts +2 -1
  88. package/login/pages/LoginIdpLinkEmail.js +3 -4
  89. package/login/pages/LoginIdpLinkEmail.js.map +1 -1
  90. package/login/pages/LoginOauth2DeviceVerifyUserCode.d.ts +2 -1
  91. package/login/pages/LoginOauth2DeviceVerifyUserCode.js +3 -4
  92. package/login/pages/LoginOauth2DeviceVerifyUserCode.js.map +1 -1
  93. package/login/pages/LoginOauthGrant.d.ts +2 -1
  94. package/login/pages/LoginOauthGrant.js +3 -4
  95. package/login/pages/LoginOauthGrant.js.map +1 -1
  96. package/login/pages/LoginOtp.d.ts +2 -1
  97. package/login/pages/LoginOtp.js +3 -4
  98. package/login/pages/LoginOtp.js.map +1 -1
  99. package/login/pages/LoginPageExpired.d.ts +2 -1
  100. package/login/pages/LoginPageExpired.js +3 -4
  101. package/login/pages/LoginPageExpired.js.map +1 -1
  102. package/login/pages/LoginPassword.d.ts +2 -1
  103. package/login/pages/LoginPassword.js +2 -4
  104. package/login/pages/LoginPassword.js.map +1 -1
  105. package/login/pages/LoginRecoveryAuthnCodeConfig.d.ts +2 -1
  106. package/login/pages/LoginRecoveryAuthnCodeConfig.js +2 -4
  107. package/login/pages/LoginRecoveryAuthnCodeConfig.js.map +1 -1
  108. package/login/pages/LoginRecoveryAuthnCodeInput.d.ts +2 -1
  109. package/login/pages/LoginRecoveryAuthnCodeInput.js +3 -4
  110. package/login/pages/LoginRecoveryAuthnCodeInput.js.map +1 -1
  111. package/login/pages/LoginResetOtp.d.ts +2 -1
  112. package/login/pages/LoginResetOtp.js +3 -4
  113. package/login/pages/LoginResetOtp.js.map +1 -1
  114. package/login/pages/LoginResetPassword.d.ts +2 -1
  115. package/login/pages/LoginResetPassword.js +3 -4
  116. package/login/pages/LoginResetPassword.js.map +1 -1
  117. package/login/pages/LoginUpdatePassword.d.ts +2 -1
  118. package/login/pages/LoginUpdatePassword.js +2 -4
  119. package/login/pages/LoginUpdatePassword.js.map +1 -1
  120. package/login/pages/LoginUpdateProfile.d.ts +2 -1
  121. package/login/pages/LoginUpdateProfile.js +3 -4
  122. package/login/pages/LoginUpdateProfile.js.map +1 -1
  123. package/login/pages/LoginUsername.d.ts +2 -1
  124. package/login/pages/LoginUsername.js +3 -4
  125. package/login/pages/LoginUsername.js.map +1 -1
  126. package/login/pages/LoginVerifyEmail.d.ts +2 -1
  127. package/login/pages/LoginVerifyEmail.js +3 -4
  128. package/login/pages/LoginVerifyEmail.js.map +1 -1
  129. package/login/pages/LoginX509Info.d.ts +2 -1
  130. package/login/pages/LoginX509Info.js +3 -4
  131. package/login/pages/LoginX509Info.js.map +1 -1
  132. package/login/pages/LogoutConfirm.d.ts +2 -1
  133. package/login/pages/LogoutConfirm.js +3 -4
  134. package/login/pages/LogoutConfirm.js.map +1 -1
  135. package/login/pages/PageProps.d.ts +4 -4
  136. package/login/pages/Register.d.ts +2 -1
  137. package/login/pages/Register.js +2 -4
  138. package/login/pages/Register.js.map +1 -1
  139. package/login/pages/SamlPostForm.d.ts +2 -1
  140. package/login/pages/SamlPostForm.js +3 -4
  141. package/login/pages/SamlPostForm.js.map +1 -1
  142. package/login/pages/SelectAuthenticator.d.ts +2 -1
  143. package/login/pages/SelectAuthenticator.js +3 -4
  144. package/login/pages/SelectAuthenticator.js.map +1 -1
  145. package/login/pages/Terms.d.ts +2 -1
  146. package/login/pages/Terms.js +3 -4
  147. package/login/pages/Terms.js.map +1 -1
  148. package/login/pages/UpdateEmail.d.ts +2 -1
  149. package/login/pages/UpdateEmail.js +2 -4
  150. package/login/pages/UpdateEmail.js.map +1 -1
  151. package/login/pages/WebauthnAuthenticate.d.ts +2 -1
  152. package/login/pages/WebauthnAuthenticate.js +3 -4
  153. package/login/pages/WebauthnAuthenticate.js.map +1 -1
  154. package/login/pages/WebauthnError.d.ts +2 -1
  155. package/login/pages/WebauthnError.js +3 -4
  156. package/login/pages/WebauthnError.js.map +1 -1
  157. package/login/pages/WebauthnRegister.d.ts +2 -1
  158. package/login/pages/WebauthnRegister.js +2 -4
  159. package/login/pages/WebauthnRegister.js.map +1 -1
  160. package/package.json +9 -9
  161. package/src/account/{Fallback.tsx → DefaultPage.tsx} +3 -2
  162. package/src/account/Template.tsx +4 -4
  163. package/src/account/TemplateProps.ts +4 -3
  164. package/src/account/i18n/i18n.tsx +3 -3
  165. package/src/account/i18n/index.ts +4 -9
  166. package/src/account/pages/Account.tsx +5 -5
  167. package/src/account/pages/Applications.tsx +5 -5
  168. package/src/account/pages/FederatedIdentity.tsx +5 -5
  169. package/src/account/pages/Log.tsx +5 -5
  170. package/src/account/pages/PageProps.ts +4 -4
  171. package/src/account/pages/Password.tsx +5 -4
  172. package/src/account/pages/Sessions.tsx +5 -5
  173. package/src/account/pages/Totp.tsx +5 -5
  174. package/src/bin/eject-page.ts +4 -4
  175. package/src/bin/shared/generateKcGenTs.ts +46 -36
  176. package/src/login/{Fallback.tsx → DefaultPage.tsx} +4 -3
  177. package/src/login/Template.tsx +4 -3
  178. package/src/login/TemplateProps.ts +3 -4
  179. package/src/login/UserProfileFormFields.tsx +5 -5
  180. package/src/login/i18n/i18n.tsx +2 -2
  181. package/src/login/i18n/index.ts +4 -9
  182. package/src/login/lib/useUserProfileForm.tsx +8 -6
  183. package/src/login/pages/Code.tsx +5 -4
  184. package/src/login/pages/DeleteAccountConfirm.tsx +5 -5
  185. package/src/login/pages/DeleteCredential.tsx +5 -4
  186. package/src/login/pages/Error.tsx +12 -5
  187. package/src/login/pages/FrontchannelLogout.tsx +5 -4
  188. package/src/login/pages/IdpReviewUserProfile.tsx +6 -4
  189. package/src/login/pages/Info.tsx +5 -4
  190. package/src/login/pages/Login.tsx +4 -4
  191. package/src/login/pages/LoginConfigTotp.tsx +4 -6
  192. package/src/login/pages/LoginIdpLinkConfirm.tsx +5 -5
  193. package/src/login/pages/LoginIdpLinkEmail.tsx +11 -5
  194. package/src/login/pages/LoginOauth2DeviceVerifyUserCode.tsx +11 -5
  195. package/src/login/pages/LoginOauthGrant.tsx +5 -4
  196. package/src/login/pages/LoginOtp.tsx +5 -4
  197. package/src/login/pages/LoginPageExpired.tsx +5 -5
  198. package/src/login/pages/LoginPassword.tsx +4 -4
  199. package/src/login/pages/LoginRecoveryAuthnCodeConfig.tsx +10 -5
  200. package/src/login/pages/LoginRecoveryAuthnCodeInput.tsx +5 -4
  201. package/src/login/pages/LoginResetOtp.tsx +5 -4
  202. package/src/login/pages/LoginResetPassword.tsx +5 -4
  203. package/src/login/pages/LoginUpdatePassword.tsx +4 -4
  204. package/src/login/pages/LoginUpdateProfile.tsx +6 -4
  205. package/src/login/pages/LoginUsername.tsx +5 -4
  206. package/src/login/pages/LoginVerifyEmail.tsx +5 -4
  207. package/src/login/pages/LoginX509Info.tsx +5 -5
  208. package/src/login/pages/LogoutConfirm.tsx +5 -5
  209. package/src/login/pages/PageProps.ts +4 -4
  210. package/src/login/pages/Register.tsx +12 -5
  211. package/src/login/pages/SamlPostForm.tsx +5 -5
  212. package/src/login/pages/SelectAuthenticator.tsx +5 -4
  213. package/src/login/pages/Terms.tsx +12 -5
  214. package/src/login/pages/UpdateEmail.tsx +5 -4
  215. package/src/login/pages/WebauthnAuthenticate.tsx +5 -4
  216. package/src/login/pages/WebauthnError.tsx +12 -5
  217. package/src/login/pages/WebauthnRegister.tsx +4 -4
  218. package/stories/account/pages/Account.stories.tsx +5 -5
  219. package/stories/account/pages/FederatedIdentity.stories.tsx +6 -6
  220. package/stories/account/pages/Log.stories.tsx +5 -5
  221. package/stories/account/pages/Password.stories.tsx +6 -6
  222. package/stories/account/pages/Sessions.stories.tsx +6 -6
  223. package/stories/account/pages/Totp.stories.tsx +8 -8
  224. package/stories/login/pages/Code.stories.tsx +5 -5
  225. package/stories/login/pages/DeleteAccountConfirm.stories.tsx +5 -5
  226. package/stories/login/pages/DeleteCredential.stories.tsx +5 -5
  227. package/stories/login/pages/Error.stories.tsx +6 -6
  228. package/stories/login/pages/FrontchannelLogout.stories.tsx +5 -5
  229. package/stories/login/pages/IdpReviewUserProfile.stories.tsx +5 -5
  230. package/stories/login/pages/Info.stories.tsx +7 -7
  231. package/stories/login/pages/Login.stories.tsx +13 -13
  232. package/stories/login/pages/LoginConfigTotp.stories.tsx +7 -7
  233. package/stories/login/pages/LoginDeviceVerifyUserCode.stories.tsx +5 -5
  234. package/stories/login/pages/LoginIdpLinkConfirm.stories.tsx +5 -5
  235. package/stories/login/pages/LoginIdpLinkEmail.stories.tsx +5 -5
  236. package/stories/login/pages/LoginOauth2DeviceVerifyUserCode.stories.tsx +5 -5
  237. package/stories/login/pages/LoginOauthGrant.stories.tsx +5 -5
  238. package/stories/login/pages/LoginOtp.stories.tsx +5 -5
  239. package/stories/login/pages/LoginPageExpired.stories.tsx +5 -5
  240. package/stories/login/pages/LoginPassword.stories.tsx +5 -5
  241. package/stories/login/pages/LoginRecoveryAuthnCodeConfig.stories.tsx +5 -5
  242. package/stories/login/pages/LoginRecoveryAuthnCodeInput.stories.tsx +5 -5
  243. package/stories/login/pages/LoginResetOtp.stories.tsx +5 -5
  244. package/stories/login/pages/LoginResetPassword.stories.tsx +6 -6
  245. package/stories/login/pages/LoginUpdatePassword.stories.tsx +5 -5
  246. package/stories/login/pages/LoginUpdateProfile.stories.tsx +5 -5
  247. package/stories/login/pages/LoginUsername.stories.tsx +6 -6
  248. package/stories/login/pages/LoginVerifyEmail.stories.tsx +5 -5
  249. package/stories/login/pages/LoginX509Info.stories.tsx +5 -5
  250. package/stories/login/pages/LogoutConfirm.stories.tsx +5 -5
  251. package/stories/login/pages/Register.stories.tsx +11 -11
  252. package/stories/login/pages/SamlPostForm.stories.tsx +5 -5
  253. package/stories/login/pages/SelectAuthenticator.stories.tsx +6 -6
  254. package/stories/login/pages/Terms.stories.tsx +7 -7
  255. package/stories/login/pages/UpdateEmail.stories.tsx +5 -5
  256. package/stories/login/pages/WebauthnAuthenticate.stories.tsx +5 -5
  257. package/stories/login/pages/WebauthnError.stories.tsx +5 -5
  258. package/stories/login/pages/WebauthnRegister.stories.tsx +5 -5
  259. package/vite-plugin/index.js +48 -24
  260. package/account/Fallback.d.ts +0 -4
  261. package/account/Fallback.js.map +0 -1
  262. package/login/Fallback.js.map +0 -1
@@ -1,25 +1,25 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-reset-password.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-reset-password.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-reset-password.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
19
19
 
20
20
  export const WithEmailAsUsername: Story = {
21
21
  render: () => (
22
- <PageStory
22
+ <KcPageStory
23
23
  kcContext={{
24
24
  realm: {
25
25
  loginWithEmailAllowed: true,
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-update-password.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-update-password.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-update-password.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-update-profile.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-update-profile.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-update-profile.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,25 +1,25 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-username.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-username.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-username.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
19
19
 
20
20
  export const WithEmailAsUsername: Story = {
21
21
  render: () => (
22
- <PageStory
22
+ <KcPageStory
23
23
  kcContext={{
24
24
  realm: {
25
25
  loginWithEmailAllowed: true,
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-verify-email.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-verify-email.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-verify-email.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "login-x509-info.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "login-x509-info.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/login-x509-info.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "logout-confirm.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "logout-confirm.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/logout-confirm.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,25 +1,25 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "register.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "register.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/register.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
19
19
 
20
20
  export const WithFieldError: Story = {
21
21
  render: () => (
22
- <PageStory
22
+ <KcPageStory
23
23
  kcContext={{
24
24
  profile: {
25
25
  attributesByName: {
@@ -41,7 +41,7 @@ export const WithFieldError: Story = {
41
41
 
42
42
  export const WithEmailAsUsername: Story = {
43
43
  render: () => (
44
- <PageStory
44
+ <KcPageStory
45
45
  kcContext={{
46
46
  realm: {
47
47
  registrationEmailAsUsername: true
@@ -53,7 +53,7 @@ export const WithEmailAsUsername: Story = {
53
53
 
54
54
  export const WithoutPassword: Story = {
55
55
  render: () => (
56
- <PageStory
56
+ <KcPageStory
57
57
  kcContext={{
58
58
  passwordRequired: false
59
59
  }}
@@ -63,7 +63,7 @@ export const WithoutPassword: Story = {
63
63
 
64
64
  export const WithRecaptcha: Story = {
65
65
  render: () => (
66
- <PageStory
66
+ <KcPageStory
67
67
  kcContext={{
68
68
  scripts: ["https://www.google.com/recaptcha/api.js?hl=en"],
69
69
  recaptchaRequired: true,
@@ -75,7 +75,7 @@ export const WithRecaptcha: Story = {
75
75
 
76
76
  export const WithRecaptchaFrench: Story = {
77
77
  render: () => (
78
- <PageStory
78
+ <KcPageStory
79
79
  kcContext={{
80
80
  locale: {
81
81
  currentLanguageTag: "fr"
@@ -90,7 +90,7 @@ export const WithRecaptchaFrench: Story = {
90
90
 
91
91
  export const WithPresets: Story = {
92
92
  render: () => (
93
- <PageStory
93
+ <KcPageStory
94
94
  kcContext={{
95
95
  profile: {
96
96
  attributesByName: {
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "saml-post-form.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "saml-post-form.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/saml-post-form.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,25 +1,25 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "select-authenticator.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "select-authenticator.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/select-authenticator.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
19
19
 
20
20
  export const WithDifferentAuthenticationMethods: Story = {
21
21
  render: () => (
22
- <PageStory
22
+ <KcPageStory
23
23
  kcContext={{
24
24
  auth: {
25
25
  authenticationSelections: [
@@ -1,25 +1,25 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "terms.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "terms.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/terms.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
19
19
 
20
20
  export const French: Story = {
21
21
  render: () => (
22
- <PageStory
22
+ <KcPageStory
23
23
  kcContext={{
24
24
  locale: {
25
25
  currentLanguageTag: "fr"
@@ -31,7 +31,7 @@ export const French: Story = {
31
31
 
32
32
  export const Spanish: Story = {
33
33
  render: () => (
34
- <PageStory
34
+ <KcPageStory
35
35
  kcContext={{
36
36
  locale: {
37
37
  currentLanguageTag: "es"
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "update-email.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "update-email.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/update-email.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "webauthn-authenticate.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "webauthn-authenticate.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/webauthn-authenticate.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "webauthn-error.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "webauthn-error.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/webauthn-error.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -1,18 +1,18 @@
1
1
  import React from "react";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
- import { createPageStory } from "../PageStory";
3
+ import { createKcPageStory } from "../KcPageStory";
4
4
 
5
- const { PageStory } = createPageStory({ pageId: "webauthn-register.ftl" });
5
+ const { KcPageStory } = createKcPageStory({ pageId: "webauthn-register.ftl" });
6
6
 
7
7
  const meta = {
8
8
  title: "login/webauthn-register.ftl",
9
- component: PageStory
10
- } satisfies Meta<typeof PageStory>;
9
+ component: KcPageStory
10
+ } satisfies Meta<typeof KcPageStory>;
11
11
 
12
12
  export default meta;
13
13
 
14
14
  type Story = StoryObj<typeof meta>;
15
15
 
16
16
  export const Default: Story = {
17
- render: () => <PageStory />
17
+ render: () => <KcPageStory />
18
18
  };
@@ -4336,7 +4336,7 @@ const containerName = "keycloak-keycloakify";
4336
4336
 
4337
4337
  /***/ }),
4338
4338
 
4339
- /***/ 8047:
4339
+ /***/ 8272:
4340
4340
  /***/ ((__unused_webpack_module, __webpack_exports__, __nccwpck_require__) => {
4341
4341
 
4342
4342
  "use strict";
@@ -4458,20 +4458,8 @@ var external_stream_ = __nccwpck_require__(2781);
4458
4458
  var external_stream_default = /*#__PURE__*/__nccwpck_require__.n(external_stream_);
4459
4459
  // EXTERNAL MODULE: ./node_modules/evt/tools/Deferred.js
4460
4460
  var Deferred = __nccwpck_require__(689);
4461
- ;// CONCATENATED MODULE: ./dist/bin/tools/fs.existsAsync.js
4462
-
4463
- async function existsAsync(path) {
4464
- try {
4465
- await promises_.stat(path);
4466
- return true;
4467
- }
4468
- catch (error) {
4469
- if (error.code === "ENOENT")
4470
- return false;
4471
- throw error;
4472
- }
4473
- }
4474
- //# sourceMappingURL=fs.existsAsync.js.map
4461
+ // EXTERNAL MODULE: ./dist/bin/tools/fs.existsAsync.js
4462
+ var fs_existsAsync = __nccwpck_require__(3765);
4475
4463
  ;// CONCATENATED MODULE: ./dist/bin/tools/extractArchive.js
4476
4464
 
4477
4465
 
@@ -4500,7 +4488,7 @@ async function extractArchive(params) {
4500
4488
  const { filePath, modifiedData } = params;
4501
4489
  {
4502
4490
  const dirPath = (0,external_path_.dirname)(filePath);
4503
- if (!(await existsAsync(dirPath))) {
4491
+ if (!(await (0,fs_existsAsync/* existsAsync */.o)(dirPath))) {
4504
4492
  await promises_default().mkdir(dirPath, { recursive: true });
4505
4493
  }
4506
4494
  }
@@ -4661,7 +4649,7 @@ async function downloadAndExtractArchive(params) {
4661
4649
  const archiveFileBasename = url.split("?")[0].split("/").reverse()[0];
4662
4650
  const archiveFilePath = (0,external_path_.join)(cacheDirPath, archiveFileBasename);
4663
4651
  download: {
4664
- if (await existsAsync(archiveFilePath)) {
4652
+ if (await (0,fs_existsAsync/* existsAsync */.o)(archiveFilePath)) {
4665
4653
  const isDownloaded = await SuccessTracker.getIsDownloaded({
4666
4654
  cacheDirPath,
4667
4655
  archiveFileBasename
@@ -4708,7 +4696,7 @@ async function downloadAndExtractArchive(params) {
4708
4696
  }));
4709
4697
  const extractedDirPath = (0,external_path_.join)(cacheDirPath, extractDirBasename);
4710
4698
  extract_and_transform: {
4711
- if (await existsAsync(extractedDirPath)) {
4699
+ if (await (0,fs_existsAsync/* existsAsync */.o)(extractedDirPath)) {
4712
4700
  const isExtracted = await SuccessTracker.getIsExtracted({
4713
4701
  cacheDirPath,
4714
4702
  extractDirBasename
@@ -4745,7 +4733,7 @@ var SuccessTracker;
4745
4733
  async function read(params) {
4746
4734
  const { cacheDirPath } = params;
4747
4735
  const filePath = (0,external_path_.join)(cacheDirPath, "downloadAndExtractArchive.json");
4748
- if (!(await existsAsync(filePath))) {
4736
+ if (!(await (0,fs_existsAsync/* existsAsync */.o)(filePath))) {
4749
4737
  return { archiveFileBasenames: [], extractDirBasenames: [] };
4750
4738
  }
4751
4739
  return JSON.parse((await (0,promises_.readFile)(filePath)).toString("utf8"));
@@ -4755,7 +4743,7 @@ var SuccessTracker;
4755
4743
  const filePath = (0,external_path_.join)(cacheDirPath, "downloadAndExtractArchive.json");
4756
4744
  {
4757
4745
  const dirPath = (0,external_path_.dirname)(filePath);
4758
- if (!(await existsAsync(dirPath))) {
4746
+ if (!(await (0,fs_existsAsync/* existsAsync */.o)(dirPath))) {
4759
4747
  await (0,promises_.mkdir)(dirPath, { recursive: true });
4760
4748
  }
4761
4749
  }
@@ -4948,7 +4936,7 @@ async function downloadKeycloakStaticResources(params) {
4948
4936
  const resourcesDirPath = (0,external_path_.join)(themeDirPath, themeType, "resources");
4949
4937
  repatriate_base_resources: {
4950
4938
  const srcDirPath = (0,external_path_.join)(defaultThemeDirPath, "base", themeType, "resources");
4951
- if (!(await existsAsync(srcDirPath))) {
4939
+ if (!(await (0,fs_existsAsync/* existsAsync */.o)(srcDirPath))) {
4952
4940
  break repatriate_base_resources;
4953
4941
  }
4954
4942
  transformCodebase({
@@ -5127,18 +5115,25 @@ function getThemeSrcDirPath(params) {
5127
5115
  //# sourceMappingURL=getThemeSrcDirPath.js.map
5128
5116
  // EXTERNAL MODULE: external "fs/promises"
5129
5117
  var promises_ = __nccwpck_require__(3292);
5118
+ // EXTERNAL MODULE: ./dist/bin/tools/fs.existsAsync.js
5119
+ var fs_existsAsync = __nccwpck_require__(3765);
5130
5120
  ;// CONCATENATED MODULE: ./dist/bin/shared/generateKcGenTs.js
5131
5121
 
5132
5122
 
5133
5123
 
5134
5124
 
5125
+
5135
5126
  (0,assert.assert)();
5136
5127
  async function generateKcGenTs(params) {
5137
5128
  const { buildContext } = params;
5138
5129
  const { themeSrcDirPath } = getThemeSrcDirPath({
5139
5130
  projectDirPath: buildContext.projectDirPath
5140
5131
  });
5141
- await promises_.writeFile((0,external_path_.join)(themeSrcDirPath, "kc.gen.ts"), Buffer.from([
5132
+ const filePath = (0,external_path_.join)(themeSrcDirPath, "kc.gen.ts");
5133
+ const currentContent = (await (0,fs_existsAsync/* existsAsync */.o)(filePath))
5134
+ ? await promises_.readFile(filePath)
5135
+ : undefined;
5136
+ const newContent = Buffer.from([
5142
5137
  `/* prettier-ignore-start */`,
5143
5138
  ``,
5144
5139
  `/* eslint-disable */`,
@@ -5160,7 +5155,11 @@ async function generateKcGenTs(params) {
5160
5155
  `export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
5161
5156
  ``,
5162
5157
  `/* prettier-ignore-end */`
5163
- ].join("\n"), "utf8"));
5158
+ ].join("\n"), "utf8");
5159
+ if (currentContent !== undefined && currentContent.equals(newContent)) {
5160
+ return;
5161
+ }
5162
+ await promises_.writeFile(filePath, newContent);
5164
5163
  }
5165
5164
  //# sourceMappingURL=generateKcGenTs.js.map
5166
5165
 
@@ -5291,6 +5290,31 @@ function crawl(params) {
5291
5290
 
5292
5291
  /***/ }),
5293
5292
 
5293
+ /***/ 3765:
5294
+ /***/ ((__unused_webpack_module, __webpack_exports__, __nccwpck_require__) => {
5295
+
5296
+ "use strict";
5297
+ /* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
5298
+ /* harmony export */ "o": () => (/* binding */ existsAsync)
5299
+ /* harmony export */ });
5300
+ /* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(3292);
5301
+ /* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nccwpck_require__.n(fs_promises__WEBPACK_IMPORTED_MODULE_0__);
5302
+
5303
+ async function existsAsync(path) {
5304
+ try {
5305
+ await fs_promises__WEBPACK_IMPORTED_MODULE_0__.stat(path);
5306
+ return true;
5307
+ }
5308
+ catch (error) {
5309
+ if (error.code === "ENOENT")
5310
+ return false;
5311
+ throw error;
5312
+ }
5313
+ }
5314
+ //# sourceMappingURL=fs.existsAsync.js.map
5315
+
5316
+ /***/ }),
5317
+
5294
5318
  /***/ 8699:
5295
5319
  /***/ ((__unused_webpack_module, __webpack_exports__, __nccwpck_require__) => {
5296
5320
 
@@ -5382,7 +5406,7 @@ const path_1 = __nccwpck_require__(1017);
5382
5406
  const constants_1 = __nccwpck_require__(173);
5383
5407
  const id_1 = __nccwpck_require__(3047);
5384
5408
  const fs_rm_1 = __nccwpck_require__(8699);
5385
- const copyKeycloakResourcesToPublic_1 = __nccwpck_require__(8047);
5409
+ const copyKeycloakResourcesToPublic_1 = __nccwpck_require__(8272);
5386
5410
  const assert_1 = __nccwpck_require__(8078);
5387
5411
  const buildContext_1 = __nccwpck_require__(8355);
5388
5412
  const magic_string_1 = __importDefault(__nccwpck_require__(5734));
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PageProps } from "../account/pages/PageProps";
3
- import type { KcContext } from "./KcContext";
4
- export default function Fallback(props: PageProps<KcContext>): JSX.Element;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../src/account/Fallback.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAe,MAAM,cAAc,CAAC;AAInD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,oCAAoC,CAAC,CAAC,CAAC;AAC1E,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,mCAAmC,CAAC,CAAC,CAAC;AACxE,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,oCAAoC,CAAC,CAAC,CAAC;AAC1E,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAAC,CAAC;AAClE,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAAC,CAAC;AAClF,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAChE,MAAM,iBAAiB,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,6CAA6C,CAAC,CAAC,CAAC;AAE5F,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC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