keycloakify 10.0.0-rc.5 → 10.0.0-rc.51

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 (999) hide show
  1. package/PUBLIC_URL.d.ts +1 -1
  2. package/PUBLIC_URL.js +1 -1
  3. package/PUBLIC_URL.js.map +1 -1
  4. package/account/DefaultPage.d.ts +5 -0
  5. package/account/{Fallback.js → DefaultPage.js} +3 -3
  6. package/account/DefaultPage.js.map +1 -0
  7. package/account/{kcContext → KcContext}/KcContext.d.ts +12 -0
  8. package/account/KcContext/KcContext.js.map +1 -0
  9. package/account/KcContext/getKcContextMock.d.ts +24 -0
  10. package/account/KcContext/getKcContextMock.js +28 -0
  11. package/account/KcContext/getKcContextMock.js.map +1 -0
  12. package/account/KcContext/index.d.ts +2 -0
  13. package/account/KcContext/index.js +2 -0
  14. package/account/KcContext/index.js.map +1 -0
  15. package/account/{kcContext → KcContext}/kcContextMocks.d.ts +1 -1
  16. package/account/KcContext/kcContextMocks.js +151 -0
  17. package/account/KcContext/kcContextMocks.js.map +1 -0
  18. package/account/Template.d.ts +2 -2
  19. package/account/Template.js +11 -11
  20. package/account/Template.js.map +1 -1
  21. package/account/TemplateProps.d.ts +3 -5
  22. package/account/i18n/baseMessages/ar.d.ts +2 -0
  23. package/account/i18n/baseMessages/ar.js +3 -1
  24. package/account/i18n/baseMessages/ar.js.map +1 -1
  25. package/account/i18n/baseMessages/ca.d.ts +2 -0
  26. package/account/i18n/baseMessages/ca.js +3 -1
  27. package/account/i18n/baseMessages/ca.js.map +1 -1
  28. package/account/i18n/baseMessages/cs.d.ts +2 -0
  29. package/account/i18n/baseMessages/cs.js +3 -1
  30. package/account/i18n/baseMessages/cs.js.map +1 -1
  31. package/account/i18n/baseMessages/da.d.ts +2 -0
  32. package/account/i18n/baseMessages/da.js +3 -1
  33. package/account/i18n/baseMessages/da.js.map +1 -1
  34. package/account/i18n/baseMessages/de.d.ts +2 -0
  35. package/account/i18n/baseMessages/de.js +3 -1
  36. package/account/i18n/baseMessages/de.js.map +1 -1
  37. package/account/i18n/baseMessages/el.d.ts +2 -0
  38. package/account/i18n/baseMessages/el.js +3 -1
  39. package/account/i18n/baseMessages/el.js.map +1 -1
  40. package/account/i18n/baseMessages/en.d.ts +2 -0
  41. package/account/i18n/baseMessages/en.js +3 -1
  42. package/account/i18n/baseMessages/en.js.map +1 -1
  43. package/account/i18n/baseMessages/es.d.ts +2 -0
  44. package/account/i18n/baseMessages/es.js +3 -1
  45. package/account/i18n/baseMessages/es.js.map +1 -1
  46. package/account/i18n/baseMessages/fa.d.ts +2 -0
  47. package/account/i18n/baseMessages/fa.js +3 -1
  48. package/account/i18n/baseMessages/fa.js.map +1 -1
  49. package/account/i18n/baseMessages/fi.d.ts +2 -0
  50. package/account/i18n/baseMessages/fi.js +3 -1
  51. package/account/i18n/baseMessages/fi.js.map +1 -1
  52. package/account/i18n/baseMessages/fr.d.ts +2 -0
  53. package/account/i18n/baseMessages/fr.js +3 -1
  54. package/account/i18n/baseMessages/fr.js.map +1 -1
  55. package/account/i18n/baseMessages/hu.d.ts +2 -0
  56. package/account/i18n/baseMessages/hu.js +3 -1
  57. package/account/i18n/baseMessages/hu.js.map +1 -1
  58. package/account/i18n/baseMessages/index.d.ts +18 -0
  59. package/account/i18n/baseMessages/index.js.map +1 -1
  60. package/account/i18n/baseMessages/it.d.ts +2 -0
  61. package/account/i18n/baseMessages/it.js +3 -1
  62. package/account/i18n/baseMessages/it.js.map +1 -1
  63. package/account/i18n/baseMessages/ja.d.ts +2 -0
  64. package/account/i18n/baseMessages/ja.js +3 -1
  65. package/account/i18n/baseMessages/ja.js.map +1 -1
  66. package/account/i18n/baseMessages/lt.d.ts +2 -0
  67. package/account/i18n/baseMessages/lt.js +3 -1
  68. package/account/i18n/baseMessages/lt.js.map +1 -1
  69. package/account/i18n/baseMessages/lv.d.ts +2 -0
  70. package/account/i18n/baseMessages/lv.js +3 -1
  71. package/account/i18n/baseMessages/lv.js.map +1 -1
  72. package/account/i18n/baseMessages/nl.d.ts +2 -0
  73. package/account/i18n/baseMessages/nl.js +3 -1
  74. package/account/i18n/baseMessages/nl.js.map +1 -1
  75. package/account/i18n/baseMessages/no.d.ts +2 -0
  76. package/account/i18n/baseMessages/no.js +3 -1
  77. package/account/i18n/baseMessages/no.js.map +1 -1
  78. package/account/i18n/baseMessages/pl.d.ts +2 -0
  79. package/account/i18n/baseMessages/pl.js +3 -1
  80. package/account/i18n/baseMessages/pl.js.map +1 -1
  81. package/account/i18n/baseMessages/pt-BR.d.ts +2 -0
  82. package/account/i18n/baseMessages/pt-BR.js +3 -1
  83. package/account/i18n/baseMessages/pt-BR.js.map +1 -1
  84. package/account/i18n/baseMessages/ru.d.ts +2 -0
  85. package/account/i18n/baseMessages/ru.js +3 -1
  86. package/account/i18n/baseMessages/ru.js.map +1 -1
  87. package/account/i18n/baseMessages/sk.d.ts +2 -0
  88. package/account/i18n/baseMessages/sk.js +3 -1
  89. package/account/i18n/baseMessages/sk.js.map +1 -1
  90. package/account/i18n/baseMessages/sv.d.ts +2 -0
  91. package/account/i18n/baseMessages/sv.js +3 -1
  92. package/account/i18n/baseMessages/sv.js.map +1 -1
  93. package/account/i18n/baseMessages/th.d.ts +2 -0
  94. package/account/i18n/baseMessages/th.js +3 -1
  95. package/account/i18n/baseMessages/th.js.map +1 -1
  96. package/account/i18n/baseMessages/tr.d.ts +2 -0
  97. package/account/i18n/baseMessages/tr.js +3 -1
  98. package/account/i18n/baseMessages/tr.js.map +1 -1
  99. package/account/i18n/baseMessages/uk.d.ts +2 -0
  100. package/account/i18n/baseMessages/uk.js +3 -1
  101. package/account/i18n/baseMessages/uk.js.map +1 -1
  102. package/account/i18n/baseMessages/zh-CN.d.ts +2 -0
  103. package/account/i18n/baseMessages/zh-CN.js +3 -1
  104. package/account/i18n/baseMessages/zh-CN.js.map +1 -1
  105. package/account/i18n/i18n.d.ts +31 -32
  106. package/account/i18n/i18n.js +135 -94
  107. package/account/i18n/i18n.js.map +1 -1
  108. package/account/i18n/index.d.ts +5 -1
  109. package/account/i18n/index.js +2 -1
  110. package/account/i18n/index.js.map +1 -1
  111. package/account/index.d.ts +3 -7
  112. package/account/index.js +1 -5
  113. package/account/index.js.map +1 -1
  114. package/account/lib/kcClsx.d.ts +9 -0
  115. package/account/lib/kcClsx.js +19 -0
  116. package/account/lib/kcClsx.js.map +1 -0
  117. package/account/pages/Account.d.ts +1 -1
  118. package/account/pages/Account.js +7 -6
  119. package/account/pages/Account.js.map +1 -1
  120. package/account/pages/Applications.d.ts +1 -1
  121. package/account/pages/Applications.js +7 -8
  122. package/account/pages/Applications.js.map +1 -1
  123. package/account/pages/FederatedIdentity.d.ts +3 -3
  124. package/account/pages/FederatedIdentity.js +1 -1
  125. package/account/pages/FederatedIdentity.js.map +1 -1
  126. package/account/pages/Log.d.ts +1 -1
  127. package/account/pages/Log.js +3 -3
  128. package/account/pages/Log.js.map +1 -1
  129. package/account/pages/PageProps.d.ts +4 -6
  130. package/account/pages/Password.d.ts +1 -1
  131. package/account/pages/Password.js +16 -13
  132. package/account/pages/Password.js.map +1 -1
  133. package/account/pages/Sessions.d.ts +1 -1
  134. package/account/pages/Sessions.js +3 -4
  135. package/account/pages/Sessions.js.map +1 -1
  136. package/account/pages/Totp.d.ts +1 -1
  137. package/account/pages/Totp.js +7 -7
  138. package/account/pages/Totp.js.map +1 -1
  139. package/bin/180.index.js +4664 -0
  140. package/bin/190.index.js +592 -0
  141. package/bin/193.index.js +109 -0
  142. package/bin/214.index.js +1508 -0
  143. package/bin/246.index.js +75213 -0
  144. package/bin/3.index.js +1584 -0
  145. package/bin/36.index.js +9980 -0
  146. package/bin/420.index.js +508 -0
  147. package/bin/453.index.js +188 -0
  148. package/bin/480.index.js +466 -0
  149. package/bin/509.index.js +438 -0
  150. package/bin/525.index.js +41826 -0
  151. package/bin/526.index.js +800 -0
  152. package/bin/538.index.js +601 -0
  153. package/bin/772.index.js +1524 -0
  154. package/bin/818.index.js +1802 -0
  155. package/bin/932.index.js +866 -0
  156. package/bin/941.index.js +4215 -0
  157. package/bin/97.index.js +96 -0
  158. package/bin/98.index.js +1236 -0
  159. package/bin/991.index.js +690 -0
  160. package/bin/main.js +9291 -171
  161. package/bin/shared/{buildOptions.d.ts → buildContext.d.ts} +19 -11
  162. package/bin/shared/constants.d.ts +7 -0
  163. package/bin/shared/constants.js +58 -13
  164. package/bin/shared/constants.js.map +1 -1
  165. package/lib/BASE_URL.js.map +1 -1
  166. package/lib/getKcClsx.d.ts +11 -0
  167. package/lib/getKcClsx.js +55 -0
  168. package/lib/getKcClsx.js.map +1 -0
  169. package/login/DefaultPage.d.ts +12 -0
  170. package/login/{Fallback.js → DefaultPage.js} +2 -2
  171. package/login/DefaultPage.js.map +1 -0
  172. package/login/{kcContext → KcContext}/KcContext.d.ts +23 -12
  173. package/login/{kcContext → KcContext}/KcContext.js +1 -0
  174. package/login/KcContext/KcContext.js.map +1 -0
  175. package/login/KcContext/getKcContextMock.d.ts +24 -0
  176. package/login/KcContext/getKcContextMock.js +28 -0
  177. package/login/KcContext/getKcContextMock.js.map +1 -0
  178. package/login/KcContext/index.d.ts +2 -0
  179. package/login/KcContext/index.js +2 -0
  180. package/login/KcContext/index.js.map +1 -0
  181. package/login/{kcContext → KcContext}/kcContextMocks.d.ts +1 -1
  182. package/login/KcContext/kcContextMocks.js +319 -0
  183. package/login/KcContext/kcContextMocks.js.map +1 -0
  184. package/login/Template.d.ts +2 -2
  185. package/login/Template.js +22 -22
  186. package/login/Template.js.map +1 -1
  187. package/login/TemplateProps.d.ts +3 -5
  188. package/login/UserProfileFormFields.d.ts +3 -20
  189. package/login/UserProfileFormFields.js +78 -122
  190. package/login/UserProfileFormFields.js.map +1 -1
  191. package/login/UserProfileFormFieldsProps.d.ts +24 -0
  192. package/login/UserProfileFormFieldsProps.js +2 -0
  193. package/login/UserProfileFormFieldsProps.js.map +1 -0
  194. package/login/i18n/baseMessages/ar.d.ts +9 -0
  195. package/login/i18n/baseMessages/ar.js +10 -1
  196. package/login/i18n/baseMessages/ar.js.map +1 -1
  197. package/login/i18n/baseMessages/ca.d.ts +10 -1
  198. package/login/i18n/baseMessages/ca.js +11 -2
  199. package/login/i18n/baseMessages/ca.js.map +1 -1
  200. package/login/i18n/baseMessages/cs.d.ts +9 -0
  201. package/login/i18n/baseMessages/cs.js +10 -1
  202. package/login/i18n/baseMessages/cs.js.map +1 -1
  203. package/login/i18n/baseMessages/da.d.ts +9 -0
  204. package/login/i18n/baseMessages/da.js +10 -1
  205. package/login/i18n/baseMessages/da.js.map +1 -1
  206. package/login/i18n/baseMessages/de.d.ts +9 -0
  207. package/login/i18n/baseMessages/de.js +10 -1
  208. package/login/i18n/baseMessages/de.js.map +1 -1
  209. package/login/i18n/baseMessages/el.d.ts +9 -1
  210. package/login/i18n/baseMessages/el.js +10 -2
  211. package/login/i18n/baseMessages/el.js.map +1 -1
  212. package/login/i18n/baseMessages/en.d.ts +10 -1
  213. package/login/i18n/baseMessages/en.js +11 -2
  214. package/login/i18n/baseMessages/en.js.map +1 -1
  215. package/login/i18n/baseMessages/es.d.ts +10 -1
  216. package/login/i18n/baseMessages/es.js +11 -2
  217. package/login/i18n/baseMessages/es.js.map +1 -1
  218. package/login/i18n/baseMessages/fa.d.ts +9 -1
  219. package/login/i18n/baseMessages/fa.js +10 -2
  220. package/login/i18n/baseMessages/fa.js.map +1 -1
  221. package/login/i18n/baseMessages/fi.d.ts +9 -0
  222. package/login/i18n/baseMessages/fi.js +10 -1
  223. package/login/i18n/baseMessages/fi.js.map +1 -1
  224. package/login/i18n/baseMessages/fr.d.ts +9 -0
  225. package/login/i18n/baseMessages/fr.js +10 -1
  226. package/login/i18n/baseMessages/fr.js.map +1 -1
  227. package/login/i18n/baseMessages/hu.d.ts +10 -1
  228. package/login/i18n/baseMessages/hu.js +11 -2
  229. package/login/i18n/baseMessages/hu.js.map +1 -1
  230. package/login/i18n/baseMessages/index.d.ts +109 -2
  231. package/login/i18n/baseMessages/index.js.map +1 -1
  232. package/login/i18n/baseMessages/it.d.ts +9 -0
  233. package/login/i18n/baseMessages/it.js +10 -1
  234. package/login/i18n/baseMessages/it.js.map +1 -1
  235. package/login/i18n/baseMessages/ja.d.ts +9 -0
  236. package/login/i18n/baseMessages/ja.js +10 -1
  237. package/login/i18n/baseMessages/ja.js.map +1 -1
  238. package/login/i18n/baseMessages/lt.d.ts +9 -0
  239. package/login/i18n/baseMessages/lt.js +10 -1
  240. package/login/i18n/baseMessages/lt.js.map +1 -1
  241. package/login/i18n/baseMessages/lv.d.ts +9 -0
  242. package/login/i18n/baseMessages/lv.js +10 -1
  243. package/login/i18n/baseMessages/lv.js.map +1 -1
  244. package/login/i18n/baseMessages/nl.d.ts +9 -0
  245. package/login/i18n/baseMessages/nl.js +10 -1
  246. package/login/i18n/baseMessages/nl.js.map +1 -1
  247. package/login/i18n/baseMessages/no.d.ts +9 -0
  248. package/login/i18n/baseMessages/no.js +10 -1
  249. package/login/i18n/baseMessages/no.js.map +1 -1
  250. package/login/i18n/baseMessages/pl.d.ts +9 -0
  251. package/login/i18n/baseMessages/pl.js +10 -1
  252. package/login/i18n/baseMessages/pl.js.map +1 -1
  253. package/login/i18n/baseMessages/pt-BR.d.ts +9 -0
  254. package/login/i18n/baseMessages/pt-BR.js +10 -1
  255. package/login/i18n/baseMessages/pt-BR.js.map +1 -1
  256. package/login/i18n/baseMessages/ru.d.ts +9 -0
  257. package/login/i18n/baseMessages/ru.js +10 -1
  258. package/login/i18n/baseMessages/ru.js.map +1 -1
  259. package/login/i18n/baseMessages/sk.d.ts +9 -0
  260. package/login/i18n/baseMessages/sk.js +10 -1
  261. package/login/i18n/baseMessages/sk.js.map +1 -1
  262. package/login/i18n/baseMessages/sv.d.ts +9 -0
  263. package/login/i18n/baseMessages/sv.js +10 -1
  264. package/login/i18n/baseMessages/sv.js.map +1 -1
  265. package/login/i18n/baseMessages/th.d.ts +9 -0
  266. package/login/i18n/baseMessages/th.js +10 -1
  267. package/login/i18n/baseMessages/th.js.map +1 -1
  268. package/login/i18n/baseMessages/tr.d.ts +9 -0
  269. package/login/i18n/baseMessages/tr.js +10 -1
  270. package/login/i18n/baseMessages/tr.js.map +1 -1
  271. package/login/i18n/baseMessages/uk.d.ts +9 -0
  272. package/login/i18n/baseMessages/uk.js +10 -1
  273. package/login/i18n/baseMessages/uk.js.map +1 -1
  274. package/login/i18n/baseMessages/zh-CN.d.ts +10 -1
  275. package/login/i18n/baseMessages/zh-CN.js +11 -2
  276. package/login/i18n/baseMessages/zh-CN.js.map +1 -1
  277. package/login/i18n/i18n.d.ts +32 -34
  278. package/login/i18n/i18n.js +144 -96
  279. package/login/i18n/i18n.js.map +1 -1
  280. package/login/i18n/index.d.ts +5 -1
  281. package/login/i18n/index.js +2 -1
  282. package/login/i18n/index.js.map +1 -1
  283. package/login/index.d.ts +3 -7
  284. package/login/index.js +1 -5
  285. package/login/index.js.map +1 -1
  286. package/login/lib/kcClsx.d.ts +9 -0
  287. package/login/lib/kcClsx.js +130 -0
  288. package/login/lib/kcClsx.js.map +1 -0
  289. package/login/lib/useDownloadTerms.d.ts +12 -3
  290. package/login/lib/useDownloadTerms.js +16 -21
  291. package/login/lib/useDownloadTerms.js.map +1 -1
  292. package/login/lib/useUserProfileForm.d.ts +20 -8
  293. package/login/lib/useUserProfileForm.js +402 -295
  294. package/login/lib/useUserProfileForm.js.map +1 -1
  295. package/login/pages/Code.d.ts +1 -1
  296. package/login/pages/Code.js +3 -3
  297. package/login/pages/Code.js.map +1 -1
  298. package/login/pages/DeleteAccountConfirm.d.ts +1 -1
  299. package/login/pages/DeleteAccountConfirm.js +7 -4
  300. package/login/pages/DeleteAccountConfirm.js.map +1 -1
  301. package/login/pages/DeleteCredential.d.ts +1 -1
  302. package/login/pages/DeleteCredential.js +3 -4
  303. package/login/pages/DeleteCredential.js.map +1 -1
  304. package/login/pages/Error.d.ts +1 -1
  305. package/login/pages/Error.js +1 -1
  306. package/login/pages/Error.js.map +1 -1
  307. package/login/pages/FrontchannelLogout.d.ts +1 -1
  308. package/login/pages/FrontchannelLogout.js +1 -1
  309. package/login/pages/FrontchannelLogout.js.map +1 -1
  310. package/login/pages/IdpReviewUserProfile.d.ts +5 -4
  311. package/login/pages/IdpReviewUserProfile.js +4 -5
  312. package/login/pages/IdpReviewUserProfile.js.map +1 -1
  313. package/login/pages/Info.d.ts +1 -1
  314. package/login/pages/Info.js +5 -5
  315. package/login/pages/Info.js.map +1 -1
  316. package/login/pages/Login.d.ts +1 -1
  317. package/login/pages/Login.js +7 -7
  318. package/login/pages/Login.js.map +1 -1
  319. package/login/pages/LoginConfigTotp.d.ts +1 -1
  320. package/login/pages/LoginConfigTotp.js +6 -7
  321. package/login/pages/LoginConfigTotp.js.map +1 -1
  322. package/login/pages/LoginIdpLinkConfirm.d.ts +1 -1
  323. package/login/pages/LoginIdpLinkConfirm.js +3 -4
  324. package/login/pages/LoginIdpLinkConfirm.js.map +1 -1
  325. package/login/pages/LoginIdpLinkEmail.d.ts +2 -2
  326. package/login/pages/LoginIdpLinkEmail.js +1 -1
  327. package/login/pages/LoginIdpLinkEmail.js.map +1 -1
  328. package/login/pages/LoginOauth2DeviceVerifyUserCode.d.ts +3 -3
  329. package/login/pages/LoginOauth2DeviceVerifyUserCode.js +3 -4
  330. package/login/pages/LoginOauth2DeviceVerifyUserCode.js.map +1 -1
  331. package/login/pages/LoginOauthGrant.d.ts +3 -3
  332. package/login/pages/LoginOauthGrant.js +4 -5
  333. package/login/pages/LoginOauthGrant.js.map +1 -1
  334. package/login/pages/LoginOtp.d.ts +1 -1
  335. package/login/pages/LoginOtp.js +3 -4
  336. package/login/pages/LoginOtp.js.map +1 -1
  337. package/login/pages/LoginPageExpired.d.ts +1 -1
  338. package/login/pages/LoginPageExpired.js +1 -1
  339. package/login/pages/LoginPageExpired.js.map +1 -1
  340. package/login/pages/LoginPassword.d.ts +1 -1
  341. package/login/pages/LoginPassword.js +6 -6
  342. package/login/pages/LoginPassword.js.map +1 -1
  343. package/login/pages/LoginRecoveryAuthnCodeConfig.d.ts +1 -1
  344. package/login/pages/LoginRecoveryAuthnCodeConfig.js +16 -16
  345. package/login/pages/LoginRecoveryAuthnCodeConfig.js.map +1 -1
  346. package/login/pages/LoginRecoveryAuthnCodeInput.d.ts +1 -1
  347. package/login/pages/LoginRecoveryAuthnCodeInput.js +3 -4
  348. package/login/pages/LoginRecoveryAuthnCodeInput.js.map +1 -1
  349. package/login/pages/LoginResetOtp.d.ts +1 -1
  350. package/login/pages/LoginResetOtp.js +3 -4
  351. package/login/pages/LoginResetOtp.js.map +1 -1
  352. package/login/pages/LoginResetPassword.d.ts +1 -1
  353. package/login/pages/LoginResetPassword.js +4 -5
  354. package/login/pages/LoginResetPassword.js.map +1 -1
  355. package/login/pages/LoginUpdatePassword.d.ts +1 -1
  356. package/login/pages/LoginUpdatePassword.js +7 -8
  357. package/login/pages/LoginUpdatePassword.js.map +1 -1
  358. package/login/pages/LoginUpdateProfile.d.ts +5 -4
  359. package/login/pages/LoginUpdateProfile.js +5 -9
  360. package/login/pages/LoginUpdateProfile.js.map +1 -1
  361. package/login/pages/LoginUsername.d.ts +1 -1
  362. package/login/pages/LoginUsername.js +5 -5
  363. package/login/pages/LoginUsername.js.map +1 -1
  364. package/login/pages/LoginVerifyEmail.d.ts +1 -1
  365. package/login/pages/LoginVerifyEmail.js +1 -1
  366. package/login/pages/LoginVerifyEmail.js.map +1 -1
  367. package/login/pages/LoginX509Info.d.ts +1 -1
  368. package/login/pages/LoginX509Info.js +3 -4
  369. package/login/pages/LoginX509Info.js.map +1 -1
  370. package/login/pages/LogoutConfirm.d.ts +1 -1
  371. package/login/pages/LogoutConfirm.js +3 -4
  372. package/login/pages/LogoutConfirm.js.map +1 -1
  373. package/login/pages/PageProps.d.ts +3 -5
  374. package/login/pages/Register.d.ts +5 -4
  375. package/login/pages/Register.js +7 -13
  376. package/login/pages/Register.js.map +1 -1
  377. package/login/pages/SamlPostForm.d.ts +1 -1
  378. package/login/pages/SamlPostForm.js +1 -1
  379. package/login/pages/SamlPostForm.js.map +1 -1
  380. package/login/pages/SelectAuthenticator.d.ts +2 -2
  381. package/login/pages/SelectAuthenticator.js +3 -7
  382. package/login/pages/SelectAuthenticator.js.map +1 -1
  383. package/login/pages/Terms.d.ts +1 -1
  384. package/login/pages/Terms.js +6 -7
  385. package/login/pages/Terms.js.map +1 -1
  386. package/login/pages/UpdateEmail.d.ts +4 -3
  387. package/login/pages/UpdateEmail.js +6 -10
  388. package/login/pages/UpdateEmail.js.map +1 -1
  389. package/login/pages/WebauthnAuthenticate.d.ts +1 -1
  390. package/login/pages/WebauthnAuthenticate.js +25 -22
  391. package/login/pages/WebauthnAuthenticate.js.map +1 -1
  392. package/login/pages/WebauthnError.d.ts +1 -1
  393. package/login/pages/WebauthnError.js +4 -5
  394. package/login/pages/WebauthnError.js.map +1 -1
  395. package/login/pages/WebauthnRegister.d.ts +1 -1
  396. package/login/pages/WebauthnRegister.js +15 -16
  397. package/login/pages/WebauthnRegister.js.map +1 -1
  398. package/package.json +228 -577
  399. package/src/PUBLIC_URL.ts +5 -2
  400. package/src/account/{Fallback.tsx → DefaultPage.tsx} +5 -5
  401. package/src/account/{kcContext → KcContext}/KcContext.ts +23 -3
  402. package/src/account/KcContext/getKcContextMock.ts +69 -0
  403. package/src/account/KcContext/index.ts +2 -0
  404. package/src/account/KcContext/kcContextMocks.ts +199 -0
  405. package/src/account/Template.tsx +12 -14
  406. package/src/account/TemplateProps.ts +4 -5
  407. package/src/account/i18n/baseMessages/ar.ts +3 -1
  408. package/src/account/i18n/baseMessages/ca.ts +3 -1
  409. package/src/account/i18n/baseMessages/cs.ts +3 -1
  410. package/src/account/i18n/baseMessages/da.ts +3 -1
  411. package/src/account/i18n/baseMessages/de.ts +3 -1
  412. package/src/account/i18n/baseMessages/el.ts +3 -1
  413. package/src/account/i18n/baseMessages/en.ts +3 -1
  414. package/src/account/i18n/baseMessages/es.ts +3 -1
  415. package/src/account/i18n/baseMessages/fa.ts +3 -1
  416. package/src/account/i18n/baseMessages/fi.ts +3 -1
  417. package/src/account/i18n/baseMessages/fr.ts +3 -1
  418. package/src/account/i18n/baseMessages/hu.ts +3 -1
  419. package/src/account/i18n/baseMessages/it.ts +3 -1
  420. package/src/account/i18n/baseMessages/ja.ts +3 -1
  421. package/src/account/i18n/baseMessages/lt.ts +3 -1
  422. package/src/account/i18n/baseMessages/lv.ts +3 -1
  423. package/src/account/i18n/baseMessages/nl.ts +3 -1
  424. package/src/account/i18n/baseMessages/no.ts +3 -1
  425. package/src/account/i18n/baseMessages/pl.ts +3 -1
  426. package/src/account/i18n/baseMessages/pt-BR.ts +3 -1
  427. package/src/account/i18n/baseMessages/ru.ts +3 -1
  428. package/src/account/i18n/baseMessages/sk.ts +3 -1
  429. package/src/account/i18n/baseMessages/sv.ts +3 -1
  430. package/src/account/i18n/baseMessages/th.ts +3 -1
  431. package/src/account/i18n/baseMessages/tr.ts +3 -1
  432. package/src/account/i18n/baseMessages/uk.ts +3 -1
  433. package/src/account/i18n/baseMessages/zh-CN.ts +3 -1
  434. package/src/account/i18n/i18n.tsx +230 -137
  435. package/src/account/i18n/index.ts +5 -1
  436. package/src/account/index.ts +3 -10
  437. package/src/account/lib/kcClsx.ts +25 -0
  438. package/src/account/pages/Account.tsx +12 -18
  439. package/src/account/pages/Applications.tsx +8 -9
  440. package/src/account/pages/FederatedIdentity.tsx +3 -3
  441. package/src/account/pages/Log.tsx +5 -5
  442. package/src/account/pages/PageProps.ts +4 -6
  443. package/src/account/pages/Password.tsx +17 -19
  444. package/src/account/pages/Sessions.tsx +5 -6
  445. package/src/account/pages/Totp.tsx +20 -34
  446. package/src/bin/add-story.ts +109 -0
  447. package/src/bin/copy-keycloak-resources-to-public.ts +3 -6
  448. package/src/bin/eject-page.ts +258 -0
  449. package/src/bin/initialize-email-theme.ts +34 -23
  450. package/src/bin/keycloakify/buildJars/buildJar.ts +145 -81
  451. package/src/bin/keycloakify/buildJars/buildJars.ts +53 -23
  452. package/src/bin/keycloakify/buildJars/extensionVersions.ts +3 -2
  453. package/src/bin/keycloakify/buildJars/generatePom.ts +19 -11
  454. package/src/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.ts +42 -10
  455. package/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl +87 -32
  456. package/src/bin/keycloakify/generateFtl/generateFtl.ts +72 -23
  457. package/src/bin/keycloakify/generateSrcMainResources/bringInAccountV1.ts +36 -26
  458. package/src/bin/keycloakify/generateSrcMainResources/generateMessageProperties.ts +31 -43
  459. package/src/bin/keycloakify/generateSrcMainResources/generateSrcMainResources.ts +20 -10
  460. package/src/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForMainTheme.ts +119 -71
  461. package/src/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForThemeVariant.ts +37 -19
  462. package/src/bin/keycloakify/generateSrcMainResources/readExtraPageNames.ts +21 -8
  463. package/src/bin/keycloakify/generateSrcMainResources/readFieldNameUsage.ts +34 -7
  464. package/src/bin/keycloakify/keycloakify.ts +86 -20
  465. package/src/bin/keycloakify/replacers/replaceImportsInCssCode.ts +28 -9
  466. package/src/bin/keycloakify/replacers/replaceImportsInInlineCssCode.ts +12 -8
  467. package/src/bin/keycloakify/replacers/replaceImportsInJsCode/replaceImportsInJsCode.ts +14 -11
  468. package/src/bin/keycloakify/replacers/replaceImportsInJsCode/vite.ts +32 -14
  469. package/src/bin/keycloakify/replacers/replaceImportsInJsCode/webpack.ts +54 -16
  470. package/src/bin/main.ts +165 -49
  471. package/src/bin/shared/KeycloakVersionRange.ts +4 -2
  472. package/src/bin/shared/{buildOptions.ts → buildContext.ts} +126 -77
  473. package/src/bin/shared/constants.ts +58 -2
  474. package/src/bin/shared/copyKeycloakResourcesToPublic.ts +41 -24
  475. package/src/bin/shared/downloadKeycloakDefaultTheme.ts +207 -0
  476. package/src/bin/shared/downloadKeycloakStaticResources.ts +30 -26
  477. package/src/bin/shared/generateKcGenTs.ts +72 -0
  478. package/src/bin/shared/getJarFileBasename.ts +3 -1
  479. package/src/bin/shared/getThemeSrcDirPath.ts +8 -5
  480. package/src/bin/shared/metaInfKeycloakThemes.ts +61 -11
  481. package/src/bin/shared/promptKeycloakVersion.ts +90 -29
  482. package/src/bin/start-keycloak/appBuild.ts +129 -0
  483. package/src/bin/start-keycloak/index.ts +1 -0
  484. package/src/bin/start-keycloak/keycloakifyBuild.ts +41 -0
  485. package/src/bin/start-keycloak/myrealm-realm-18.json +2155 -0
  486. package/src/bin/start-keycloak/myrealm-realm-19.json +2186 -0
  487. package/src/bin/start-keycloak/myrealm-realm-20.json +2197 -0
  488. package/src/bin/start-keycloak/myrealm-realm-21.json +2201 -0
  489. package/src/bin/start-keycloak/myrealm-realm-23.json +2150 -0
  490. package/src/bin/start-keycloak/myrealm-realm-24.json +2318 -0
  491. package/src/bin/start-keycloak/myrealm-realm-25.json +2400 -0
  492. package/src/bin/start-keycloak/start-keycloak.ts +499 -0
  493. package/src/bin/tools/SemVer.ts +32 -13
  494. package/src/bin/tools/String.prototype.replaceAll.ts +9 -2
  495. package/src/bin/tools/crawl.ts +4 -1
  496. package/src/bin/tools/crc32.ts +42 -24
  497. package/src/bin/tools/downloadAndExtractArchive/downloadAndExtractArchive.ts +262 -0
  498. package/src/bin/tools/downloadAndExtractArchive/fetchProxyOptions.ts +96 -0
  499. package/src/bin/tools/downloadAndExtractArchive/index.ts +1 -0
  500. package/src/bin/tools/escapeStringForPropertiesFile.ts +64 -0
  501. package/src/bin/tools/extractArchive.ts +140 -0
  502. package/src/bin/tools/fetchProxyOptions.ts +31 -8
  503. package/src/bin/tools/getAbsoluteAndInOsFormatPath.ts +17 -2
  504. package/src/bin/tools/getNpmWorkspaceRootDirPath.ts +52 -6
  505. package/src/bin/tools/octokit-addons/getLatestsSemVersionedTag.ts +8 -2
  506. package/src/bin/tools/octokit-addons/listTags.ts +15 -4
  507. package/src/bin/tools/partitionPromiseSettledResults.ts +12 -3
  508. package/src/bin/tools/{readThisNpmProjectVersion.ts → readThisNpmPackageVersion.ts} +6 -2
  509. package/src/bin/tools/transformCodebase.ts +29 -10
  510. package/src/bin/tools/trimIndent.ts +4 -1
  511. package/src/bin/tsconfig.json +4 -3
  512. package/src/bin/update-kc-gen.ts +13 -0
  513. package/src/lib/getKcClsx.ts +89 -0
  514. package/src/login/{Fallback.tsx → DefaultPage.tsx} +8 -7
  515. package/src/login/{kcContext → KcContext}/KcContext.ts +58 -27
  516. package/src/login/KcContext/getKcContextMock.ts +69 -0
  517. package/src/login/KcContext/index.ts +8 -0
  518. package/src/login/KcContext/kcContextMocks.ts +565 -0
  519. package/src/login/Template.tsx +52 -55
  520. package/src/login/TemplateProps.ts +3 -6
  521. package/src/login/UserProfileFormFields.tsx +125 -210
  522. package/src/login/UserProfileFormFieldsProps.tsx +22 -0
  523. package/src/login/i18n/baseMessages/ar.ts +10 -1
  524. package/src/login/i18n/baseMessages/ca.ts +11 -2
  525. package/src/login/i18n/baseMessages/cs.ts +10 -1
  526. package/src/login/i18n/baseMessages/da.ts +10 -1
  527. package/src/login/i18n/baseMessages/de.ts +10 -1
  528. package/src/login/i18n/baseMessages/el.ts +10 -2
  529. package/src/login/i18n/baseMessages/en.ts +11 -2
  530. package/src/login/i18n/baseMessages/es.ts +11 -2
  531. package/src/login/i18n/baseMessages/fa.ts +10 -2
  532. package/src/login/i18n/baseMessages/fi.ts +10 -1
  533. package/src/login/i18n/baseMessages/fr.ts +10 -1
  534. package/src/login/i18n/baseMessages/hu.ts +11 -2
  535. package/src/login/i18n/baseMessages/it.ts +10 -1
  536. package/src/login/i18n/baseMessages/ja.ts +10 -1
  537. package/src/login/i18n/baseMessages/lt.ts +10 -1
  538. package/src/login/i18n/baseMessages/lv.ts +10 -1
  539. package/src/login/i18n/baseMessages/nl.ts +10 -1
  540. package/src/login/i18n/baseMessages/no.ts +10 -1
  541. package/src/login/i18n/baseMessages/pl.ts +10 -1
  542. package/src/login/i18n/baseMessages/pt-BR.ts +10 -1
  543. package/src/login/i18n/baseMessages/ru.ts +10 -1
  544. package/src/login/i18n/baseMessages/sk.ts +10 -1
  545. package/src/login/i18n/baseMessages/sv.ts +10 -1
  546. package/src/login/i18n/baseMessages/th.ts +10 -1
  547. package/src/login/i18n/baseMessages/tr.ts +10 -1
  548. package/src/login/i18n/baseMessages/uk.ts +10 -1
  549. package/src/login/i18n/baseMessages/zh-CN.ts +11 -2
  550. package/src/login/i18n/i18n.tsx +248 -139
  551. package/src/login/i18n/index.ts +5 -1
  552. package/src/login/index.ts +3 -10
  553. package/src/login/lib/kcClsx.ts +143 -0
  554. package/src/login/lib/useDownloadTerms.ts +32 -32
  555. package/src/login/lib/useUserProfileForm.tsx +480 -351
  556. package/src/login/pages/Code.tsx +8 -5
  557. package/src/login/pages/DeleteAccountConfirm.tsx +15 -10
  558. package/src/login/pages/DeleteCredential.tsx +9 -7
  559. package/src/login/pages/Error.tsx +9 -2
  560. package/src/login/pages/FrontchannelLogout.tsx +6 -3
  561. package/src/login/pages/IdpReviewUserProfile.tsx +21 -22
  562. package/src/login/pages/Info.tsx +5 -2
  563. package/src/login/pages/Login.tsx +34 -53
  564. package/src/login/pages/LoginConfigTotp.tsx +28 -39
  565. package/src/login/pages/LoginIdpLinkConfirm.tsx +7 -18
  566. package/src/login/pages/LoginIdpLinkEmail.tsx +9 -3
  567. package/src/login/pages/LoginOauth2DeviceVerifyUserCode.tsx +24 -23
  568. package/src/login/pages/LoginOauthGrant.tsx +14 -20
  569. package/src/login/pages/LoginOtp.tsx +27 -30
  570. package/src/login/pages/LoginPageExpired.tsx +2 -2
  571. package/src/login/pages/LoginPassword.tsx +21 -31
  572. package/src/login/pages/LoginRecoveryAuthnCodeConfig.tsx +34 -34
  573. package/src/login/pages/LoginRecoveryAuthnCodeInput.tsx +19 -22
  574. package/src/login/pages/LoginResetOtp.tsx +19 -22
  575. package/src/login/pages/LoginResetPassword.tsx +21 -24
  576. package/src/login/pages/LoginUpdatePassword.tsx +40 -50
  577. package/src/login/pages/LoginUpdateProfile.tsx +32 -31
  578. package/src/login/pages/LoginUsername.tsx +23 -34
  579. package/src/login/pages/LoginVerifyEmail.tsx +5 -2
  580. package/src/login/pages/LoginX509Info.tsx +24 -33
  581. package/src/login/pages/LogoutConfirm.tsx +8 -14
  582. package/src/login/pages/PageProps.ts +3 -5
  583. package/src/login/pages/Register.tsx +37 -49
  584. package/src/login/pages/SamlPostForm.tsx +2 -2
  585. package/src/login/pages/SelectAuthenticator.tsx +23 -24
  586. package/src/login/pages/Terms.tsx +18 -18
  587. package/src/login/pages/UpdateEmail.tsx +31 -34
  588. package/src/login/pages/WebauthnAuthenticate.tsx +40 -44
  589. package/src/login/pages/WebauthnError.tsx +15 -19
  590. package/src/login/pages/WebauthnRegister.tsx +28 -37
  591. package/src/tools/Array.prototype.every.ts +4 -1
  592. package/src/tools/ExtractAfterStartingWith.ts +4 -0
  593. package/src/tools/LazyOrNot.ts +3 -1
  594. package/src/tools/Object.fromEntries.ts +23 -0
  595. package/src/tools/StatefulObservable/README.md +16 -0
  596. package/src/tools/StatefulObservable/StatefulObservable.ts +58 -0
  597. package/src/tools/StatefulObservable/hooks/index.ts +2 -0
  598. package/src/tools/StatefulObservable/hooks/useObservable.ts +25 -0
  599. package/src/tools/StatefulObservable/hooks/useRerenderOnChange.ts +19 -0
  600. package/src/tools/StatefulObservable/index.ts +2 -0
  601. package/src/tools/ValueOf.ts +2 -0
  602. package/src/tools/clsx.ts +6 -42
  603. package/src/tools/clsx_withTransform.ts +55 -0
  604. package/src/tools/deepAssign.ts +57 -19
  605. package/src/tools/formatNumber.ts +7 -3
  606. package/src/tools/structuredCloneButFunctions.ts +24 -0
  607. package/src/tools/useConstCallback.ts +3 -1
  608. package/src/tools/useInsertLinkTags.ts +78 -74
  609. package/src/tools/useInsertScriptTags.ts +69 -73
  610. package/src/tools/useOnFirstMount.ts +18 -0
  611. package/src/tools/useSetClassName.ts +4 -1
  612. package/src/vite-plugin/tsconfig.json +2 -1
  613. package/src/vite-plugin/vite-plugin.ts +71 -36
  614. package/stories/account/pages/Account.stories.tsx +18 -0
  615. package/stories/account/pages/FederatedIdentity.stories.tsx +38 -0
  616. package/stories/account/pages/Log.stories.tsx +356 -0
  617. package/stories/account/pages/Password.stories.tsx +28 -0
  618. package/stories/account/pages/Sessions.stories.tsx +59 -0
  619. package/stories/account/pages/Totp.stories.tsx +182 -0
  620. package/stories/login/pages/Code.stories.tsx +18 -0
  621. package/stories/login/pages/DeleteAccountConfirm.stories.tsx +18 -0
  622. package/stories/login/pages/DeleteCredential.stories.tsx +18 -0
  623. package/stories/login/pages/Error.stories.tsx +28 -0
  624. package/stories/login/pages/FrontchannelLogout.stories.tsx +18 -0
  625. package/stories/login/pages/IdpReviewUserProfile.stories.tsx +18 -0
  626. package/stories/login/pages/Info.stories.tsx +52 -0
  627. package/stories/login/pages/Login.stories.tsx +182 -0
  628. package/stories/login/pages/LoginConfigTotp.stories.tsx +43 -0
  629. package/stories/login/pages/LoginDeviceVerifyUserCode.stories.tsx +18 -0
  630. package/stories/login/pages/LoginIdpLinkConfirm.stories.tsx +18 -0
  631. package/stories/login/pages/LoginIdpLinkEmail.stories.tsx +18 -0
  632. package/stories/login/pages/LoginOauth2DeviceVerifyUserCode.stories.tsx +18 -0
  633. package/stories/login/pages/LoginOauthGrant.stories.tsx +18 -0
  634. package/stories/login/pages/LoginOtp.stories.tsx +18 -0
  635. package/stories/login/pages/LoginPageExpired.stories.tsx +18 -0
  636. package/stories/login/pages/LoginPassword.stories.tsx +18 -0
  637. package/stories/login/pages/LoginRecoveryAuthnCodeConfig.stories.tsx +18 -0
  638. package/stories/login/pages/LoginRecoveryAuthnCodeInput.stories.tsx +18 -0
  639. package/stories/login/pages/LoginResetOtp.stories.tsx +18 -0
  640. package/stories/login/pages/LoginResetPassword.stories.tsx +31 -0
  641. package/stories/login/pages/LoginUpdatePassword.stories.tsx +18 -0
  642. package/stories/login/pages/LoginUpdateProfile.stories.tsx +18 -0
  643. package/stories/login/pages/LoginUsername.stories.tsx +31 -0
  644. package/stories/login/pages/LoginVerifyEmail.stories.tsx +18 -0
  645. package/stories/login/pages/LoginX509Info.stories.tsx +18 -0
  646. package/stories/login/pages/LogoutConfirm.stories.tsx +18 -0
  647. package/stories/login/pages/Register.stories.tsx +114 -0
  648. package/stories/login/pages/SamlPostForm.stories.tsx +18 -0
  649. package/stories/login/pages/SelectAuthenticator.stories.tsx +43 -0
  650. package/stories/login/pages/Terms.stories.tsx +42 -0
  651. package/stories/login/pages/UpdateEmail.stories.tsx +18 -0
  652. package/stories/login/pages/WebauthnAuthenticate.stories.tsx +18 -0
  653. package/stories/login/pages/WebauthnError.stories.tsx +18 -0
  654. package/stories/login/pages/WebauthnRegister.stories.tsx +18 -0
  655. package/tools/Array.prototype.every.js +2 -1
  656. package/tools/Array.prototype.every.js.map +1 -1
  657. package/tools/ExtractAfterStartingWith.d.ts +1 -0
  658. package/tools/ExtractAfterStartingWith.js +2 -0
  659. package/tools/ExtractAfterStartingWith.js.map +1 -0
  660. package/tools/HTMLElement.prototype.prepend.js.map +1 -1
  661. package/tools/Object.fromEntries.d.ts +1 -0
  662. package/tools/Object.fromEntries.js +17 -0
  663. package/tools/Object.fromEntries.js.map +1 -0
  664. package/tools/StatefulObservable/StatefulObservable.d.ts +8 -0
  665. package/tools/StatefulObservable/StatefulObservable.js +36 -0
  666. package/tools/StatefulObservable/StatefulObservable.js.map +1 -0
  667. package/tools/StatefulObservable/hooks/index.d.ts +2 -0
  668. package/tools/StatefulObservable/hooks/index.js +3 -0
  669. package/tools/StatefulObservable/hooks/index.js.map +1 -0
  670. package/tools/StatefulObservable/hooks/useObservable.d.ts +8 -0
  671. package/tools/StatefulObservable/hooks/useObservable.js +17 -0
  672. package/tools/StatefulObservable/hooks/useObservable.js.map +1 -0
  673. package/tools/StatefulObservable/hooks/useRerenderOnChange.d.ts +5 -0
  674. package/tools/StatefulObservable/hooks/useRerenderOnChange.js +14 -0
  675. package/tools/StatefulObservable/hooks/useRerenderOnChange.js.map +1 -0
  676. package/tools/StatefulObservable/index.d.ts +2 -0
  677. package/tools/StatefulObservable/index.js +3 -0
  678. package/tools/StatefulObservable/index.js.map +1 -0
  679. package/tools/ValueOf.d.ts +2 -0
  680. package/tools/ValueOf.js +2 -0
  681. package/tools/ValueOf.js.map +1 -0
  682. package/tools/clsx.d.ts +3 -2
  683. package/tools/clsx.js +5 -41
  684. package/tools/clsx.js.map +1 -1
  685. package/tools/clsx_withTransform.d.ts +5 -0
  686. package/tools/clsx_withTransform.js +43 -0
  687. package/tools/clsx_withTransform.js.map +1 -0
  688. package/tools/deepAssign.d.ts +1 -0
  689. package/tools/deepAssign.js +41 -16
  690. package/tools/deepAssign.js.map +1 -1
  691. package/tools/formatNumber.js +2 -1
  692. package/tools/formatNumber.js.map +1 -1
  693. package/tools/structuredCloneButFunctions.d.ts +7 -0
  694. package/tools/structuredCloneButFunctions.js +19 -0
  695. package/tools/structuredCloneButFunctions.js.map +1 -0
  696. package/tools/useConstCallback.js.map +1 -1
  697. package/tools/useInsertLinkTags.d.ts +11 -6
  698. package/tools/useInsertLinkTags.js +53 -52
  699. package/tools/useInsertLinkTags.js.map +1 -1
  700. package/tools/useInsertScriptTags.d.ts +15 -6
  701. package/tools/useInsertScriptTags.js +56 -61
  702. package/tools/useInsertScriptTags.js.map +1 -1
  703. package/tools/useOnFirstMount.d.ts +2 -0
  704. package/tools/useOnFirstMount.js +15 -0
  705. package/tools/useOnFirstMount.js.map +1 -0
  706. package/tools/useSetClassName.js.map +1 -1
  707. package/vite-plugin/index.js +51308 -5
  708. package/vite-plugin/vite-plugin.d.ts +3 -3
  709. package/account/Fallback.d.ts +0 -5
  710. package/account/Fallback.js.map +0 -1
  711. package/account/kcContext/KcContext.js.map +0 -1
  712. package/account/kcContext/createGetKcContext.d.ts +0 -19
  713. package/account/kcContext/createGetKcContext.js +0 -73
  714. package/account/kcContext/createGetKcContext.js.map +0 -1
  715. package/account/kcContext/getKcContext.d.ts +0 -13
  716. package/account/kcContext/getKcContext.js +0 -13
  717. package/account/kcContext/getKcContext.js.map +0 -1
  718. package/account/kcContext/getKcContextFromWindow.d.ts +0 -8
  719. package/account/kcContext/getKcContextFromWindow.js +0 -5
  720. package/account/kcContext/getKcContextFromWindow.js.map +0 -1
  721. package/account/kcContext/index.d.ts +0 -1
  722. package/account/kcContext/index.js +0 -2
  723. package/account/kcContext/index.js.map +0 -1
  724. package/account/kcContext/kcContextMocks.js +0 -215
  725. package/account/kcContext/kcContextMocks.js.map +0 -1
  726. package/account/lib/useGetClassName.d.ts +0 -7
  727. package/account/lib/useGetClassName.js +0 -19
  728. package/account/lib/useGetClassName.js.map +0 -1
  729. package/bin/copy-keycloak-resources-to-public.d.ts +0 -4
  730. package/bin/copy-keycloak-resources-to-public.js +0 -72
  731. package/bin/copy-keycloak-resources-to-public.js.map +0 -1
  732. package/bin/download-builtin-keycloak-theme.d.ts +0 -4
  733. package/bin/download-builtin-keycloak-theme.js +0 -76
  734. package/bin/download-builtin-keycloak-theme.js.map +0 -1
  735. package/bin/eject-keycloak-page.d.ts +0 -5
  736. package/bin/eject-keycloak-page.js +0 -137
  737. package/bin/eject-keycloak-page.js.map +0 -1
  738. package/bin/initialize-email-theme.d.ts +0 -4
  739. package/bin/initialize-email-theme.js +0 -119
  740. package/bin/initialize-email-theme.js.map +0 -1
  741. package/bin/keycloakify/buildJars/buildJar.d.ts +0 -15
  742. package/bin/keycloakify/buildJars/buildJar.js +0 -213
  743. package/bin/keycloakify/buildJars/buildJar.js.map +0 -1
  744. package/bin/keycloakify/buildJars/buildJars.d.ts +0 -7
  745. package/bin/keycloakify/buildJars/buildJars.js +0 -104
  746. package/bin/keycloakify/buildJars/buildJars.js.map +0 -1
  747. package/bin/keycloakify/buildJars/extensionVersions.d.ts +0 -12
  748. package/bin/keycloakify/buildJars/extensionVersions.js +0 -7
  749. package/bin/keycloakify/buildJars/extensionVersions.js.map +0 -1
  750. package/bin/keycloakify/buildJars/generatePom.d.ts +0 -13
  751. package/bin/keycloakify/buildJars/generatePom.js +0 -95
  752. package/bin/keycloakify/buildJars/generatePom.js.map +0 -1
  753. package/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.d.ts +0 -7
  754. package/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.js +0 -57
  755. package/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.js.map +0 -1
  756. package/bin/keycloakify/buildJars/index.d.ts +0 -1
  757. package/bin/keycloakify/buildJars/index.js +0 -18
  758. package/bin/keycloakify/buildJars/index.js.map +0 -1
  759. package/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl +0 -521
  760. package/bin/keycloakify/generateFtl/generateFtl.d.ts +0 -23
  761. package/bin/keycloakify/generateFtl/generateFtl.js +0 -169
  762. package/bin/keycloakify/generateFtl/generateFtl.js.map +0 -1
  763. package/bin/keycloakify/generateFtl/index.d.ts +0 -1
  764. package/bin/keycloakify/generateFtl/index.js +0 -18
  765. package/bin/keycloakify/generateFtl/index.js.map +0 -1
  766. package/bin/keycloakify/generateSrcMainResources/bringInAccountV1.d.ts +0 -9
  767. package/bin/keycloakify/generateSrcMainResources/bringInAccountV1.js +0 -153
  768. package/bin/keycloakify/generateSrcMainResources/bringInAccountV1.js.map +0 -1
  769. package/bin/keycloakify/generateSrcMainResources/generateMessageProperties.d.ts +0 -8
  770. package/bin/keycloakify/generateSrcMainResources/generateMessageProperties.js +0 -271
  771. package/bin/keycloakify/generateSrcMainResources/generateMessageProperties.js.map +0 -1
  772. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResources.d.ts +0 -7
  773. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResources.js +0 -109
  774. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResources.js.map +0 -1
  775. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForMainTheme.d.ts +0 -17
  776. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForMainTheme.js +0 -342
  777. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForMainTheme.js.map +0 -1
  778. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForThemeVariant.d.ts +0 -8
  779. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForThemeVariant.js +0 -47
  780. package/bin/keycloakify/generateSrcMainResources/generateSrcMainResourcesForThemeVariant.js.map +0 -1
  781. package/bin/keycloakify/generateSrcMainResources/index.d.ts +0 -1
  782. package/bin/keycloakify/generateSrcMainResources/index.js +0 -18
  783. package/bin/keycloakify/generateSrcMainResources/index.js.map +0 -1
  784. package/bin/keycloakify/generateSrcMainResources/readExtraPageNames.d.ts +0 -5
  785. package/bin/keycloakify/generateSrcMainResources/readExtraPageNames.js +0 -105
  786. package/bin/keycloakify/generateSrcMainResources/readExtraPageNames.js.map +0 -1
  787. package/bin/keycloakify/generateSrcMainResources/readFieldNameUsage.d.ts +0 -6
  788. package/bin/keycloakify/generateSrcMainResources/readFieldNameUsage.js +0 -142
  789. package/bin/keycloakify/generateSrcMainResources/readFieldNameUsage.js.map +0 -1
  790. package/bin/keycloakify/generateStartKeycloakTestingContainer.d.ts +0 -13
  791. package/bin/keycloakify/generateStartKeycloakTestingContainer.js +0 -86
  792. package/bin/keycloakify/generateStartKeycloakTestingContainer.js.map +0 -1
  793. package/bin/keycloakify/index.d.ts +0 -1
  794. package/bin/keycloakify/index.js +0 -18
  795. package/bin/keycloakify/index.js.map +0 -1
  796. package/bin/keycloakify/keycloakify.d.ts +0 -4
  797. package/bin/keycloakify/keycloakify.js +0 -121
  798. package/bin/keycloakify/keycloakify.js.map +0 -1
  799. package/bin/keycloakify/replacers/replaceImportsInCssCode.d.ts +0 -15
  800. package/bin/keycloakify/replacers/replaceImportsInCssCode.js +0 -88
  801. package/bin/keycloakify/replacers/replaceImportsInCssCode.js.map +0 -1
  802. package/bin/keycloakify/replacers/replaceImportsInInlineCssCode.d.ts +0 -9
  803. package/bin/keycloakify/replacers/replaceImportsInInlineCssCode.js +0 -38
  804. package/bin/keycloakify/replacers/replaceImportsInInlineCssCode.js.map +0 -1
  805. package/bin/keycloakify/replacers/replaceImportsInJsCode/index.d.ts +0 -1
  806. package/bin/keycloakify/replacers/replaceImportsInJsCode/index.js +0 -18
  807. package/bin/keycloakify/replacers/replaceImportsInJsCode/index.js.map +0 -1
  808. package/bin/keycloakify/replacers/replaceImportsInJsCode/replaceImportsInJsCode.d.ts +0 -12
  809. package/bin/keycloakify/replacers/replaceImportsInJsCode/replaceImportsInJsCode.js +0 -70
  810. package/bin/keycloakify/replacers/replaceImportsInJsCode/replaceImportsInJsCode.js.map +0 -1
  811. package/bin/keycloakify/replacers/replaceImportsInJsCode/vite.d.ts +0 -13
  812. package/bin/keycloakify/replacers/replaceImportsInJsCode/vite.js +0 -95
  813. package/bin/keycloakify/replacers/replaceImportsInJsCode/vite.js.map +0 -1
  814. package/bin/keycloakify/replacers/replaceImportsInJsCode/webpack.d.ts +0 -12
  815. package/bin/keycloakify/replacers/replaceImportsInJsCode/webpack.js +0 -103
  816. package/bin/keycloakify/replacers/replaceImportsInJsCode/webpack.js.map +0 -1
  817. package/bin/main.d.ts +0 -5
  818. package/bin/main.js.map +0 -1
  819. package/bin/shared/KeycloakVersionRange.d.ts +0 -5
  820. package/bin/shared/KeycloakVersionRange.js +0 -3
  821. package/bin/shared/KeycloakVersionRange.js.map +0 -1
  822. package/bin/shared/buildOptions.js +0 -215
  823. package/bin/shared/buildOptions.js.map +0 -1
  824. package/bin/shared/copyKeycloakResourcesToPublic.d.ts +0 -8
  825. package/bin/shared/copyKeycloakResourcesToPublic.js +0 -175
  826. package/bin/shared/copyKeycloakResourcesToPublic.js.map +0 -1
  827. package/bin/shared/downloadAndUnzip.d.ts +0 -16
  828. package/bin/shared/downloadAndUnzip.js +0 -255
  829. package/bin/shared/downloadAndUnzip.js.map +0 -1
  830. package/bin/shared/downloadBuiltinKeycloakTheme.d.ts +0 -9
  831. package/bin/shared/downloadBuiltinKeycloakTheme.js +0 -316
  832. package/bin/shared/downloadBuiltinKeycloakTheme.js.map +0 -1
  833. package/bin/shared/downloadKeycloakStaticResources.d.ts +0 -11
  834. package/bin/shared/downloadKeycloakStaticResources.js +0 -102
  835. package/bin/shared/downloadKeycloakStaticResources.js.map +0 -1
  836. package/bin/shared/getJarFileBasename.d.ts +0 -6
  837. package/bin/shared/getJarFileBasename.js +0 -10
  838. package/bin/shared/getJarFileBasename.js.map +0 -1
  839. package/bin/shared/getThemeSrcDirPath.d.ts +0 -6
  840. package/bin/shared/getThemeSrcDirPath.js +0 -123
  841. package/bin/shared/getThemeSrcDirPath.js.map +0 -1
  842. package/bin/shared/metaInfKeycloakThemes.d.ts +0 -17
  843. package/bin/shared/metaInfKeycloakThemes.js +0 -51
  844. package/bin/shared/metaInfKeycloakThemes.js.map +0 -1
  845. package/bin/shared/pageIds.d.ts +0 -4
  846. package/bin/shared/pageIds.js +0 -49
  847. package/bin/shared/pageIds.js.map +0 -1
  848. package/bin/shared/promptKeycloakVersion.d.ts +0 -5
  849. package/bin/shared/promptKeycloakVersion.js +0 -105
  850. package/bin/shared/promptKeycloakVersion.js.map +0 -1
  851. package/bin/start-keycloak-container.d.ts +0 -4
  852. package/bin/start-keycloak-container.js +0 -209
  853. package/bin/start-keycloak-container.js.map +0 -1
  854. package/bin/tools/OptionalIfCanBeUndefined.d.ts +0 -14
  855. package/bin/tools/OptionalIfCanBeUndefined.js +0 -3
  856. package/bin/tools/OptionalIfCanBeUndefined.js.map +0 -1
  857. package/bin/tools/SemVer.d.ts +0 -26
  858. package/bin/tools/SemVer.js +0 -119
  859. package/bin/tools/SemVer.js.map +0 -1
  860. package/bin/tools/String.prototype.replaceAll.d.ts +0 -1
  861. package/bin/tools/String.prototype.replaceAll.js +0 -29
  862. package/bin/tools/String.prototype.replaceAll.js.map +0 -1
  863. package/bin/tools/crawl.d.ts +0 -5
  864. package/bin/tools/crawl.js +0 -74
  865. package/bin/tools/crawl.js.map +0 -1
  866. package/bin/tools/crc32.d.ts +0 -9
  867. package/bin/tools/crc32.js +0 -64
  868. package/bin/tools/crc32.js.map +0 -1
  869. package/bin/tools/deflate.d.ts +0 -24
  870. package/bin/tools/deflate.js +0 -164
  871. package/bin/tools/deflate.js.map +0 -1
  872. package/bin/tools/fetchProxyOptions.d.ts +0 -5
  873. package/bin/tools/fetchProxyOptions.js +0 -172
  874. package/bin/tools/fetchProxyOptions.js.map +0 -1
  875. package/bin/tools/fs.existsAsync.d.ts +0 -1
  876. package/bin/tools/fs.existsAsync.js +0 -86
  877. package/bin/tools/fs.existsAsync.js.map +0 -1
  878. package/bin/tools/fs.rm.d.ts +0 -8
  879. package/bin/tools/fs.rm.js +0 -151
  880. package/bin/tools/fs.rm.js.map +0 -1
  881. package/bin/tools/fs.rmSync.d.ts +0 -8
  882. package/bin/tools/fs.rmSync.js +0 -58
  883. package/bin/tools/fs.rmSync.js.map +0 -1
  884. package/bin/tools/getAbsoluteAndInOsFormatPath.d.ts +0 -4
  885. package/bin/tools/getAbsoluteAndInOsFormatPath.js +0 -16
  886. package/bin/tools/getAbsoluteAndInOsFormatPath.js.map +0 -1
  887. package/bin/tools/getNpmWorkspaceRootDirPath.d.ts +0 -5
  888. package/bin/tools/getNpmWorkspaceRootDirPath.js +0 -74
  889. package/bin/tools/getNpmWorkspaceRootDirPath.js.map +0 -1
  890. package/bin/tools/getThisCodebaseRootDirPath.d.ts +0 -1
  891. package/bin/tools/getThisCodebaseRootDirPath.js +0 -43
  892. package/bin/tools/getThisCodebaseRootDirPath.js.map +0 -1
  893. package/bin/tools/isInside.d.ts +0 -4
  894. package/bin/tools/isInside.js +0 -10
  895. package/bin/tools/isInside.js.map +0 -1
  896. package/bin/tools/kebabCaseToSnakeCase.d.ts +0 -1
  897. package/bin/tools/kebabCaseToSnakeCase.js +0 -35
  898. package/bin/tools/kebabCaseToSnakeCase.js.map +0 -1
  899. package/bin/tools/logger.d.ts +0 -12
  900. package/bin/tools/logger.js +0 -23
  901. package/bin/tools/logger.js.map +0 -1
  902. package/bin/tools/octokit-addons/getLatestsSemVersionedTag.d.ts +0 -14
  903. package/bin/tools/octokit-addons/getLatestsSemVersionedTag.js +0 -116
  904. package/bin/tools/octokit-addons/getLatestsSemVersionedTag.js.map +0 -1
  905. package/bin/tools/octokit-addons/listTags.d.ts +0 -13
  906. package/bin/tools/octokit-addons/listTags.js +0 -155
  907. package/bin/tools/octokit-addons/listTags.js.map +0 -1
  908. package/bin/tools/partitionPromiseSettledResults.d.ts +0 -2
  909. package/bin/tools/partitionPromiseSettledResults.js +0 -41
  910. package/bin/tools/partitionPromiseSettledResults.js.map +0 -1
  911. package/bin/tools/readThisNpmProjectVersion.d.ts +0 -1
  912. package/bin/tools/readThisNpmProjectVersion.js +0 -37
  913. package/bin/tools/readThisNpmProjectVersion.js.map +0 -1
  914. package/bin/tools/tee.d.ts +0 -3
  915. package/bin/tools/tee.js +0 -37
  916. package/bin/tools/tee.js.map +0 -1
  917. package/bin/tools/transformCodebase.d.ts +0 -20
  918. package/bin/tools/transformCodebase.js +0 -97
  919. package/bin/tools/transformCodebase.js.map +0 -1
  920. package/bin/tools/trimIndent.d.ts +0 -5
  921. package/bin/tools/trimIndent.js +0 -82
  922. package/bin/tools/trimIndent.js.map +0 -1
  923. package/bin/tools/unzip.d.ts +0 -2
  924. package/bin/tools/unzip.js +0 -274
  925. package/bin/tools/unzip.js.map +0 -1
  926. package/index.d.ts +0 -1
  927. package/index.js +0 -2
  928. package/index.js.map +0 -1
  929. package/lib/isStorybook.d.ts +0 -1
  930. package/lib/isStorybook.js +0 -2
  931. package/lib/isStorybook.js.map +0 -1
  932. package/lib/keycloakJsAdapter.d.ts +0 -51
  933. package/lib/keycloakJsAdapter.js +0 -74
  934. package/lib/keycloakJsAdapter.js.map +0 -1
  935. package/lib/useGetClassName.d.ts +0 -10
  936. package/lib/useGetClassName.js +0 -14
  937. package/lib/useGetClassName.js.map +0 -1
  938. package/login/Fallback.d.ts +0 -11
  939. package/login/Fallback.js.map +0 -1
  940. package/login/kcContext/KcContext.js.map +0 -1
  941. package/login/kcContext/createGetKcContext.d.ts +0 -19
  942. package/login/kcContext/createGetKcContext.js +0 -109
  943. package/login/kcContext/createGetKcContext.js.map +0 -1
  944. package/login/kcContext/getKcContext.d.ts +0 -13
  945. package/login/kcContext/getKcContext.js +0 -13
  946. package/login/kcContext/getKcContext.js.map +0 -1
  947. package/login/kcContext/getKcContextFromWindow.d.ts +0 -8
  948. package/login/kcContext/getKcContextFromWindow.js +0 -5
  949. package/login/kcContext/getKcContextFromWindow.js.map +0 -1
  950. package/login/kcContext/index.d.ts +0 -1
  951. package/login/kcContext/index.js +0 -2
  952. package/login/kcContext/index.js.map +0 -1
  953. package/login/kcContext/kcContextMocks.js +0 -390
  954. package/login/kcContext/kcContextMocks.js.map +0 -1
  955. package/login/lib/useGetClassName.d.ts +0 -7
  956. package/login/lib/useGetClassName.js +0 -130
  957. package/login/lib/useGetClassName.js.map +0 -1
  958. package/src/account/kcContext/createGetKcContext.ts +0 -108
  959. package/src/account/kcContext/getKcContext.ts +0 -21
  960. package/src/account/kcContext/getKcContextFromWindow.ts +0 -11
  961. package/src/account/kcContext/index.ts +0 -1
  962. package/src/account/kcContext/kcContextMocks.ts +0 -260
  963. package/src/account/lib/useGetClassName.ts +0 -20
  964. package/src/bin/download-builtin-keycloak-theme.ts +0 -30
  965. package/src/bin/eject-keycloak-page.ts +0 -67
  966. package/src/bin/keycloakify/generateStartKeycloakTestingContainer.ts +0 -60
  967. package/src/bin/shared/downloadAndUnzip.ts +0 -203
  968. package/src/bin/shared/downloadBuiltinKeycloakTheme.ts +0 -264
  969. package/src/bin/shared/pageIds.ts +0 -49
  970. package/src/bin/start-keycloak-container.ts +0 -141
  971. package/src/bin/tools/logger.ts +0 -27
  972. package/src/bin/tools/unzip.ts +0 -141
  973. package/src/index.ts +0 -1
  974. package/src/lib/isStorybook.ts +0 -1
  975. package/src/lib/keycloakJsAdapter.ts +0 -118
  976. package/src/lib/useGetClassName.ts +0 -18
  977. package/src/login/kcContext/createGetKcContext.ts +0 -159
  978. package/src/login/kcContext/getKcContext.ts +0 -21
  979. package/src/login/kcContext/getKcContextFromWindow.ts +0 -11
  980. package/src/login/kcContext/index.ts +0 -1
  981. package/src/login/kcContext/kcContextMocks.ts +0 -631
  982. package/src/login/lib/useGetClassName.ts +0 -132
  983. package/src/tools/AndByDiscriminatingKey.ts +0 -25
  984. package/src/tools/deepClone.ts +0 -17
  985. package/src/tools/memoize.ts +0 -55
  986. package/tools/AndByDiscriminatingKey.d.ts +0 -5
  987. package/tools/AndByDiscriminatingKey.js +0 -2
  988. package/tools/AndByDiscriminatingKey.js.map +0 -1
  989. package/tools/deepClone.d.ts +0 -2
  990. package/tools/deepClone.js +0 -14
  991. package/tools/deepClone.js.map +0 -1
  992. package/tools/memoize.d.ts +0 -7
  993. package/tools/memoize.js +0 -38
  994. package/tools/memoize.js.map +0 -1
  995. package/vite-plugin/index.js.map +0 -1
  996. package/vite-plugin/tsconfig.tsbuildinfo +0 -1
  997. package/vite-plugin/vite-plugin.js +0 -138
  998. package/vite-plugin/vite-plugin.js.map +0 -1
  999. /package/account/{kcContext → KcContext}/KcContext.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"LoginRecoveryAuthnCodeConfig.js","sourceRoot":"","sources":["../../src/login/pages/LoginRecoveryAuthnCodeConfig.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAIlF,MAAM,EAAE,mBAAmB,EAAE,GAAG,yBAAyB,EAAE,CAAC;AAE5D,MAAM,CAAC,OAAO,UAAU,4BAA4B,CAAC,KAA8F;IAC/I,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CA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AC,eAAe,CAAC,EAAE,YAAY,CAAC,sBAAsB,CAAC,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAAC,EACxH,EAAE,EAAC,6BAA6B,EAChC,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,MAAM,YAEX,GAAG,CAAC,8BAA8B,CAAC,GAC/B,IACV,CACN,CAAC,CAAC,CAAC,CACA,gBACI,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,IAAI,CACX,YAAY,CAAC,eAAe,CAAC,EAC7B,YAAY,CAAC,sBAAsB,CAAC,EACpC,YAAY,CAAC,oBAAoB,CAAC,EAClC,YAAY,CAAC,oBAAoB,CAAC,CACrC,EACD,EAAE,EAAC,2BAA2B,EAC9B,KAAK,EAAE,MAAM,CAAC,gCAAgC,CAAC,EAC/C,QAAQ,SACV,CACL,IACE,IACA,CACd,CAAC;AACN,CAAC;AAED,SAAS,mBAAmB,CAAC,KAAuF;IAChH,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAErC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAErB,OAAO,CACH,cAAK,EAAE,EAAC,iBAAiB,EAAC,SAAS,EAAE,YAAY,CAAC,oBAAoB,CAAC,YACnE,cAAK,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,YACrD,cAAK,SAAS,EAAC,UAAU,YACrB,4BACI,gBAAO,IAAI,EAAC,UAAU,EAAC,EAAE,EAAC,iBAAiB,EAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,IAAI,EAAC,cAAc,EAAE,IAAI,GAAI,EACrG,GAAG,CAAC,qBAAqB,CAAC,IACvB,GACN,GACJ,GACJ,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"LoginRecoveryAuthnCodeConfig.js","sourceRoot":"","sources":["../../src/login/pages/LoginRecoveryAuthnCodeConfig.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC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AAC,cAAc,EAAE,IAAI,GAAI,EACrG,GAAG,CAAC,qBAAqB,CAAC,IACvB,IACN,IACJ,IACJ,CACT,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ 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";
@@ -1,14 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { clsx } from "../../tools/clsx";
3
- import { useGetClassName } from "../../login/lib/useGetClassName";
2
+ import { getKcClsx } from "../../login/lib/kcClsx";
4
3
  export default function LoginRecoveryAuthnCodeInput(props) {
5
4
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
6
- const { getClassName } = useGetClassName({
5
+ const { kcClsx } = getKcClsx({
7
6
  doUseDefaultCss,
8
7
  classes
9
8
  });
10
9
  const { url, messagesPerField, recoveryAuthnCodesInputBean } = kcContext;
11
10
  const { msg, msgStr } = i18n;
12
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, headerNode: msg("auth-recovery-code-header"), displayMessage: !messagesPerField.existsError("recoveryCodeInput"), children: _jsxs("form", { id: "kc-recovery-code-login-form", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: [_jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { htmlFor: "recoveryCodeInput", className: getClassName("kcLabelClass"), children: msg("auth-recovery-code-prompt", `${recoveryAuthnCodesInputBean.codeNumber}`) }) }), _jsxs("div", { className: getClassName("kcInputWrapperClass"), children: [_jsx("input", { tabIndex: 1, id: "recoveryCodeInput", name: "recoveryCodeInput", "aria-invalid": messagesPerField.existsError("recoveryCodeInput"), autoComplete: "off", type: "text", className: getClassName("kcInputClass"), autoFocus: true }), messagesPerField.existsError("recoveryCodeInput") && (_jsx("span", { id: "input-error", className: getClassName("kcInputErrorMessageClass"), "aria-live": "polite", children: messagesPerField.get("recoveryCodeInput") }))] })] }), _jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { id: "kc-form-options", className: getClassName("kcFormOptionsWrapperClass"), children: _jsx("div", { className: getClassName("kcFormOptionsWrapperClass") }) }), _jsx("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: _jsx("input", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), name: "login", id: "kc-login", type: "submit", value: msgStr("doLogIn") }) })] })] }) }));
11
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, headerNode: msg("auth-recovery-code-header"), displayMessage: !messagesPerField.existsError("recoveryCodeInput") }, { children: _jsxs("form", Object.assign({ id: "kc-recovery-code-login-form", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: [_jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ htmlFor: "recoveryCodeInput", className: kcClsx("kcLabelClass") }, { children: msg("auth-recovery-code-prompt", `${recoveryAuthnCodesInputBean.codeNumber}`) })) })), _jsxs("div", Object.assign({ className: kcClsx("kcInputWrapperClass") }, { children: [_jsx("input", { tabIndex: 1, id: "recoveryCodeInput", name: "recoveryCodeInput", "aria-invalid": messagesPerField.existsError("recoveryCodeInput"), autoComplete: "off", type: "text", className: kcClsx("kcInputClass"), autoFocus: true }), messagesPerField.existsError("recoveryCodeInput") && (_jsx("span", Object.assign({ id: "input-error", className: kcClsx("kcInputErrorMessageClass"), "aria-live": "polite" }, { children: messagesPerField.get("recoveryCodeInput") })))] }))] })), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ id: "kc-form-options", className: kcClsx("kcFormOptionsWrapperClass") }, { children: _jsx("div", { className: kcClsx("kcFormOptionsWrapperClass") }) })), _jsx("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: _jsx("input", { className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", "kcButtonBlockClass", "kcButtonLargeClass"), name: "login", id: "kc-login", type: "submit", value: msgStr("doLogIn") }) }))] }))] })) })));
13
12
  }
