@auth0/auth0-acul-react 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +128 -0
  3. package/dist/export/getting-started.d.ts +336 -0
  4. package/dist/export/hooks.d.ts +1 -0
  5. package/dist/export/index.d.ts +6 -0
  6. package/dist/export/screens.d.ts +76 -0
  7. package/dist/hooks/common/auth0-themes.d.ts +48 -0
  8. package/dist/hooks/common/auth0-themes.js +2 -0
  9. package/dist/hooks/common/auth0-themes.js.map +1 -0
  10. package/dist/hooks/common/current-screen.d.ts +75 -0
  11. package/dist/hooks/common/current-screen.js +2 -0
  12. package/dist/hooks/common/current-screen.js.map +1 -0
  13. package/dist/hooks/common/errors.d.ts +103 -0
  14. package/dist/hooks/common/errors.js +2 -0
  15. package/dist/hooks/common/errors.js.map +1 -0
  16. package/dist/hooks/context/index.d.ts +120 -0
  17. package/dist/hooks/context/index.js +2 -0
  18. package/dist/hooks/context/index.js.map +1 -0
  19. package/dist/hooks/index.d.ts +10 -0
  20. package/dist/hooks/utility/login-identifiers.d.ts +26 -0
  21. package/dist/hooks/utility/login-identifiers.js +2 -0
  22. package/dist/hooks/utility/login-identifiers.js.map +1 -0
  23. package/dist/hooks/utility/polling-manager.d.ts +93 -0
  24. package/dist/hooks/utility/polling-manager.js +2 -0
  25. package/dist/hooks/utility/polling-manager.js.map +1 -0
  26. package/dist/hooks/utility/resend-manager.d.ts +74 -0
  27. package/dist/hooks/utility/resend-manager.js +2 -0
  28. package/dist/hooks/utility/resend-manager.js.map +1 -0
  29. package/dist/hooks/utility/signup-identifiers.d.ts +34 -0
  30. package/dist/hooks/utility/signup-identifiers.js +2 -0
  31. package/dist/hooks/utility/signup-identifiers.js.map +1 -0
  32. package/dist/hooks/utility/validate-password.d.ts +36 -0
  33. package/dist/hooks/utility/validate-password.js +2 -0
  34. package/dist/hooks/utility/validate-password.js.map +1 -0
  35. package/dist/hooks/utility/validate-username.d.ts +58 -0
  36. package/dist/hooks/utility/validate-username.js +2 -0
  37. package/dist/hooks/utility/validate-username.js.map +1 -0
  38. package/dist/index.d.ts +78 -0
  39. package/dist/index.js +2 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/screens/accept-invitation.d.ts +5 -0
  42. package/dist/screens/accept-invitation.js +2 -0
  43. package/dist/screens/accept-invitation.js.map +1 -0
  44. package/dist/screens/consent.d.ts +6 -0
  45. package/dist/screens/consent.js +2 -0
  46. package/dist/screens/consent.js.map +1 -0
  47. package/dist/screens/customized-consent.d.ts +6 -0
  48. package/dist/screens/customized-consent.js +2 -0
  49. package/dist/screens/customized-consent.js.map +1 -0
  50. package/dist/screens/device-code-activation-allowed.d.ts +4 -0
  51. package/dist/screens/device-code-activation-allowed.js +2 -0
  52. package/dist/screens/device-code-activation-allowed.js.map +1 -0
  53. package/dist/screens/device-code-activation-denied.d.ts +4 -0
  54. package/dist/screens/device-code-activation-denied.js +2 -0
  55. package/dist/screens/device-code-activation-denied.js.map +1 -0
  56. package/dist/screens/device-code-activation.d.ts +5 -0
  57. package/dist/screens/device-code-activation.js +2 -0
  58. package/dist/screens/device-code-activation.js.map +1 -0
  59. package/dist/screens/device-code-confirmation.d.ts +6 -0
  60. package/dist/screens/device-code-confirmation.js +2 -0
  61. package/dist/screens/device-code-confirmation.js.map +1 -0
  62. package/dist/screens/email-identifier-challenge.d.ts +8 -0
  63. package/dist/screens/email-identifier-challenge.js +2 -0
  64. package/dist/screens/email-identifier-challenge.js.map +1 -0
  65. package/dist/screens/email-otp-challenge.d.ts +7 -0
  66. package/dist/screens/email-otp-challenge.js +2 -0
  67. package/dist/screens/email-otp-challenge.js.map +1 -0
  68. package/dist/screens/email-verification-result.d.ts +4 -0
  69. package/dist/screens/email-verification-result.js +2 -0
  70. package/dist/screens/email-verification-result.js.map +1 -0
  71. package/dist/screens/interstitial-captcha.d.ts +4 -0
  72. package/dist/screens/interstitial-captcha.js +2 -0
  73. package/dist/screens/interstitial-captcha.js.map +1 -0
  74. package/dist/screens/login-email-verification.d.ts +7 -0
  75. package/dist/screens/login-email-verification.js +2 -0
  76. package/dist/screens/login-email-verification.js.map +1 -0
  77. package/dist/screens/login-id.d.ts +9 -0
  78. package/dist/screens/login-id.js +2 -0
  79. package/dist/screens/login-id.js.map +1 -0
  80. package/dist/screens/login-password.d.ts +6 -0
  81. package/dist/screens/login-password.js +2 -0
  82. package/dist/screens/login-password.js.map +1 -0
  83. package/dist/screens/login-passwordless-email-code.d.ts +7 -0
  84. package/dist/screens/login-passwordless-email-code.js +2 -0
  85. package/dist/screens/login-passwordless-email-code.js.map +1 -0
  86. package/dist/screens/login-passwordless-sms-otp.d.ts +7 -0
  87. package/dist/screens/login-passwordless-sms-otp.js +2 -0
  88. package/dist/screens/login-passwordless-sms-otp.js.map +1 -0
  89. package/dist/screens/login.d.ts +8 -0
  90. package/dist/screens/login.js +2 -0
  91. package/dist/screens/login.js.map +1 -0
  92. package/dist/screens/logout-aborted.d.ts +4 -0
  93. package/dist/screens/logout-aborted.js +2 -0
  94. package/dist/screens/logout-aborted.js.map +1 -0
  95. package/dist/screens/logout-complete.d.ts +4 -0
  96. package/dist/screens/logout-complete.js +2 -0
  97. package/dist/screens/logout-complete.js.map +1 -0
  98. package/dist/screens/logout.d.ts +5 -0
  99. package/dist/screens/logout.js +2 -0
  100. package/dist/screens/logout.js.map +1 -0
  101. package/dist/screens/mfa-begin-enroll-options.d.ts +5 -0
  102. package/dist/screens/mfa-begin-enroll-options.js +2 -0
  103. package/dist/screens/mfa-begin-enroll-options.js.map +1 -0
  104. package/dist/screens/mfa-country-codes.d.ts +6 -0
  105. package/dist/screens/mfa-country-codes.js +2 -0
  106. package/dist/screens/mfa-country-codes.js.map +1 -0
  107. package/dist/screens/mfa-detect-browser-capabilities.d.ts +5 -0
  108. package/dist/screens/mfa-detect-browser-capabilities.js +2 -0
  109. package/dist/screens/mfa-detect-browser-capabilities.js.map +1 -0
  110. package/dist/screens/mfa-email-challenge.d.ts +8 -0
  111. package/dist/screens/mfa-email-challenge.js +2 -0
  112. package/dist/screens/mfa-email-challenge.js.map +1 -0
  113. package/dist/screens/mfa-email-list.d.ts +6 -0
  114. package/dist/screens/mfa-email-list.js +2 -0
  115. package/dist/screens/mfa-email-list.js.map +1 -0
  116. package/dist/screens/mfa-enroll-result.d.ts +4 -0
  117. package/dist/screens/mfa-enroll-result.js +2 -0
  118. package/dist/screens/mfa-enroll-result.js.map +1 -0
  119. package/dist/screens/mfa-login-options.d.ts +5 -0
  120. package/dist/screens/mfa-login-options.js +2 -0
  121. package/dist/screens/mfa-login-options.js.map +1 -0
  122. package/dist/screens/mfa-otp-challenge.d.ts +6 -0
  123. package/dist/screens/mfa-otp-challenge.js +2 -0
  124. package/dist/screens/mfa-otp-challenge.js.map +1 -0
  125. package/dist/screens/mfa-otp-enrollment-code.d.ts +6 -0
  126. package/dist/screens/mfa-otp-enrollment-code.js +2 -0
  127. package/dist/screens/mfa-otp-enrollment-code.js.map +1 -0
  128. package/dist/screens/mfa-otp-enrollment-qr.d.ts +7 -0
  129. package/dist/screens/mfa-otp-enrollment-qr.js +2 -0
  130. package/dist/screens/mfa-otp-enrollment-qr.js.map +1 -0
  131. package/dist/screens/mfa-phone-challenge.d.ts +7 -0
  132. package/dist/screens/mfa-phone-challenge.js +2 -0
  133. package/dist/screens/mfa-phone-challenge.js.map +1 -0
  134. package/dist/screens/mfa-phone-enrollment.d.ts +7 -0
  135. package/dist/screens/mfa-phone-enrollment.js +2 -0
  136. package/dist/screens/mfa-phone-enrollment.js.map +1 -0
  137. package/dist/screens/mfa-push-challenge-push.d.ts +9 -0
  138. package/dist/screens/mfa-push-challenge-push.js +2 -0
  139. package/dist/screens/mfa-push-challenge-push.js.map +1 -0
  140. package/dist/screens/mfa-push-enrollment-qr.d.ts +5 -0
  141. package/dist/screens/mfa-push-enrollment-qr.js +2 -0
  142. package/dist/screens/mfa-push-enrollment-qr.js.map +1 -0
  143. package/dist/screens/mfa-push-list.d.ts +6 -0
  144. package/dist/screens/mfa-push-list.js +2 -0
  145. package/dist/screens/mfa-push-list.js.map +1 -0
  146. package/dist/screens/mfa-push-welcome.d.ts +6 -0
  147. package/dist/screens/mfa-push-welcome.js +2 -0
  148. package/dist/screens/mfa-push-welcome.js.map +1 -0
  149. package/dist/screens/mfa-recovery-code-challenge-new-code.d.ts +5 -0
  150. package/dist/screens/mfa-recovery-code-challenge-new-code.js +2 -0
  151. package/dist/screens/mfa-recovery-code-challenge-new-code.js.map +1 -0
  152. package/dist/screens/mfa-recovery-code-challenge.d.ts +6 -0
  153. package/dist/screens/mfa-recovery-code-challenge.js +2 -0
  154. package/dist/screens/mfa-recovery-code-challenge.js.map +1 -0
  155. package/dist/screens/mfa-recovery-code-enrollment.d.ts +5 -0
  156. package/dist/screens/mfa-recovery-code-enrollment.js +2 -0
  157. package/dist/screens/mfa-recovery-code-enrollment.js.map +1 -0
  158. package/dist/screens/mfa-sms-challenge.d.ts +10 -0
  159. package/dist/screens/mfa-sms-challenge.js +2 -0
  160. package/dist/screens/mfa-sms-challenge.js.map +1 -0
  161. package/dist/screens/mfa-sms-enrollment.d.ts +10 -0
  162. package/dist/screens/mfa-sms-enrollment.js +2 -0
  163. package/dist/screens/mfa-sms-enrollment.js.map +1 -0
  164. package/dist/screens/mfa-sms-list.d.ts +6 -0
  165. package/dist/screens/mfa-sms-list.js +2 -0
  166. package/dist/screens/mfa-sms-list.js.map +1 -0
  167. package/dist/screens/mfa-voice-challenge.d.ts +10 -0
  168. package/dist/screens/mfa-voice-challenge.js +2 -0
  169. package/dist/screens/mfa-voice-challenge.js.map +1 -0
  170. package/dist/screens/mfa-voice-enrollment.d.ts +7 -0
  171. package/dist/screens/mfa-voice-enrollment.js +2 -0
  172. package/dist/screens/mfa-voice-enrollment.js.map +1 -0
  173. package/dist/screens/mfa-webauthn-change-key-nickname.d.ts +5 -0
  174. package/dist/screens/mfa-webauthn-change-key-nickname.js +2 -0
  175. package/dist/screens/mfa-webauthn-change-key-nickname.js.map +1 -0
  176. package/dist/screens/mfa-webauthn-enrollment-success.d.ts +5 -0
  177. package/dist/screens/mfa-webauthn-enrollment-success.js +2 -0
  178. package/dist/screens/mfa-webauthn-enrollment-success.js.map +1 -0
  179. package/dist/screens/mfa-webauthn-error.d.ts +8 -0
  180. package/dist/screens/mfa-webauthn-error.js +2 -0
  181. package/dist/screens/mfa-webauthn-error.js.map +1 -0
  182. package/dist/screens/mfa-webauthn-not-available-error.d.ts +5 -0
  183. package/dist/screens/mfa-webauthn-not-available-error.js +2 -0
  184. package/dist/screens/mfa-webauthn-not-available-error.js.map +1 -0
  185. package/dist/screens/mfa-webauthn-platform-challenge.d.ts +7 -0
  186. package/dist/screens/mfa-webauthn-platform-challenge.js +2 -0
  187. package/dist/screens/mfa-webauthn-platform-challenge.js.map +1 -0
  188. package/dist/screens/mfa-webauthn-platform-enrollment.d.ts +8 -0
  189. package/dist/screens/mfa-webauthn-platform-enrollment.js +2 -0
  190. package/dist/screens/mfa-webauthn-platform-enrollment.js.map +1 -0
  191. package/dist/screens/mfa-webauthn-roaming-challenge.d.ts +7 -0
  192. package/dist/screens/mfa-webauthn-roaming-challenge.js +2 -0
  193. package/dist/screens/mfa-webauthn-roaming-challenge.js.map +1 -0
  194. package/dist/screens/mfa-webauthn-roaming-enrollment.d.ts +7 -0
  195. package/dist/screens/mfa-webauthn-roaming-enrollment.js +2 -0
  196. package/dist/screens/mfa-webauthn-roaming-enrollment.js.map +1 -0
  197. package/dist/screens/organization-picker.d.ts +9 -0
  198. package/dist/screens/organization-picker.js +2 -0
  199. package/dist/screens/organization-picker.js.map +1 -0
  200. package/dist/screens/organization-selection.d.ts +5 -0
  201. package/dist/screens/organization-selection.js +2 -0
  202. package/dist/screens/organization-selection.js.map +1 -0
  203. package/dist/screens/passkey-enrollment-local.d.ts +6 -0
  204. package/dist/screens/passkey-enrollment-local.js +2 -0
  205. package/dist/screens/passkey-enrollment-local.js.map +1 -0
  206. package/dist/screens/passkey-enrollment.d.ts +6 -0
  207. package/dist/screens/passkey-enrollment.js +2 -0
  208. package/dist/screens/passkey-enrollment.js.map +1 -0
  209. package/dist/screens/phone-identifier-challenge.d.ts +8 -0
  210. package/dist/screens/phone-identifier-challenge.js +2 -0
  211. package/dist/screens/phone-identifier-challenge.js.map +1 -0
  212. package/dist/screens/phone-identifier-enrollment.d.ts +6 -0
  213. package/dist/screens/phone-identifier-enrollment.js +2 -0
  214. package/dist/screens/phone-identifier-enrollment.js.map +1 -0
  215. package/dist/screens/redeem-ticket.d.ts +5 -0
  216. package/dist/screens/redeem-ticket.js +2 -0
  217. package/dist/screens/redeem-ticket.js.map +1 -0
  218. package/dist/screens/reset-password-email.d.ts +5 -0
  219. package/dist/screens/reset-password-email.js +2 -0
  220. package/dist/screens/reset-password-email.js.map +1 -0
  221. package/dist/screens/reset-password-error.d.ts +4 -0
  222. package/dist/screens/reset-password-error.js +2 -0
  223. package/dist/screens/reset-password-error.js.map +1 -0
  224. package/dist/screens/reset-password-mfa-email-challenge.d.ts +8 -0
  225. package/dist/screens/reset-password-mfa-email-challenge.js +2 -0
  226. package/dist/screens/reset-password-mfa-email-challenge.js.map +1 -0
  227. package/dist/screens/reset-password-mfa-otp-challenge.d.ts +6 -0
  228. package/dist/screens/reset-password-mfa-otp-challenge.js +2 -0
  229. package/dist/screens/reset-password-mfa-otp-challenge.js.map +1 -0
  230. package/dist/screens/reset-password-mfa-phone-challenge.d.ts +6 -0
  231. package/dist/screens/reset-password-mfa-phone-challenge.js +2 -0
  232. package/dist/screens/reset-password-mfa-phone-challenge.js.map +1 -0
  233. package/dist/screens/reset-password-mfa-push-challenge-push.d.ts +9 -0
  234. package/dist/screens/reset-password-mfa-push-challenge-push.js +2 -0
  235. package/dist/screens/reset-password-mfa-push-challenge-push.js.map +1 -0
  236. package/dist/screens/reset-password-mfa-recovery-code-challenge.d.ts +6 -0
  237. package/dist/screens/reset-password-mfa-recovery-code-challenge.js +2 -0
  238. package/dist/screens/reset-password-mfa-recovery-code-challenge.js.map +1 -0
  239. package/dist/screens/reset-password-mfa-sms-challenge.d.ts +9 -0
  240. package/dist/screens/reset-password-mfa-sms-challenge.js +2 -0
  241. package/dist/screens/reset-password-mfa-sms-challenge.js.map +1 -0
  242. package/dist/screens/reset-password-mfa-voice-challenge.d.ts +9 -0
  243. package/dist/screens/reset-password-mfa-voice-challenge.js +2 -0
  244. package/dist/screens/reset-password-mfa-voice-challenge.js.map +1 -0
  245. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.d.ts +7 -0
  246. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js +2 -0
  247. package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js.map +1 -0
  248. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.d.ts +7 -0
  249. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js +2 -0
  250. package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js.map +1 -0
  251. package/dist/screens/reset-password-request.d.ts +7 -0
  252. package/dist/screens/reset-password-request.js +2 -0
  253. package/dist/screens/reset-password-request.js.map +1 -0
  254. package/dist/screens/reset-password-success.d.ts +4 -0
  255. package/dist/screens/reset-password-success.js +2 -0
  256. package/dist/screens/reset-password-success.js.map +1 -0
  257. package/dist/screens/reset-password.d.ts +6 -0
  258. package/dist/screens/reset-password.js +2 -0
  259. package/dist/screens/reset-password.js.map +1 -0
  260. package/dist/screens/signup-id.d.ts +9 -0
  261. package/dist/screens/signup-id.js +2 -0
  262. package/dist/screens/signup-id.js.map +1 -0
  263. package/dist/screens/signup-password.d.ts +7 -0
  264. package/dist/screens/signup-password.js +2 -0
  265. package/dist/screens/signup-password.js.map +1 -0
  266. package/dist/screens/signup.d.ts +10 -0
  267. package/dist/screens/signup.js +2 -0
  268. package/dist/screens/signup.js.map +1 -0
  269. package/dist/state/error-store.d.ts +47 -0
  270. package/dist/state/error-store.js +2 -0
  271. package/dist/state/error-store.js.map +1 -0
  272. package/dist/state/instance-store.d.ts +19 -0
  273. package/dist/state/instance-store.js +2 -0
  274. package/dist/state/instance-store.js.map +1 -0
  275. package/dist/telemetry.d.ts +8 -0
  276. package/dist/telemetry.js +2 -0
  277. package/dist/telemetry.js.map +1 -0
  278. package/dist/types/index.d.ts +2 -0
  279. package/package.json +61 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-enrollment.js","sources":["../../src/screens/passkey-enrollment.tsx"],"sourcesContent":["import PasskeyEnrollment from '@auth0/auth0-acul-js/passkey-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment';\n\n// Register the singleton instance of PasskeyEnrollment\nconst instance = registerScreen<PasskeyEnrollmentMembers>(PasskeyEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollment\nexport const usePasskeyEnrollment = (): PasskeyEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PasskeyEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAc/BE,EAAuB,IAAgCC,EAAQ,IAAMpB,EAAU"}
