@thunderid/react 0.0.1

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 (462) hide show
  1. package/LICENSE +201 -0
  2. package/dist/ThunderIDReactClient.d.ts +87 -0
  3. package/dist/ThunderIDReactClient.d.ts.map +1 -0
  4. package/dist/__temp__/api.d.ts +258 -0
  5. package/dist/__temp__/api.d.ts.map +1 -0
  6. package/dist/__temp__/models.d.ts +98 -0
  7. package/dist/__temp__/models.d.ts.map +1 -0
  8. package/dist/api/createOrganization.d.ts +86 -0
  9. package/dist/api/createOrganization.d.ts.map +1 -0
  10. package/dist/api/getAllOrganizations.d.ts +78 -0
  11. package/dist/api/getAllOrganizations.d.ts.map +1 -0
  12. package/dist/api/getMeOrganizations.d.ts +82 -0
  13. package/dist/api/getMeOrganizations.d.ts.map +1 -0
  14. package/dist/api/getOrganization.d.ts +74 -0
  15. package/dist/api/getOrganization.d.ts.map +1 -0
  16. package/dist/api/getSchemas.d.ts +72 -0
  17. package/dist/api/getSchemas.d.ts.map +1 -0
  18. package/dist/api/getScim2Me.d.ts +72 -0
  19. package/dist/api/getScim2Me.d.ts.map +1 -0
  20. package/dist/api/updateMeProfile.d.ts +60 -0
  21. package/dist/api/updateMeProfile.d.ts.map +1 -0
  22. package/dist/api/updateOrganization.d.ts +81 -0
  23. package/dist/api/updateOrganization.d.ts.map +1 -0
  24. package/dist/cjs/index.js +20320 -0
  25. package/dist/cjs/index.js.map +1 -0
  26. package/dist/components/actions/SignInButton/BaseSignInButton.d.ts +71 -0
  27. package/dist/components/actions/SignInButton/BaseSignInButton.d.ts.map +1 -0
  28. package/dist/components/actions/SignInButton/SignInButton.d.ts +71 -0
  29. package/dist/components/actions/SignInButton/SignInButton.d.ts.map +1 -0
  30. package/dist/components/actions/SignOutButton/BaseSignOutButton.d.ts +71 -0
  31. package/dist/components/actions/SignOutButton/BaseSignOutButton.d.ts.map +1 -0
  32. package/dist/components/actions/SignOutButton/SignOutButton.d.ts +66 -0
  33. package/dist/components/actions/SignOutButton/SignOutButton.d.ts.map +1 -0
  34. package/dist/components/actions/SignUpButton/BaseSignUpButton.d.ts +71 -0
  35. package/dist/components/actions/SignUpButton/BaseSignUpButton.d.ts.map +1 -0
  36. package/dist/components/actions/SignUpButton/SignUpButton.d.ts +67 -0
  37. package/dist/components/actions/SignUpButton/SignUpButton.d.ts.map +1 -0
  38. package/dist/components/adapters/CheckboxInput.d.ts +25 -0
  39. package/dist/components/adapters/CheckboxInput.d.ts.map +1 -0
  40. package/dist/components/adapters/Consent.d.ts +80 -0
  41. package/dist/components/adapters/Consent.d.ts.map +1 -0
  42. package/dist/components/adapters/ConsentCheckboxList.d.ts +95 -0
  43. package/dist/components/adapters/ConsentCheckboxList.d.ts.map +1 -0
  44. package/dist/components/adapters/ConsentCheckboxList.styles.d.ts +21 -0
  45. package/dist/components/adapters/ConsentCheckboxList.styles.d.ts.map +1 -0
  46. package/dist/components/adapters/DateInput.d.ts +25 -0
  47. package/dist/components/adapters/DateInput.d.ts.map +1 -0
  48. package/dist/components/adapters/DividerComponent.d.ts +25 -0
  49. package/dist/components/adapters/DividerComponent.d.ts.map +1 -0
  50. package/dist/components/adapters/EmailInput.d.ts +25 -0
  51. package/dist/components/adapters/EmailInput.d.ts.map +1 -0
  52. package/dist/components/adapters/FacebookButton.d.ts +32 -0
  53. package/dist/components/adapters/FacebookButton.d.ts.map +1 -0
  54. package/dist/components/adapters/FlowTimer.d.ts +63 -0
  55. package/dist/components/adapters/FlowTimer.d.ts.map +1 -0
  56. package/dist/components/adapters/FormContainer.d.ts +25 -0
  57. package/dist/components/adapters/FormContainer.d.ts.map +1 -0
  58. package/dist/components/adapters/GitHubButton.d.ts +32 -0
  59. package/dist/components/adapters/GitHubButton.d.ts.map +1 -0
  60. package/dist/components/adapters/GoogleButton.d.ts +32 -0
  61. package/dist/components/adapters/GoogleButton.d.ts.map +1 -0
  62. package/dist/components/adapters/ImageComponent.d.ts +25 -0
  63. package/dist/components/adapters/ImageComponent.d.ts.map +1 -0
  64. package/dist/components/adapters/LinkedInButton.d.ts +32 -0
  65. package/dist/components/adapters/LinkedInButton.d.ts.map +1 -0
  66. package/dist/components/adapters/MicrosoftButton.d.ts +32 -0
  67. package/dist/components/adapters/MicrosoftButton.d.ts.map +1 -0
  68. package/dist/components/adapters/NumberInput.d.ts +25 -0
  69. package/dist/components/adapters/NumberInput.d.ts.map +1 -0
  70. package/dist/components/adapters/PasswordInput.d.ts +25 -0
  71. package/dist/components/adapters/PasswordInput.d.ts.map +1 -0
  72. package/dist/components/adapters/SelectInput.d.ts +25 -0
  73. package/dist/components/adapters/SelectInput.d.ts.map +1 -0
  74. package/dist/components/adapters/SignInWithEthereumButton.d.ts +32 -0
  75. package/dist/components/adapters/SignInWithEthereumButton.d.ts.map +1 -0
  76. package/dist/components/adapters/SmsOtpButton.d.ts +32 -0
  77. package/dist/components/adapters/SmsOtpButton.d.ts.map +1 -0
  78. package/dist/components/adapters/SocialButton.d.ts +25 -0
  79. package/dist/components/adapters/SocialButton.d.ts.map +1 -0
  80. package/dist/components/adapters/SubmitButton.d.ts +25 -0
  81. package/dist/components/adapters/SubmitButton.d.ts.map +1 -0
  82. package/dist/components/adapters/TelephoneInput.d.ts +25 -0
  83. package/dist/components/adapters/TelephoneInput.d.ts.map +1 -0
  84. package/dist/components/adapters/TextInput.d.ts +25 -0
  85. package/dist/components/adapters/TextInput.d.ts.map +1 -0
  86. package/dist/components/adapters/Typography.d.ts +25 -0
  87. package/dist/components/adapters/Typography.d.ts.map +1 -0
  88. package/dist/components/auth/Callback/Callback.d.ts +52 -0
  89. package/dist/components/auth/Callback/Callback.d.ts.map +1 -0
  90. package/dist/components/control/Loading.d.ts +48 -0
  91. package/dist/components/control/Loading.d.ts.map +1 -0
  92. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts +40 -0
  93. package/dist/components/control/OrganizationContext/OrganizationContext.d.ts.map +1 -0
  94. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts +35 -0
  95. package/dist/components/control/OrganizationContext/OrganizationContextController.d.ts.map +1 -0
  96. package/dist/components/control/SignedIn.d.ts +48 -0
  97. package/dist/components/control/SignedIn.d.ts.map +1 -0
  98. package/dist/components/control/SignedOut.d.ts +48 -0
  99. package/dist/components/control/SignedOut.d.ts.map +1 -0
  100. package/dist/components/factories/FieldFactory.d.ts +107 -0
  101. package/dist/components/factories/FieldFactory.d.ts.map +1 -0
  102. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts +60 -0
  103. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.d.ts.map +1 -0
  104. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts +27 -0
  105. package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.d.ts.map +1 -0
  106. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts +68 -0
  107. package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts.map +1 -0
  108. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.d.ts +80 -0
  109. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.d.ts.map +1 -0
  110. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.d.ts +21 -0
  111. package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.d.ts.map +1 -0
  112. package/dist/components/presentation/LanguageSwitcher/LanguageSwitcher.d.ts +78 -0
  113. package/dist/components/presentation/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -0
  114. package/dist/components/presentation/Organization/BaseOrganization.d.ts +67 -0
  115. package/dist/components/presentation/Organization/BaseOrganization.d.ts.map +1 -0
  116. package/dist/components/presentation/Organization/Organization.d.ts +67 -0
  117. package/dist/components/presentation/Organization/Organization.d.ts.map +1 -0
  118. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts +135 -0
  119. package/dist/components/presentation/OrganizationList/BaseOrganizationList.d.ts.map +1 -0
  120. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts +27 -0
  121. package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.d.ts.map +1 -0
  122. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts +93 -0
  123. package/dist/components/presentation/OrganizationList/OrganizationList.d.ts.map +1 -0
  124. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts +27 -0
  125. package/dist/components/presentation/OrganizationList/OrganizationList.styles.d.ts.map +1 -0
  126. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts +160 -0
  127. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts.map +1 -0
  128. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts +27 -0
  129. package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.d.ts.map +1 -0
  130. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts +120 -0
  131. package/dist/components/presentation/OrganizationProfile/OrganizationProfile.d.ts.map +1 -0
  132. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts +149 -0
  133. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts.map +1 -0
  134. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts +27 -0
  135. package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.d.ts.map +1 -0
  136. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts +71 -0
  137. package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +1 -0
  138. package/dist/components/presentation/User/BaseUser.d.ts +67 -0
  139. package/dist/components/presentation/User/BaseUser.d.ts.map +1 -0
  140. package/dist/components/presentation/User/User.d.ts +63 -0
  141. package/dist/components/presentation/User/User.d.ts.map +1 -0
  142. package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts +89 -0
  143. package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts.map +1 -0
  144. package/dist/components/presentation/UserDropdown/BaseUserDropdown.styles.d.ts +27 -0
  145. package/dist/components/presentation/UserDropdown/BaseUserDropdown.styles.d.ts.map +1 -0
  146. package/dist/components/presentation/UserDropdown/UserDropdown.d.ts +109 -0
  147. package/dist/components/presentation/UserDropdown/UserDropdown.d.ts.map +1 -0
  148. package/dist/components/presentation/UserProfile/BaseUserProfile.d.ts +73 -0
  149. package/dist/components/presentation/UserProfile/BaseUserProfile.d.ts.map +1 -0
  150. package/dist/components/presentation/UserProfile/BaseUserProfile.styles.d.ts +27 -0
  151. package/dist/components/presentation/UserProfile/BaseUserProfile.styles.d.ts.map +1 -0
  152. package/dist/components/presentation/UserProfile/UserProfile.d.ts +60 -0
  153. package/dist/components/presentation/UserProfile/UserProfile.d.ts.map +1 -0
  154. package/dist/components/presentation/auth/AcceptInvite/index.d.ts +22 -0
  155. package/dist/components/presentation/auth/AcceptInvite/index.d.ts.map +1 -0
  156. package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.d.ts +125 -0
  157. package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.d.ts.map +1 -0
  158. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.d.ts +202 -0
  159. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.d.ts.map +1 -0
  160. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.d.ts +27 -0
  161. package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.d.ts.map +1 -0
  162. package/dist/components/presentation/auth/AuthOptionFactory.d.ts +114 -0
  163. package/dist/components/presentation/auth/AuthOptionFactory.d.ts.map +1 -0
  164. package/dist/components/presentation/auth/InviteUser/index.d.ts +22 -0
  165. package/dist/components/presentation/auth/InviteUser/index.d.ts.map +1 -0
  166. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.d.ts +191 -0
  167. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.d.ts.map +1 -0
  168. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.d.ts +27 -0
  169. package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.d.ts.map +1 -0
  170. package/dist/components/presentation/auth/InviteUser/v2/InviteUser.d.ts +104 -0
  171. package/dist/components/presentation/auth/InviteUser/v2/InviteUser.d.ts.map +1 -0
  172. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts +20 -0
  173. package/dist/components/presentation/auth/OrganizationUnitPicker/index.d.ts.map +1 -0
  174. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.d.ts +30 -0
  175. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.d.ts.map +1 -0
  176. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.d.ts +21 -0
  177. package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.d.ts.map +1 -0
  178. package/dist/components/presentation/auth/Recovery/BaseRecovery.d.ts +24 -0
  179. package/dist/components/presentation/auth/Recovery/BaseRecovery.d.ts.map +1 -0
  180. package/dist/components/presentation/auth/Recovery/Recovery.d.ts +57 -0
  181. package/dist/components/presentation/auth/Recovery/Recovery.d.ts.map +1 -0
  182. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.d.ts +74 -0
  183. package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.d.ts.map +1 -0
  184. package/dist/components/presentation/auth/Recovery/v1/Recovery.d.ts +26 -0
  185. package/dist/components/presentation/auth/Recovery/v1/Recovery.d.ts.map +1 -0
  186. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.d.ts +46 -0
  187. package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.d.ts.map +1 -0
  188. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts +83 -0
  189. package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts.map +1 -0
  190. package/dist/components/presentation/auth/Recovery/v2/Recovery.d.ts +56 -0
  191. package/dist/components/presentation/auth/Recovery/v2/Recovery.d.ts.map +1 -0
  192. package/dist/components/presentation/auth/SignIn/BaseSignIn.d.ts +28 -0
  193. package/dist/components/presentation/auth/SignIn/BaseSignIn.d.ts.map +1 -0
  194. package/dist/components/presentation/auth/SignIn/BaseSignIn.styles.d.ts +27 -0
  195. package/dist/components/presentation/auth/SignIn/BaseSignIn.styles.d.ts.map +1 -0
  196. package/dist/components/presentation/auth/SignIn/SignIn.d.ts +63 -0
  197. package/dist/components/presentation/auth/SignIn/SignIn.d.ts.map +1 -0
  198. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.d.ts +131 -0
  199. package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.d.ts.map +1 -0
  200. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.d.ts +26 -0
  201. package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.d.ts.map +1 -0
  202. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.d.ts +26 -0
  203. package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.d.ts.map +1 -0
  204. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.d.ts +27 -0
  205. package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.d.ts.map +1 -0
  206. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.d.ts +77 -0
  207. package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.d.ts.map +1 -0
  208. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.d.ts +26 -0
  209. package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.d.ts.map +1 -0
  210. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.d.ts +26 -0
  211. package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.d.ts.map +1 -0
  212. package/dist/components/presentation/auth/SignIn/v1/options/Totp.d.ts +26 -0
  213. package/dist/components/presentation/auth/SignIn/v1/options/Totp.d.ts.map +1 -0
  214. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.d.ts +26 -0
  215. package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.d.ts.map +1 -0
  216. package/dist/components/presentation/auth/SignIn/v1/types.d.ts +125 -0
  217. package/dist/components/presentation/auth/SignIn/v1/types.d.ts.map +1 -0
  218. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts +222 -0
  219. package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts.map +1 -0
  220. package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts +165 -0
  221. package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts.map +1 -0
  222. package/dist/components/presentation/auth/SignUp/BaseSignUp.d.ts +28 -0
  223. package/dist/components/presentation/auth/SignUp/BaseSignUp.d.ts.map +1 -0
  224. package/dist/components/presentation/auth/SignUp/BaseSignUp.styles.d.ts +27 -0
  225. package/dist/components/presentation/auth/SignUp/BaseSignUp.styles.d.ts.map +1 -0
  226. package/dist/components/presentation/auth/SignUp/SignUp.d.ts +98 -0
  227. package/dist/components/presentation/auth/SignUp/SignUp.d.ts.map +1 -0
  228. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.d.ts +174 -0
  229. package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.d.ts.map +1 -0
  230. package/dist/components/presentation/auth/SignUp/v1/SignUp.d.ts +39 -0
  231. package/dist/components/presentation/auth/SignUp/v1/SignUp.d.ts.map +1 -0
  232. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.d.ts +46 -0
  233. package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.d.ts.map +1 -0
  234. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts +186 -0
  235. package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts.map +1 -0
  236. package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts +39 -0
  237. package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts.map +1 -0
  238. package/dist/components/primitives/Alert/Alert.d.ts +76 -0
  239. package/dist/components/primitives/Alert/Alert.d.ts.map +1 -0
  240. package/dist/components/primitives/Alert/Alert.styles.d.ts +29 -0
  241. package/dist/components/primitives/Alert/Alert.styles.d.ts.map +1 -0
  242. package/dist/components/primitives/Avatar/Avatar.d.ts +60 -0
  243. package/dist/components/primitives/Avatar/Avatar.d.ts.map +1 -0
  244. package/dist/components/primitives/Avatar/Avatar.styles.d.ts +31 -0
  245. package/dist/components/primitives/Avatar/Avatar.styles.d.ts.map +1 -0
  246. package/dist/components/primitives/Button/Button.d.ts +88 -0
  247. package/dist/components/primitives/Button/Button.d.ts.map +1 -0
  248. package/dist/components/primitives/Button/Button.styles.d.ts +36 -0
  249. package/dist/components/primitives/Button/Button.styles.d.ts.map +1 -0
  250. package/dist/components/primitives/Card/Card.d.ts +133 -0
  251. package/dist/components/primitives/Card/Card.d.ts.map +1 -0
  252. package/dist/components/primitives/Card/Card.styles.d.ts +30 -0
  253. package/dist/components/primitives/Card/Card.styles.d.ts.map +1 -0
  254. package/dist/components/primitives/Checkbox/Checkbox.d.ts +43 -0
  255. package/dist/components/primitives/Checkbox/Checkbox.d.ts.map +1 -0
  256. package/dist/components/primitives/Checkbox/Checkbox.styles.d.ts +29 -0
  257. package/dist/components/primitives/Checkbox/Checkbox.styles.d.ts.map +1 -0
  258. package/dist/components/primitives/CopyableText/CopyableText.d.ts +37 -0
  259. package/dist/components/primitives/CopyableText/CopyableText.d.ts.map +1 -0
  260. package/dist/components/primitives/CopyableText/CopyableText.styles.d.ts +21 -0
  261. package/dist/components/primitives/CopyableText/CopyableText.styles.d.ts.map +1 -0
  262. package/dist/components/primitives/CopyableText/index.d.ts +20 -0
  263. package/dist/components/primitives/CopyableText/index.d.ts.map +1 -0
  264. package/dist/components/primitives/DatePicker/DatePicker.d.ts +51 -0
  265. package/dist/components/primitives/DatePicker/DatePicker.d.ts.map +1 -0
  266. package/dist/components/primitives/DatePicker/DatePicker.styles.d.ts +29 -0
  267. package/dist/components/primitives/DatePicker/DatePicker.styles.d.ts.map +1 -0
  268. package/dist/components/primitives/Dialog/Dialog.d.ts +62 -0
  269. package/dist/components/primitives/Dialog/Dialog.d.ts.map +1 -0
  270. package/dist/components/primitives/Dialog/Dialog.styles.d.ts +27 -0
  271. package/dist/components/primitives/Dialog/Dialog.styles.d.ts.map +1 -0
  272. package/dist/components/primitives/Divider/Divider.d.ts +59 -0
  273. package/dist/components/primitives/Divider/Divider.d.ts.map +1 -0
  274. package/dist/components/primitives/Divider/Divider.styles.d.ts +33 -0
  275. package/dist/components/primitives/Divider/Divider.styles.d.ts.map +1 -0
  276. package/dist/components/primitives/FormControl/FormControl.d.ts +52 -0
  277. package/dist/components/primitives/FormControl/FormControl.d.ts.map +1 -0
  278. package/dist/components/primitives/FormControl/FormControl.styles.d.ts +31 -0
  279. package/dist/components/primitives/FormControl/FormControl.styles.d.ts.map +1 -0
  280. package/dist/components/primitives/Icons/ArrowLeftRight.d.ts +30 -0
  281. package/dist/components/primitives/Icons/ArrowLeftRight.d.ts.map +1 -0
  282. package/dist/components/primitives/Icons/ArrowRightLeft.d.ts +30 -0
  283. package/dist/components/primitives/Icons/ArrowRightLeft.d.ts.map +1 -0
  284. package/dist/components/primitives/Icons/Building.d.ts +41 -0
  285. package/dist/components/primitives/Icons/Building.d.ts.map +1 -0
  286. package/dist/components/primitives/Icons/BuildingAlt.d.ts +41 -0
  287. package/dist/components/primitives/Icons/BuildingAlt.d.ts.map +1 -0
  288. package/dist/components/primitives/Icons/Check.d.ts +41 -0
  289. package/dist/components/primitives/Icons/Check.d.ts.map +1 -0
  290. package/dist/components/primitives/Icons/ChevronDown.d.ts +41 -0
  291. package/dist/components/primitives/Icons/ChevronDown.d.ts.map +1 -0
  292. package/dist/components/primitives/Icons/CircleAlert.d.ts +24 -0
  293. package/dist/components/primitives/Icons/CircleAlert.d.ts.map +1 -0
  294. package/dist/components/primitives/Icons/CircleCheck.d.ts +24 -0
  295. package/dist/components/primitives/Icons/CircleCheck.d.ts.map +1 -0
  296. package/dist/components/primitives/Icons/Eye.d.ts +24 -0
  297. package/dist/components/primitives/Icons/Eye.d.ts.map +1 -0
  298. package/dist/components/primitives/Icons/EyeOff.d.ts +24 -0
  299. package/dist/components/primitives/Icons/EyeOff.d.ts.map +1 -0
  300. package/dist/components/primitives/Icons/Info.d.ts +24 -0
  301. package/dist/components/primitives/Icons/Info.d.ts.map +1 -0
  302. package/dist/components/primitives/Icons/LogOut.d.ts +24 -0
  303. package/dist/components/primitives/Icons/LogOut.d.ts.map +1 -0
  304. package/dist/components/primitives/Icons/Plus.d.ts +24 -0
  305. package/dist/components/primitives/Icons/Plus.d.ts.map +1 -0
  306. package/dist/components/primitives/Icons/Settings.d.ts +1 -0
  307. package/dist/components/primitives/Icons/Settings.d.ts.map +1 -0
  308. package/dist/components/primitives/Icons/TriangleAlert.d.ts +24 -0
  309. package/dist/components/primitives/Icons/TriangleAlert.d.ts.map +1 -0
  310. package/dist/components/primitives/Icons/User.d.ts +24 -0
  311. package/dist/components/primitives/Icons/User.d.ts.map +1 -0
  312. package/dist/components/primitives/Icons/X.d.ts +24 -0
  313. package/dist/components/primitives/Icons/X.d.ts.map +1 -0
  314. package/dist/components/primitives/Icons/flowIconRegistry.d.ts +29 -0
  315. package/dist/components/primitives/Icons/flowIconRegistry.d.ts.map +1 -0
  316. package/dist/components/primitives/Icons/index.d.ts +29 -0
  317. package/dist/components/primitives/Icons/index.d.ts.map +1 -0
  318. package/dist/components/primitives/InputLabel/InputLabel.d.ts +52 -0
  319. package/dist/components/primitives/InputLabel/InputLabel.d.ts.map +1 -0
  320. package/dist/components/primitives/InputLabel/InputLabel.styles.d.ts +31 -0
  321. package/dist/components/primitives/InputLabel/InputLabel.styles.d.ts.map +1 -0
  322. package/dist/components/primitives/KeyValueInput/KeyValueInput.d.ts +124 -0
  323. package/dist/components/primitives/KeyValueInput/KeyValueInput.d.ts.map +1 -0
  324. package/dist/components/primitives/KeyValueInput/KeyValueInput.styles.d.ts +30 -0
  325. package/dist/components/primitives/KeyValueInput/KeyValueInput.styles.d.ts.map +1 -0
  326. package/dist/components/primitives/Logo/Logo.d.ts +53 -0
  327. package/dist/components/primitives/Logo/Logo.d.ts.map +1 -0
  328. package/dist/components/primitives/Logo/Logo.styles.d.ts +29 -0
  329. package/dist/components/primitives/Logo/Logo.styles.d.ts.map +1 -0
  330. package/dist/components/primitives/MultiInput/MultiInput.d.ts +89 -0
  331. package/dist/components/primitives/MultiInput/MultiInput.d.ts.map +1 -0
  332. package/dist/components/primitives/MultiInput/MultiInput.styles.d.ts +33 -0
  333. package/dist/components/primitives/MultiInput/MultiInput.styles.d.ts.map +1 -0
  334. package/dist/components/primitives/OtpField/OtpField.d.ts +88 -0
  335. package/dist/components/primitives/OtpField/OtpField.d.ts.map +1 -0
  336. package/dist/components/primitives/OtpField/OtpField.styles.d.ts +31 -0
  337. package/dist/components/primitives/OtpField/OtpField.styles.d.ts.map +1 -0
  338. package/dist/components/primitives/PasswordField/PasswordField.d.ts +32 -0
  339. package/dist/components/primitives/PasswordField/PasswordField.d.ts.map +1 -0
  340. package/dist/components/primitives/PasswordField/PasswordField.styles.d.ts +30 -0
  341. package/dist/components/primitives/PasswordField/PasswordField.styles.d.ts.map +1 -0
  342. package/dist/components/primitives/Select/Select.d.ts +65 -0
  343. package/dist/components/primitives/Select/Select.d.ts.map +1 -0
  344. package/dist/components/primitives/Select/Select.styles.d.ts +29 -0
  345. package/dist/components/primitives/Select/Select.styles.d.ts.map +1 -0
  346. package/dist/components/primitives/Spinner/Spinner.d.ts +55 -0
  347. package/dist/components/primitives/Spinner/Spinner.d.ts.map +1 -0
  348. package/dist/components/primitives/Spinner/Spinner.styles.d.ts +30 -0
  349. package/dist/components/primitives/Spinner/Spinner.styles.d.ts.map +1 -0
  350. package/dist/components/primitives/TextField/TextField.d.ts +63 -0
  351. package/dist/components/primitives/TextField/TextField.d.ts.map +1 -0
  352. package/dist/components/primitives/TextField/TextField.styles.d.ts +31 -0
  353. package/dist/components/primitives/TextField/TextField.styles.d.ts.map +1 -0
  354. package/dist/components/primitives/Toggle/Toggle.d.ts +41 -0
  355. package/dist/components/primitives/Toggle/Toggle.d.ts.map +1 -0
  356. package/dist/components/primitives/Toggle/Toggle.styles.d.ts +21 -0
  357. package/dist/components/primitives/Toggle/Toggle.styles.d.ts.map +1 -0
  358. package/dist/components/primitives/Typography/Typography.d.ts +80 -0
  359. package/dist/components/primitives/Typography/Typography.d.ts.map +1 -0
  360. package/dist/components/primitives/Typography/Typography.styles.d.ts +39 -0
  361. package/dist/components/primitives/Typography/Typography.styles.d.ts.map +1 -0
  362. package/dist/contexts/Branding/BrandingContext.d.ts +53 -0
  363. package/dist/contexts/Branding/BrandingContext.d.ts.map +1 -0
  364. package/dist/contexts/Branding/BrandingProvider.d.ts +89 -0
  365. package/dist/contexts/Branding/BrandingProvider.d.ts.map +1 -0
  366. package/dist/contexts/Branding/useBrandingContext.d.ts +45 -0
  367. package/dist/contexts/Branding/useBrandingContext.d.ts.map +1 -0
  368. package/dist/contexts/ComponentRenderer/ComponentRendererContext.d.ts +37 -0
  369. package/dist/contexts/ComponentRenderer/ComponentRendererContext.d.ts.map +1 -0
  370. package/dist/contexts/ComponentRenderer/ComponentRendererProvider.d.ts +25 -0
  371. package/dist/contexts/ComponentRenderer/ComponentRendererProvider.d.ts.map +1 -0
  372. package/dist/contexts/Flow/FlowContext.d.ts +75 -0
  373. package/dist/contexts/Flow/FlowContext.d.ts.map +1 -0
  374. package/dist/contexts/Flow/FlowProvider.d.ts +47 -0
  375. package/dist/contexts/Flow/FlowProvider.d.ts.map +1 -0
  376. package/dist/contexts/Flow/useFlow.d.ts +49 -0
  377. package/dist/contexts/Flow/useFlow.d.ts.map +1 -0
  378. package/dist/contexts/FlowMeta/FlowMetaContext.d.ts +45 -0
  379. package/dist/contexts/FlowMeta/FlowMetaContext.d.ts.map +1 -0
  380. package/dist/contexts/FlowMeta/FlowMetaProvider.d.ts +51 -0
  381. package/dist/contexts/FlowMeta/FlowMetaProvider.d.ts.map +1 -0
  382. package/dist/contexts/FlowMeta/useFlowMeta.d.ts +21 -0
  383. package/dist/contexts/FlowMeta/useFlowMeta.d.ts.map +1 -0
  384. package/dist/contexts/I18n/ComponentPreferencesContext.d.ts +27 -0
  385. package/dist/contexts/I18n/ComponentPreferencesContext.d.ts.map +1 -0
  386. package/dist/contexts/I18n/I18nContext.d.ts +49 -0
  387. package/dist/contexts/I18n/I18nContext.d.ts.map +1 -0
  388. package/dist/contexts/I18n/I18nProvider.d.ts +32 -0
  389. package/dist/contexts/I18n/I18nProvider.d.ts.map +1 -0
  390. package/dist/contexts/I18n/useI18n.d.ts +28 -0
  391. package/dist/contexts/I18n/useI18n.d.ts.map +1 -0
  392. package/dist/contexts/Organization/OrganizationContext.d.ts +41 -0
  393. package/dist/contexts/Organization/OrganizationContext.d.ts.map +1 -0
  394. package/dist/contexts/Organization/OrganizationProvider.d.ts +94 -0
  395. package/dist/contexts/Organization/OrganizationProvider.d.ts.map +1 -0
  396. package/dist/contexts/Organization/useOrganization.d.ts +105 -0
  397. package/dist/contexts/Organization/useOrganization.d.ts.map +1 -0
  398. package/dist/contexts/Theme/ThemeContext.d.ts +43 -0
  399. package/dist/contexts/Theme/ThemeContext.d.ts.map +1 -0
  400. package/dist/contexts/Theme/ThemeProvider.d.ts +86 -0
  401. package/dist/contexts/Theme/ThemeProvider.d.ts.map +1 -0
  402. package/dist/contexts/Theme/types.d.ts +131 -0
  403. package/dist/contexts/Theme/types.d.ts.map +1 -0
  404. package/dist/contexts/Theme/useTheme.d.ts +21 -0
  405. package/dist/contexts/Theme/useTheme.d.ts.map +1 -0
  406. package/dist/contexts/Theme/v1/ThemeProvider.d.ts +89 -0
  407. package/dist/contexts/Theme/v1/ThemeProvider.d.ts.map +1 -0
  408. package/dist/contexts/Theme/v2/ThemeProvider.d.ts +58 -0
  409. package/dist/contexts/Theme/v2/ThemeProvider.d.ts.map +1 -0
  410. package/dist/contexts/ThunderID/ThunderIDContext.d.ts +184 -0
  411. package/dist/contexts/ThunderID/ThunderIDContext.d.ts.map +1 -0
  412. package/dist/contexts/ThunderID/ThunderIDProvider.d.ts +26 -0
  413. package/dist/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -0
  414. package/dist/contexts/ThunderID/useThunderID.d.ts +21 -0
  415. package/dist/contexts/ThunderID/useThunderID.d.ts.map +1 -0
  416. package/dist/contexts/User/UserContext.d.ts +42 -0
  417. package/dist/contexts/User/UserContext.d.ts.map +1 -0
  418. package/dist/contexts/User/UserProvider.d.ts +65 -0
  419. package/dist/contexts/User/UserProvider.d.ts.map +1 -0
  420. package/dist/contexts/User/useUser.d.ts +95 -0
  421. package/dist/contexts/User/useUser.d.ts.map +1 -0
  422. package/dist/hooks/useBranding.d.ts +128 -0
  423. package/dist/hooks/useBranding.d.ts.map +1 -0
  424. package/dist/hooks/useBrowserUrl.d.ts +56 -0
  425. package/dist/hooks/useBrowserUrl.d.ts.map +1 -0
  426. package/dist/hooks/useForm.d.ts +194 -0
  427. package/dist/hooks/useForm.d.ts.map +1 -0
  428. package/dist/hooks/useTranslation.d.ts +53 -0
  429. package/dist/hooks/useTranslation.d.ts.map +1 -0
  430. package/dist/hooks/v2/useOAuthCallback.d.ts +83 -0
  431. package/dist/hooks/v2/useOAuthCallback.d.ts.map +1 -0
  432. package/dist/index.d.ts +206 -0
  433. package/dist/index.d.ts.map +1 -0
  434. package/dist/index.js +20044 -0
  435. package/dist/index.js.map +1 -0
  436. package/dist/models/adapters.d.ts +69 -0
  437. package/dist/models/adapters.d.ts.map +1 -0
  438. package/dist/models/config.d.ts +20 -0
  439. package/dist/models/config.d.ts.map +1 -0
  440. package/dist/utils/applyThemeToDOM.d.ts +25 -0
  441. package/dist/utils/applyThemeToDOM.d.ts.map +1 -0
  442. package/dist/utils/getDisplayName.d.ts +44 -0
  443. package/dist/utils/getDisplayName.d.ts.map +1 -0
  444. package/dist/utils/getMappedUserProfileValue.d.ts +52 -0
  445. package/dist/utils/getMappedUserProfileValue.d.ts.map +1 -0
  446. package/dist/utils/normalizeThemeConfig.d.ts +31 -0
  447. package/dist/utils/normalizeThemeConfig.d.ts.map +1 -0
  448. package/dist/utils/oauth.d.ts +25 -0
  449. package/dist/utils/oauth.d.ts.map +1 -0
  450. package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts +34 -0
  451. package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
  452. package/dist/utils/v2/flowTransformer.d.ts +121 -0
  453. package/dist/utils/v2/flowTransformer.d.ts.map +1 -0
  454. package/dist/utils/v2/getAuthComponentHeadings.d.ts +70 -0
  455. package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +1 -0
  456. package/dist/utils/v2/passkey.d.ts +32 -0
  457. package/dist/utils/v2/passkey.d.ts.map +1 -0
  458. package/dist/utils/v2/resolveTranslationsInArray.d.ts +30 -0
  459. package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +1 -0
  460. package/dist/utils/v2/resolveTranslationsInObject.d.ts +30 -0
  461. package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +1 -0
  462. package/package.json +75 -0
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FC, ReactNode } from 'react';
19
+ import { BaseAcceptInviteRenderProps, AcceptInviteFlowResponse } from './BaseAcceptInvite';
20
+ /**
21
+ * Render props for AcceptInvite (re-exported for convenience).
22
+ */
23
+ export type AcceptInviteRenderProps = BaseAcceptInviteRenderProps;
24
+ /**
25
+ * Props for the AcceptInvite component.
26
+ */
27
+ export interface AcceptInviteProps {
28
+ /**
29
+ * Base URL for the Thunder API server.
30
+ * If not provided, will try to read from window location.
31
+ */
32
+ baseUrl?: string;
33
+ /**
34
+ * Render props function for custom UI.
35
+ * If not provided, default UI will be rendered by the SDK.
36
+ */
37
+ children?: (props: AcceptInviteRenderProps) => ReactNode;
38
+ /**
39
+ * Custom CSS class name.
40
+ */
41
+ className?: string;
42
+ /**
43
+ * Flow ID from the invite link.
44
+ * If not provided, will be extracted from URL query parameters.
45
+ */
46
+ executionId?: string;
47
+ /**
48
+ * Invite token from the invite link.
49
+ * If not provided, will be extracted from URL query parameters.
50
+ */
51
+ inviteToken?: string;
52
+ /**
53
+ * Callback when the flow completes successfully.
54
+ */
55
+ onComplete?: () => void;
56
+ /**
57
+ * Callback when an error occurs.
58
+ */
59
+ onError?: (error: Error) => void;
60
+ /**
61
+ * Callback when the flow state changes.
62
+ */
63
+ onFlowChange?: (response: AcceptInviteFlowResponse) => void;
64
+ /**
65
+ * Callback to navigate to sign in page.
66
+ */
67
+ onGoToSignIn?: () => void;
68
+ /**
69
+ * Whether to show the subtitle.
70
+ */
71
+ showSubtitle?: boolean;
72
+ /**
73
+ * Whether to show the title.
74
+ */
75
+ showTitle?: boolean;
76
+ /**
77
+ * Size variant for the component.
78
+ */
79
+ size?: 'small' | 'medium' | 'large';
80
+ /**
81
+ * Theme variant for the component card.
82
+ */
83
+ variant?: 'outlined' | 'elevated';
84
+ }
85
+ /**
86
+ * AcceptInvite component for end-users to accept an invite and set their password.
87
+ *
88
+ * This component is designed for end users accessing the thunder-gate app via an invite link.
89
+ * It automatically:
90
+ * 1. Extracts executionId and inviteToken from URL query parameters
91
+ * 2. Validates the invite token with the backend
92
+ * 3. Displays the password form if token is valid
93
+ * 4. Completes the accept invite when password is set
94
+ *
95
+ * @example
96
+ * ```tsx
97
+ * import { AcceptInvite } from '@thunderid/react';
98
+ *
99
+ * // URL: /invite?executionId=xxx&inviteToken=yyy
100
+ *
101
+ * const AcceptInvitePage = () => {
102
+ * return (
103
+ * <AcceptInvite
104
+ * baseUrl="https://api.thunder.io"
105
+ * onComplete={() => navigate('/signin')}
106
+ * onError={(error) => console.error(error)}
107
+ * >
108
+ * {({ values, components, isLoading, isComplete, isValidatingToken, isTokenInvalid, error, handleInputChange, handleSubmit }) => (
109
+ * <div>
110
+ * {isValidatingToken && <p>Validating your invite...</p>}
111
+ * {isTokenInvalid && <p>Invalid or expired invite link</p>}
112
+ * {isComplete && <p>Registration complete! You can now sign in.</p>}
113
+ * {!isComplete && !isValidatingToken && !isTokenInvalid && (
114
+ * // Render password form based on components
115
+ * )}
116
+ * </div>
117
+ * )}
118
+ * </AcceptInvite>
119
+ * );
120
+ * };
121
+ * ```
122
+ */
123
+ declare const AcceptInvite: FC<AcceptInviteProps>;
124
+ export default AcceptInvite;
125
+ //# sourceMappingURL=AcceptInvite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcceptInvite.d.ts","sourceRoot":"","sources":["../../../../../../src/components/presentation/auth/AcceptInvite/v2/AcceptInvite.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,EAAE,EAAgB,SAAS,EAAU,MAAM,OAAO,CAAC;AAC3D,OAAyB,EAAC,2BAA2B,EAAE,wBAAwB,EAAC,MAAM,oBAAoB,CAAC;AAE3G;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;IAEzD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAE5D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;CACnC;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4EvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,202 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FlowMetadataResponse, Preferences } from '@thunderid/browser';
19
+ import { FC, ReactNode } from 'react';
20
+ import { CardProps } from '../../../../primitives/Card/Card';
21
+ /**
22
+ * Flow response structure from the backend.
23
+ */
24
+ export interface AcceptInviteFlowResponse {
25
+ challengeToken?: string;
26
+ data?: {
27
+ additionalData?: Record<string, string>;
28
+ components?: any[];
29
+ meta?: {
30
+ components?: any[];
31
+ };
32
+ redirectURL?: string;
33
+ };
34
+ executionId: string;
35
+ failureReason?: string;
36
+ flowStatus: 'INCOMPLETE' | 'COMPLETE' | 'ERROR';
37
+ type?: 'VIEW' | 'REDIRECTION';
38
+ }
39
+ /**
40
+ * Render props for custom UI rendering of AcceptInvite.
41
+ */
42
+ export interface BaseAcceptInviteRenderProps {
43
+ /**
44
+ * Flow components from the current step.
45
+ */
46
+ components: any[];
47
+ /**
48
+ * API error (if any).
49
+ */
50
+ error?: Error | null;
51
+ /**
52
+ * Current flow ID from URL.
53
+ */
54
+ executionId?: string;
55
+ /**
56
+ * Field validation errors.
57
+ */
58
+ fieldErrors: Record<string, string>;
59
+ /**
60
+ * Navigate to sign in page.
61
+ */
62
+ goToSignIn?: () => void;
63
+ /**
64
+ * Function to handle input blur.
65
+ */
66
+ handleInputBlur: (name: string) => void;
67
+ /**
68
+ * Function to handle input changes.
69
+ */
70
+ handleInputChange: (name: string, value: string) => void;
71
+ /**
72
+ * Function to handle form submission.
73
+ */
74
+ handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
75
+ /**
76
+ * Invite token from URL.
77
+ */
78
+ inviteToken?: string;
79
+ /**
80
+ * Whether the flow has completed successfully.
81
+ */
82
+ isComplete: boolean;
83
+ /**
84
+ * Loading state.
85
+ */
86
+ isLoading: boolean;
87
+ /**
88
+ * Whether the token validation failed.
89
+ */
90
+ isTokenInvalid: boolean;
91
+ /**
92
+ * Whether the form is valid.
93
+ */
94
+ isValid: boolean;
95
+ /**
96
+ * Whether the invite token is being validated.
97
+ */
98
+ isValidatingToken: boolean;
99
+ /**
100
+ * Flow metadata returned by the platform (v2 only). `null` while loading or unavailable.
101
+ */
102
+ meta: FlowMetadataResponse | null;
103
+ /**
104
+ * Subtitle for the current step.
105
+ */
106
+ subtitle?: string;
107
+ /**
108
+ * Title for the current step.
109
+ */
110
+ title?: string;
111
+ /**
112
+ * Touched fields.
113
+ */
114
+ touched: Record<string, boolean>;
115
+ /**
116
+ * Form values for the current step.
117
+ */
118
+ values: Record<string, string>;
119
+ }
120
+ /**
121
+ * Props for the BaseAcceptInvite component.
122
+ */
123
+ export interface BaseAcceptInviteProps {
124
+ /**
125
+ * Render props function for custom UI.
126
+ * If not provided, default UI will be rendered.
127
+ */
128
+ children?: (props: BaseAcceptInviteRenderProps) => ReactNode;
129
+ /**
130
+ * Custom CSS class name.
131
+ */
132
+ className?: string;
133
+ /**
134
+ * Flow ID from the invite link URL.
135
+ */
136
+ executionId?: string;
137
+ /**
138
+ * Invite token from the invite link URL.
139
+ */
140
+ inviteToken?: string;
141
+ /**
142
+ * Callback when the flow completes successfully.
143
+ */
144
+ onComplete?: () => void;
145
+ /**
146
+ * Callback when an error occurs.
147
+ */
148
+ onError?: (error: Error) => void;
149
+ /**
150
+ * Callback when the flow state changes.
151
+ */
152
+ onFlowChange?: (response: AcceptInviteFlowResponse) => void;
153
+ /**
154
+ * Callback to navigate to sign in page.
155
+ */
156
+ onGoToSignIn?: () => void;
157
+ /**
158
+ * Function to submit flow step data.
159
+ * This makes a request to the flow/execute endpoint.
160
+ */
161
+ onSubmit: (payload: Record<string, any>) => Promise<AcceptInviteFlowResponse>;
162
+ /**
163
+ * Component-level preferences to override global i18n and theme settings.
164
+ * Preferences are deep-merged with global ones, with component preferences
165
+ * taking precedence. Affects this component and all its descendants.
166
+ */
167
+ preferences?: Preferences;
168
+ /**
169
+ * Whether to show the subtitle.
170
+ */
171
+ showSubtitle?: boolean;
172
+ /**
173
+ * Whether to show the title.
174
+ */
175
+ showTitle?: boolean;
176
+ /**
177
+ * Size variant for the component.
178
+ */
179
+ size?: 'small' | 'medium' | 'large';
180
+ /**
181
+ * Theme variant for the component.
182
+ */
183
+ variant?: CardProps['variant'];
184
+ }
185
+ /**
186
+ * Base component for accept invite flow (end-user).
187
+ * Handles the flow logic for validating an invite token and setting a password.
188
+ *
189
+ * When no children are provided, renders a default UI with:
190
+ * - Loading spinner during token validation
191
+ * - Error alerts for invalid/expired tokens
192
+ * - Password form with validation
193
+ * - Success state with sign-in redirect
194
+ *
195
+ * Flow steps handled:
196
+ * 1. Validate invite token (automatic on mount)
197
+ * 2. Password input
198
+ * 3. Flow completion
199
+ */
200
+ declare const BaseAcceptInvite: FC<BaseAcceptInviteProps>;
201
+ export default BaseAcceptInvite;
202
+ //# sourceMappingURL=BaseAcceptInvite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseAcceptInvite.d.ts","sourceRoot":"","sources":["../../../../../../src/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,oBAAoB,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAC,EAAE,EAAgB,SAAS,EAAuD,MAAM,OAAO,CAAC;AAcxG,OAAsB,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAK1E;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE;QACL,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,EAAE;YACL,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;SACpB,CAAC;QACF,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,GAAG,aA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C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,SAAS,CAAC;IAE7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAE5D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1B;;;OAGG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAE9E;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAmkB/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { Theme } from '@thunderid/browser';
19
+ /**
20
+ * Creates styles for the BaseAcceptInvite component
21
+ * @param theme - The theme object containing design tokens
22
+ * @param colorScheme - The current color scheme (used for memoization)
23
+ * @returns Object containing CSS class names for component styling
24
+ */
25
+ declare const useStyles: (theme: Theme, colorScheme: string) => Record<string, string>;
26
+ export default useStyles;
27
+ //# sourceMappingURL=BaseAcceptInvite.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseAcceptInvite.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAGzC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,GAAI,OAAO,KAAK,EAAE,aAAa,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAuCxE,CAAC;AAEL,eAAe,SAAS,CAAC"}
@@ -0,0 +1,114 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { FlowMetadataResponse, OrganizationUnitListResponse, EmbeddedFlowComponentV2 as EmbeddedFlowComponent } from '@thunderid/browser';
19
+ import { ReactElement } from 'react';
20
+ import { ComponentRendererMap } from '../../../contexts/ComponentRenderer/ComponentRendererContext';
21
+ import { UseTranslation } from '../../../hooks/useTranslation';
22
+ export type AuthType = 'signin' | 'signup' | 'recovery';
23
+ /**
24
+ * Processes an array of components and renders them as React elements for sign-in.
25
+ */
26
+ export declare const renderSignInComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, options?: {
27
+ /** @internal */
28
+ _customRenderers?: ComponentRendererMap;
29
+ /** @internal */
30
+ _theme?: any;
31
+ /** Additional data from the flow response */
32
+ additionalData?: Record<string, any>;
33
+ buttonClassName?: string;
34
+ inputClassName?: string;
35
+ /** Flag to determine if the step timeline has expired */
36
+ isTimeoutDisabled?: boolean;
37
+ /** Flow metadata for resolving {{meta(...)}} expressions at render time */
38
+ meta?: FlowMetadataResponse | null;
39
+ onInputBlur?: (name: string) => void;
40
+ onSubmit?: (component: EmbeddedFlowComponent, data?: Record<string, any>, skipValidation?: boolean) => void;
41
+ size?: "small" | "medium" | "large";
42
+ /** Translation function for resolving {{t(...)}} expressions at render time */
43
+ t?: UseTranslation["t"];
44
+ variant?: any;
45
+ }) => ReactElement[];
46
+ /**
47
+ * Processes an array of components and renders them as React elements for sign-up.
48
+ */
49
+ export declare const renderSignUpComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, options?: {
50
+ /** @internal */
51
+ _customRenderers?: ComponentRendererMap;
52
+ /** @internal */
53
+ _theme?: any;
54
+ /** Additional data from the flow response */
55
+ additionalData?: Record<string, any>;
56
+ buttonClassName?: string;
57
+ inputClassName?: string;
58
+ /** Flow metadata for resolving {{meta(...)}} expressions at render time */
59
+ meta?: FlowMetadataResponse | null;
60
+ onInputBlur?: (name: string) => void;
61
+ onSubmit?: (component: EmbeddedFlowComponent, data?: Record<string, any>, skipValidation?: boolean) => void;
62
+ size?: "small" | "medium" | "large";
63
+ /** Translation function for resolving {{t(...)}} expressions at render time */
64
+ t?: UseTranslation["t"];
65
+ variant?: any;
66
+ }) => ReactElement[];
67
+ /**
68
+ * Processes an array of components and renders them as React elements for recovery flow.
69
+ */
70
+ export declare const renderRecoveryComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, options?: {
71
+ /** @internal */
72
+ _customRenderers?: ComponentRendererMap;
73
+ /** @internal */
74
+ _theme?: any;
75
+ /** Additional data from the flow response */
76
+ additionalData?: Record<string, any>;
77
+ buttonClassName?: string;
78
+ inputClassName?: string;
79
+ /** Flag to determine if the step timeline has expired */
80
+ isTimeoutDisabled?: boolean;
81
+ /** Flow metadata for resolving {{meta(...)}} expressions at render time */
82
+ meta?: FlowMetadataResponse | null;
83
+ onInputBlur?: (name: string) => void;
84
+ onSubmit?: (component: EmbeddedFlowComponent, data?: Record<string, any>, skipValidation?: boolean) => void;
85
+ size?: "small" | "medium" | "large";
86
+ /** Translation function for resolving {{t(...)}} expressions at render time */
87
+ t?: UseTranslation["t"];
88
+ variant?: any;
89
+ }) => ReactElement[];
90
+ /**
91
+ * Processes an array of components and renders them as React elements for invite user.
92
+ * This is used by both InviteUser and AcceptInvite components.
93
+ */
94
+ export declare const renderInviteUserComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, options?: {
95
+ /** @internal */
96
+ _customRenderers?: ComponentRendererMap;
97
+ /** @internal */
98
+ _theme?: any;
99
+ /** Additional data from the flow response */
100
+ additionalData?: Record<string, any>;
101
+ buttonClassName?: string;
102
+ /** Function to fetch child organization units. Used by OU_SELECT component type. */
103
+ fetchOrganizationUnitChildren?: (parentId: string, limit: number, offset: number) => Promise<OrganizationUnitListResponse>;
104
+ inputClassName?: string;
105
+ /** Flow metadata for resolving {{meta(...)}} expressions at render time */
106
+ meta?: FlowMetadataResponse | null;
107
+ onInputBlur?: (name: string) => void;
108
+ onSubmit?: (component: EmbeddedFlowComponent, data?: Record<string, any>, skipValidation?: boolean) => void;
109
+ size?: "small" | "medium" | "large";
110
+ /** Translation function for resolving {{t(...)}} expressions at render time */
111
+ t?: UseTranslation["t"];
112
+ variant?: any;
113
+ }) => ReactElement[];
114
+ //# sourceMappingURL=AuthOptionFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthOptionFactory.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/auth/AuthOptionFactory.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAEL,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,IAAI,qBAAqB,EAYjD,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAA8B,YAAY,EAAC,MAAM,OAAO,CAAC;AAEhE,OAAO,EAGL,oBAAoB,EACrB,MAAM,8DAA8D,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AA+D7D,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;AA+hBxD;;GAEG;AACH,eAAO,MAAM,sBAAsB,GACjC,YAAY,qBAAqB,EAAE,EACnC,YAAY,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,eAAe,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,YAAY,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,W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BAA6B,CAAC,EAAE,CAC9B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,KACX,OAAO,CAAC,4BAA4B,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,IAAI,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5G,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,+EAA+E;IAC/E,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,KACA,YAAY,EAkBK,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ export { default as InviteUser } from './v2/InviteUser';
19
+ export type { InviteUserProps, InviteUserRenderProps } from './v2/InviteUser';
20
+ export { default as BaseInviteUser } from './v2/BaseInviteUser';
21
+ export type { BaseInviteUserProps, BaseInviteUserRenderProps, InviteUserFlowResponse } from './v2/BaseInviteUser';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/presentation/auth/InviteUser/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAC,eAAe,EAAE,qBAAqB,EAAC,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAC,mBAAmB,EAAE,yBAAyB,EAAE,sBAAsB,EAAC,MAAM,qBAAqB,CAAC"}