14
13
  //# sourceMappingURL=LoginRecoveryAuthnCodeInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginRecoveryAuthnCodeInput.js","sourceRoot":"","sources":["../../src/login/pages/LoginRecoveryAuthnCodeInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAIxE,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,KAA6F;IAC7I,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEtE,MAAM,EAAE,YAAY,EAAE,GAAG,eAAe,CAAC;QACrC,eAAe;QACf,OAAO;KACV,CAAC,CAAC;IAEH,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,GAAG,SAAS,CAAC;IAEzE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAE7B,OAAO,CACH,KAAC,QAAQ,IACC,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAC/C,UAAU,EAAE,GAAG,CAAC,2BAA2B,CAAC,EAC5C,cAAc,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,mBAAmB,CAAC,YAElE,gBAAM,EAAE,EAAC,6BAA6B,EAAC,SAAS,EAAE,Y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{ PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginResetOtp(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-reset-otp.ftl";
@@ -1,15 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Fragment } from "react";
3
- import { clsx } from "../../tools/clsx";
4
- import { useGetClassName } from "../../login/lib/useGetClassName";
3
+ import { getKcClsx } from "../../login/lib/kcClsx";
5
4
  export default function LoginResetOtp(props) {
6
5
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
7
- const { getClassName } = useGetClassName({
6
+ const { kcClsx } = getKcClsx({
8
7
  doUseDefaultCss,
9
8
  classes
10
9
  });
11
10
  const { url, messagesPerField, configuredOtpCredentials } = kcContext;
12
11
  const { msg, msgStr } = i18n;
13
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayMessage: !messagesPerField.existsError("totp"), headerNode: msg("doLogIn"), children: _jsx("form", { id: "kc-otp-reset-form", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: _jsx("div", { className: getClassName("kcInputWrapperClass"), children: _jsxs("div", { className: getClassName("kcInfoAreaWrapperClass"), children: [_jsx("p", { id: "kc-otp-reset-form-description", children: msg("otp-reset-description") }), configuredOtpCredentials.userOtpCredentials.map((otpCredential, index) => (_jsxs(Fragment, { children: [_jsx("input", { id: `kc-otp-credential-${index}`, className: getClassName("kcLoginOTPListInputClass"), type: "radio", name: "selectedCredentialId", value: otpCredential.id, defaultChecked: otpCredential.id === configuredOtpCredentials.selectedCredentialId }), _jsx("label", { htmlFor: `kc-otp-credential-${index}`, className: getClassName("kcLoginOTPListClass"), tabIndex: index, children: _jsxs("span", { className: getClassName("kcLoginOTPListItemHeaderClass"), children: [_jsx("span", { className: getClassName("kcLoginOTPListItemIconBodyClass"), children: _jsx("i", { className: getClassName("kcLoginOTPListItemIconClass"), "aria-hidden": "true" }) }), _jsx("span", { className: getClassName("kcLoginOTPListItemTitleClass"), children: otpCredential.userLabel })] }) })] }, otpCredential.id))), _jsx("div", { className: getClassName("kcFormGroupClass"), children: _jsx("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: _jsx("input", { id: "kc-otp-reset-form-submit", className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), type: "submit", value: msgStr("doSubmit") }) }) })] }) }) }) }));
12
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayMessage: !messagesPerField.existsError("totp"), headerNode: msg("doLogIn") }, { children: _jsx("form", Object.assign({ id: "kc-otp-reset-form", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: _jsx("div", Object.assign({ className: kcClsx("kcInputWrapperClass") }, { children: _jsxs("div", Object.assign({ className: kcClsx("kcInfoAreaWrapperClass") }, { children: [_jsx("p", Object.assign({ id: "kc-otp-reset-form-description" }, { children: msg("otp-reset-description") })), configuredOtpCredentials.userOtpCredentials.map((otpCredential, index) => (_jsxs(Fragment, { children: [_jsx("input", { id: `kc-otp-credential-${index}`, className: kcClsx("kcLoginOTPListInputClass"), type: "radio", name: "selectedCredentialId", value: otpCredential.id, defaultChecked: otpCredential.id === configuredOtpCredentials.selectedCredentialId }), _jsx("label", Object.assign({ htmlFor: `kc-otp-credential-${index}`, className: kcClsx("kcLoginOTPListClass"), tabIndex: index }, { children: _jsxs("span", Object.assign({ className: kcClsx("kcLoginOTPListItemHeaderClass") }, { children: [_jsx("span", Object.assign({ className: kcClsx("kcLoginOTPListItemIconBodyClass") }, { children: _jsx("i", { className: kcClsx("kcLoginOTPListItemIconClass"), "aria-hidden": "true" }) })), _jsx("span", Object.assign({ className: kcClsx("kcLoginOTPListItemTitleClass") }, { children: otpCredential.userLabel }))] })) }))] }, otpCredential.id))), _jsx("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: _jsx("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: _jsx("input", { id: "kc-otp-reset-form-submit", className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", "kcButtonBlockClass", "kcButtonLargeClass"), type: "submit", value: msgStr("doSubmit") }) })) }))] })) })) })) })));
14
13
  }
15
14
  //# sourceMappingURL=LoginResetOtp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginResetOtp.js","sourceRoot":"","sources":["../../src/login/pages/LoginResetOtp.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAIxE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAA6E;IAC/G,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEtE,MAAM,EAAE,YAAY,EAAE,GAAG,eAAe,CAAC;QACrC,eAAe;QACf,OAAO;KACV,CAAC,CAAC;IAEH,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAEtE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAE7B,OAAO,CACH,KAAC,QAAQ,IACC,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAC/C,cAAc,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,MAAM,CAAC,EACrD,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,YAE1B,eAAM,EAAE,EAAC,mBAAmB,EAAC,SAAS,EAAE,YAAY,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,WAAW,EAAE,MAAM,EAAC,MAA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}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ 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";
@@ -1,19 +1,18 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { clsx } from "../../tools/clsx";
3
- import { useGetClassName } from "../../login/lib/useGetClassName";
2
+ import { getKcClsx } from "../../login/lib/kcClsx";
4
3
  export default function LoginResetPassword(props) {
5
4
  var _a;
6
5
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
7
- const { getClassName } = useGetClassName({
6
+ const { kcClsx } = getKcClsx({
8
7
  doUseDefaultCss,
9
8
  classes
10
9
  });
11
10
  const { url, realm, auth, messagesPerField } = kcContext;
12
11
  const { msg, msgStr } = i18n;
13
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayInfo: true, displayMessage: !messagesPerField.existsError("username"), infoNode: realm.duplicateEmailsAllowed ? msg("emailInstructionUsername") : msg("emailInstruction"), headerNode: msg("emailForgotTitle"), children: _jsxs("form", { id: "kc-reset-password-form", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: [_jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { htmlFor: "username", className: getClassName("kcLabelClass"), children: !realm.loginWithEmailAllowed
12
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayInfo: true, displayMessage: !messagesPerField.existsError("username"), infoNode: realm.duplicateEmailsAllowed ? msg("emailInstructionUsername") : msg("emailInstruction"), headerNode: msg("emailForgotTitle") }, { children: _jsxs("form", Object.assign({ id: "kc-reset-password-form", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: [_jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ htmlFor: "username", className: kcClsx("kcLabelClass") }, { children: !realm.loginWithEmailAllowed
14
13
  ? msg("username")
15
14
  : !realm.registrationEmailAsUsername
16
15
  ? msg("usernameOrEmail")
17
- : msg("email") }) }), _jsxs("div", { className: getClassName("kcInputWrapperClass"), children: [_jsx("input", { type: "text", id: "username", name: "username", className: getClassName("kcInputClass"), autoFocus: true, defaultValue: (_a = auth.attemptedUsername) !== null && _a !== void 0 ? _a : "", "aria-invalid": messagesPerField.existsError("username") }), messagesPerField.existsError("username") && (_jsx("span", { id: "input-error-username", className: getClassName("kcInputErrorMessageClass"), "aria-live": "polite", children: messagesPerField.get("username") }))] })] }), _jsxs("div", { className: clsx(getClassName("kcFormGroupClass"), getClassName("kcFormSettingClass")), children: [_jsx("div", { id: "kc-form-options", className: getClassName("kcFormOptionsClass"), children: _jsx("div", { className: getClassName("kcFormOptionsWrapperClass"), children: _jsx("span", { children: _jsx("a", { href: url.loginUrl, children: msg("backToLogin") }) }) }) }), _jsx("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: _jsx("input", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), type: "submit", value: msgStr("doSubmit") }) })] })] }) }));
16
+ : msg("email") })) })), _jsxs("div", Object.assign({ className: kcClsx("kcInputWrapperClass") }, { children: [_jsx("input", { type: "text", id: "username", name: "username", className: kcClsx("kcInputClass"), autoFocus: true, defaultValue: (_a = auth.attemptedUsername) !== null && _a !== void 0 ? _a : "", "aria-invalid": messagesPerField.existsError("username") }), messagesPerField.existsError("username") && (_jsx("span", Object.assign({ id: "input-error-username", className: kcClsx("kcInputErrorMessageClass"), "aria-live": "polite" }, { children: messagesPerField.get("username") })))] }))] })), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass", "kcFormSettingClass") }, { children: [_jsx("div", Object.assign({ id: "kc-form-options", className: kcClsx("kcFormOptionsClass") }, { children: _jsx("div", Object.assign({ className: kcClsx("kcFormOptionsWrapperClass") }, { children: _jsx("span", { children: _jsx("a", Object.assign({ href: url.loginUrl }, { children: msg("backToLogin") })) }) })) })), _jsx("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: _jsx("input", { className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", "kcButtonBlockClass", "kcButtonLargeClass"), type: "submit", value: msgStr("doSubmit") }) }))] }))] })) })));
18
17
  }
19
18
  //# sourceMappingURL=LoginResetPassword.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginResetPassword.js","sourceRoot":"","sources":["../../src/login/pages/LoginResetPassword.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAIxE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,KAAkF;;IACzH,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEtE,MAAM,EAAE,YAAY,EAAE,GAAG,eAAe,CAAC;QACrC,eAAe;QACf,OAAO;KACV,CAAC,CAAC;IAEH,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,SAAS,CAAC;IAEzD,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAE7B,OAAO,CACH,KAAC,QAAQ,IACC,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAC/C,WAAW,QACX,cAAc,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,UAAU,CAAC,EACzD,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,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AC,eAAY,QAAQ,gBAC5F,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAC,IAC9B,CACV,KACC,KACJ,EACN,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,iBAC5D,4BAAK,EAAE,EAAC,iBAAiB,EAAC,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,gBAC7D,4BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC,gBAC/C,yBACI,0BAAG,IAAI,EAAE,GAAG,CAAC,QAAQ,gBAAG,GAAG,CAAC,aAAa,CAAC,IAAK,GAC5C,IACL,IACJ,EAEN,4BAAK,EAAE,EAAC,iBAAiB,EAAC,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,gBAC7D,gBACI,SAAS,EAAE,MAAM,CAAC,eAAe,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EACtG,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,GAC3B,IACA,KACJ,KACH,IACA,CACd,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ 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";
@@ -1,25 +1,24 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useReducer } from "react";
3
- import { clsx } from "../../tools/clsx";
4
3
  import { assert } from "tsafe/assert";
5
- import { useGetClassName } from "../../login/lib/useGetClassName";
4
+ import { getKcClsx } from "../../login/lib/kcClsx";
6
5
  export default function LoginUpdatePassword(props) {
7
6
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
8
- const { getClassName } = useGetClassName({
7
+ const { kcClsx } = getKcClsx({
9
8
  doUseDefaultCss,
10
9
  classes
11
10
  });
12
11
  const { msg, msgStr } = i18n;
13
12
  const { url, messagesPerField, isAppInitiatedAction } = kcContext;
14
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayMessage: !messagesPerField.existsError("password", "password-confirm"), headerNode: msg("updatePasswordTitle"), children: _jsxs("form", { id: "kc-passwd-update-form", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: [_jsx("div", { className: getClassName("kcFormGroupClass"), children: _jsxs("div", { className: getClassName("kcLabelWrapperClass"), children: [_jsx("label", { htmlFor: "password-new", className: getClassName("kcLabelClass"), children: msg("passwordNew") }), _jsxs("div", { className: getClassName("kcInputWrapperClass"), children: [_jsx(PasswordWrapper, { getClassName, i18n, passwordInputId: "password-new", children: _jsx("input", { type: "password", id: "password-new", name: "password-new", className: getClassName("kcInputClass"), autoFocus: true, autoComplete: "new-password", "aria-invalid": messagesPerField.existsError("password", "password-confirm") }) }), messagesPerField.existsError("password") && (_jsx("span", { id: "input-error-password", className: getClassName("kcInputErrorMessageClass"), "aria-live": "polite", children: messagesPerField.get("password") }))] })] }) }), _jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { htmlFor: "password-confirm", className: getClassName("kcLabelClass"), children: msg("passwordConfirm") }) }), _jsxs("div", { className: getClassName("kcInputWrapperClass"), children: [_jsx(PasswordWrapper, { getClassName, i18n, passwordInputId: "password-confirm", children: _jsx("input", { type: "password", id: "password-confirm", name: "password-confirm", className: getClassName("kcInputClass"), autoFocus: true, autoComplete: "new-password", "aria-invalid": messagesPerField.existsError("password", "password-confirm") }) }), messagesPerField.existsError("password-confirm") && (_jsx("span", { id: "input-error-password-confirm", className: getClassName("kcInputErrorMessageClass"), "aria-live": "polite", children: messagesPerField.get("password-confirm") }))] }), _jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx(LogoutOtherSessions, { getClassName, i18n }), _jsxs("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: [_jsx("input", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), isAppInitiatedAction && getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), type: "submit", value: msgStr("doSubmit") }), isAppInitiatedAction && (_jsx("button", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonDefaultClass"), getClassName("kcButtonLargeClass")), type: "submit", name: "cancel-aia", value: "true", children: msg("doCancel") }))] })] })] })] }) }));
13
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayMessage: !messagesPerField.existsError("password", "password-confirm"), headerNode: msg("updatePasswordTitle") }, { children: _jsxs("form", Object.assign({ id: "kc-passwd-update-form", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: [_jsx("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: _jsxs("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: [_jsx("label", Object.assign({ htmlFor: "password-new", className: kcClsx("kcLabelClass") }, { children: msg("passwordNew") })), _jsxs("div", Object.assign({ className: kcClsx("kcInputWrapperClass") }, { children: [_jsx(PasswordWrapper, Object.assign({ kcClsx: kcClsx, i18n: i18n, passwordInputId: "password-new" }, { children: _jsx("input", { type: "password", id: "password-new", name: "password-new", className: kcClsx("kcInputClass"), autoFocus: true, autoComplete: "new-password", "aria-invalid": messagesPerField.existsError("password", "password-confirm") }) })), messagesPerField.existsError("password") && (_jsx("span", Object.assign({ id: "input-error-password", className: kcClsx("kcInputErrorMessageClass"), "aria-live": "polite" }, { children: messagesPerField.get("password") })))] }))] })) })), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ htmlFor: "password-confirm", className: kcClsx("kcLabelClass") }, { children: msg("passwordConfirm") })) })), _jsxs("div", Object.assign({ className: kcClsx("kcInputWrapperClass") }, { children: [_jsx(PasswordWrapper, Object.assign({ kcClsx: kcClsx, i18n: i18n, passwordInputId: "password-confirm" }, { children: _jsx("input", { type: "password", id: "password-confirm", name: "password-confirm", className: kcClsx("kcInputClass"), autoFocus: true, autoComplete: "new-password", "aria-invalid": messagesPerField.existsError("password", "password-confirm") }) })), messagesPerField.existsError("password-confirm") && (_jsx("span", Object.assign({ id: "input-error-password-confirm", className: kcClsx("kcInputErrorMessageClass"), "aria-live": "polite" }, { children: messagesPerField.get("password-confirm") })))] })), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx(LogoutOtherSessions, { kcClsx: kcClsx, i18n: i18n }), _jsxs("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: [_jsx("input", { className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", isAppInitiatedAction && "kcButtonBlockClass", "kcButtonLargeClass"), type: "submit", value: msgStr("doSubmit") }), isAppInitiatedAction && (_jsx("button", Object.assign({ className: kcClsx("kcButtonClass", "kcButtonDefaultClass", "kcButtonLargeClass"), type: "submit", name: "cancel-aia", value: "true" }, { children: msg("doCancel") })))] }))] }))] }))] })) })));
15
14
  }