@@ -0,0 +1,8 @@
1
+ import type { PhoneIdentifierChallengeMembers, PhoneChallengeOptions, CustomOptions } from '@auth0/auth0-acul-js/phone-identifier-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPhoneIdentifierChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const submitPhoneChallenge: (payload: PhoneChallengeOptions) => void | Promise<void>;
4
+ export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
5
+ export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
6
+ export { useResend } from '../hooks/utility/resend-manager';
7
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
8
+ export declare const usePhoneIdentifierChallenge: () => PhoneIdentifierChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/phone-identifier-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:i,useTenant:a,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:l}=u,x=e=>m(n.submitPhoneChallenge(e)),k=e=>m(n.resendCode(e)),g=e=>m(n.returnToPrevious(e)),C=()=>o(()=>n,[]);export{k as resendCode,g as returnToPrevious,x as submitPhoneChallenge,h as useBranding,c as useClient,p as useOrganization,C as usePhoneIdentifierChallenge,f as usePrompt,d as useScreen,a as useTenant,j as useTransaction,l as useUntrustedData,i as useUser};
2
+ //# sourceMappingURL=phone-identifier-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-identifier-challenge.js","sources":["../../src/screens/phone-identifier-challenge.tsx"],"sourcesContent":["import PhoneIdentifierChallenge from '@auth0/auth0-acul-js/phone-identifier-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierChallengeMembers,\n PhoneChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-challenge';\n\n// Register the singleton instance of PhoneIdentifierChallenge\nconst instance = registerScreen<PhoneIdentifierChallengeMembers>(PhoneIdentifierChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const submitPhoneChallenge = (payload: PhoneChallengeOptions) =>\n withError(instance.submitPhoneChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierChallenge\nexport const usePhoneIdentifierChallenge = (): PhoneIdentifierChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PhoneIdentifierChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPhoneChallenge","payload","resendCode","returnToPrevious","usePhoneIdentifierChallenge","useMemo"],"mappings":"ofAcA,MAAMA,EAAWC,EAAgDC,IAG3DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8CN,IACrDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAwBC,GACnCd,EAAUH,EAASgB,qBAAqBC,IAC7BC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAiBzBG,EAA8B,IACzCC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,6 @@
1
+ import type { PhoneIdentifierEnrollmentMembers, PhoneEnrollmentOptions, CustomOptions } from '@auth0/auth0-acul-js/phone-identifier-enrollment';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPhoneIdentifierEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continuePhoneEnrollment: (payload: PhoneEnrollmentOptions) => void | Promise<void>;
4
+ export declare const returnToPrevious: (payload?: CustomOptions) => void | Promise<void>;
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export declare const usePhoneIdentifierEnrollment: () => PhoneIdentifierEnrollmentMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/phone-identifier-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:i,useTenant:a,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:l,useUntrustedData:x}=u,k=o=>m(n.continuePhoneEnrollment(o)),d=o=>m(n.returnToPrevious(o)),T=()=>e(()=>n,[]);export{k as continuePhoneEnrollment,d as returnToPrevious,c as useBranding,h as useClient,p as useOrganization,T as usePhoneIdentifierEnrollment,f as usePrompt,j as useScreen,a as useTenant,l as useTransaction,x as useUntrustedData,i as useUser};
2
+ //# sourceMappingURL=phone-identifier-enrollment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-identifier-enrollment.js","sources":["../../src/screens/phone-identifier-enrollment.tsx"],"sourcesContent":["import PhoneIdentifierEnrollment from '@auth0/auth0-acul-js/phone-identifier-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PhoneIdentifierEnrollmentMembers,\n PhoneEnrollmentOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/phone-identifier-enrollment';\n\n// Register the singleton instance of PhoneIdentifierEnrollment\nconst instance = registerScreen<PhoneIdentifierEnrollmentMembers>(PhoneIdentifierEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PhoneIdentifierEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePhoneEnrollment = (payload: PhoneEnrollmentOptions) =>\n withError(instance.continuePhoneEnrollment(payload));\nexport const returnToPrevious = (payload?: CustomOptions) =>\n withError(instance.returnToPrevious(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PhoneIdentifierEnrollment\nexport const usePhoneIdentifierEnrollment = (): PhoneIdentifierEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PhoneIdentifierEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePhoneEnrollment","payload","returnToPrevious","usePhoneIdentifierEnrollment","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAoBD,GAC/Bd,EAAUH,EAASkB,iBAAiBD,IAczBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
@@ -0,0 +1,5 @@
1
+ import type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload?: CustomOptions) => void | Promise<void>;
4
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export declare const useRedeemTicket: () => RedeemTicketMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/redeem-ticket";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:c,useTenant:a,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=e=>m(n.continue(e)),T=()=>o(()=>n,[]);export{d as continueMethod,i as useBranding,h as useClient,p as useOrganization,f as usePrompt,T as useRedeemTicket,j as useScreen,a as useTenant,k as useTransaction,x as useUntrustedData,c as useUser};
2
+ //# sourceMappingURL=redeem-ticket.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redeem-ticket.js","sources":["../../src/screens/redeem-ticket.tsx"],"sourcesContent":["import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { RedeemTicketMembers, CustomOptions } from '@auth0/auth0-acul-js/redeem-ticket';\n\n// Register the singleton instance of RedeemTicket\nconst instance = registerScreen<RedeemTicketMembers>(RedeemTicket)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<RedeemTicketMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of RedeemTicket\nexport const useRedeemTicket = (): RedeemTicketMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","RedeemTicket","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useRedeemTicket","useMemo"],"mappings":"6aAUA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAc1EE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
@@ -0,0 +1,5 @@
1
+ import type { ResetPasswordEmailMembers, CustomOptions } from '@auth0/auth0-acul-js/reset-password-email';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordEmail, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const resendEmail: (payload?: CustomOptions) => void | Promise<void>;
4
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
5
+ export declare const useResetPasswordEmail: () => ResetPasswordEmailMembers;
@@ -0,0 +1,2 @@
1
+ import r from"@auth0/auth0-acul-js/reset-password-email";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as o}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const m=t(r),{withError:n}=o,u=new s(m),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=r=>n(m.resendEmail(r)),l=()=>e(()=>m,[]);export{k as resendEmail,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordEmail,j as useScreen,i as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-email.js","sources":["../../src/screens/reset-password-email.tsx"],"sourcesContent":["import ResetPasswordEmail from '@auth0/auth0-acul-js/reset-password-email';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordEmailMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-email';\n\n// Register the singleton instance of ResetPasswordEmail\nconst instance = registerScreen<ResetPasswordEmailMembers>(ResetPasswordEmail)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordEmailMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resendEmail = (payload?: CustomOptions) => withError(instance.resendEmail(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordEmail\nexport const useResetPasswordEmail = (): ResetPasswordEmailMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordEmail","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resendEmail","payload","useResetPasswordEmail","useMemo"],"mappings":"obAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAeC,GAA4Bd,EAAUH,EAASgB,YAAYC,IAc1EC,EAAwB,IAAiCC,EAAQ,IAAMnB,EAAU"}
@@ -0,0 +1,4 @@
1
+ import type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordError, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export declare const useResetPasswordError: () => ResetPasswordErrorMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-error";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as o}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new o(t),{useUser:m,useTenant:u,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>r(()=>t,[]);export{a as useBranding,c as useClient,i as useOrganization,h as usePrompt,x as useResetPasswordError,p as useScreen,u as useTenant,f as useTransaction,j as useUntrustedData,m as useUser};
2
+ //# sourceMappingURL=reset-password-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-error.js","sources":["../../src/screens/reset-password-error.tsx"],"sourcesContent":["import ResetPasswordError from '@auth0/auth0-acul-js/reset-password-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordErrorMembers } from '@auth0/auth0-acul-js/reset-password-error';\n\n// Register the singleton instance of ResetPasswordError\nconst instance = registerScreen<ResetPasswordErrorMembers>(ResetPasswordError)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordErrorMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordError\nexport const useResetPasswordError = (): ResetPasswordErrorMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordError","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordError","useMemo"],"mappings":"2XASA,MAAMA,EAAWC,EAA0CC,GAGrDC,EAAU,IAAIC,EAAwCJ,IAC/CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAcSW,EAAwB,IAAiCC,EAAQ,IAAMf,EAAU"}
@@ -0,0 +1,8 @@
1
+ import type { ResetPasswordMfaEmailChallengeMembers, ContinueOptions, ResendCodeOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaEmailChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
+ export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise<void>;
5
+ export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
6
+ export { useResend } from '../hooks/utility/resend-manager';
7
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
8
+ export declare const useResetPasswordMfaEmailChallenge: () => ResetPasswordMfaEmailChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-email-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.continue(e)),l=e=>m(n.resendCode(e)),g=e=>m(n.tryAnotherMethod(e)),w=()=>o(()=>n,[]);export{k as continueMethod,l as resendCode,g as tryAnotherMethod,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaEmailChallenge,d as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-email-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-email-challenge.js","sources":["../../src/screens/reset-password-mfa-email-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaEmailChallenge from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-email-challenge';\n\n// Register the singleton instance of ResetPasswordMfaEmailChallenge\nconst instance = registerScreen<ResetPasswordMfaEmailChallengeMembers>(\n ResetPasswordMfaEmailChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaEmailChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaEmailChallenge\nexport const useResetPasswordMfaEmailChallenge = (): ResetPasswordMfaEmailChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","useResetPasswordMfaEmailChallenge","useMemo"],"mappings":"4fAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAiBzBI,EAAoC,IAC/CC,EAAQ,IAAMtB,EAAU"}
@@ -0,0 +1,6 @@
1
+ import type { ResetPasswordMfaOtpChallengeMembers, ContinueOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
+ export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export declare const useResetPasswordMfaOtpChallenge: () => ResetPasswordMfaOtpChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-otp-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaOtpChallenge,j as useScreen,c as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-otp-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-otp-challenge.js","sources":["../../src/screens/reset-password-mfa-otp-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaOtpChallenge from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-otp-challenge';\n\n// Register the singleton instance of ResetPasswordMfaOtpChallenge\nconst instance = registerScreen<ResetPasswordMfaOtpChallengeMembers>(ResetPasswordMfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaOtpChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaOtpChallenge\nexport const useResetPasswordMfaOtpChallenge = (): ResetPasswordMfaOtpChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaOtpChallenge","useMemo"],"mappings":"gcAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,6 @@
1
+ import type { ResetPasswordMfaPhoneChallengeMembers, ContinueOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaPhoneChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
+ export declare const tryAnotherMethod: (payload: TryAnotherMethodOptions) => void | Promise<void>;
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export declare const useResetPasswordMfaPhoneChallenge: () => ResetPasswordMfaPhoneChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-phone-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaPhoneChallenge,j as useScreen,c as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-phone-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-phone-challenge.js","sources":["../../src/screens/reset-password-mfa-phone-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaPhoneChallenge from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPhoneChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-phone-challenge';\n\n// Register the singleton instance of ResetPasswordMfaPhoneChallenge\nconst instance = registerScreen<ResetPasswordMfaPhoneChallengeMembers>(\n ResetPasswordMfaPhoneChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPhoneChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPhoneChallenge\nexport const useResetPasswordMfaPhoneChallenge = (): ResetPasswordMfaPhoneChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useResetPasswordMfaPhoneChallenge","useMemo"],"mappings":"kcAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAoC,IAC/CC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,9 @@
1
+ import type { ResetPasswordMfaPushChallengePushMembers, CustomOptions } from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaPushChallengePush, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload?: CustomOptions) => void | Promise<void>;
4
+ export declare const resendPushNotification: (payload?: CustomOptions) => void | Promise<void>;
5
+ export declare const enterCodeManually: (payload?: CustomOptions) => void | Promise<void>;
6
+ export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
7
+ export { useMfaPolling } from '../hooks/utility/polling-manager';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export declare const useResetPasswordMfaPushChallengePush: () => ResetPasswordMfaPushChallengePushMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useMfaPolling}from"../hooks/utility/polling-manager.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:j,useUntrustedData:d}=u,x=o=>m(n.continue(o)),g=o=>m(n.resendPushNotification(o)),k=o=>m(n.enterCodeManually(o)),w=o=>m(n.tryAnotherMethod(o)),y=()=>e(()=>n,[]);export{x as continueMethod,k as enterCodeManually,g as resendPushNotification,w as tryAnotherMethod,h as useBranding,c as useClient,p as useOrganization,f as usePrompt,y as useResetPasswordMfaPushChallengePush,l as useScreen,i as useTenant,j as useTransaction,d as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-push-challenge-push.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-push-challenge-push.js","sources":["../../src/screens/reset-password-mfa-push-challenge-push.tsx"],"sourcesContent":["import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaPushChallengePushMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';\n\n// Register the singleton instance of ResetPasswordMfaPushChallengePush\nconst instance = registerScreen<ResetPasswordMfaPushChallengePushMembers>(\n ResetPasswordMfaPushChallengePush\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaPushChallengePushMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: CustomOptions) => withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: CustomOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaPushChallengePush\nexport const useResetPasswordMfaPushChallengePush = (): ResetPasswordMfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useResetPasswordMfaPushChallengePush","useMemo"],"mappings":"qgBAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuDN,IAC9DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA4Bd,EAAUH,EAASkB,SAASD,IAC1EE,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IAiBzBK,EAAuC,IAClDC,EAAQ,IAAMvB,EAAU"}
@@ -0,0 +1,6 @@
1
+ import type { ResetPasswordMfaRecoveryCodeChallengeMembers, CustomOptions } from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (code: string, payload?: CustomOptions) => void | Promise<void>;
4
+ export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export declare const useResetPasswordMfaRecoveryCodeChallenge: () => ResetPasswordMfaRecoveryCodeChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:d,useUntrustedData:x}=u,k=(e,o)=>m(n.continue(e,o)),l=e=>m(n.tryAnotherMethod(e)),g=()=>o(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaRecoveryCodeChallenge,j as useScreen,c as useTenant,d as useTransaction,x as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-recovery-code-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-recovery-code-challenge.js","sources":["../../src/screens/reset-password-mfa-recovery-code-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaRecoveryCodeChallengeMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-recovery-code-challenge';\n\n// Register the singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nconst instance = registerScreen<ResetPasswordMfaRecoveryCodeChallengeMembers>(\n ResetPasswordMfaRecoveryCodeChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (code: string, payload?: CustomOptions) =>\n withError(instance.continue(code, payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaRecoveryCodeChallenge\nexport const useResetPasswordMfaRecoveryCodeChallenge =\n (): ResetPasswordMfaRecoveryCodeChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","code","payload","continue","tryAnotherMethod","useResetPasswordMfaRecoveryCodeChallenge","useMemo"],"mappings":"0cAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2DN,IAClEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiB,CAACC,EAAcC,IAC3Cf,EAAUH,EAASmB,SAASF,EAAMC,IACvBE,EAAoBF,GAC/Bf,EAAUH,EAASoB,iBAAiBF,IAczBG,EACX,IAAoDC,EAAQ,IAAMtB,EAAU"}
@@ -0,0 +1,9 @@
1
+ import type { ResetPasswordMfaSmsChallengeMembers, MfaSmsChallengeOptions, CustomOptions } from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaSmsChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMfaSmsChallenge: (payload: MfaSmsChallengeOptions) => void | Promise<void>;
4
+ export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
5
+ export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
6
+ export declare const getACall: (payload?: CustomOptions) => void | Promise<void>;
7
+ export { useResend } from '../hooks/utility/resend-manager';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export declare const useResetPasswordMfaSmsChallenge: () => ResetPasswordMfaSmsChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-sms-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,a=new s(n),{useUser:u,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:l,useUntrustedData:j}=a,x=e=>m(n.continueMfaSmsChallenge(e)),g=e=>m(n.resendCode(e)),k=e=>m(n.tryAnotherMethod(e)),C=e=>m(n.getACall(e)),w=()=>o(()=>n,[]);export{x as continueMfaSmsChallenge,C as getACall,g as resendCode,k as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,w as useResetPasswordMfaSmsChallenge,d as useScreen,h as useTenant,l as useTransaction,j as useUntrustedData,u as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-sms-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-sms-challenge.js","sources":["../../src/screens/reset-password-mfa-sms-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaSmsChallenge from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-sms-challenge';\n\n// Register the singleton instance of ResetPasswordMfaSmsChallenge\nconst instance = registerScreen<ResetPasswordMfaSmsChallengeMembers>(ResetPasswordMfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaSmsChallenge\nexport const useResetPasswordMfaSmsChallenge = (): ResetPasswordMfaSmsChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","resendCode","tryAnotherMethod","getACall","useResetPasswordMfaSmsChallenge","useMemo"],"mappings":"0fAcA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IAiBpEI,EAAkC,IAC7CC,EAAQ,IAAMtB,EAAU"}
@@ -0,0 +1,9 @@
1
+ import type { ResetPasswordMfaVoiceChallengeMembers, ContinueOptions, CustomOptions } from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaVoiceChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
4
+ export declare const switchToSms: (payload?: CustomOptions) => void | Promise<void>;
5
+ export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
6
+ export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
7
+ export { useResend } from '../hooks/utility/resend-manager';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export declare const useResetPasswordMfaVoiceChallenge: () => ResetPasswordMfaVoiceChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-mfa-voice-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.continue(e)),l=e=>m(n.switchToSms(e)),g=e=>m(n.resendCode(e)),w=e=>m(n.tryAnotherMethod(e)),T=()=>o(()=>n,[]);export{k as continueMethod,g as resendCode,l as switchToSms,w as tryAnotherMethod,i as useBranding,h as useClient,p as useOrganization,f as usePrompt,T as useResetPasswordMfaVoiceChallenge,d as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-voice-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-voice-challenge.js","sources":["../../src/screens/reset-password-mfa-voice-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaVoiceChallenge from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaVoiceChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-voice-challenge';\n\n// Register the singleton instance of ResetPasswordMfaVoiceChallenge\nconst instance = registerScreen<ResetPasswordMfaVoiceChallengeMembers>(\n ResetPasswordMfaVoiceChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaVoiceChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaVoiceChallenge\nexport const useResetPasswordMfaVoiceChallenge = (): ResetPasswordMfaVoiceChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","switchToSms","resendCode","tryAnotherMethod","useResetPasswordMfaVoiceChallenge","useMemo"],"mappings":"4fAcA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoDN,IAC3DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAeF,GAA4Bd,EAAUH,EAASmB,YAAYF,IAC1EG,EAAcH,GAA4Bd,EAAUH,EAASoB,WAAWH,IACxEI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IAiBzBK,EAAoC,IAC/CC,EAAQ,IAAMvB,EAAU"}
@@ -0,0 +1,7 @@
1
+ import type { ResetPasswordMfaWebAuthnPlatformChallengeMembers, ContinueWithPasskeyOptions, ReportBrowserErrorOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaWebAuthnPlatformChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const continueWithPasskey: (options?: ContinueWithPasskeyOptions) => void | Promise<void>;
4
+ export declare const reportBrowserError: (options: ReportBrowserErrorOptions) => void | Promise<void>;
5
+ export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export declare const useResetPasswordMfaWebAuthnPlatformChallenge: () => ResetPasswordMfaWebAuthnPlatformChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import r from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=e,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=r=>m(n.continueWithPasskey(r)),l=r=>m(n.reportBrowserError(r)),w=r=>m(n.tryAnotherMethod(r)),g=()=>o(()=>n,[]);export{d as continueWithPasskey,l as reportBrowserError,w as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,g as useResetPasswordMfaWebAuthnPlatformChallenge,j as useScreen,h as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-webauthn-platform-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-webauthn-platform-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnPlatformChallengeMembers,\n ContinueWithPasskeyOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(\n ResetPasswordMfaWebAuthnPlatformChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithPasskey = (options?: ContinueWithPasskeyOptions) =>\n withError(instance.continueWithPasskey(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnPlatformChallenge\nexport const useResetPasswordMfaWebAuthnPlatformChallenge =\n (): ResetPasswordMfaWebAuthnPlatformChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithPasskey","options","reportBrowserError","tryAnotherMethod","useResetPasswordMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"8cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+DN,IACtEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAuBC,GAClCd,EAAUH,EAASgB,oBAAoBC,IAC5BC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EACX,IAAwDC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,7 @@
1
+ import type { ResetPasswordMfaWebAuthnRoamingChallengeMembers, UseSecurityKeyOptions, ShowErrorOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordMfaWebAuthnRoamingChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const useSecurityKey: (options?: UseSecurityKeyOptions) => void | Promise<void>;
4
+ export declare const showError: (options: ShowErrorOptions) => void | Promise<void>;
5
+ export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export declare const useResetPasswordMfaWebAuthnRoamingChallenge: () => ResetPasswordMfaWebAuthnRoamingChallengeMembers;
@@ -0,0 +1,2 @@
1
+ import r from"@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as o}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=o,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=r=>m(n.useSecurityKey(r)),w=r=>m(n.showError(r)),g=r=>m(n.tryAnotherMethod(r)),l=()=>e(()=>n,[]);export{w as showError,g as tryAnotherMethod,c as useBranding,i as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordMfaWebAuthnRoamingChallenge,j as useScreen,k as useSecurityKey,h as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=reset-password-mfa-webauthn-roaming-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/reset-password-mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import ResetPasswordMfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMfaWebAuthnRoamingChallengeMembers,\n UseSecurityKeyOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/reset-password-mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nconst instance = registerScreen<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(\n ResetPasswordMfaWebAuthnRoamingChallenge\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const useSecurityKey = (options?: UseSecurityKeyOptions) =>\n withError(instance.useSecurityKey(options));\nexport const showError = (options: ShowErrorOptions) => withError(instance.showError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordMfaWebAuthnRoamingChallenge\nexport const useResetPasswordMfaWebAuthnRoamingChallenge =\n (): ResetPasswordMfaWebAuthnRoamingChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordMfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useSecurityKey","options","showError","tryAnotherMethod","useResetPasswordMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"6cAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8DN,IACrEO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EACX,IAAuDC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,7 @@
1
+ import type { ResetPasswordRequestMembers, ResetPasswordRequestOptions, CustomOptions } from '@auth0/auth0-acul-js/reset-password-request';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordRequest, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnResetPasswordRequest, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const resetPassword: (payload: ResetPasswordRequestOptions) => void | Promise<void>;
4
+ export declare const backToLogin: (payload?: CustomOptions) => void | Promise<void>;
5
+ export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export declare const useResetPasswordRequest: () => ResetPasswordRequestMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/reset-password-request";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";export{useLoginIdentifiers}from"../hooks/utility/login-identifiers.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,i=new s(n),{useUser:u,useTenant:a,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:d,useUntrustedData:k}=i,x=o=>m(n.resetPassword(o)),g=o=>m(n.backToLogin(o)),l=()=>e(()=>n,[]);export{g as backToLogin,x as resetPassword,c as useBranding,h as useClient,p as useOrganization,f as usePrompt,l as useResetPasswordRequest,j as useScreen,a as useTenant,d as useTransaction,k as useUntrustedData,u as useUser};
2
+ //# sourceMappingURL=reset-password-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-request.js","sources":["../../src/screens/reset-password-request.tsx"],"sourcesContent":["import ResetPasswordRequest from '@auth0/auth0-acul-js/reset-password-request';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordRequestMembers,\n ResetPasswordRequestOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/reset-password-request';\n\n// Register the singleton instance of ResetPasswordRequest\nconst instance = registerScreen<ResetPasswordRequestMembers>(ResetPasswordRequest)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordRequestMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resetPassword = (payload: ResetPasswordRequestOptions) =>\n withError(instance.resetPassword(payload));\nexport const backToLogin = (payload?: CustomOptions) => withError(instance.backToLogin(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordRequest\nexport const useResetPasswordRequest = (): ResetPasswordRequestMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordRequest","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resetPassword","payload","backToLogin","useResetPasswordRequest","useMemo"],"mappings":"6fAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IACtBC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAiB1EE,EAA0B,IACrCC,EAAQ,IAAMpB,EAAU"}
@@ -0,0 +1,4 @@
1
+ import type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPasswordSuccess, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
4
+ export declare const useResetPasswordSuccess: () => ResetPasswordSuccessMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/reset-password-success";import{useMemo as s}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as o}from"../hooks/context/index.js";import{registerScreen as r}from"../state/instance-store.js";const t=r(e),n=new o(t),{useUser:u,useTenant:m,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>s(()=>t,[]);export{a as useBranding,c as useClient,i as useOrganization,h as usePrompt,x as useResetPasswordSuccess,p as useScreen,m as useTenant,f as useTransaction,j as useUntrustedData,u as useUser};
2
+ //# sourceMappingURL=reset-password-success.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-success.js","sources":["../../src/screens/reset-password-success.tsx"],"sourcesContent":["import ResetPasswordSuccess from '@auth0/auth0-acul-js/reset-password-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { ResetPasswordSuccessMembers } from '@auth0/auth0-acul-js/reset-password-success';\n\n// Register the singleton instance of ResetPasswordSuccess\nconst instance = registerScreen<ResetPasswordSuccessMembers>(ResetPasswordSuccess)!;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPasswordSuccess\nexport const useResetPasswordSuccess = (): ResetPasswordSuccessMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPasswordSuccess","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useResetPasswordSuccess","useMemo"],"mappings":"6XASA,MAAMA,EAAWC,EAA4CC,GAGvDC,EAAU,IAAIC,EAA0CJ,IACjDK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAcSW,EAA0B,IACrCC,EAAQ,IAAMf,EAAU"}
@@ -0,0 +1,6 @@
1
+ import type { ResetPasswordMembers, ResetPasswordOptions } from '@auth0/auth0-acul-js/reset-password';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnResetPassword, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnResetPassword, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const resetPassword: (payload: ResetPasswordOptions) => void | Promise<void>;
4
+ export { usePasswordValidation } from '../hooks/utility/validate-password';
5
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
6
+ export declare const useResetPassword: () => ResetPasswordMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/reset-password";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as s}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as e}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{usePasswordValidation}from"../hooks/utility/validate-password.js";const n=t(o),{withError:m}=s,a=new e(n),{useUser:u,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:d,useScreen:f,useTransaction:j,useUntrustedData:x}=a,k=o=>m(n.resetPassword(o)),w=()=>r(()=>n,[]);export{k as resetPassword,c as useBranding,h as useClient,p as useOrganization,d as usePrompt,w as useResetPassword,f as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,u as useUser};
2
+ //# sourceMappingURL=reset-password.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password.js","sources":["../../src/screens/reset-password.tsx"],"sourcesContent":["import ResetPassword from '@auth0/auth0-acul-js/reset-password';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n ResetPasswordMembers,\n ResetPasswordOptions,\n} from '@auth0/auth0-acul-js/reset-password';\n\n// Register the singleton instance of ResetPassword\nconst instance = registerScreen<ResetPasswordMembers>(ResetPassword)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<ResetPasswordMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const resetPassword = (payload: ResetPasswordOptions) =>\n withError(instance.resetPassword(payload));\n\n// Utility Hooks\nexport { usePasswordValidation } from '../hooks/utility/validate-password';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of ResetPassword\nexport const useResetPassword = (): ResetPasswordMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","ResetPassword","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","resetPassword","payload","useResetPassword","useMemo"],"mappings":"ufAaA,MAAMA,EAAWC,EAAqCC,IAGhDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmCN,IAC1CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IAiBtBC,EAAmB,IAA4BC,EAAQ,IAAMnB,EAAU"}
@@ -0,0 +1,9 @@
1
+ import type { SignupIdMembers, SignupOptions, FederatedSignupOptions, CustomOptions } from '@auth0/auth0-acul-js/signup-id';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnSignupId, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnSignupId, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const signup: (payload: SignupOptions) => void | Promise<void>;
4
+ export declare const federatedSignup: (payload: FederatedSignupOptions) => void | Promise<void>;
5
+ export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
6
+ export { useSignupIdentifiers } from '../hooks/utility/signup-identifiers';
7
+ export { useUsernameValidation } from '../hooks/utility/validate-username';
8
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
9
+ export declare const useSignupId: () => SignupIdMembers;
@@ -0,0 +1,2 @@
1
+ import e from"@auth0/auth0-acul-js/signup-id";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useSignupIdentifiers}from"../hooks/utility/signup-identifiers.js";export{useUsernameValidation}from"../hooks/utility/validate-username.js";const n=t(e),{withError:i}=r,u=new s(n),{useUser:m,useTenant:a,useBranding:p,useClient:c,useOrganization:h,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:k}=u,x=e=>i(n.signup(e)),g=e=>i(n.federatedSignup(e)),l=e=>i(n.pickCountryCode(e)),C=()=>o(()=>n,[]);export{g as federatedSignup,l as pickCountryCode,x as signup,p as useBranding,c as useClient,h as useOrganization,f as usePrompt,d as useScreen,C as useSignupId,a as useTenant,j as useTransaction,k as useUntrustedData,m as useUser};
2
+ //# sourceMappingURL=signup-id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signup-id.js","sources":["../../src/screens/signup-id.tsx"],"sourcesContent":["import SignupId from '@auth0/auth0-acul-js/signup-id';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n SignupIdMembers,\n SignupOptions,\n FederatedSignupOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/signup-id';\n\n// Register the singleton instance of SignupId\nconst instance = registerScreen<SignupIdMembers>(SignupId)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<SignupIdMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const signup = (payload: SignupOptions) => withError(instance.signup(payload));\nexport const federatedSignup = (payload: FederatedSignupOptions) =>\n withError(instance.federatedSignup(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useSignupIdentifiers } from '../hooks/utility/signup-identifiers';\n\n// Utility Hooks\nexport { useUsernameValidation } from '../hooks/utility/validate-username';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of SignupId\nexport const useSignupId = (): SignupIdMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","SignupId","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","signup","payload","federatedSignup","pickCountryCode","useSignupId","useMemo"],"mappings":"2jBAeA,MAAMA,EAAWC,EAAgCC,IAG3CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8BN,IACrCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAmBD,GAC9Bd,EAAUH,EAASkB,gBAAgBD,IACxBE,EAAmBF,GAC9Bd,EAAUH,EAASmB,gBAAgBF,IAoBxBG,EAAc,IAAuBC,EAAQ,IAAMrB,EAAU"}
@@ -0,0 +1,7 @@
1
+ import type { SignupPasswordMembers, SignupPasswordOptions, FederatedSignupOptions } from '@auth0/auth0-acul-js/signup-password';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnSignupPassword, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnSignupPassword, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const signup: (payload: SignupPasswordOptions) => void | Promise<void>;
4
+ export declare const federatedSignup: (payload: FederatedSignupOptions) => void | Promise<void>;
5
+ export { usePasswordValidation } from '../hooks/utility/validate-password';
6
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
7
+ export declare const useSignupPassword: () => SignupPasswordMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/signup-password";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as s}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as e}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{usePasswordValidation}from"../hooks/utility/validate-password.js";const n=t(o),{withError:m}=s,u=new e(n),{useUser:a,useTenant:i,useBranding:p,useClient:c,useOrganization:h,usePrompt:d,useScreen:f,useTransaction:j,useUntrustedData:x}=u,k=o=>m(n.signup(o)),g=o=>m(n.federatedSignup(o)),l=()=>r(()=>n,[]);export{g as federatedSignup,k as signup,p as useBranding,c as useClient,h as useOrganization,d as usePrompt,f as useScreen,l as useSignupPassword,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
2
+ //# sourceMappingURL=signup-password.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signup-password.js","sources":["../../src/screens/signup-password.tsx"],"sourcesContent":["import SignupPassword from '@auth0/auth0-acul-js/signup-password';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n SignupPasswordMembers,\n SignupPasswordOptions,\n FederatedSignupOptions,\n} from '@auth0/auth0-acul-js/signup-password';\n\n// Register the singleton instance of SignupPassword\nconst instance = registerScreen<SignupPasswordMembers>(SignupPassword)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<SignupPasswordMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const signup = (payload: SignupPasswordOptions) => withError(instance.signup(payload));\nexport const federatedSignup = (payload: FederatedSignupOptions) =>\n withError(instance.federatedSignup(payload));\n\n// Utility Hooks\nexport { usePasswordValidation } from '../hooks/utility/validate-password';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of SignupPassword\nexport const useSignupPassword = (): SignupPasswordMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","SignupPassword","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","signup","payload","federatedSignup","useSignupPassword","useMemo"],"mappings":"wfAcA,MAAMA,EAAWC,EAAsCC,IAGjDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoCN,IAC3CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAmCd,EAAUH,EAASgB,OAAOC,IACvEC,EAAmBD,GAC9Bd,EAAUH,EAASkB,gBAAgBD,IAiBxBE,EAAoB,IAA6BC,EAAQ,IAAMpB,EAAU"}
@@ -0,0 +1,10 @@
1
+ import type { SignupMembers, SignupOptions, FederatedSignupOptions, CustomOptions } from '@auth0/auth0-acul-js/signup';
2
+ export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnSignup, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnSignup, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
3
+ export declare const signup: (payload: SignupOptions) => void | Promise<void>;
4
+ export declare const federatedSignup: (payload: FederatedSignupOptions) => void | Promise<void>;
5
+ export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
6
+ export { usePasswordValidation } from '../hooks/utility/validate-password';
7
+ export { useSignupIdentifiers } from '../hooks/utility/signup-identifiers';
8
+ export { useUsernameValidation } from '../hooks/utility/validate-username';
9
+ export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
10
+ export declare const useSignup: () => SignupMembers;
@@ -0,0 +1,2 @@
1
+ import o from"@auth0/auth0-acul-js/signup";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useSignupIdentifiers}from"../hooks/utility/signup-identifiers.js";export{usePasswordValidation}from"../hooks/utility/validate-password.js";export{useUsernameValidation}from"../hooks/utility/validate-username.js";const n=t(o),{withError:i}=r,u=new s(n),{useUser:m,useTenant:a,useBranding:p,useClient:c,useOrganization:h,usePrompt:d,useScreen:f,useTransaction:j,useUntrustedData:k}=u,l=o=>i(n.signup(o)),x=o=>i(n.federatedSignup(o)),g=o=>i(n.pickCountryCode(o)),w=()=>e(()=>n,[]);export{x as federatedSignup,g as pickCountryCode,l as signup,p as useBranding,c as useClient,h as useOrganization,d as usePrompt,f as useScreen,w as useSignup,a as useTenant,j as useTransaction,k as useUntrustedData,m as useUser};
2
+ //# sourceMappingURL=signup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signup.js","sources":["../../src/screens/signup.tsx"],"sourcesContent":["import Signup from '@auth0/auth0-acul-js/signup';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n SignupMembers,\n SignupOptions,\n FederatedSignupOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/signup';\n\n// Register the singleton instance of Signup\nconst instance = registerScreen<SignupMembers>(Signup)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<SignupMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const signup = (payload: SignupOptions) => withError(instance.signup(payload));\nexport const federatedSignup = (payload: FederatedSignupOptions) =>\n withError(instance.federatedSignup(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { usePasswordValidation } from '../hooks/utility/validate-password';\n\n// Utility Hooks\nexport { useSignupIdentifiers } from '../hooks/utility/signup-identifiers';\n\n// Utility Hooks\nexport { useUsernameValidation } from '../hooks/utility/validate-username';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of Signup\nexport const useSignup = (): SignupMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","Signup","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","signup","payload","federatedSignup","pickCountryCode","useSignup","useMemo"],"mappings":"ioBAeA,MAAMA,EAAWC,EAA8BC,IAGzCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4BN,IACnCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAmBD,GAC9Bd,EAAUH,EAASkB,gBAAgBD,IACxBE,EAAmBF,GAC9Bd,EAAUH,EAASmB,gBAAgBF,IAuBxBG,EAAY,IAAqBC,EAAQ,IAAMrB,EAAU"}