16
15
  function LogoutOtherSessions(props) {
17
- const { getClassName, i18n } = props;
16
+ const { kcClsx, i18n } = props;
18
17
  const { msg } = i18n;
19
- return (_jsx("div", { id: "kc-form-options", className: getClassName("kcFormOptionsClass"), children: _jsx("div", { className: getClassName("kcFormOptionsWrapperClass"), children: _jsx("div", { className: "checkbox", children: _jsxs("label", { children: [_jsx("input", { type: "checkbox", id: "logout-sessions", name: "logout-sessions", value: "on", defaultChecked: true }), msg("logoutOtherSessions")] }) }) }) }));
18
+ return (_jsx("div", Object.assign({ id: "kc-form-options", className: kcClsx("kcFormOptionsClass") }, { children: _jsx("div", Object.assign({ className: kcClsx("kcFormOptionsWrapperClass") }, { children: _jsx("div", Object.assign({ className: "checkbox" }, { children: _jsxs("label", { children: [_jsx("input", { type: "checkbox", id: "logout-sessions", name: "logout-sessions", value: "on", defaultChecked: true }), msg("logoutOtherSessions")] }) })) })) })));
20
19
  }
21
20
  function PasswordWrapper(props) {
22
- const { getClassName, i18n, passwordInputId, children } = props;
21
+ const { kcClsx, i18n, passwordInputId, children } = props;
23
22
  const { msgStr } = i18n;
24
23
  const [isPasswordRevealed, toggleIsPasswordRevealed] = useReducer((isPasswordRevealed) => !isPasswordRevealed, false);
25
24
  useEffect(() => {
@@ -27,6 +26,6 @@ function PasswordWrapper(props) {
27
26
  assert(passwordInputElement instanceof HTMLInputElement);
28
27
  passwordInputElement.type = isPasswordRevealed ? "text" : "password";
29
28
  }, [isPasswordRevealed]);
30
- return (_jsxs("div", { className: getClassName("kcInputGroup"), children: [children, _jsx("button", { type: "button", className: getClassName("kcFormPasswordVisibilityButtonClass"), "aria-label": msgStr(isPasswordRevealed ? "hidePassword" : "showPassword"), "aria-controls": passwordInputId, onClick: toggleIsPasswordRevealed, children: _jsx("i", { className: getClassName(isPasswordRevealed ? "kcFormPasswordVisibilityIconHide" : "kcFormPasswordVisibilityIconShow"), "aria-hidden": true }) })] }));
29
+ return (_jsxs("div", Object.assign({ className: kcClsx("kcInputGroup") }, { children: [children, _jsx("button", Object.assign({ type: "button", className: kcClsx("kcFormPasswordVisibilityButtonClass"), "aria-label": msgStr(isPasswordRevealed ? "hidePassword" : "showPassword"), "aria-controls": passwordInputId, onClick: toggleIsPasswordRevealed }, { children: _jsx("i", { className: kcClsx(isPasswordRevealed ? "kcFormPasswordVisibilityIconHide" : "kcFormPasswordVisibilityIconShow"), "aria-hidden": true }) }))] })));
31
30
  }
32
31
  //# sourceMappingURL=LoginUpdatePassword.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginUpdatePassword.js","sourceRoot":"","sources":["../../src/login/pages/LoginUpdatePassword.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC9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AE,GAAG,KAAK,CAAC;IAE1D,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAExB,MAAM,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,GAAG,UAAU,CAAC,CAAC,kBAA2B,EAAE,EAAE,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;IAE/H,SAAS,CAAC,GAAG,EAAE;QACX,MAAM,oBAAoB,GAAG,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;QAEtE,MAAM,CAAC,oBAAoB,YAAY,gBAAgB,CAAC,CAAC;QAEzD,oBAAoB,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC;IACzE,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,6BAAK,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,iBACjC,QAAQ,EACT,+BACI,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,MAAM,CAAC,qCAAqC,CAAC,gBAC5C,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,mBACzD,eAAe,EAC9B,OAAO,EAAE,wBAAwB,gBAEjC,YAAG,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,kCAAkC,CAAC,wBAAgB,IAC7H,KACP,CACT,CAAC;AACN,CAAC"}
@@ -1,13 +1,14 @@
1
1
  /// <reference types="react" />
2
+ import type { LazyOrNot } from "../../tools/LazyOrNot";
3
+ import type { UserProfileFormFieldsProps } from "../../login/UserProfileFormFieldsProps";
2
4
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
5
+ import type { KcContext } from "../KcContext";
4
6
  import type { I18n } from "../i18n";
5
- import type { LazyOrNot } from "../../tools/LazyOrNot";
6
- import type { UserProfileFormFieldsProps } from "../../login/UserProfileFormFields";
7
7
  type LoginUpdateProfileProps = PageProps<Extract<KcContext, {
8
8
  pageId: "login-update-profile.ftl";
9
9
  }>, I18n> & {
10
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
10
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps<KcContext, I18n>) => JSX.Element>;
11
+ doMakeUserConfirmPassword: boolean;
11
12
  };
12
13
  export default function LoginUpdateProfile(props: LoginUpdateProfileProps): JSX.Element;
13
14
  export {};
@@ -1,19 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { clsx } from "../../tools/clsx";
4
- import { useGetClassName } from "../../login/lib/useGetClassName";
3
+ import { getKcClsx } from "../../login/lib/kcClsx";
5
4
  export default function LoginUpdateProfile(props) {
6
- const { kcContext, i18n, doUseDefaultCss, Template, classes, UserProfileFormFields } = props;
7
- const { getClassName } = useGetClassName({
5
+ const { kcContext, i18n, doUseDefaultCss, Template, classes, UserProfileFormFields, doMakeUserConfirmPassword } = props;
6
+ const { kcClsx } = getKcClsx({
8
7
  doUseDefaultCss,
9
8
  classes
10
9
  });
11
- const { url, messagesPerField, isAppInitiatedAction } = kcContext;
10
+ const { url, isAppInitiatedAction } = kcContext;
12
11
  const { msg, msgStr } = i18n;
13
12
  const [isFormSubmittable, setIsFormSubmittable] = useState(false);
14
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayRequiredFields: true, headerNode: msg("loginProfileTitle"), children: _jsxs("form", { id: "kc-update-profile-form", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: [_jsx(UserProfileFormFields, { kcContext,
15
- i18n,
16
- getClassName,
17
- messagesPerField, onIsFormSubmittableValueChange: setIsFormSubmittable }), _jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { id: "kc-form-options", className: getClassName("kcFormOptionsClass"), children: _jsx("div", { className: getClassName("kcFormOptionsWrapperClass") }) }), _jsxs("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: [_jsx("input", { disabled: !isFormSubmittable, className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), !isAppInitiatedAction && getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), type: "submit", value: msgStr("doSubmit") }), isAppInitiatedAction && (_jsx("button", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonDefaultClass"), getClassName("kcButtonLargeClass")), type: "submit", name: "cancel-aia", value: "true", formNoValidate: true, children: msg("doCancel") }))] })] })] }) }));
13
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayRequiredFields: true, headerNode: msg("loginProfileTitle") }, { children: _jsxs("form", Object.assign({ id: "kc-update-profile-form", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: [_jsx(UserProfileFormFields, { kcContext: kcContext, i18n: i18n, kcClsx: kcClsx, onIsFormSubmittableValueChange: setIsFormSubmittable, doMakeUserConfirmPassword: doMakeUserConfirmPassword }), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ id: "kc-form-options", className: kcClsx("kcFormOptionsClass") }, { children: _jsx("div", { className: kcClsx("kcFormOptionsWrapperClass") }) })), _jsxs("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: [_jsx("input", { disabled: !isFormSubmittable, className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", !isAppInitiatedAction && "kcButtonBlockClass", "kcButtonLargeClass"), type: "submit", value: msgStr("doSubmit") }), isAppInitiatedAction && (_jsx("button", Object.assign({ className: kcClsx("kcButtonClass", "kcButtonDefaultClass", "kcButtonLargeClass"), type: "submit", name: "cancel-aia", value: "true", formNoValidate: true }, { children: msg("doCancel") })))] }))] }))] })) })));
18
14
  }
19
15
  //# sourceMappingURL=LoginUpdateProfile.js.map
@@ -1 +1 @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B,EAAE,oBAAoB,CAAC,EAChF,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,MAAM,EACZ,cAAc,sBAEb,GAAG,CAAC,UAAU,CAAC,IACX,CACZ,KACC,KACJ,KACH,IACA,CACd,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginUsername(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-username.ftl";
@@ -1,24 +1,24 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { clsx } from "../../tools/clsx";
4
- import { useGetClassName } from "../../login/lib/useGetClassName";
4
+ import { getKcClsx } from "../../login/lib/kcClsx";
5
5
  export default function LoginUsername(props) {
6
6
  var _a, _b;
7
7
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
8
- const { getClassName } = useGetClassName({
8
+ const { kcClsx } = getKcClsx({
9
9
  doUseDefaultCss,
10
10
  classes
11
11
  });
12
12
  const { social, realm, url, usernameHidden, login, registrationDisabled, messagesPerField } = kcContext;
13
13
  const { msg, msgStr } = i18n;
14
14
  const [isLoginButtonDisabled, setIsLoginButtonDisabled] = useState(false);
15
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayMessage: !messagesPerField.existsError("username"), displayInfo: realm.password && realm.registrationAllowed && !registrationDisabled, infoNode: _jsx("div", { id: "kc-registration", children: _jsxs("span", { children: [msg("noAccount"), _jsx("a", { tabIndex: 6, href: url.registrationUrl, children: msg("doRegister") })] }) }), headerNode: msg("doLogIn"), socialProvidersNode: _jsx(_Fragment, { children: realm.password && ((_a = social.providers) === null || _a === void 0 ? void 0 : _a.length) && (_jsxs("div", { id: "kc-social-providers", className: getClassName("kcFormSocialAccountSectionClass"), children: [_jsx("hr", {}), _jsx("h2", { children: msg("identity-provider-login-label") }), _jsx("ul", { className: clsx(getClassName("kcFormSocialAccountListClass"), social.providers.length > 3 && getClassName("kcFormSocialAccountListGridClass")), children: social.providers.map((...[p, , providers]) => (_jsx("li", { children: _jsxs("a", { id: `social-${p.alias}`, className: clsx(getClassName("kcFormSocialAccountListButtonClass"), providers.length > 3 && getClassName("kcFormSocialAccountGridItem")), type: "button", href: p.loginUrl, children: [p.iconClasses && (_jsx("i", { className: clsx(getClassName("kcCommonLogoIdP"), p.iconClasses), "aria-hidden": "true" })), _jsx("span", { className: clsx(getClassName("kcFormSocialAccountNameClass"), p.iconClasses && "kc-social-icon-text"), children: p.displayName })] }) }, p.alias))) })] })) }), children: _jsx("div", { id: "kc-form", children: _jsx("div", { id: "kc-form-wrapper", children: realm.password && (_jsxs("form", { id: "kc-form-login", onSubmit: () => {
15
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayMessage: !messagesPerField.existsError("username"), displayInfo: realm.password && realm.registrationAllowed && !registrationDisabled, infoNode: _jsx("div", Object.assign({ id: "kc-registration" }, { children: _jsxs("span", { children: [msg("noAccount"), _jsx("a", Object.assign({ tabIndex: 6, href: url.registrationUrl }, { children: msg("doRegister") }))] }) })), headerNode: msg("doLogIn"), socialProvidersNode: _jsx(_Fragment, { children: realm.password && ((_a = social.providers) === null || _a === void 0 ? void 0 : _a.length) && (_jsxs("div", Object.assign({ id: "kc-social-providers", className: kcClsx("kcFormSocialAccountSectionClass") }, { children: [_jsx("hr", {}), _jsx("h2", { children: msg("identity-provider-login-label") }), _jsx("ul", Object.assign({ className: kcClsx("kcFormSocialAccountListClass", social.providers.length > 3 && "kcFormSocialAccountListGridClass") }, { children: social.providers.map((...[p, , providers]) => (_jsx("li", { children: _jsxs("a", Object.assign({ id: `social-${p.alias}`, className: kcClsx("kcFormSocialAccountListButtonClass", providers.length > 3 && "kcFormSocialAccountGridItem"), type: "button", href: p.loginUrl }, { children: [p.iconClasses && _jsx("i", { className: clsx(kcClsx("kcCommonLogoIdP"), p.iconClasses), "aria-hidden": "true" }), _jsx("span", Object.assign({ className: clsx(kcClsx("kcFormSocialAccountNameClass"), p.iconClasses && "kc-social-icon-text") }, { children: p.displayName }))] })) }, p.alias))) }))] }))) }) }, { children: _jsx("div", Object.assign({ id: "kc-form" }, { children: _jsx("div", Object.assign({ id: "kc-form-wrapper" }, { children: realm.password && (_jsxs("form", Object.assign({ id: "kc-form-login", onSubmit: () => {
16
16
  setIsLoginButtonDisabled(true);
17
17
  return true;
18
- }, action: url.loginAction, method: "post", children: [!usernameHidden && (_jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("label", { htmlFor: "username", className: getClassName("kcLabelClass"), children: !realm.loginWithEmailAllowed
18
+ }, action: url.loginAction, method: "post" }, { children: [!usernameHidden && (_jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("label", Object.assign({ htmlFor: "username", className: kcClsx("kcLabelClass") }, { children: !realm.loginWithEmailAllowed
19
19
  ? msg("username")
20
20
  : !realm.registrationEmailAsUsername
21
21
  ? msg("usernameOrEmail")
22
- : msg("email") }), _jsx("input", { tabIndex: 2, id: "username", className: getClassName("kcInputClass"), name: "username", defaultValue: (_b = login.username) !== null && _b !== void 0 ? _b : "", type: "text", autoFocus: true, autoComplete: "off", "aria-invalid": messagesPerField.existsError("username") }), messagesPerField.existsError("username") && (_jsx("span", { id: "input-error", className: getClassName("kcInputErrorMessageClass"), "aria-live": "polite", children: messagesPerField.getFirstError("username") }))] })), _jsx("div", { className: clsx(getClassName("kcFormGroupClass"), getClassName("kcFormSettingClass")), children: _jsx("div", { id: "kc-form-options", children: realm.rememberMe && !usernameHidden && (_jsx("div", { className: "checkbox", children: _jsxs("label", { children: [_jsx("input", { tabIndex: 3, id: "rememberMe", name: "rememberMe", type: "checkbox", defaultChecked: !!login.rememberMe }), " ", msg("rememberMe")] }) })) }) }), _jsx("div", { id: "kc-form-buttons", className: getClassName("kcFormGroupClass"), children: _jsx("input", { tabIndex: 4, disabled: isLoginButtonDisabled, className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), getClassName("kcButtonBlockClass"), getClassName("kcButtonLargeClass")), name: "login", id: "kc-login", type: "submit", value: msgStr("doLogIn") }) })] })) }) }) }));
22
+ : msg("email") })), _jsx("input", { tabIndex: 2, id: "username", className: kcClsx("kcInputClass"), name: "username", defaultValue: (_b = login.username) !== null && _b !== void 0 ? _b : "", type: "text", autoFocus: true, autoComplete: "off", "aria-invalid": messagesPerField.existsError("username") }), messagesPerField.existsError("username") && (_jsx("span", Object.assign({ id: "input-error", className: kcClsx("kcInputErrorMessageClass"), "aria-live": "polite" }, { children: messagesPerField.getFirstError("username") })))] }))), _jsx("div", Object.assign({ className: kcClsx("kcFormGroupClass", "kcFormSettingClass") }, { children: _jsx("div", Object.assign({ id: "kc-form-options" }, { children: realm.rememberMe && !usernameHidden && (_jsx("div", Object.assign({ className: "checkbox" }, { children: _jsxs("label", { children: [_jsx("input", { tabIndex: 3, id: "rememberMe", name: "rememberMe", type: "checkbox", defaultChecked: !!login.rememberMe }), " ", msg("rememberMe")] }) }))) })) })), _jsx("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormGroupClass") }, { children: _jsx("input", { tabIndex: 4, disabled: isLoginButtonDisabled, className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", "kcButtonBlockClass", "kcButtonLargeClass"), name: "login", id: "kc-login", type: "submit", value: msgStr("doLogIn") }) }))] }))) })) })) })));
23
23
  }
24
24
  //# sourceMappingURL=LoginUsername.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginUsername.js","sourceRoot":"","sources":["../../src/login/pages/LoginUsername.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,wB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CAAC,UAAU,CAAC,GACxD,EACD,gBAAgB,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CACzC,6BAAM,EAAE,EAAC,aAAa,EAAC,SAAS,EAAE,MAAM,CAAC,0BAA0B,CAAC,eAAY,QAAQ,gBACnF,gBAAgB,CAAC,aAAa,CAAC,UAAU,CAAC,IACxC,CACV,KACC,CACT,EAED,4BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,gBAC5D,4BAAK,EAAE,EAAC,iBAAiB,gBACpB,KAAK,CAAC,UAAU,IAAI,CAAC,cAAc,IAAI,CACpC,4BAAK,SAAS,EAAC,UAAU,gBACrB,4BACI,gBACI,QAAQ,EAAE,CAAC,EACX,EAAE,EAAC,YAAY,EACf,IAAI,EAAC,YAAY,EACjB,IAAI,EAAC,UAAU,EACf,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GACpC,EAAC,GAAG,EACL,GAAG,CAAC,YAAY,CAAC,IACd,IACN,CACT,IACC,IACJ,EAEN,4BAAK,EAAE,EAAC,iBAAiB,EAAC,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,gBAC3D,gBACI,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,qBAAqB,EAC/B,SAAS,EAAE,MAAM,CAAC,eAAe,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EACtG,IAAI,EAAC,OAAO,EACZ,EAAE,EAAC,UAAU,EACb,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,GAC1B,IACA,KACH,CACV,IACC,IACJ,IACC,CACd,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginVerifyEmail(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-verify-email.ftl";
@@ -4,6 +4,6 @@ export default function LoginVerifyEmail(props) {
4
4
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
5
5
  const { msg } = i18n;
6
6
  const { url, user } = kcContext;
7
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, displayInfo: true, headerNode: msg("emailVerifyTitle"), infoNode: _jsxs("p", { className: "instruction", children: [msg("emailVerifyInstruction2"), _jsx("br", {}), _jsx("a", { href: url.loginAction, children: msg("doClickHere") }), "\u00A0", msg("emailVerifyInstruction3")] }), children: _jsx("p", { className: "instruction", children: msg("emailVerifyInstruction1", (_a = user === null || user === void 0 ? void 0 : user.email) !== null && _a !== void 0 ? _a : "") }) }));
7
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, displayInfo: true, headerNode: msg("emailVerifyTitle"), infoNode: _jsxs("p", Object.assign({ className: "instruction" }, { children: [msg("emailVerifyInstruction2"), _jsx("br", {}), _jsx("a", Object.assign({ href: url.loginAction }, { children: msg("doClickHere") })), "\u00A0", msg("emailVerifyInstruction3")] })) }, { children: _jsx("p", Object.assign({ className: "instruction" }, { children: msg("emailVerifyInstruction1", (_a = user === null || user === void 0 ? void 0 : user.email) !== null && _a !== void 0 ? _a : "") })) })));
8
8
  }
9
9
  //# sourceMappingURL=LoginVerifyEmail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginVerifyEmail.js","sourceRoot":"","sources":["../../src/login/pages/LoginVerifyEmail.tsx"],"names":[],"mappings":";AAIA,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAgF;;IACrH,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEtE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAErB,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;I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C,yBAAyB,CAAC,KAC/B,gBAGR,0BAAG,SAAS,EAAC,aAAa,gBAAE,GAAG,CAAC,yBAAyB,EAAE,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,mCAAI,EAAE,CAAC,IAAK,IAC3E,CACd,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginX509Info(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-x509-info.ftl";
@@ -1,14 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { clsx } from "../../tools/clsx";
3
- import { useGetClassName } from "../../login/lib/useGetClassName";
2
+ import { getKcClsx } from "../../login/lib/kcClsx";
4
3
  export default function LoginX509Info(props) {
5
4
  const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;
6
- const { getClassName } = useGetClassName({
5
+ const { kcClsx } = getKcClsx({
7
6
  doUseDefaultCss,
8
7
  classes
9
8
  });
10
9
  const { url, x509 } = kcContext;
11
10
  const { msg, msgStr } = i18n;
12
- return (_jsx(Template, { kcContext, i18n, doUseDefaultCss, classes, headerNode: msg("doLogIn"), children: _jsxs("form", { id: "kc-x509-login-info", className: getClassName("kcFormClass"), action: url.loginAction, method: "post", children: [_jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { htmlFor: "certificate_subjectDN", className: getClassName("kcLabelClass"), children: msg("clientCertificate") }) }), x509.formData.subjectDN ? (_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { id: "certificate_subjectDN", className: getClassName("kcLabelClass"), children: x509.formData.subjectDN }) })) : (_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { id: "certificate_subjectDN", className: getClassName("kcLabelClass"), children: msg("noCertificate") }) }))] }), _jsx("div", { className: getClassName("kcFormGroupClass"), children: x509.formData.isUserEnabled && (_jsxs(_Fragment, { children: [_jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { htmlFor: "username", className: getClassName("kcLabelClass"), children: msg("doX509Login") }) }), _jsx("div", { className: getClassName("kcLabelWrapperClass"), children: _jsx("label", { id: "username", className: getClassName("kcLabelClass"), children: x509.formData.username }) })] })) }), _jsxs("div", { className: getClassName("kcFormGroupClass"), children: [_jsx("div", { id: "kc-form-options", className: getClassName("kcFormOptionsClass"), children: _jsx("div", { className: getClassName("kcFormOptionsWrapperClass") }) }), _jsx("div", { id: "kc-form-buttons", className: getClassName("kcFormButtonsClass"), children: _jsxs("div", { className: getClassName("kcFormButtonsWrapperClass"), children: [_jsx("input", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonPrimaryClass"), getClassName("kcButtonLargeClass")), name: "login", id: "kc-login", type: "submit", value: msgStr("doContinue") }), x509.formData.isUserEnabled && (_jsx("input", { className: clsx(getClassName("kcButtonClass"), getClassName("kcButtonDefaultClass"), getClassName("kcButtonLargeClass")), name: "cancel", id: "kc-cancel", type: "submit", value: msgStr("doIgnore") }))] }) })] })] }) }));
11
+ return (_jsx(Template, Object.assign({ kcContext: kcContext, i18n: i18n, doUseDefaultCss: doUseDefaultCss, classes: classes, headerNode: msg("doLogIn") }, { children: _jsxs("form", Object.assign({ id: "kc-x509-login-info", className: kcClsx("kcFormClass"), action: url.loginAction, method: "post" }, { children: [_jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ htmlFor: "certificate_subjectDN", className: kcClsx("kcLabelClass") }, { children: msg("clientCertificate") })) })), x509.formData.subjectDN ? (_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ id: "certificate_subjectDN", className: kcClsx("kcLabelClass") }, { children: x509.formData.subjectDN })) }))) : (_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ id: "certificate_subjectDN", className: kcClsx("kcLabelClass") }, { children: msg("noCertificate") })) })))] })), _jsx("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: x509.formData.isUserEnabled && (_jsxs(_Fragment, { children: [_jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ htmlFor: "username", className: kcClsx("kcLabelClass") }, { children: msg("doX509Login") })) })), _jsx("div", Object.assign({ className: kcClsx("kcLabelWrapperClass") }, { children: _jsx("label", Object.assign({ id: "username", className: kcClsx("kcLabelClass") }, { children: x509.formData.username })) }))] })) })), _jsxs("div", Object.assign({ className: kcClsx("kcFormGroupClass") }, { children: [_jsx("div", Object.assign({ id: "kc-form-options", className: kcClsx("kcFormOptionsClass") }, { children: _jsx("div", { className: kcClsx("kcFormOptionsWrapperClass") }) })), _jsx("div", Object.assign({ id: "kc-form-buttons", className: kcClsx("kcFormButtonsClass") }, { children: _jsxs("div", Object.assign({ className: kcClsx("kcFormButtonsWrapperClass") }, { children: [_jsx("input", { className: kcClsx("kcButtonClass", "kcButtonPrimaryClass", "kcButtonLargeClass"), name: "login", id: "kc-login", type: "submit", value: msgStr("doContinue") }), x509.formData.isUserEnabled && (_jsx("input", { className: kcClsx("kcButtonClass", "kcButtonDefaultClass", "kcButtonLargeClass"), name: "cancel", id: "kc-cancel", type: "submit", value: msgStr("doIgnore") }))] })) }))] }))] })) })));
13
12
  }
14
13
  //# sourceMappingURL=LoginX509Info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoginX509Info.js","sourceRoot":"","sources":["../../src/login/pages/LoginX509Info.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC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AAC,eAAe,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAChF,IAAI,EAAC,OAAO,EACZ,EAAE,EAAC,UAAU,EACb,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,GAC7B,EACD,IAAI,CAAC,QAAQ,CAAC,aAAa,IAAI,CAC5B,gBACI,SAAS,EAAE,MAAM,CAAC,eAAe,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAChF,IAAI,EAAC,QAAQ,EACb,EAAE,EAAC,WAAW,EACd,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,GAC3B,CACL,KACC,IACJ,KACJ,KACH,IACA,CACd,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PageProps } from "../../login/pages/PageProps";
3
- import type { KcContext } from "../kcContext";
3
+ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LogoutConfirm(props: PageProps<Extract<KcContext, {
6
6
  pageId: "logout-confirm.ftl";