@thunderid/react 0.0.5 → 0.2.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.
- package/README.md +1 -1
- package/dist/ThunderIDReactClient.d.ts +2 -2
- package/dist/ThunderIDReactClient.d.ts.map +1 -1
- package/dist/ThunderIDReactClient.js +233 -0
- package/dist/ThunderIDReactClient.js.map +1 -0
- package/dist/api/createOrganization.d.ts +2 -2
- package/dist/api/createOrganization.js +80 -0
- package/dist/api/createOrganization.js.map +1 -0
- package/dist/api/getAllOrganizations.d.ts +2 -2
- package/dist/api/getAllOrganizations.js +71 -0
- package/dist/api/getAllOrganizations.js.map +1 -0
- package/dist/api/getMeOrganizations.d.ts +2 -2
- package/dist/api/getMeOrganizations.js +75 -0
- package/dist/api/getMeOrganizations.js.map +1 -0
- package/dist/api/getOrganization.d.ts +2 -2
- package/dist/api/getOrganization.js +67 -0
- package/dist/api/getOrganization.js.map +1 -0
- package/dist/api/getSchemas.d.ts +2 -2
- package/dist/api/getSchemas.js +65 -0
- package/dist/api/getSchemas.js.map +1 -0
- package/dist/api/getScim2Me.d.ts +2 -2
- package/dist/api/getScim2Me.js +65 -0
- package/dist/api/getScim2Me.js.map +1 -0
- package/dist/api/updateMeProfile.d.ts +2 -2
- package/dist/api/updateMeProfile.js +54 -0
- package/dist/api/updateMeProfile.js.map +1 -0
- package/dist/api/updateOrganization.d.ts +3 -3
- package/dist/api/updateOrganization.js +74 -0
- package/dist/api/updateOrganization.js.map +1 -0
- package/dist/cjs/ThunderIDReactClient.cjs +235 -0
- package/dist/cjs/ThunderIDReactClient.cjs.map +1 -0
- package/dist/cjs/_virtual/rolldown_runtime.cjs +25 -0
- package/dist/cjs/api/createOrganization.cjs +82 -0
- package/dist/cjs/api/createOrganization.cjs.map +1 -0
- package/dist/cjs/api/getAllOrganizations.cjs +73 -0
- package/dist/cjs/api/getAllOrganizations.cjs.map +1 -0
- package/dist/cjs/api/getMeOrganizations.cjs +77 -0
- package/dist/cjs/api/getMeOrganizations.cjs.map +1 -0
- package/dist/cjs/api/getOrganization.cjs +69 -0
- package/dist/cjs/api/getOrganization.cjs.map +1 -0
- package/dist/cjs/api/getSchemas.cjs +67 -0
- package/dist/cjs/api/getSchemas.cjs.map +1 -0
- package/dist/cjs/api/getScim2Me.cjs +67 -0
- package/dist/cjs/api/getScim2Me.cjs.map +1 -0
- package/dist/cjs/api/updateMeProfile.cjs +56 -0
- package/dist/cjs/api/updateMeProfile.cjs.map +1 -0
- package/dist/cjs/api/updateOrganization.cjs +76 -0
- package/dist/cjs/api/updateOrganization.cjs.map +1 -0
- package/dist/cjs/components/actions/SignInButton/BaseSignInButton.cjs +54 -0
- package/dist/cjs/components/actions/SignInButton/BaseSignInButton.cjs.map +1 -0
- package/dist/cjs/components/actions/SignInButton/SignInButton.cjs +88 -0
- package/dist/cjs/components/actions/SignInButton/SignInButton.cjs.map +1 -0
- package/dist/cjs/components/actions/SignOutButton/BaseSignOutButton.cjs +54 -0
- package/dist/cjs/components/actions/SignOutButton/BaseSignOutButton.cjs.map +1 -0
- package/dist/cjs/components/actions/SignOutButton/SignOutButton.cjs +84 -0
- package/dist/cjs/components/actions/SignOutButton/SignOutButton.cjs.map +1 -0
- package/dist/cjs/components/actions/SignUpButton/BaseSignUpButton.cjs +56 -0
- package/dist/cjs/components/actions/SignUpButton/BaseSignUpButton.cjs.map +1 -0
- package/dist/cjs/components/actions/SignUpButton/SignUpButton.cjs +86 -0
- package/dist/cjs/components/actions/SignUpButton/SignUpButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/CheckboxInput.cjs +30 -0
- package/dist/cjs/components/adapters/CheckboxInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/Consent.cjs +69 -0
- package/dist/cjs/components/adapters/Consent.cjs.map +1 -0
- package/dist/cjs/components/adapters/ConsentCheckboxList.cjs +81 -0
- package/dist/cjs/components/adapters/ConsentCheckboxList.cjs.map +1 -0
- package/dist/cjs/components/adapters/ConsentCheckboxList.styles.cjs +46 -0
- package/dist/cjs/components/adapters/ConsentCheckboxList.styles.cjs.map +1 -0
- package/dist/cjs/components/adapters/DateInput.cjs +30 -0
- package/dist/cjs/components/adapters/DateInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/DividerComponent.cjs +24 -0
- package/dist/cjs/components/adapters/DividerComponent.cjs.map +1 -0
- package/dist/cjs/components/adapters/EmailInput.cjs +30 -0
- package/dist/cjs/components/adapters/EmailInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/FacebookButton.cjs +41 -0
- package/dist/cjs/components/adapters/FacebookButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/FlowTimer.cjs +52 -0
- package/dist/cjs/components/adapters/FlowTimer.cjs.map +1 -0
- package/dist/cjs/components/adapters/FormContainer.cjs +36 -0
- package/dist/cjs/components/adapters/FormContainer.cjs.map +1 -0
- package/dist/cjs/components/adapters/GitHubButton.cjs +41 -0
- package/dist/cjs/components/adapters/GitHubButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/GoogleButton.cjs +59 -0
- package/dist/cjs/components/adapters/GoogleButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/ImageComponent.cjs +77 -0
- package/dist/cjs/components/adapters/ImageComponent.cjs.map +1 -0
- package/dist/cjs/components/adapters/LinkedInButton.cjs +38 -0
- package/dist/cjs/components/adapters/LinkedInButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/MicrosoftButton.cjs +56 -0
- package/dist/cjs/components/adapters/MicrosoftButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/NumberInput.cjs +30 -0
- package/dist/cjs/components/adapters/NumberInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/PasswordInput.cjs +52 -0
- package/dist/cjs/components/adapters/PasswordInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/SelectInput.cjs +36 -0
- package/dist/cjs/components/adapters/SelectInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/SignInWithEthereumButton.cjs +38 -0
- package/dist/cjs/components/adapters/SignInWithEthereumButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/SmsOtpButton.cjs +38 -0
- package/dist/cjs/components/adapters/SmsOtpButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/SubmitButton.cjs +61 -0
- package/dist/cjs/components/adapters/SubmitButton.cjs.map +1 -0
- package/dist/cjs/components/adapters/TelephoneInput.cjs +32 -0
- package/dist/cjs/components/adapters/TelephoneInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/TextInput.cjs +30 -0
- package/dist/cjs/components/adapters/TextInput.cjs.map +1 -0
- package/dist/cjs/components/adapters/Typography.cjs +60 -0
- package/dist/cjs/components/adapters/Typography.cjs.map +1 -0
- package/dist/cjs/components/auth/Callback/Callback.cjs +26 -0
- package/dist/cjs/components/auth/Callback/Callback.cjs.map +1 -0
- package/dist/cjs/components/auth/Callback/OAuthCallback.cjs +104 -0
- package/dist/cjs/components/auth/Callback/OAuthCallback.cjs.map +1 -0
- package/dist/cjs/components/auth/Callback/TokenCallback.cjs +134 -0
- package/dist/cjs/components/auth/Callback/TokenCallback.cjs.map +1 -0
- package/dist/cjs/components/control/Loading.cjs +35 -0
- package/dist/cjs/components/control/Loading.cjs.map +1 -0
- package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs +34 -0
- package/dist/cjs/components/control/OrganizationContext/OrganizationContext.cjs.map +1 -0
- package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs +58 -0
- package/dist/cjs/components/control/OrganizationContext/OrganizationContextController.cjs.map +1 -0
- package/dist/cjs/components/control/SignedIn.cjs +35 -0
- package/dist/cjs/components/control/SignedIn.cjs.map +1 -0
- package/dist/cjs/components/control/SignedOut.cjs +35 -0
- package/dist/cjs/components/control/SignedOut.cjs.map +1 -0
- package/dist/cjs/components/factories/FieldFactory.cjs +142 -0
- package/dist/cjs/components/factories/FieldFactory.cjs.map +1 -0
- package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs +183 -0
- package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.cjs.map +1 -0
- package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs +150 -0
- package/dist/cjs/components/presentation/CreateOrganization/BaseCreateOrganization.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs +90 -0
- package/dist/cjs/components/presentation/CreateOrganization/CreateOrganization.cjs.map +1 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.cjs +118 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.cjs.map +1 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.cjs +118 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/LanguageSwitcher.cjs +76 -0
- package/dist/cjs/components/presentation/LanguageSwitcher/LanguageSwitcher.cjs.map +1 -0
- package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs +41 -0
- package/dist/cjs/components/presentation/Organization/BaseOrganization.cjs.map +1 -0
- package/dist/cjs/components/presentation/Organization/Organization.cjs +49 -0
- package/dist/cjs/components/presentation/Organization/Organization.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs +257 -0
- package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs +236 -0
- package/dist/cjs/components/presentation/OrganizationList/BaseOrganizationList.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs +86 -0
- package/dist/cjs/components/presentation/OrganizationList/OrganizationList.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs +75 -0
- package/dist/cjs/components/presentation/OrganizationList/OrganizationList.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs +328 -0
- package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs +166 -0
- package/dist/cjs/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs +126 -0
- package/dist/cjs/components/presentation/OrganizationProfile/OrganizationProfile.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs +288 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs +237 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs +127 -0
- package/dist/cjs/components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs.map +1 -0
- package/dist/cjs/components/presentation/User/BaseUser.cjs +41 -0
- package/dist/cjs/components/presentation/User/BaseUser.cjs.map +1 -0
- package/dist/cjs/components/presentation/User/User.cjs +45 -0
- package/dist/cjs/components/presentation/User/User.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs +191 -0
- package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.styles.cjs +201 -0
- package/dist/cjs/components/presentation/UserDropdown/BaseUserDropdown.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserDropdown/UserDropdown.cjs +111 -0
- package/dist/cjs/components/presentation/UserDropdown/UserDropdown.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserProfile/BaseUserProfile.cjs +460 -0
- package/dist/cjs/components/presentation/UserProfile/BaseUserProfile.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserProfile/BaseUserProfile.styles.cjs +217 -0
- package/dist/cjs/components/presentation/UserProfile/BaseUserProfile.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/UserProfile/UserProfile.cjs +81 -0
- package/dist/cjs/components/presentation/UserProfile/UserProfile.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/AcceptInvite.cjs +109 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/AcceptInvite.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.cjs +504 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.cjs +52 -0
- package/dist/cjs/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs +454 -0
- package/dist/cjs/components/presentation/auth/AuthOptionFactory.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.cjs +419 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.cjs +52 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/InviteUser.cjs +118 -0
- package/dist/cjs/components/presentation/auth/InviteUser/v2/InviteUser.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.cjs +183 -0
- package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.cjs +128 -0
- package/dist/cjs/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/BaseRecovery.cjs +20 -0
- package/dist/cjs/components/presentation/auth/Recovery/BaseRecovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/Recovery.cjs +49 -0
- package/dist/cjs/components/presentation/auth/Recovery/Recovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/BaseRecovery.cjs +293 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/BaseRecovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/Recovery.cjs +43 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/Recovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.cjs +163 -0
- package/dist/cjs/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/v2/BaseRecovery.cjs +378 -0
- package/dist/cjs/components/presentation/auth/Recovery/v2/BaseRecovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/Recovery/v2/Recovery.cjs +78 -0
- package/dist/cjs/components/presentation/auth/Recovery/v2/Recovery.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.cjs +20 -0
- package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.styles.cjs +154 -0
- package/dist/cjs/components/presentation/auth/SignIn/BaseSignIn.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/SignIn.cjs +86 -0
- package/dist/cjs/components/presentation/auth/SignIn/SignIn.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/BaseSignIn.cjs +734 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/BaseSignIn.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/EmailOtp.cjs +68 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/EmailOtp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/IdentifierFirst.cjs +59 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/IdentifierFirst.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/MultiOptionButton.cjs +139 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/MultiOptionButton.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.cjs +147 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SmsOtp.cjs +68 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SmsOtp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SocialButton.cjs +38 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/SocialButton.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/Totp.cjs +68 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/Totp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/UsernamePassword.cjs +60 -0
- package/dist/cjs/components/presentation/auth/SignIn/v1/options/UsernamePassword.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v2/BaseSignIn.cjs +330 -0
- package/dist/cjs/components/presentation/auth/SignIn/v2/BaseSignIn.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignIn/v2/SignIn.cjs +560 -0
- package/dist/cjs/components/presentation/auth/SignIn/v2/SignIn.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.cjs +20 -0
- package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.styles.cjs +150 -0
- package/dist/cjs/components/presentation/auth/SignUp/BaseSignUp.styles.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/SignUp.cjs +90 -0
- package/dist/cjs/components/presentation/auth/SignUp/SignUp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/BaseSignUp.cjs +451 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/BaseSignUp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/SignUp.cjs +54 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/SignUp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/SignUpOptionFactory.cjs +164 -0
- package/dist/cjs/components/presentation/auth/SignUp/v1/SignUpOptionFactory.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/v2/BaseSignUp.cjs +656 -0
- package/dist/cjs/components/presentation/auth/SignUp/v2/BaseSignUp.cjs.map +1 -0
- package/dist/cjs/components/presentation/auth/SignUp/v2/SignUp.cjs +80 -0
- package/dist/cjs/components/presentation/auth/SignUp/v2/SignUp.cjs.map +1 -0
- package/dist/cjs/components/primitives/Alert/Alert.cjs +107 -0
- package/dist/cjs/components/primitives/Alert/Alert.cjs.map +1 -0
- package/dist/cjs/components/primitives/Alert/Alert.styles.cjs +89 -0
- package/dist/cjs/components/primitives/Alert/Alert.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Avatar/Avatar.cjs +65 -0
- package/dist/cjs/components/primitives/Avatar/Avatar.cjs.map +1 -0
- package/dist/cjs/components/primitives/Avatar/Avatar.styles.cjs +87 -0
- package/dist/cjs/components/primitives/Avatar/Avatar.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Button/Button.cjs +97 -0
- package/dist/cjs/components/primitives/Button/Button.cjs.map +1 -0
- package/dist/cjs/components/primitives/Button/Button.styles.cjs +347 -0
- package/dist/cjs/components/primitives/Button/Button.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Card/Card.cjs +178 -0
- package/dist/cjs/components/primitives/Card/Card.cjs.map +1 -0
- package/dist/cjs/components/primitives/Card/Card.styles.cjs +100 -0
- package/dist/cjs/components/primitives/Card/Card.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Checkbox/Checkbox.cjs +46 -0
- package/dist/cjs/components/primitives/Checkbox/Checkbox.cjs.map +1 -0
- package/dist/cjs/components/primitives/Checkbox/Checkbox.styles.cjs +79 -0
- package/dist/cjs/components/primitives/Checkbox/Checkbox.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/CopyableText/CopyableText.cjs +63 -0
- package/dist/cjs/components/primitives/CopyableText/CopyableText.cjs.map +1 -0
- package/dist/cjs/components/primitives/CopyableText/CopyableText.styles.cjs +48 -0
- package/dist/cjs/components/primitives/CopyableText/CopyableText.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/DatePicker/DatePicker.cjs +47 -0
- package/dist/cjs/components/primitives/DatePicker/DatePicker.cjs.map +1 -0
- package/dist/cjs/components/primitives/DatePicker/DatePicker.styles.cjs +87 -0
- package/dist/cjs/components/primitives/DatePicker/DatePicker.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Dialog/Dialog.cjs +200 -0
- package/dist/cjs/components/primitives/Dialog/Dialog.cjs.map +1 -0
- package/dist/cjs/components/primitives/Dialog/Dialog.styles.cjs +75 -0
- package/dist/cjs/components/primitives/Dialog/Dialog.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Divider/Divider.cjs +71 -0
- package/dist/cjs/components/primitives/Divider/Divider.cjs.map +1 -0
- package/dist/cjs/components/primitives/Divider/Divider.styles.cjs +72 -0
- package/dist/cjs/components/primitives/Divider/Divider.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/FormControl/FormControl.cjs +33 -0
- package/dist/cjs/components/primitives/FormControl/FormControl.cjs.map +1 -0
- package/dist/cjs/components/primitives/FormControl/FormControl.styles.cjs +43 -0
- package/dist/cjs/components/primitives/FormControl/FormControl.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/ArrowLeftRight.cjs +31 -0
- package/dist/cjs/components/primitives/Icons/ArrowLeftRight.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/ArrowRightLeft.cjs +31 -0
- package/dist/cjs/components/primitives/Icons/ArrowRightLeft.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/Building.cjs +75 -0
- package/dist/cjs/components/primitives/Icons/Building.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/BuildingAlt.cjs +37 -0
- package/dist/cjs/components/primitives/Icons/BuildingAlt.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/Check.cjs +31 -0
- package/dist/cjs/components/primitives/Icons/Check.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/ChevronDown.cjs +31 -0
- package/dist/cjs/components/primitives/Icons/ChevronDown.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/CircleAlert.cjs +44 -0
- package/dist/cjs/components/primitives/Icons/CircleAlert.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/CircleCheck.cjs +30 -0
- package/dist/cjs/components/primitives/Icons/CircleCheck.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/Eye.cjs +30 -0
- package/dist/cjs/components/primitives/Icons/Eye.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/EyeOff.cjs +31 -0
- package/dist/cjs/components/primitives/Icons/EyeOff.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/Info.cjs +34 -0
- package/dist/cjs/components/primitives/Icons/Info.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/LogOut.cjs +30 -0
- package/dist/cjs/components/primitives/Icons/LogOut.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/Plus.cjs +26 -0
- package/dist/cjs/components/primitives/Icons/Plus.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/TriangleAlert.cjs +30 -0
- package/dist/cjs/components/primitives/Icons/TriangleAlert.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/User.cjs +30 -0
- package/dist/cjs/components/primitives/Icons/User.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/X.cjs +26 -0
- package/dist/cjs/components/primitives/Icons/X.cjs.map +1 -0
- package/dist/cjs/components/primitives/Icons/flowIconRegistry.cjs +17 -0
- package/dist/cjs/components/primitives/Icons/flowIconRegistry.cjs.map +1 -0
- package/dist/cjs/components/primitives/InputLabel/InputLabel.cjs +32 -0
- package/dist/cjs/components/primitives/InputLabel/InputLabel.cjs.map +1 -0
- package/dist/cjs/components/primitives/InputLabel/InputLabel.styles.cjs +58 -0
- package/dist/cjs/components/primitives/InputLabel/InputLabel.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/KeyValueInput/KeyValueInput.cjs +215 -0
- package/dist/cjs/components/primitives/KeyValueInput/KeyValueInput.cjs.map +1 -0
- package/dist/cjs/components/primitives/KeyValueInput/KeyValueInput.styles.cjs +175 -0
- package/dist/cjs/components/primitives/KeyValueInput/KeyValueInput.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Logo/Logo.cjs +37 -0
- package/dist/cjs/components/primitives/Logo/Logo.cjs.map +1 -0
- package/dist/cjs/components/primitives/Logo/Logo.styles.cjs +53 -0
- package/dist/cjs/components/primitives/Logo/Logo.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/MultiInput/MultiInput.cjs +142 -0
- package/dist/cjs/components/primitives/MultiInput/MultiInput.cjs.map +1 -0
- package/dist/cjs/components/primitives/MultiInput/MultiInput.styles.cjs +115 -0
- package/dist/cjs/components/primitives/MultiInput/MultiInput.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/OtpField/OtpField.cjs +129 -0
- package/dist/cjs/components/primitives/OtpField/OtpField.cjs.map +1 -0
- package/dist/cjs/components/primitives/OtpField/OtpField.styles.cjs +85 -0
- package/dist/cjs/components/primitives/OtpField/OtpField.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/PasswordField/PasswordField.cjs +49 -0
- package/dist/cjs/components/primitives/PasswordField/PasswordField.cjs.map +1 -0
- package/dist/cjs/components/primitives/PasswordField/PasswordField.styles.cjs +49 -0
- package/dist/cjs/components/primitives/PasswordField/PasswordField.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Select/Select.cjs +50 -0
- package/dist/cjs/components/primitives/Select/Select.cjs.map +1 -0
- package/dist/cjs/components/primitives/Select/Select.styles.cjs +98 -0
- package/dist/cjs/components/primitives/Select/Select.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Spinner/Spinner.cjs +41 -0
- package/dist/cjs/components/primitives/Spinner/Spinner.cjs.map +1 -0
- package/dist/cjs/components/primitives/Spinner/Spinner.styles.cjs +67 -0
- package/dist/cjs/components/primitives/Spinner/Spinner.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/TextField/TextField.cjs +66 -0
- package/dist/cjs/components/primitives/TextField/TextField.cjs.map +1 -0
- package/dist/cjs/components/primitives/TextField/TextField.styles.cjs +132 -0
- package/dist/cjs/components/primitives/TextField/TextField.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Toggle/Toggle.cjs +64 -0
- package/dist/cjs/components/primitives/Toggle/Toggle.cjs.map +1 -0
- package/dist/cjs/components/primitives/Toggle/Toggle.styles.cjs +101 -0
- package/dist/cjs/components/primitives/Toggle/Toggle.styles.cjs.map +1 -0
- package/dist/cjs/components/primitives/Typography/Typography.cjs +64 -0
- package/dist/cjs/components/primitives/Typography/Typography.cjs.map +1 -0
- package/dist/cjs/components/primitives/Typography/Typography.styles.cjs +276 -0
- package/dist/cjs/components/primitives/Typography/Typography.styles.cjs.map +1 -0
- package/dist/cjs/contexts/Branding/BrandingContext.cjs +12 -0
- package/dist/cjs/contexts/Branding/BrandingContext.cjs.map +1 -0
- package/dist/cjs/contexts/Branding/BrandingProvider.cjs +96 -0
- package/dist/cjs/contexts/Branding/BrandingProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Branding/useBrandingContext.cjs +40 -0
- package/dist/cjs/contexts/Branding/useBrandingContext.cjs.map +1 -0
- package/dist/cjs/contexts/ComponentRenderer/ComponentRendererContext.cjs +11 -0
- package/dist/cjs/contexts/ComponentRenderer/ComponentRendererContext.cjs.map +1 -0
- package/dist/cjs/contexts/ComponentRenderer/ComponentRendererProvider.cjs +15 -0
- package/dist/cjs/contexts/ComponentRenderer/ComponentRendererProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Flow/FlowContext.cjs +17 -0
- package/dist/cjs/contexts/Flow/FlowContext.cjs.map +1 -0
- package/dist/cjs/contexts/Flow/FlowProvider.cjs +135 -0
- package/dist/cjs/contexts/Flow/FlowProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Flow/useFlow.cjs +44 -0
- package/dist/cjs/contexts/Flow/useFlow.cjs.map +1 -0
- package/dist/cjs/contexts/FlowMeta/FlowMetaContext.cjs +12 -0
- package/dist/cjs/contexts/FlowMeta/FlowMetaContext.cjs.map +1 -0
- package/dist/cjs/contexts/FlowMeta/FlowMetaProvider.cjs +154 -0
- package/dist/cjs/contexts/FlowMeta/FlowMetaProvider.cjs.map +1 -0
- package/dist/cjs/contexts/FlowMeta/useFlowMeta.cjs +16 -0
- package/dist/cjs/contexts/FlowMeta/useFlowMeta.cjs.map +1 -0
- package/dist/cjs/contexts/I18n/ComponentPreferencesContext.cjs +16 -0
- package/dist/cjs/contexts/I18n/ComponentPreferencesContext.cjs.map +1 -0
- package/dist/cjs/contexts/I18n/I18nContext.cjs +12 -0
- package/dist/cjs/contexts/I18n/I18nContext.cjs.map +1 -0
- package/dist/cjs/contexts/I18n/I18nProvider.cjs +217 -0
- package/dist/cjs/contexts/I18n/I18nProvider.cjs.map +1 -0
- package/dist/cjs/contexts/I18n/useI18n.cjs +23 -0
- package/dist/cjs/contexts/I18n/useI18n.cjs.map +1 -0
- package/dist/cjs/contexts/Organization/OrganizationContext.cjs +27 -0
- package/dist/cjs/contexts/Organization/OrganizationContext.cjs.map +1 -0
- package/dist/cjs/contexts/Organization/OrganizationProvider.cjs +97 -0
- package/dist/cjs/contexts/Organization/OrganizationProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Organization/useOrganization.cjs +100 -0
- package/dist/cjs/contexts/Organization/useOrganization.cjs.map +1 -0
- package/dist/cjs/contexts/Theme/ThemeContext.cjs +12 -0
- package/dist/cjs/contexts/Theme/ThemeContext.cjs.map +1 -0
- package/dist/cjs/contexts/Theme/ThemeProvider.cjs +69 -0
- package/dist/cjs/contexts/Theme/ThemeProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Theme/useTheme.cjs +16 -0
- package/dist/cjs/contexts/Theme/useTheme.cjs.map +1 -0
- package/dist/cjs/contexts/Theme/v1/ThemeProvider.cjs +190 -0
- package/dist/cjs/contexts/Theme/v1/ThemeProvider.cjs.map +1 -0
- package/dist/cjs/contexts/Theme/v2/ThemeProvider.cjs +108 -0
- package/dist/cjs/contexts/Theme/v2/ThemeProvider.cjs.map +1 -0
- package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs +52 -0
- package/dist/cjs/contexts/ThunderID/ThunderIDContext.cjs.map +1 -0
- package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs +407 -0
- package/dist/cjs/contexts/ThunderID/ThunderIDProvider.cjs.map +1 -0
- package/dist/cjs/contexts/ThunderID/useThunderID.cjs +32 -0
- package/dist/cjs/contexts/ThunderID/useThunderID.cjs.map +1 -0
- package/dist/cjs/contexts/User/UserContext.cjs +22 -0
- package/dist/cjs/contexts/User/UserContext.cjs.map +1 -0
- package/dist/cjs/contexts/User/UserProvider.cjs +60 -0
- package/dist/cjs/contexts/User/UserProvider.cjs.map +1 -0
- package/dist/cjs/contexts/User/useUser.cjs +90 -0
- package/dist/cjs/contexts/User/useUser.cjs.map +1 -0
- package/dist/cjs/hooks/useBranding.cjs +71 -0
- package/dist/cjs/hooks/useBranding.cjs.map +1 -0
- package/dist/cjs/hooks/useBrowserUrl.cjs +33 -0
- package/dist/cjs/hooks/useBrowserUrl.cjs.map +1 -0
- package/dist/cjs/hooks/useForm.cjs +217 -0
- package/dist/cjs/hooks/useForm.cjs.map +1 -0
- package/dist/cjs/hooks/useTranslation.cjs +79 -0
- package/dist/cjs/hooks/useTranslation.cjs.map +1 -0
- package/dist/cjs/hooks/v2/useOAuthCallback.cjs +86 -0
- package/dist/cjs/hooks/v2/useOAuthCallback.cjs.map +1 -0
- package/dist/cjs/index.cjs +375 -0
- package/dist/cjs/utils/applyThemeToDOM.cjs +16 -0
- package/dist/cjs/utils/applyThemeToDOM.cjs.map +1 -0
- package/dist/cjs/utils/getDisplayName.cjs +50 -0
- package/dist/cjs/utils/getDisplayName.cjs.map +1 -0
- package/dist/cjs/utils/getMappedUserProfileValue.cjs +61 -0
- package/dist/cjs/utils/getMappedUserProfileValue.cjs.map +1 -0
- package/dist/cjs/utils/normalizeThemeConfig.cjs +43 -0
- package/dist/cjs/utils/normalizeThemeConfig.cjs.map +1 -0
- package/dist/cjs/utils/oauth.cjs +28 -0
- package/dist/cjs/utils/oauth.cjs.map +1 -0
- package/dist/cjs/utils/v2/buildThemeConfigFromFlowMeta.cjs +48 -0
- package/dist/cjs/utils/v2/buildThemeConfigFromFlowMeta.cjs.map +1 -0
- package/dist/cjs/utils/v2/flowTransformer.cjs +153 -0
- package/dist/cjs/utils/v2/flowTransformer.cjs.map +1 -0
- package/dist/cjs/utils/v2/getAuthComponentHeadings.cjs +103 -0
- package/dist/cjs/utils/v2/getAuthComponentHeadings.cjs.map +1 -0
- package/dist/cjs/utils/v2/passkey.cjs +93 -0
- package/dist/cjs/utils/v2/passkey.cjs.map +1 -0
- package/dist/cjs/utils/v2/resolveTranslationsInArray.cjs +21 -0
- package/dist/cjs/utils/v2/resolveTranslationsInArray.cjs.map +1 -0
- package/dist/cjs/utils/v2/resolveTranslationsInObject.cjs +33 -0
- package/dist/cjs/utils/v2/resolveTranslationsInObject.cjs.map +1 -0
- package/dist/components/actions/SignInButton/BaseSignInButton.js +49 -0
- package/dist/components/actions/SignInButton/BaseSignInButton.js.map +1 -0
- package/dist/components/actions/SignInButton/SignInButton.d.ts +6 -0
- package/dist/components/actions/SignInButton/SignInButton.d.ts.map +1 -1
- package/dist/components/actions/SignInButton/SignInButton.js +84 -0
- package/dist/components/actions/SignInButton/SignInButton.js.map +1 -0
- package/dist/components/actions/SignOutButton/BaseSignOutButton.js +49 -0
- package/dist/components/actions/SignOutButton/BaseSignOutButton.js.map +1 -0
- package/dist/components/actions/SignOutButton/SignOutButton.js +80 -0
- package/dist/components/actions/SignOutButton/SignOutButton.js.map +1 -0
- package/dist/components/actions/SignUpButton/BaseSignUpButton.js +51 -0
- package/dist/components/actions/SignUpButton/BaseSignUpButton.js.map +1 -0
- package/dist/components/actions/SignUpButton/SignUpButton.js +82 -0
- package/dist/components/actions/SignUpButton/SignUpButton.js.map +1 -0
- package/dist/components/adapters/CheckboxInput.js +28 -0
- package/dist/components/adapters/CheckboxInput.js.map +1 -0
- package/dist/components/adapters/Consent.js +67 -0
- package/dist/components/adapters/Consent.js.map +1 -0
- package/dist/components/adapters/ConsentCheckboxList.d.ts.map +1 -1
- package/dist/components/adapters/ConsentCheckboxList.js +76 -0
- package/dist/components/adapters/ConsentCheckboxList.js.map +1 -0
- package/dist/components/adapters/ConsentCheckboxList.styles.js +43 -0
- package/dist/components/adapters/ConsentCheckboxList.styles.js.map +1 -0
- package/dist/components/adapters/DateInput.js +28 -0
- package/dist/components/adapters/DateInput.js.map +1 -0
- package/dist/components/adapters/DividerComponent.js +22 -0
- package/dist/components/adapters/DividerComponent.js.map +1 -0
- package/dist/components/adapters/EmailInput.js +28 -0
- package/dist/components/adapters/EmailInput.js.map +1 -0
- package/dist/components/adapters/FacebookButton.js +39 -0
- package/dist/components/adapters/FacebookButton.js.map +1 -0
- package/dist/components/adapters/FlowTimer.js +49 -0
- package/dist/components/adapters/FlowTimer.js.map +1 -0
- package/dist/components/adapters/FormContainer.js +34 -0
- package/dist/components/adapters/FormContainer.js.map +1 -0
- package/dist/components/adapters/GitHubButton.js +39 -0
- package/dist/components/adapters/GitHubButton.js.map +1 -0
- package/dist/components/adapters/GoogleButton.js +57 -0
- package/dist/components/adapters/GoogleButton.js.map +1 -0
- package/dist/components/adapters/ImageComponent.js +74 -0
- package/dist/components/adapters/ImageComponent.js.map +1 -0
- package/dist/components/adapters/LinkedInButton.js +36 -0
- package/dist/components/adapters/LinkedInButton.js.map +1 -0
- package/dist/components/adapters/MicrosoftButton.js +54 -0
- package/dist/components/adapters/MicrosoftButton.js.map +1 -0
- package/dist/components/adapters/NumberInput.js +28 -0
- package/dist/components/adapters/NumberInput.js.map +1 -0
- package/dist/components/adapters/PasswordInput.js +50 -0
- package/dist/components/adapters/PasswordInput.js.map +1 -0
- package/dist/components/adapters/SelectInput.js +34 -0
- package/dist/components/adapters/SelectInput.js.map +1 -0
- package/dist/components/adapters/SignInWithEthereumButton.js +36 -0
- package/dist/components/adapters/SignInWithEthereumButton.js.map +1 -0
- package/dist/components/adapters/SmsOtpButton.js +36 -0
- package/dist/components/adapters/SmsOtpButton.js.map +1 -0
- package/dist/components/adapters/SubmitButton.js +59 -0
- package/dist/components/adapters/SubmitButton.js.map +1 -0
- package/dist/components/adapters/TelephoneInput.js +30 -0
- package/dist/components/adapters/TelephoneInput.js.map +1 -0
- package/dist/components/adapters/TextInput.js +28 -0
- package/dist/components/adapters/TextInput.js.map +1 -0
- package/dist/components/adapters/Typography.js +58 -0
- package/dist/components/adapters/Typography.js.map +1 -0
- package/dist/components/auth/Callback/Callback.d.ts +6 -44
- package/dist/components/auth/Callback/Callback.d.ts.map +1 -1
- package/dist/components/auth/Callback/Callback.js +23 -0
- package/dist/components/auth/Callback/Callback.js.map +1 -0
- package/dist/components/auth/Callback/OAuthCallback.d.ts +52 -0
- package/dist/components/auth/Callback/OAuthCallback.d.ts.map +1 -0
- package/dist/components/auth/Callback/OAuthCallback.js +101 -0
- package/dist/components/auth/Callback/OAuthCallback.js.map +1 -0
- package/dist/components/auth/Callback/TokenCallback.d.ts +44 -0
- package/dist/components/auth/Callback/TokenCallback.d.ts.map +1 -0
- package/dist/components/auth/Callback/TokenCallback.js +131 -0
- package/dist/components/auth/Callback/TokenCallback.js.map +1 -0
- package/dist/components/control/Loading.js +33 -0
- package/dist/components/control/Loading.js.map +1 -0
- package/dist/components/control/OrganizationContext/OrganizationContext.js +32 -0
- package/dist/components/control/OrganizationContext/OrganizationContext.js.map +1 -0
- package/dist/components/control/OrganizationContext/OrganizationContextController.js +55 -0
- package/dist/components/control/OrganizationContext/OrganizationContextController.js.map +1 -0
- package/dist/components/control/SignedIn.js +33 -0
- package/dist/components/control/SignedIn.js.map +1 -0
- package/dist/components/control/SignedOut.js +33 -0
- package/dist/components/control/SignedOut.js.map +1 -0
- package/dist/components/factories/FieldFactory.js +137 -0
- package/dist/components/factories/FieldFactory.js.map +1 -0
- package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js +178 -0
- package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.js.map +1 -0
- package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js +147 -0
- package/dist/components/presentation/CreateOrganization/BaseCreateOrganization.styles.js.map +1 -0
- package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts +1 -1
- package/dist/components/presentation/CreateOrganization/CreateOrganization.d.ts.map +1 -1
- package/dist/components/presentation/CreateOrganization/CreateOrganization.js +87 -0
- package/dist/components/presentation/CreateOrganization/CreateOrganization.js.map +1 -0
- package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.js +113 -0
- package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.js.map +1 -0
- package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.js +115 -0
- package/dist/components/presentation/LanguageSwitcher/BaseLanguageSwitcher.styles.js.map +1 -0
- package/dist/components/presentation/LanguageSwitcher/LanguageSwitcher.js +72 -0
- package/dist/components/presentation/LanguageSwitcher/LanguageSwitcher.js.map +1 -0
- package/dist/components/presentation/Organization/BaseOrganization.js +39 -0
- package/dist/components/presentation/Organization/BaseOrganization.js.map +1 -0
- package/dist/components/presentation/Organization/Organization.js +47 -0
- package/dist/components/presentation/Organization/Organization.js.map +1 -0
- package/dist/components/presentation/OrganizationList/BaseOrganizationList.js +252 -0
- package/dist/components/presentation/OrganizationList/BaseOrganizationList.js.map +1 -0
- package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js +233 -0
- package/dist/components/presentation/OrganizationList/BaseOrganizationList.styles.js.map +1 -0
- package/dist/components/presentation/OrganizationList/OrganizationList.js +82 -0
- package/dist/components/presentation/OrganizationList/OrganizationList.js.map +1 -0
- package/dist/components/presentation/OrganizationList/OrganizationList.styles.js +72 -0
- package/dist/components/presentation/OrganizationList/OrganizationList.styles.js.map +1 -0
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts +1 -1
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.d.ts.map +1 -1
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js +323 -0
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.js.map +1 -0
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js +163 -0
- package/dist/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.js.map +1 -0
- package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js +122 -0
- package/dist/components/presentation/OrganizationProfile/OrganizationProfile.js.map +1 -0
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts +1 -1
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.d.ts.map +1 -1
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js +282 -0
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.js.map +1 -0
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js +234 -0
- package/dist/components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.styles.js.map +1 -0
- package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts +1 -1
- package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +1 -1
- package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js +124 -0
- package/dist/components/presentation/OrganizationSwitcher/OrganizationSwitcher.js.map +1 -0
- package/dist/components/presentation/User/BaseUser.js +39 -0
- package/dist/components/presentation/User/BaseUser.js.map +1 -0
- package/dist/components/presentation/User/User.js +43 -0
- package/dist/components/presentation/User/User.js.map +1 -0
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts +1 -1
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.d.ts.map +1 -1
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.js +184 -0
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.js.map +1 -0
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.styles.js +198 -0
- package/dist/components/presentation/UserDropdown/BaseUserDropdown.styles.js.map +1 -0
- package/dist/components/presentation/UserDropdown/UserDropdown.js +108 -0
- package/dist/components/presentation/UserDropdown/UserDropdown.js.map +1 -0
- package/dist/components/presentation/UserProfile/BaseUserProfile.d.ts +1 -1
- package/dist/components/presentation/UserProfile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/presentation/UserProfile/BaseUserProfile.js +455 -0
- package/dist/components/presentation/UserProfile/BaseUserProfile.js.map +1 -0
- package/dist/components/presentation/UserProfile/BaseUserProfile.styles.js +213 -0
- package/dist/components/presentation/UserProfile/BaseUserProfile.styles.js.map +1 -0
- package/dist/components/presentation/UserProfile/UserProfile.js +77 -0
- package/dist/components/presentation/UserProfile/UserProfile.js.map +1 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.js +106 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/AcceptInvite.js.map +1 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.d.ts +7 -3
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.d.ts.map +1 -1
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.js +500 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.js.map +1 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.js +49 -0
- package/dist/components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.styles.js.map +1 -0
- package/dist/components/presentation/auth/AuthOptionFactory.d.ts.map +1 -1
- package/dist/components/presentation/auth/AuthOptionFactory.js +445 -0
- package/dist/components/presentation/auth/AuthOptionFactory.js.map +1 -0
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.d.ts +3 -3
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.d.ts.map +1 -1
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.js +414 -0
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.js.map +1 -0
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.js +49 -0
- package/dist/components/presentation/auth/InviteUser/v2/BaseInviteUser.styles.js.map +1 -0
- package/dist/components/presentation/auth/InviteUser/v2/InviteUser.js +114 -0
- package/dist/components/presentation/auth/InviteUser/v2/InviteUser.js.map +1 -0
- package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.js +179 -0
- package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.js.map +1 -0
- package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.js +125 -0
- package/dist/components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.styles.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/BaseRecovery.js +17 -0
- package/dist/components/presentation/auth/Recovery/BaseRecovery.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/Recovery.js +46 -0
- package/dist/components/presentation/auth/Recovery/Recovery.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.js +288 -0
- package/dist/components/presentation/auth/Recovery/v1/BaseRecovery.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/v1/Recovery.js +40 -0
- package/dist/components/presentation/auth/Recovery/v1/Recovery.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.js +160 -0
- package/dist/components/presentation/auth/Recovery/v1/RecoveryOptionFactory.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts +5 -5
- package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.d.ts.map +1 -1
- package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.js +373 -0
- package/dist/components/presentation/auth/Recovery/v2/BaseRecovery.js.map +1 -0
- package/dist/components/presentation/auth/Recovery/v2/Recovery.d.ts.map +1 -1
- package/dist/components/presentation/auth/Recovery/v2/Recovery.js +74 -0
- package/dist/components/presentation/auth/Recovery/v2/Recovery.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/BaseSignIn.js +17 -0
- package/dist/components/presentation/auth/SignIn/BaseSignIn.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/BaseSignIn.styles.js +151 -0
- package/dist/components/presentation/auth/SignIn/BaseSignIn.styles.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/SignIn.js +83 -0
- package/dist/components/presentation/auth/SignIn/SignIn.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.d.ts.map +1 -1
- package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.js +729 -0
- package/dist/components/presentation/auth/SignIn/v1/BaseSignIn.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.js +64 -0
- package/dist/components/presentation/auth/SignIn/v1/options/EmailOtp.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.js +55 -0
- package/dist/components/presentation/auth/SignIn/v1/options/IdentifierFirst.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.js +136 -0
- package/dist/components/presentation/auth/SignIn/v1/options/MultiOptionButton.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.js +143 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SignInOptionFactory.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.js +64 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SmsOtp.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.js +36 -0
- package/dist/components/presentation/auth/SignIn/v1/options/SocialButton.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/Totp.js +64 -0
- package/dist/components/presentation/auth/SignIn/v1/options/Totp.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.js +56 -0
- package/dist/components/presentation/auth/SignIn/v1/options/UsernamePassword.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts +1 -1
- package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.d.ts.map +1 -1
- package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.js +325 -0
- package/dist/components/presentation/auth/SignIn/v2/BaseSignIn.js.map +1 -0
- package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts +1 -1
- package/dist/components/presentation/auth/SignIn/v2/SignIn.d.ts.map +1 -1
- package/dist/components/presentation/auth/SignIn/v2/SignIn.js +556 -0
- package/dist/components/presentation/auth/SignIn/v2/SignIn.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/BaseSignUp.js +17 -0
- package/dist/components/presentation/auth/SignUp/BaseSignUp.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/BaseSignUp.styles.js +147 -0
- package/dist/components/presentation/auth/SignUp/BaseSignUp.styles.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/SignUp.js +87 -0
- package/dist/components/presentation/auth/SignUp/SignUp.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.js +446 -0
- package/dist/components/presentation/auth/SignUp/v1/BaseSignUp.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/v1/SignUp.js +51 -0
- package/dist/components/presentation/auth/SignUp/v1/SignUp.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.js +160 -0
- package/dist/components/presentation/auth/SignUp/v1/SignUpOptionFactory.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts +6 -6
- package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.d.ts.map +1 -1
- package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.js +651 -0
- package/dist/components/presentation/auth/SignUp/v2/BaseSignUp.js.map +1 -0
- package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts +1 -1
- package/dist/components/presentation/auth/SignUp/v2/SignUp.d.ts.map +1 -1
- package/dist/components/presentation/auth/SignUp/v2/SignUp.js +77 -0
- package/dist/components/presentation/auth/SignUp/v2/SignUp.js.map +1 -0
- package/dist/components/primitives/Alert/Alert.js +102 -0
- package/dist/components/primitives/Alert/Alert.js.map +1 -0
- package/dist/components/primitives/Alert/Alert.styles.js +86 -0
- package/dist/components/primitives/Alert/Alert.styles.js.map +1 -0
- package/dist/components/primitives/Avatar/Avatar.js +60 -0
- package/dist/components/primitives/Avatar/Avatar.js.map +1 -0
- package/dist/components/primitives/Avatar/Avatar.styles.js +84 -0
- package/dist/components/primitives/Avatar/Avatar.styles.js.map +1 -0
- package/dist/components/primitives/Button/Button.js +92 -0
- package/dist/components/primitives/Button/Button.js.map +1 -0
- package/dist/components/primitives/Button/Button.styles.js +344 -0
- package/dist/components/primitives/Button/Button.styles.js.map +1 -0
- package/dist/components/primitives/Card/Card.js +173 -0
- package/dist/components/primitives/Card/Card.js.map +1 -0
- package/dist/components/primitives/Card/Card.styles.js +97 -0
- package/dist/components/primitives/Card/Card.styles.js.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.js +42 -0
- package/dist/components/primitives/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.styles.js +76 -0
- package/dist/components/primitives/Checkbox/Checkbox.styles.js.map +1 -0
- package/dist/components/primitives/CopyableText/CopyableText.js +60 -0
- package/dist/components/primitives/CopyableText/CopyableText.js.map +1 -0
- package/dist/components/primitives/CopyableText/CopyableText.styles.js +45 -0
- package/dist/components/primitives/CopyableText/CopyableText.styles.js.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.js +43 -0
- package/dist/components/primitives/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.styles.js +84 -0
- package/dist/components/primitives/DatePicker/DatePicker.styles.js.map +1 -0
- package/dist/components/primitives/Dialog/Dialog.js +194 -0
- package/dist/components/primitives/Dialog/Dialog.js.map +1 -0
- package/dist/components/primitives/Dialog/Dialog.styles.js +72 -0
- package/dist/components/primitives/Dialog/Dialog.styles.js.map +1 -0
- package/dist/components/primitives/Divider/Divider.js +67 -0
- package/dist/components/primitives/Divider/Divider.js.map +1 -0
- package/dist/components/primitives/Divider/Divider.styles.js +69 -0
- package/dist/components/primitives/Divider/Divider.styles.js.map +1 -0
- package/dist/components/primitives/FormControl/FormControl.js +29 -0
- package/dist/components/primitives/FormControl/FormControl.js.map +1 -0
- package/dist/components/primitives/FormControl/FormControl.styles.js +40 -0
- package/dist/components/primitives/FormControl/FormControl.styles.js.map +1 -0
- package/dist/components/primitives/Icons/ArrowLeftRight.js +29 -0
- package/dist/components/primitives/Icons/ArrowLeftRight.js.map +1 -0
- package/dist/components/primitives/Icons/ArrowRightLeft.js +29 -0
- package/dist/components/primitives/Icons/ArrowRightLeft.js.map +1 -0
- package/dist/components/primitives/Icons/Building.js +73 -0
- package/dist/components/primitives/Icons/Building.js.map +1 -0
- package/dist/components/primitives/Icons/BuildingAlt.js +35 -0
- package/dist/components/primitives/Icons/BuildingAlt.js.map +1 -0
- package/dist/components/primitives/Icons/Check.js +29 -0
- package/dist/components/primitives/Icons/Check.js.map +1 -0
- package/dist/components/primitives/Icons/ChevronDown.js +29 -0
- package/dist/components/primitives/Icons/ChevronDown.js.map +1 -0
- package/dist/components/primitives/Icons/CircleAlert.js +42 -0
- package/dist/components/primitives/Icons/CircleAlert.js.map +1 -0
- package/dist/components/primitives/Icons/CircleCheck.js +28 -0
- package/dist/components/primitives/Icons/CircleCheck.js.map +1 -0
- package/dist/components/primitives/Icons/Eye.js +28 -0
- package/dist/components/primitives/Icons/Eye.js.map +1 -0
- package/dist/components/primitives/Icons/EyeOff.js +29 -0
- package/dist/components/primitives/Icons/EyeOff.js.map +1 -0
- package/dist/components/primitives/Icons/Info.js +32 -0
- package/dist/components/primitives/Icons/Info.js.map +1 -0
- package/dist/components/primitives/Icons/LogOut.js +28 -0
- package/dist/components/primitives/Icons/LogOut.js.map +1 -0
- package/dist/components/primitives/Icons/Plus.js +24 -0
- package/dist/components/primitives/Icons/Plus.js.map +1 -0
- package/dist/components/primitives/Icons/TriangleAlert.js +28 -0
- package/dist/components/primitives/Icons/TriangleAlert.js.map +1 -0
- package/dist/components/primitives/Icons/User.js +28 -0
- package/dist/components/primitives/Icons/User.js.map +1 -0
- package/dist/components/primitives/Icons/X.js +24 -0
- package/dist/components/primitives/Icons/X.js.map +1 -0
- package/dist/components/primitives/Icons/flowIconRegistry.js +17 -0
- package/dist/components/primitives/Icons/flowIconRegistry.js.map +1 -0
- package/dist/components/primitives/InputLabel/InputLabel.js +28 -0
- package/dist/components/primitives/InputLabel/InputLabel.js.map +1 -0
- package/dist/components/primitives/InputLabel/InputLabel.styles.js +55 -0
- package/dist/components/primitives/InputLabel/InputLabel.styles.js.map +1 -0
- package/dist/components/primitives/KeyValueInput/KeyValueInput.js +210 -0
- package/dist/components/primitives/KeyValueInput/KeyValueInput.js.map +1 -0
- package/dist/components/primitives/KeyValueInput/KeyValueInput.styles.js +172 -0
- package/dist/components/primitives/KeyValueInput/KeyValueInput.styles.js.map +1 -0
- package/dist/components/primitives/Logo/Logo.js +33 -0
- package/dist/components/primitives/Logo/Logo.js.map +1 -0
- package/dist/components/primitives/Logo/Logo.styles.js +50 -0
- package/dist/components/primitives/Logo/Logo.styles.js.map +1 -0
- package/dist/components/primitives/MultiInput/MultiInput.js +137 -0
- package/dist/components/primitives/MultiInput/MultiInput.js.map +1 -0
- package/dist/components/primitives/MultiInput/MultiInput.styles.js +112 -0
- package/dist/components/primitives/MultiInput/MultiInput.styles.js.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.js +124 -0
- package/dist/components/primitives/OtpField/OtpField.js.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.styles.js +82 -0
- package/dist/components/primitives/OtpField/OtpField.styles.js.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.js +44 -0
- package/dist/components/primitives/PasswordField/PasswordField.js.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.styles.js +46 -0
- package/dist/components/primitives/PasswordField/PasswordField.styles.js.map +1 -0
- package/dist/components/primitives/Select/Select.js +46 -0
- package/dist/components/primitives/Select/Select.js.map +1 -0
- package/dist/components/primitives/Select/Select.styles.js +95 -0
- package/dist/components/primitives/Select/Select.styles.js.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.js +37 -0
- package/dist/components/primitives/Spinner/Spinner.js.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.styles.js +64 -0
- package/dist/components/primitives/Spinner/Spinner.styles.js.map +1 -0
- package/dist/components/primitives/TextField/TextField.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.js +62 -0
- package/dist/components/primitives/TextField/TextField.js.map +1 -0
- package/dist/components/primitives/TextField/TextField.styles.js +129 -0
- package/dist/components/primitives/TextField/TextField.styles.js.map +1 -0
- package/dist/components/primitives/Toggle/Toggle.js +60 -0
- package/dist/components/primitives/Toggle/Toggle.js.map +1 -0
- package/dist/components/primitives/Toggle/Toggle.styles.js +98 -0
- package/dist/components/primitives/Toggle/Toggle.styles.js.map +1 -0
- package/dist/components/primitives/Typography/Typography.js +60 -0
- package/dist/components/primitives/Typography/Typography.js.map +1 -0
- package/dist/components/primitives/Typography/Typography.styles.js +273 -0
- package/dist/components/primitives/Typography/Typography.styles.js.map +1 -0
- package/dist/contexts/Branding/BrandingContext.js +10 -0
- package/dist/contexts/Branding/BrandingContext.js.map +1 -0
- package/dist/contexts/Branding/BrandingProvider.js +92 -0
- package/dist/contexts/Branding/BrandingProvider.js.map +1 -0
- package/dist/contexts/Branding/useBrandingContext.js +38 -0
- package/dist/contexts/Branding/useBrandingContext.js.map +1 -0
- package/dist/contexts/ComponentRenderer/ComponentRendererContext.js +9 -0
- package/dist/contexts/ComponentRenderer/ComponentRendererContext.js.map +1 -0
- package/dist/contexts/ComponentRenderer/ComponentRendererProvider.js +13 -0
- package/dist/contexts/ComponentRenderer/ComponentRendererProvider.js.map +1 -0
- package/dist/contexts/Flow/FlowContext.js +15 -0
- package/dist/contexts/Flow/FlowContext.js.map +1 -0
- package/dist/contexts/Flow/FlowProvider.js +132 -0
- package/dist/contexts/Flow/FlowProvider.js.map +1 -0
- package/dist/contexts/Flow/useFlow.js +42 -0
- package/dist/contexts/Flow/useFlow.js.map +1 -0
- package/dist/contexts/FlowMeta/FlowMetaContext.js +10 -0
- package/dist/contexts/FlowMeta/FlowMetaContext.js.map +1 -0
- package/dist/contexts/FlowMeta/FlowMetaProvider.d.ts.map +1 -1
- package/dist/contexts/FlowMeta/FlowMetaProvider.js +150 -0
- package/dist/contexts/FlowMeta/FlowMetaProvider.js.map +1 -0
- package/dist/contexts/FlowMeta/useFlowMeta.js +14 -0
- package/dist/contexts/FlowMeta/useFlowMeta.js.map +1 -0
- package/dist/contexts/I18n/ComponentPreferencesContext.js +14 -0
- package/dist/contexts/I18n/ComponentPreferencesContext.js.map +1 -0
- package/dist/contexts/I18n/I18nContext.js +10 -0
- package/dist/contexts/I18n/I18nContext.js.map +1 -0
- package/dist/contexts/I18n/I18nProvider.js +213 -0
- package/dist/contexts/I18n/I18nProvider.js.map +1 -0
- package/dist/contexts/I18n/useI18n.js +21 -0
- package/dist/contexts/I18n/useI18n.js.map +1 -0
- package/dist/contexts/Organization/OrganizationContext.js +25 -0
- package/dist/contexts/Organization/OrganizationContext.js.map +1 -0
- package/dist/contexts/Organization/OrganizationProvider.d.ts.map +1 -1
- package/dist/contexts/Organization/OrganizationProvider.js +93 -0
- package/dist/contexts/Organization/OrganizationProvider.js.map +1 -0
- package/dist/contexts/Organization/useOrganization.js +98 -0
- package/dist/contexts/Organization/useOrganization.js.map +1 -0
- package/dist/contexts/Theme/ThemeContext.js +10 -0
- package/dist/contexts/Theme/ThemeContext.js.map +1 -0
- package/dist/contexts/Theme/ThemeProvider.js +66 -0
- package/dist/contexts/Theme/ThemeProvider.js.map +1 -0
- package/dist/contexts/Theme/useTheme.js +14 -0
- package/dist/contexts/Theme/useTheme.js.map +1 -0
- package/dist/contexts/Theme/v1/ThemeProvider.js +186 -0
- package/dist/contexts/Theme/v1/ThemeProvider.js.map +1 -0
- package/dist/contexts/Theme/v2/ThemeProvider.js +104 -0
- package/dist/contexts/Theme/v2/ThemeProvider.js.map +1 -0
- package/dist/contexts/ThunderID/ThunderIDContext.d.ts +12 -2
- package/dist/contexts/ThunderID/ThunderIDContext.d.ts.map +1 -1
- package/dist/contexts/ThunderID/ThunderIDContext.js +50 -0
- package/dist/contexts/ThunderID/ThunderIDContext.js.map +1 -0
- package/dist/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -1
- package/dist/contexts/ThunderID/ThunderIDProvider.js +403 -0
- package/dist/contexts/ThunderID/ThunderIDProvider.js.map +1 -0
- package/dist/contexts/ThunderID/useThunderID.js +29 -0
- package/dist/contexts/ThunderID/useThunderID.js.map +1 -0
- package/dist/contexts/User/UserContext.js +20 -0
- package/dist/contexts/User/UserContext.js.map +1 -0
- package/dist/contexts/User/UserProvider.js +57 -0
- package/dist/contexts/User/UserProvider.js.map +1 -0
- package/dist/contexts/User/useUser.js +88 -0
- package/dist/contexts/User/useUser.js.map +1 -0
- package/dist/hooks/useBranding.d.ts +1 -1
- package/dist/hooks/useBranding.js +69 -0
- package/dist/hooks/useBranding.js.map +1 -0
- package/dist/hooks/useBrowserUrl.js +31 -0
- package/dist/hooks/useBrowserUrl.js.map +1 -0
- package/dist/hooks/useForm.js +214 -0
- package/dist/hooks/useForm.js.map +1 -0
- package/dist/hooks/useTranslation.js +76 -0
- package/dist/hooks/useTranslation.js.map +1 -0
- package/dist/hooks/v2/useOAuthCallback.js +84 -0
- package/dist/hooks/v2/useOAuthCallback.js.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +123 -25694
- package/dist/utils/applyThemeToDOM.js +15 -0
- package/dist/utils/applyThemeToDOM.js.map +1 -0
- package/dist/utils/getDisplayName.d.ts.map +1 -1
- package/dist/utils/getDisplayName.js +50 -0
- package/dist/utils/getDisplayName.js.map +1 -0
- package/dist/utils/getMappedUserProfileValue.js +59 -0
- package/dist/utils/getMappedUserProfileValue.js.map +1 -0
- package/dist/utils/normalizeThemeConfig.js +42 -0
- package/dist/utils/normalizeThemeConfig.js.map +1 -0
- package/dist/utils/oauth.js +26 -0
- package/dist/utils/oauth.js.map +1 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.js +47 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.js.map +1 -0
- package/dist/utils/v2/flowTransformer.d.ts +17 -8
- package/dist/utils/v2/flowTransformer.d.ts.map +1 -1
- package/dist/utils/v2/flowTransformer.js +152 -0
- package/dist/utils/v2/flowTransformer.js.map +1 -0
- package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +1 -1
- package/dist/utils/v2/getAuthComponentHeadings.js +102 -0
- package/dist/utils/v2/getAuthComponentHeadings.js.map +1 -0
- package/dist/utils/v2/passkey.js +90 -0
- package/dist/utils/v2/passkey.js.map +1 -0
- package/dist/utils/v2/resolveTranslationsInArray.js +21 -0
- package/dist/utils/v2/resolveTranslationsInArray.js.map +1 -0
- package/dist/utils/v2/resolveTranslationsInObject.js +31 -0
- package/dist/utils/v2/resolveTranslationsInObject.js.map +1 -0
- package/package.json +16 -10
- package/dist/cjs/index.js +0 -25967
- package/dist/cjs/index.js.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
+
|
|
5
|
+
//#region src/hooks/v2/useOAuthCallback.ts
|
|
6
|
+
function cleanupUrlParams() {
|
|
7
|
+
if (typeof window === "undefined") return;
|
|
8
|
+
const url = new URL(window.location.href);
|
|
9
|
+
url.searchParams.delete("code");
|
|
10
|
+
url.searchParams.delete("nonce");
|
|
11
|
+
url.searchParams.delete("state");
|
|
12
|
+
url.searchParams.delete("error");
|
|
13
|
+
url.searchParams.delete("error_description");
|
|
14
|
+
window.history.replaceState({}, "", url.toString());
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Processes OAuth callbacks by detecting auth code in URL, resolving executionId, and submitting to server.
|
|
18
|
+
* Used by SignIn, SignUp, and AcceptInvite components.
|
|
19
|
+
*/
|
|
20
|
+
function useOAuthCallback({ currentExecutionId, executionIdStorageKey = "thunderid_execution_id", isInitialized, isSubmitting = false, onComplete, onError, onFlowChange, onProcessingStart, onSubmit, processedRef, setExecutionId: setExecExecutionId, tokenValidationAttemptedRef }) {
|
|
21
|
+
const internalRef = (0, react.useRef)(false);
|
|
22
|
+
const oauthCodeProcessedRef = processedRef ?? internalRef;
|
|
23
|
+
(0, react.useEffect)(() => {
|
|
24
|
+
if (!isInitialized || isSubmitting) return;
|
|
25
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
26
|
+
const code = urlParams.get("code");
|
|
27
|
+
const nonce = urlParams.get("nonce");
|
|
28
|
+
const state = urlParams.get("state");
|
|
29
|
+
const executionIdFromUrl = urlParams.get("executionId");
|
|
30
|
+
const error = urlParams.get("error");
|
|
31
|
+
const errorDescription = urlParams.get("error_description");
|
|
32
|
+
if (error) {
|
|
33
|
+
oauthCodeProcessedRef.current = true;
|
|
34
|
+
if (tokenValidationAttemptedRef) tokenValidationAttemptedRef.current = true;
|
|
35
|
+
onError?.(new Error(errorDescription || error || "OAuth authentication failed"));
|
|
36
|
+
cleanupUrlParams();
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (!code || oauthCodeProcessedRef.current) return;
|
|
40
|
+
if (tokenValidationAttemptedRef?.current) return;
|
|
41
|
+
const storedExecutionId = sessionStorage.getItem(executionIdStorageKey);
|
|
42
|
+
const executionIdToUse = currentExecutionId || storedExecutionId || executionIdFromUrl || state || null;
|
|
43
|
+
if (!executionIdToUse) {
|
|
44
|
+
oauthCodeProcessedRef.current = true;
|
|
45
|
+
onError?.(/* @__PURE__ */ new Error("Invalid flow. Missing executionId."));
|
|
46
|
+
cleanupUrlParams();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
oauthCodeProcessedRef.current = true;
|
|
50
|
+
if (tokenValidationAttemptedRef) tokenValidationAttemptedRef.current = true;
|
|
51
|
+
onProcessingStart?.();
|
|
52
|
+
if (!currentExecutionId && setExecExecutionId) setExecExecutionId(executionIdToUse);
|
|
53
|
+
(async () => {
|
|
54
|
+
try {
|
|
55
|
+
const response = await onSubmit({
|
|
56
|
+
executionId: executionIdToUse,
|
|
57
|
+
inputs: {
|
|
58
|
+
code,
|
|
59
|
+
...nonce && { nonce }
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
onFlowChange?.(response);
|
|
63
|
+
if (response?.flowStatus === "COMPLETE" || response?.status === "COMPLETE") onComplete?.();
|
|
64
|
+
if (response?.flowStatus === "ERROR" || response?.status === "ERROR") onError?.(response);
|
|
65
|
+
cleanupUrlParams();
|
|
66
|
+
} catch (err) {
|
|
67
|
+
onError?.(err);
|
|
68
|
+
cleanupUrlParams();
|
|
69
|
+
}
|
|
70
|
+
})();
|
|
71
|
+
}, [
|
|
72
|
+
isInitialized,
|
|
73
|
+
currentExecutionId,
|
|
74
|
+
isSubmitting,
|
|
75
|
+
onSubmit,
|
|
76
|
+
onComplete,
|
|
77
|
+
onError,
|
|
78
|
+
onFlowChange,
|
|
79
|
+
setExecExecutionId,
|
|
80
|
+
executionIdStorageKey
|
|
81
|
+
]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.useOAuthCallback = useOAuthCallback;
|
|
86
|
+
//# sourceMappingURL=useOAuthCallback.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOAuthCallback.cjs","names":["url: URL","internalRef: any","oauthCodeProcessedRef: any","urlParams: URLSearchParams","code: string | null","nonce: string | null","state: string | null","executionIdFromUrl: string | null","error: string | null","errorDescription: string | null","storedExecutionId: string | null","executionIdToUse: string | null","response: any"],"sources":["../../../../src/hooks/v2/useOAuthCallback.ts"],"sourcesContent":["/**\n * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {useEffect, useRef, type RefObject} from 'react';\n\nexport interface UseOAuthCallbackOptions {\n /**\n * Current executionId from component state\n */\n currentExecutionId: string | null;\n\n /**\n * SessionStorage key for executionId (defaults to 'thunderid_execution_id')\n */\n executionIdStorageKey?: string;\n\n /**\n * Whether the component is initialized and ready to process OAuth callback\n */\n isInitialized: boolean;\n\n /**\n * Whether a submission is currently in progress\n */\n isSubmitting?: boolean;\n\n /**\n * Callback when OAuth flow completes successfully\n */\n onComplete?: () => void;\n\n /**\n * Callback when OAuth flow encounters an error\n */\n onError?: (error: any) => void;\n\n /**\n * Function to handle flow response after submission\n */\n onFlowChange?: (response: any) => void;\n\n /**\n * Callback to set loading state at the start of OAuth processing\n */\n onProcessingStart?: () => void;\n\n /**\n * Function to submit OAuth code to the server\n */\n onSubmit: (payload: OAuthCallbackPayload) => Promise<any>;\n\n /**\n * Optional external ref to track processed state. If provided, the component\n * manages the ref (allowing resets on flow clear/retry). Otherwise hook manages internally.\n */\n processedRef?: RefObject<boolean>;\n\n /**\n * Additional handler for setting state (e.g., setExecutionId)\n */\n setExecutionId?: (executionId: string) => void;\n\n /**\n * Ref to mark that token validation was attempted (prevents duplicate validation)\n * Used in AcceptInvite to coordinate between OAuth callback and token validation\n */\n tokenValidationAttemptedRef?: RefObject<boolean>;\n}\n\nexport interface OAuthCallbackPayload {\n executionId: string;\n inputs: {\n code: string;\n nonce?: string;\n };\n}\n\nfunction cleanupUrlParams(): void {\n if (typeof window === 'undefined') return;\n\n const url: URL = new URL(window.location.href);\n url.searchParams.delete('code');\n url.searchParams.delete('nonce');\n url.searchParams.delete('state');\n url.searchParams.delete('error');\n url.searchParams.delete('error_description');\n\n window.history.replaceState({}, '', url.toString());\n}\n\n/**\n * Processes OAuth callbacks by detecting auth code in URL, resolving executionId, and submitting to server.\n * Used by SignIn, SignUp, and AcceptInvite components.\n */\nexport function useOAuthCallback({\n currentExecutionId,\n executionIdStorageKey = 'thunderid_execution_id',\n isInitialized,\n isSubmitting = false,\n onComplete,\n onError,\n onFlowChange,\n onProcessingStart,\n onSubmit,\n processedRef,\n setExecutionId: setExecExecutionId,\n tokenValidationAttemptedRef,\n}: UseOAuthCallbackOptions): void {\n const internalRef: any = useRef(false);\n const oauthCodeProcessedRef: any = processedRef ?? internalRef;\n\n useEffect(() => {\n if (!isInitialized || isSubmitting) {\n return;\n }\n\n const urlParams: URLSearchParams = new URLSearchParams(window.location.search);\n const code: string | null = urlParams.get('code');\n const nonce: string | null = urlParams.get('nonce');\n const state: string | null = urlParams.get('state');\n const executionIdFromUrl: string | null = urlParams.get('executionId');\n const error: string | null = urlParams.get('error');\n const errorDescription: string | null = urlParams.get('error_description');\n\n if (error) {\n oauthCodeProcessedRef.current = true;\n if (tokenValidationAttemptedRef) {\n tokenValidationAttemptedRef.current = true;\n }\n onError?.(new Error(errorDescription || error || 'OAuth authentication failed'));\n cleanupUrlParams();\n return;\n }\n\n if (!code || oauthCodeProcessedRef.current) {\n return;\n }\n\n if (tokenValidationAttemptedRef?.current) {\n return;\n }\n\n const storedExecutionId: string | null = sessionStorage.getItem(executionIdStorageKey);\n const executionIdToUse: string | null =\n currentExecutionId || storedExecutionId || executionIdFromUrl || state || null;\n\n if (!executionIdToUse) {\n oauthCodeProcessedRef.current = true;\n onError?.(new Error('Invalid flow. Missing executionId.'));\n cleanupUrlParams();\n return;\n }\n\n oauthCodeProcessedRef.current = true;\n\n if (tokenValidationAttemptedRef) {\n tokenValidationAttemptedRef.current = true;\n }\n\n onProcessingStart?.();\n\n if (!currentExecutionId && setExecExecutionId) {\n setExecExecutionId(executionIdToUse);\n }\n\n (async (): Promise<void> => {\n try {\n const payload: OAuthCallbackPayload = {\n executionId: executionIdToUse,\n inputs: {\n code,\n ...(nonce && {nonce}),\n },\n };\n\n const response: any = await onSubmit(payload);\n\n onFlowChange?.(response);\n\n if (response?.flowStatus === 'COMPLETE' || response?.status === 'COMPLETE') {\n onComplete?.();\n }\n\n if (response?.flowStatus === 'ERROR' || response?.status === 'ERROR') {\n onError?.(response);\n }\n\n cleanupUrlParams();\n } catch (err) {\n onError?.(err);\n cleanupUrlParams();\n }\n })();\n }, [\n isInitialized,\n currentExecutionId,\n isSubmitting,\n onSubmit,\n onComplete,\n onError,\n onFlowChange,\n setExecExecutionId,\n executionIdStorageKey,\n ]);\n}\n"],"mappings":";;;;;AA4FA,SAAS,mBAAyB;AAChC,KAAI,OAAO,WAAW,YAAa;CAEnC,MAAMA,MAAW,IAAI,IAAI,OAAO,SAAS,KAAK;AAC9C,KAAI,aAAa,OAAO,OAAO;AAC/B,KAAI,aAAa,OAAO,QAAQ;AAChC,KAAI,aAAa,OAAO,QAAQ;AAChC,KAAI,aAAa,OAAO,QAAQ;AAChC,KAAI,aAAa,OAAO,oBAAoB;AAE5C,QAAO,QAAQ,aAAa,EAAE,EAAE,IAAI,IAAI,UAAU,CAAC;;;;;;AAOrD,SAAgB,iBAAiB,EAC/B,oBACA,wBAAwB,0BACxB,eACA,eAAe,OACf,YACA,SACA,cACA,mBACA,UACA,cACA,gBAAgB,oBAChB,+BACgC;CAChC,MAAMC,gCAA0B,MAAM;CACtC,MAAMC,wBAA6B,gBAAgB;AAEnD,4BAAgB;AACd,MAAI,CAAC,iBAAiB,aACpB;EAGF,MAAMC,YAA6B,IAAI,gBAAgB,OAAO,SAAS,OAAO;EAC9E,MAAMC,OAAsB,UAAU,IAAI,OAAO;EACjD,MAAMC,QAAuB,UAAU,IAAI,QAAQ;EACnD,MAAMC,QAAuB,UAAU,IAAI,QAAQ;EACnD,MAAMC,qBAAoC,UAAU,IAAI,cAAc;EACtE,MAAMC,QAAuB,UAAU,IAAI,QAAQ;EACnD,MAAMC,mBAAkC,UAAU,IAAI,oBAAoB;AAE1E,MAAI,OAAO;AACT,yBAAsB,UAAU;AAChC,OAAI,4BACF,6BAA4B,UAAU;AAExC,aAAU,IAAI,MAAM,oBAAoB,SAAS,8BAA8B,CAAC;AAChF,qBAAkB;AAClB;;AAGF,MAAI,CAAC,QAAQ,sBAAsB,QACjC;AAGF,MAAI,6BAA6B,QAC/B;EAGF,MAAMC,oBAAmC,eAAe,QAAQ,sBAAsB;EACtF,MAAMC,mBACJ,sBAAsB,qBAAqB,sBAAsB,SAAS;AAE5E,MAAI,CAAC,kBAAkB;AACrB,yBAAsB,UAAU;AAChC,6BAAU,IAAI,MAAM,qCAAqC,CAAC;AAC1D,qBAAkB;AAClB;;AAGF,wBAAsB,UAAU;AAEhC,MAAI,4BACF,6BAA4B,UAAU;AAGxC,uBAAqB;AAErB,MAAI,CAAC,sBAAsB,mBACzB,oBAAmB,iBAAiB;AAGtC,GAAC,YAA2B;AAC1B,OAAI;IASF,MAAMC,WAAgB,MAAM,SARU;KACpC,aAAa;KACb,QAAQ;MACN;MACA,GAAI,SAAS,EAAC,OAAM;MACrB;KACF,CAE4C;AAE7C,mBAAe,SAAS;AAExB,QAAI,UAAU,eAAe,cAAc,UAAU,WAAW,WAC9D,eAAc;AAGhB,QAAI,UAAU,eAAe,WAAW,UAAU,WAAW,QAC3D,WAAU,SAAS;AAGrB,sBAAkB;YACX,KAAK;AACZ,cAAU,IAAI;AACd,sBAAkB;;MAElB;IACH;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CAAC"}
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ThunderIDContext = require('./contexts/ThunderID/ThunderIDContext.cjs');
|
|
3
|
+
const require_useBrowserUrl = require('./hooks/useBrowserUrl.cjs');
|
|
4
|
+
const require_getAllOrganizations = require('./api/getAllOrganizations.cjs');
|
|
5
|
+
const require_getMeOrganizations = require('./api/getMeOrganizations.cjs');
|
|
6
|
+
const require_BrandingContext = require('./contexts/Branding/BrandingContext.cjs');
|
|
7
|
+
const require_BrandingProvider = require('./contexts/Branding/BrandingProvider.cjs');
|
|
8
|
+
const require_FlowContext = require('./contexts/Flow/FlowContext.cjs');
|
|
9
|
+
const require_FlowProvider = require('./contexts/Flow/FlowProvider.cjs');
|
|
10
|
+
const require_I18nContext = require('./contexts/I18n/I18nContext.cjs');
|
|
11
|
+
const require_useI18n = require('./contexts/I18n/useI18n.cjs');
|
|
12
|
+
const require_useThunderID = require('./contexts/ThunderID/useThunderID.cjs');
|
|
13
|
+
const require_FlowMetaProvider = require('./contexts/FlowMeta/FlowMetaProvider.cjs');
|
|
14
|
+
const require_I18nProvider = require('./contexts/I18n/I18nProvider.cjs');
|
|
15
|
+
const require_OrganizationProvider = require('./contexts/Organization/OrganizationProvider.cjs');
|
|
16
|
+
const require_useBrandingContext = require('./contexts/Branding/useBrandingContext.cjs');
|
|
17
|
+
const require_ThemeContext = require('./contexts/Theme/ThemeContext.cjs');
|
|
18
|
+
const require_ThemeProvider = require('./contexts/Theme/ThemeProvider.cjs');
|
|
19
|
+
const require_UserContext = require('./contexts/User/UserContext.cjs');
|
|
20
|
+
const require_UserProvider = require('./contexts/User/UserProvider.cjs');
|
|
21
|
+
const require_ThunderIDProvider = require('./contexts/ThunderID/ThunderIDProvider.cjs');
|
|
22
|
+
const require_useUser = require('./contexts/User/useUser.cjs');
|
|
23
|
+
const require_useOrganization = require('./contexts/Organization/useOrganization.cjs');
|
|
24
|
+
const require_useFlow = require('./contexts/Flow/useFlow.cjs');
|
|
25
|
+
const require_useTheme = require('./contexts/Theme/useTheme.cjs');
|
|
26
|
+
const require_useTranslation = require('./hooks/useTranslation.cjs');
|
|
27
|
+
const require_useForm = require('./hooks/useForm.cjs');
|
|
28
|
+
const require_useBranding = require('./hooks/useBranding.cjs');
|
|
29
|
+
const require_Spinner = require('./components/primitives/Spinner/Spinner.cjs');
|
|
30
|
+
const require_Button = require('./components/primitives/Button/Button.cjs');
|
|
31
|
+
const require_BaseSignInButton = require('./components/actions/SignInButton/BaseSignInButton.cjs');
|
|
32
|
+
const require_SignInButton = require('./components/actions/SignInButton/SignInButton.cjs');
|
|
33
|
+
const require_BaseSignOutButton = require('./components/actions/SignOutButton/BaseSignOutButton.cjs');
|
|
34
|
+
const require_SignOutButton = require('./components/actions/SignOutButton/SignOutButton.cjs');
|
|
35
|
+
const require_BaseSignUpButton = require('./components/actions/SignUpButton/BaseSignUpButton.cjs');
|
|
36
|
+
const require_SignUpButton = require('./components/actions/SignUpButton/SignUpButton.cjs');
|
|
37
|
+
const require_SignedIn = require('./components/control/SignedIn.cjs');
|
|
38
|
+
const require_SignedOut = require('./components/control/SignedOut.cjs');
|
|
39
|
+
const require_Loading = require('./components/control/Loading.cjs');
|
|
40
|
+
const require_OrganizationContext = require('./components/control/OrganizationContext/OrganizationContext.cjs');
|
|
41
|
+
const require_Typography = require('./components/primitives/Typography/Typography.cjs');
|
|
42
|
+
const require_FormControl = require('./components/primitives/FormControl/FormControl.cjs');
|
|
43
|
+
const require_InputLabel = require('./components/primitives/InputLabel/InputLabel.cjs');
|
|
44
|
+
const require_Checkbox = require('./components/primitives/Checkbox/Checkbox.cjs');
|
|
45
|
+
const require_DatePicker = require('./components/primitives/DatePicker/DatePicker.cjs');
|
|
46
|
+
const require_OtpField = require('./components/primitives/OtpField/OtpField.cjs');
|
|
47
|
+
const require_Eye = require('./components/primitives/Icons/Eye.cjs');
|
|
48
|
+
const require_EyeOff = require('./components/primitives/Icons/EyeOff.cjs');
|
|
49
|
+
const require_TextField = require('./components/primitives/TextField/TextField.cjs');
|
|
50
|
+
const require_PasswordField = require('./components/primitives/PasswordField/PasswordField.cjs');
|
|
51
|
+
const require_Select = require('./components/primitives/Select/Select.cjs');
|
|
52
|
+
const require_FieldFactory = require('./components/factories/FieldFactory.cjs');
|
|
53
|
+
const require_EmailOtp = require('./components/presentation/auth/SignIn/v1/options/EmailOtp.cjs');
|
|
54
|
+
const require_IdentifierFirst = require('./components/presentation/auth/SignIn/v1/options/IdentifierFirst.cjs');
|
|
55
|
+
const require_MultiOptionButton = require('./components/presentation/auth/SignIn/v1/options/MultiOptionButton.cjs');
|
|
56
|
+
const require_SmsOtp = require('./components/presentation/auth/SignIn/v1/options/SmsOtp.cjs');
|
|
57
|
+
const require_SocialButton = require('./components/presentation/auth/SignIn/v1/options/SocialButton.cjs');
|
|
58
|
+
const require_Totp = require('./components/presentation/auth/SignIn/v1/options/Totp.cjs');
|
|
59
|
+
const require_UsernamePassword = require('./components/presentation/auth/SignIn/v1/options/UsernamePassword.cjs');
|
|
60
|
+
const require_FacebookButton = require('./components/adapters/FacebookButton.cjs');
|
|
61
|
+
const require_GitHubButton = require('./components/adapters/GitHubButton.cjs');
|
|
62
|
+
const require_GoogleButton = require('./components/adapters/GoogleButton.cjs');
|
|
63
|
+
const require_LinkedInButton = require('./components/adapters/LinkedInButton.cjs');
|
|
64
|
+
const require_MicrosoftButton = require('./components/adapters/MicrosoftButton.cjs');
|
|
65
|
+
const require_SignInWithEthereumButton = require('./components/adapters/SignInWithEthereumButton.cjs');
|
|
66
|
+
const require_SignInOptionFactory = require('./components/presentation/auth/SignIn/v1/options/SignInOptionFactory.cjs');
|
|
67
|
+
const require_CircleAlert = require('./components/primitives/Icons/CircleAlert.cjs');
|
|
68
|
+
const require_CircleCheck = require('./components/primitives/Icons/CircleCheck.cjs');
|
|
69
|
+
const require_Info = require('./components/primitives/Icons/Info.cjs');
|
|
70
|
+
const require_TriangleAlert = require('./components/primitives/Icons/TriangleAlert.cjs');
|
|
71
|
+
const require_Alert = require('./components/primitives/Alert/Alert.cjs');
|
|
72
|
+
const require_Card = require('./components/primitives/Card/Card.cjs');
|
|
73
|
+
const require_Divider = require('./components/primitives/Divider/Divider.cjs');
|
|
74
|
+
const require_Logo = require('./components/primitives/Logo/Logo.cjs');
|
|
75
|
+
const require_OrganizationUnitPicker = require('./components/presentation/auth/OrganizationUnitPicker/v2/OrganizationUnitPicker.cjs');
|
|
76
|
+
const require_Toggle = require('./components/primitives/Toggle/Toggle.cjs');
|
|
77
|
+
const require_ConsentCheckboxList = require('./components/adapters/ConsentCheckboxList.cjs');
|
|
78
|
+
const require_Consent = require('./components/adapters/Consent.cjs');
|
|
79
|
+
const require_FlowTimer = require('./components/adapters/FlowTimer.cjs');
|
|
80
|
+
const require_BaseSignIn = require('./components/presentation/auth/SignIn/BaseSignIn.cjs');
|
|
81
|
+
const require_SignIn = require('./components/presentation/auth/SignIn/SignIn.cjs');
|
|
82
|
+
const require_BaseSignUp = require('./components/presentation/auth/SignUp/BaseSignUp.cjs');
|
|
83
|
+
const require_SignUp = require('./components/presentation/auth/SignUp/SignUp.cjs');
|
|
84
|
+
const require_BaseRecovery = require('./components/presentation/auth/Recovery/BaseRecovery.cjs');
|
|
85
|
+
const require_Recovery = require('./components/presentation/auth/Recovery/Recovery.cjs');
|
|
86
|
+
const require_BaseInviteUser = require('./components/presentation/auth/InviteUser/v2/BaseInviteUser.cjs');
|
|
87
|
+
const require_InviteUser = require('./components/presentation/auth/InviteUser/v2/InviteUser.cjs');
|
|
88
|
+
const require_BaseAcceptInvite = require('./components/presentation/auth/AcceptInvite/v2/BaseAcceptInvite.cjs');
|
|
89
|
+
const require_AcceptInvite = require('./components/presentation/auth/AcceptInvite/v2/AcceptInvite.cjs');
|
|
90
|
+
const require_TokenCallback = require('./components/auth/Callback/TokenCallback.cjs');
|
|
91
|
+
const require_OAuthCallback = require('./components/auth/Callback/OAuthCallback.cjs');
|
|
92
|
+
const require_Callback = require('./components/auth/Callback/Callback.cjs');
|
|
93
|
+
const require_BaseUser = require('./components/presentation/User/BaseUser.cjs');
|
|
94
|
+
const require_User = require('./components/presentation/User/User.cjs');
|
|
95
|
+
const require_BaseOrganization = require('./components/presentation/Organization/BaseOrganization.cjs');
|
|
96
|
+
const require_Organization = require('./components/presentation/Organization/Organization.cjs');
|
|
97
|
+
const require_LogOut = require('./components/primitives/Icons/LogOut.cjs');
|
|
98
|
+
const require_User$1 = require('./components/primitives/Icons/User.cjs');
|
|
99
|
+
const require_MultiInput = require('./components/primitives/MultiInput/MultiInput.cjs');
|
|
100
|
+
const require_BaseUserProfile = require('./components/presentation/UserProfile/BaseUserProfile.cjs');
|
|
101
|
+
const require_updateMeProfile = require('./api/updateMeProfile.cjs');
|
|
102
|
+
const require_UserProfile = require('./components/presentation/UserProfile/UserProfile.cjs');
|
|
103
|
+
const require_BaseUserDropdown = require('./components/presentation/UserDropdown/BaseUserDropdown.cjs');
|
|
104
|
+
const require_UserDropdown = require('./components/presentation/UserDropdown/UserDropdown.cjs');
|
|
105
|
+
const require_BaseOrganizationSwitcher = require('./components/presentation/OrganizationSwitcher/BaseOrganizationSwitcher.cjs');
|
|
106
|
+
const require_BuildingAlt = require('./components/primitives/Icons/BuildingAlt.cjs');
|
|
107
|
+
const require_BaseCreateOrganization = require('./components/presentation/CreateOrganization/BaseCreateOrganization.cjs');
|
|
108
|
+
const require_createOrganization = require('./api/createOrganization.cjs');
|
|
109
|
+
const require_CreateOrganization = require('./components/presentation/CreateOrganization/CreateOrganization.cjs');
|
|
110
|
+
const require_BaseOrganizationList = require('./components/presentation/OrganizationList/BaseOrganizationList.cjs');
|
|
111
|
+
const require_OrganizationList = require('./components/presentation/OrganizationList/OrganizationList.cjs');
|
|
112
|
+
const require_KeyValueInput = require('./components/primitives/KeyValueInput/KeyValueInput.cjs');
|
|
113
|
+
const require_BaseOrganizationProfile = require('./components/presentation/OrganizationProfile/BaseOrganizationProfile.cjs');
|
|
114
|
+
const require_getOrganization = require('./api/getOrganization.cjs');
|
|
115
|
+
const require_updateOrganization = require('./api/updateOrganization.cjs');
|
|
116
|
+
const require_OrganizationProfile = require('./components/presentation/OrganizationProfile/OrganizationProfile.cjs');
|
|
117
|
+
const require_OrganizationSwitcher = require('./components/presentation/OrganizationSwitcher/OrganizationSwitcher.cjs');
|
|
118
|
+
const require_BaseLanguageSwitcher = require('./components/presentation/LanguageSwitcher/BaseLanguageSwitcher.cjs');
|
|
119
|
+
const require_LanguageSwitcher = require('./components/presentation/LanguageSwitcher/LanguageSwitcher.cjs');
|
|
120
|
+
const require_getSchemas = require('./api/getSchemas.cjs');
|
|
121
|
+
const require_getScim2Me = require('./api/getScim2Me.cjs');
|
|
122
|
+
let __thunderid_browser = require("@thunderid/browser");
|
|
123
|
+
__thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
|
|
124
|
+
|
|
125
|
+
exports.AcceptInvite = require_AcceptInvite.default;
|
|
126
|
+
exports.Alert = require_Alert.default;
|
|
127
|
+
exports.BaseAcceptInvite = require_BaseAcceptInvite.default;
|
|
128
|
+
exports.BaseCreateOrganization = require_BaseCreateOrganization.BaseCreateOrganization;
|
|
129
|
+
exports.BaseInviteUser = require_BaseInviteUser.default;
|
|
130
|
+
exports.BaseLanguageSwitcher = require_BaseLanguageSwitcher.default;
|
|
131
|
+
exports.BaseOrganization = require_BaseOrganization.default;
|
|
132
|
+
exports.BaseOrganizationList = require_BaseOrganizationList.default;
|
|
133
|
+
exports.BaseOrganizationProfile = require_BaseOrganizationProfile.default;
|
|
134
|
+
exports.BaseOrganizationSwitcher = require_BaseOrganizationSwitcher.default;
|
|
135
|
+
exports.BaseRecovery = require_BaseRecovery.default;
|
|
136
|
+
exports.BaseSignIn = require_BaseSignIn.default;
|
|
137
|
+
exports.BaseSignInButton = require_BaseSignInButton.default;
|
|
138
|
+
exports.BaseSignOutButton = require_BaseSignOutButton.default;
|
|
139
|
+
exports.BaseSignUp = require_BaseSignUp.default;
|
|
140
|
+
exports.BaseSignUpButton = require_BaseSignUpButton.default;
|
|
141
|
+
exports.BaseUser = require_BaseUser.default;
|
|
142
|
+
exports.BaseUserDropdown = require_BaseUserDropdown.default;
|
|
143
|
+
exports.BaseUserProfile = require_BaseUserProfile.default;
|
|
144
|
+
exports.BrandingContext = require_BrandingContext.default;
|
|
145
|
+
exports.BrandingProvider = require_BrandingProvider.default;
|
|
146
|
+
exports.BuildingAlt = require_BuildingAlt.default;
|
|
147
|
+
exports.Button = require_Button.default;
|
|
148
|
+
exports.Callback = require_Callback.Callback;
|
|
149
|
+
exports.Card = require_Card.default;
|
|
150
|
+
exports.Checkbox = require_Checkbox.default;
|
|
151
|
+
exports.CircleAlert = require_CircleAlert.default;
|
|
152
|
+
exports.CircleCheck = require_CircleCheck.default;
|
|
153
|
+
exports.Consent = require_Consent.default;
|
|
154
|
+
exports.ConsentCheckboxList = require_ConsentCheckboxList.default;
|
|
155
|
+
exports.CreateOrganization = require_CreateOrganization.CreateOrganization;
|
|
156
|
+
exports.DatePicker = require_DatePicker.default;
|
|
157
|
+
exports.Divider = require_Divider.default;
|
|
158
|
+
Object.defineProperty(exports, 'EMOJI_URI_SCHEME', {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () {
|
|
161
|
+
return __thunderid_browser.EMOJI_URI_SCHEME;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
exports.EmailOtp = require_EmailOtp.default;
|
|
165
|
+
Object.defineProperty(exports, 'EmbeddedFlowActionVariant', {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () {
|
|
168
|
+
return __thunderid_browser.EmbeddedFlowActionVariantV2;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, 'EmbeddedFlowComponentType', {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () {
|
|
174
|
+
return __thunderid_browser.EmbeddedFlowComponentTypeV2;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, 'EmbeddedFlowEventType', {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () {
|
|
180
|
+
return __thunderid_browser.EmbeddedFlowEventTypeV2;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, 'EmbeddedFlowTextVariant', {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () {
|
|
186
|
+
return __thunderid_browser.EmbeddedFlowTextVariantV2;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, 'EmbeddedRecoveryFlowStatus', {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () {
|
|
192
|
+
return __thunderid_browser.EmbeddedRecoveryFlowStatusV2;
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, 'EmbeddedRecoveryFlowType', {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () {
|
|
198
|
+
return __thunderid_browser.EmbeddedRecoveryFlowTypeV2;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, 'EmbeddedSignInFlowStatus', {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () {
|
|
204
|
+
return __thunderid_browser.EmbeddedSignInFlowStatusV2;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, 'EmbeddedSignInFlowType', {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () {
|
|
210
|
+
return __thunderid_browser.EmbeddedSignInFlowTypeV2;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
exports.Eye = require_Eye.default;
|
|
214
|
+
exports.EyeOff = require_EyeOff.default;
|
|
215
|
+
exports.FacebookButton = require_FacebookButton.default;
|
|
216
|
+
exports.FieldFactory = require_FieldFactory.FieldFactory;
|
|
217
|
+
exports.FlowContext = require_FlowContext.default;
|
|
218
|
+
exports.FlowMetaProvider = require_FlowMetaProvider.default;
|
|
219
|
+
exports.FlowProvider = require_FlowProvider.default;
|
|
220
|
+
exports.FlowTimer = require_FlowTimer.default;
|
|
221
|
+
exports.FormControl = require_FormControl.default;
|
|
222
|
+
exports.GitHubButton = require_GitHubButton.default;
|
|
223
|
+
exports.GoogleButton = require_GoogleButton.default;
|
|
224
|
+
exports.I18nContext = require_I18nContext.default;
|
|
225
|
+
exports.I18nProvider = require_I18nProvider.default;
|
|
226
|
+
exports.IdentifierFirst = require_IdentifierFirst.default;
|
|
227
|
+
exports.Info = require_Info.default;
|
|
228
|
+
exports.InputLabel = require_InputLabel.default;
|
|
229
|
+
exports.InviteUser = require_InviteUser.default;
|
|
230
|
+
exports.KeyValueInput = require_KeyValueInput.default;
|
|
231
|
+
exports.LanguageSwitcher = require_LanguageSwitcher.default;
|
|
232
|
+
exports.LinkedInButton = require_LinkedInButton.default;
|
|
233
|
+
exports.Loading = require_Loading.default;
|
|
234
|
+
exports.LogOut = require_LogOut.default;
|
|
235
|
+
exports.Logo = require_Logo.default;
|
|
236
|
+
exports.MicrosoftButton = require_MicrosoftButton.default;
|
|
237
|
+
exports.MultiInput = require_MultiInput.default;
|
|
238
|
+
exports.MultiOptionButton = require_MultiOptionButton.default;
|
|
239
|
+
exports.OAuthCallback = require_OAuthCallback.OAuthCallback;
|
|
240
|
+
exports.Organization = require_Organization.default;
|
|
241
|
+
exports.OrganizationContext = require_OrganizationContext.default;
|
|
242
|
+
exports.OrganizationList = require_OrganizationList.default;
|
|
243
|
+
exports.OrganizationProfile = require_OrganizationProfile.default;
|
|
244
|
+
exports.OrganizationProvider = require_OrganizationProvider.default;
|
|
245
|
+
exports.OrganizationSwitcher = require_OrganizationSwitcher.default;
|
|
246
|
+
exports.OrganizationUnitPicker = require_OrganizationUnitPicker.default;
|
|
247
|
+
exports.OtpField = require_OtpField.default;
|
|
248
|
+
exports.PasswordField = require_PasswordField.default;
|
|
249
|
+
exports.Recovery = require_Recovery.default;
|
|
250
|
+
exports.Select = require_Select.default;
|
|
251
|
+
exports.SignIn = require_SignIn.default;
|
|
252
|
+
exports.SignInButton = require_SignInButton.default;
|
|
253
|
+
exports.SignInWithEthereumButton = require_SignInWithEthereumButton.default;
|
|
254
|
+
exports.SignOutButton = require_SignOutButton.default;
|
|
255
|
+
exports.SignUp = require_SignUp.default;
|
|
256
|
+
exports.SignUpButton = require_SignUpButton.default;
|
|
257
|
+
exports.SignedIn = require_SignedIn.default;
|
|
258
|
+
exports.SignedOut = require_SignedOut.default;
|
|
259
|
+
exports.SmsOtp = require_SmsOtp.default;
|
|
260
|
+
exports.SocialButton = require_SocialButton.default;
|
|
261
|
+
exports.Spinner = require_Spinner.default;
|
|
262
|
+
exports.TextField = require_TextField.default;
|
|
263
|
+
exports.ThemeContext = require_ThemeContext.default;
|
|
264
|
+
exports.ThemeProvider = require_ThemeProvider.default;
|
|
265
|
+
exports.ThunderIDContext = require_ThunderIDContext.default;
|
|
266
|
+
exports.ThunderIDProvider = require_ThunderIDProvider.default;
|
|
267
|
+
Object.defineProperty(exports, 'ThunderIDRuntimeError', {
|
|
268
|
+
enumerable: true,
|
|
269
|
+
get: function () {
|
|
270
|
+
return __thunderid_browser.ThunderIDRuntimeError;
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
exports.Toggle = require_Toggle.default;
|
|
274
|
+
exports.TokenCallback = require_TokenCallback.TokenCallback;
|
|
275
|
+
exports.Totp = require_Totp.default;
|
|
276
|
+
exports.TriangleAlert = require_TriangleAlert.default;
|
|
277
|
+
exports.Typography = require_Typography.default;
|
|
278
|
+
exports.User = require_User.default;
|
|
279
|
+
exports.UserContext = require_UserContext.default;
|
|
280
|
+
exports.UserDropdown = require_UserDropdown.default;
|
|
281
|
+
exports.UserIcon = require_User$1.default;
|
|
282
|
+
exports.UserProfile = require_UserProfile.default;
|
|
283
|
+
exports.UserProvider = require_UserProvider.default;
|
|
284
|
+
exports.UsernamePassword = require_UsernamePassword.default;
|
|
285
|
+
Object.defineProperty(exports, 'countryCodeToFlagEmoji', {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function () {
|
|
288
|
+
return __thunderid_browser.countryCodeToFlagEmoji;
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
exports.createField = require_FieldFactory.createField;
|
|
292
|
+
exports.createOrganization = require_createOrganization.default;
|
|
293
|
+
exports.createPatchOperations = __thunderid_browser.createPatchOperations;
|
|
294
|
+
exports.createSignInOption = require_SignInOptionFactory.createSignInOption;
|
|
295
|
+
exports.createSignInOptionFromAuthenticator = require_SignInOptionFactory.createSignInOptionFromAuthenticator;
|
|
296
|
+
Object.defineProperty(exports, 'extractEmojiFromUri', {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function () {
|
|
299
|
+
return __thunderid_browser.extractEmojiFromUri;
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(exports, 'getActiveTheme', {
|
|
303
|
+
enumerable: true,
|
|
304
|
+
get: function () {
|
|
305
|
+
return __thunderid_browser.getActiveTheme;
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
exports.getAllOrganizations = require_getAllOrganizations.default;
|
|
309
|
+
exports.getConsentOptionalKey = require_ConsentCheckboxList.getConsentOptionalKey;
|
|
310
|
+
exports.getMeOrganizations = require_getMeOrganizations.default;
|
|
311
|
+
exports.getMeProfile = require_getScim2Me.default;
|
|
312
|
+
exports.getOrganization = require_getOrganization.default;
|
|
313
|
+
exports.getSchemas = require_getSchemas.default;
|
|
314
|
+
Object.defineProperty(exports, 'http', {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () {
|
|
317
|
+
return __thunderid_browser.http;
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
Object.defineProperty(exports, 'isEmojiUri', {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
get: function () {
|
|
323
|
+
return __thunderid_browser.isEmojiUri;
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
Object.defineProperty(exports, 'navigate', {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function () {
|
|
329
|
+
return __thunderid_browser.navigate;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
Object.defineProperty(exports, 'resolveEmojiUrisInHtml', {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function () {
|
|
335
|
+
return __thunderid_browser.resolveEmojiUrisInHtml;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
Object.defineProperty(exports, 'resolveFlowTemplateLiterals', {
|
|
339
|
+
enumerable: true,
|
|
340
|
+
get: function () {
|
|
341
|
+
return __thunderid_browser.resolveFlowTemplateLiterals;
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(exports, 'resolveLocaleDisplayName', {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function () {
|
|
347
|
+
return __thunderid_browser.resolveLocaleDisplayName;
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
Object.defineProperty(exports, 'resolveLocaleEmoji', {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function () {
|
|
353
|
+
return __thunderid_browser.resolveLocaleEmoji;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
Object.defineProperty(exports, 'resolveMeta', {
|
|
357
|
+
enumerable: true,
|
|
358
|
+
get: function () {
|
|
359
|
+
return __thunderid_browser.resolveMeta;
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
exports.updateMeProfile = require_updateMeProfile.default;
|
|
363
|
+
exports.updateOrganization = require_updateOrganization.default;
|
|
364
|
+
exports.useBranding = require_useBranding.default;
|
|
365
|
+
exports.useBrandingContext = require_useBrandingContext.default;
|
|
366
|
+
exports.useBrowserUrl = require_useBrowserUrl.default;
|
|
367
|
+
exports.useFlow = require_useFlow.default;
|
|
368
|
+
exports.useForm = require_useForm.default;
|
|
369
|
+
exports.useI18n = require_useI18n.default;
|
|
370
|
+
exports.useOrganization = require_useOrganization.default;
|
|
371
|
+
exports.useTheme = require_useTheme.default;
|
|
372
|
+
exports.useThunderID = require_useThunderID.default;
|
|
373
|
+
exports.useTranslation = require_useTranslation.default;
|
|
374
|
+
exports.useUser = require_useUser.default;
|
|
375
|
+
exports.validateFieldValue = require_FieldFactory.validateFieldValue;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/utils/applyThemeToDOM.ts
|
|
3
|
+
/**
|
|
4
|
+
* Writes all CSS custom properties from a resolved `Theme` onto the document root.
|
|
5
|
+
* Called inside a `useEffect` whenever the active theme changes.
|
|
6
|
+
*/
|
|
7
|
+
const applyThemeToDOM = (theme) => {
|
|
8
|
+
Object.entries(theme.cssVariables).forEach(([key, value]) => {
|
|
9
|
+
document.documentElement.style.setProperty(key, value);
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
var applyThemeToDOM_default = applyThemeToDOM;
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.default = applyThemeToDOM_default;
|
|
16
|
+
//# sourceMappingURL=applyThemeToDOM.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyThemeToDOM.cjs","names":[],"sources":["../../../src/utils/applyThemeToDOM.ts"],"sourcesContent":["/**\n * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {Theme} from '@thunderid/browser';\n\n/**\n * Writes all CSS custom properties from a resolved `Theme` onto the document root.\n * Called inside a `useEffect` whenever the active theme changes.\n */\nconst applyThemeToDOM = (theme: Theme): void => {\n Object.entries(theme.cssVariables).forEach(([key, value]: [string, string]) => {\n document.documentElement.style.setProperty(key, value);\n });\n};\n\nexport default applyThemeToDOM;\n"],"mappings":";;;;;;AAwBA,MAAM,mBAAmB,UAAuB;AAC9C,QAAO,QAAQ,MAAM,aAAa,CAAC,SAAS,CAAC,KAAK,WAA6B;AAC7E,WAAS,gBAAgB,MAAM,YAAY,KAAK,MAAM;GACtD;;AAGJ,8BAAe"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const require_getMappedUserProfileValue = require('./getMappedUserProfileValue.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/utils/getDisplayName.ts
|
|
4
|
+
/**
|
|
5
|
+
* Get the display name of a user by mapping their profile attributes.
|
|
6
|
+
*
|
|
7
|
+
* @param mergedMappings - The merged attribute mappings.
|
|
8
|
+
* @param user - The user object containing profile information.
|
|
9
|
+
* @param displayAttributes - Optional array of attribute keys or paths to try first.
|
|
10
|
+
* Each entry is resolved via `getMappedUserProfileValue`. The first non-empty
|
|
11
|
+
* value found is returned. If none resolve, the default fallback chain is used.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Default behavior — tries firstName+lastName, then username, email, name
|
|
16
|
+
* const displayName = getDisplayName(mergedMappings, user);
|
|
17
|
+
*
|
|
18
|
+
* // Custom attributes — try 'nickname' first, then fall back to defaults
|
|
19
|
+
* const displayName = getDisplayName(mergedMappings, user, ['nickname']);
|
|
20
|
+
*
|
|
21
|
+
* // Multiple custom attributes
|
|
22
|
+
* const displayName = getDisplayName(mergedMappings, user, ['preferred_username', 'nickname']);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @returns The display name of the user.
|
|
26
|
+
*/
|
|
27
|
+
const getDisplayName = (mergedMappings, user, displayAttributes) => {
|
|
28
|
+
const mappings = mergedMappings;
|
|
29
|
+
if (displayAttributes && displayAttributes.length > 0) {
|
|
30
|
+
let foundValue;
|
|
31
|
+
displayAttributes.some((attr) => {
|
|
32
|
+
const value = require_getMappedUserProfileValue.default(attr, mappings, user);
|
|
33
|
+
if (value !== void 0 && value !== null && value !== "") {
|
|
34
|
+
foundValue = String(value);
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
});
|
|
39
|
+
if (foundValue !== void 0) return foundValue;
|
|
40
|
+
}
|
|
41
|
+
const firstName = require_getMappedUserProfileValue.default("firstName", mappings, user);
|
|
42
|
+
const lastName = require_getMappedUserProfileValue.default("lastName", mappings, user);
|
|
43
|
+
if (firstName && lastName) return `${firstName} ${lastName}`;
|
|
44
|
+
return require_getMappedUserProfileValue.default("username", mappings, user) || require_getMappedUserProfileValue.default("email", mappings, user) || require_getMappedUserProfileValue.default("name", mappings, user) || "User";
|
|
45
|
+
};
|
|
46
|
+
var getDisplayName_default = getDisplayName;
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
exports.default = getDisplayName_default;
|
|
50
|
+
//# sourceMappingURL=getDisplayName.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDisplayName.cjs","names":["mappings: Record<string, string | string[]>","foundValue: string | undefined","value: any","getMappedUserProfileValue","firstName: any","lastName: any"],"sources":["../../../src/utils/getDisplayName.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {User} from '@thunderid/browser';\nimport getMappedUserProfileValue from './getMappedUserProfileValue';\n\n/**\n * Get the display name of a user by mapping their profile attributes.\n *\n * @param mergedMappings - The merged attribute mappings.\n * @param user - The user object containing profile information.\n * @param displayAttributes - Optional array of attribute keys or paths to try first.\n * Each entry is resolved via `getMappedUserProfileValue`. The first non-empty\n * value found is returned. If none resolve, the default fallback chain is used.\n *\n * @example\n * ```ts\n * // Default behavior — tries firstName+lastName, then username, email, name\n * const displayName = getDisplayName(mergedMappings, user);\n *\n * // Custom attributes — try 'nickname' first, then fall back to defaults\n * const displayName = getDisplayName(mergedMappings, user, ['nickname']);\n *\n * // Multiple custom attributes\n * const displayName = getDisplayName(mergedMappings, user, ['preferred_username', 'nickname']);\n * ```\n *\n * @returns The display name of the user.\n */\nconst getDisplayName = (\n mergedMappings: Record<string, string | string[] | undefined>,\n user: User,\n displayAttributes?: string[],\n): string => {\n const mappings: Record<string, string | string[]> = mergedMappings as Record<string, string | string[]>;\n if (displayAttributes && displayAttributes.length > 0) {\n let foundValue: string | undefined;\n displayAttributes.some((attr: string) => {\n const value: any = getMappedUserProfileValue(attr, mappings, user);\n\n if (value !== undefined && value !== null && value !== '') {\n foundValue = String(value);\n return true;\n }\n return false;\n });\n if (foundValue !== undefined) {\n return foundValue;\n }\n }\n\n const firstName: any = getMappedUserProfileValue('firstName', mappings, user);\n const lastName: any = getMappedUserProfileValue('lastName', mappings, user);\n\n if (firstName && lastName) {\n return `${firstName} ${lastName}`;\n }\n\n return (\n getMappedUserProfileValue('username', mappings, user) ||\n getMappedUserProfileValue('email', mappings, user) ||\n getMappedUserProfileValue('name', mappings, user) ||\n 'User'\n );\n};\n\nexport default getDisplayName;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAM,kBACJ,gBACA,MACA,sBACW;CACX,MAAMA,WAA8C;AACpD,KAAI,qBAAqB,kBAAkB,SAAS,GAAG;EACrD,IAAIC;AACJ,oBAAkB,MAAM,SAAiB;GACvC,MAAMC,QAAaC,0CAA0B,MAAM,UAAU,KAAK;AAElE,OAAI,UAAU,UAAa,UAAU,QAAQ,UAAU,IAAI;AACzD,iBAAa,OAAO,MAAM;AAC1B,WAAO;;AAET,UAAO;IACP;AACF,MAAI,eAAe,OACjB,QAAO;;CAIX,MAAMC,YAAiBD,0CAA0B,aAAa,UAAU,KAAK;CAC7E,MAAME,WAAgBF,0CAA0B,YAAY,UAAU,KAAK;AAE3E,KAAI,aAAa,SACf,QAAO,GAAG,UAAU,GAAG;AAGzB,QACEA,0CAA0B,YAAY,UAAU,KAAK,IACrDA,0CAA0B,SAAS,UAAU,KAAK,IAClDA,0CAA0B,QAAQ,UAAU,KAAK,IACjD;;AAIJ,6BAAe"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __thunderid_browser = require("@thunderid/browser");
|
|
3
|
+
__thunderid_browser = require_rolldown_runtime.__toESM(__thunderid_browser);
|
|
4
|
+
|
|
5
|
+
//#region src/utils/getMappedUserProfileValue.ts
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves a user profile value based on attribute mapping configuration.
|
|
8
|
+
*
|
|
9
|
+
* This function allows flexible mapping of component attribute names to actual
|
|
10
|
+
* user profile field paths. It supports both simple string mappings and arrays
|
|
11
|
+
* of potential field paths for fallback scenarios.
|
|
12
|
+
*
|
|
13
|
+
* @param key - The logical attribute name to retrieve (e.g., 'firstName', 'email')
|
|
14
|
+
* @param mappings - Object mapping logical names to user profile field paths
|
|
15
|
+
* @param user - The user object to extract values from
|
|
16
|
+
* @returns The mapped value from the user profile, or undefined if not found
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const mappings = {
|
|
21
|
+
* firstName: 'name.givenName',
|
|
22
|
+
* email: 'emails[0]',
|
|
23
|
+
* picture: ['profileUrl', 'profile', 'avatar'] // fallback options
|
|
24
|
+
* };
|
|
25
|
+
*
|
|
26
|
+
* const user = {
|
|
27
|
+
* name: { givenName: 'John' },
|
|
28
|
+
* emails: ['john@example.com'],
|
|
29
|
+
* profileUrl: 'https://example.com/avatar.jpg'
|
|
30
|
+
* };
|
|
31
|
+
*
|
|
32
|
+
* getMappedUserProfileValue('firstName', mappings, user); // 'John'
|
|
33
|
+
* getMappedUserProfileValue('email', mappings, user); // 'john@example.com'
|
|
34
|
+
* getMappedUserProfileValue('picture', mappings, user); // 'https://example.com/avatar.jpg'
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
const getMappedUserProfileValue = (key, mappings, user) => {
|
|
38
|
+
if (!key || !mappings || !user) return;
|
|
39
|
+
const mapping = mappings[key];
|
|
40
|
+
if (!mapping) return (0, __thunderid_browser.get)(user, key);
|
|
41
|
+
if (Array.isArray(mapping)) {
|
|
42
|
+
let foundValue;
|
|
43
|
+
let found = false;
|
|
44
|
+
mapping.some((path) => {
|
|
45
|
+
const value = (0, __thunderid_browser.get)(user, path);
|
|
46
|
+
if (value !== void 0 && value !== null && value !== "") {
|
|
47
|
+
foundValue = value;
|
|
48
|
+
found = true;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
});
|
|
53
|
+
return found ? foundValue : void 0;
|
|
54
|
+
}
|
|
55
|
+
return (0, __thunderid_browser.get)(user, mapping);
|
|
56
|
+
};
|
|
57
|
+
var getMappedUserProfileValue_default = getMappedUserProfileValue;
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
exports.default = getMappedUserProfileValue_default;
|
|
61
|
+
//# sourceMappingURL=getMappedUserProfileValue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMappedUserProfileValue.cjs","names":["mapping: string | string[]","foundValue: any","value: any"],"sources":["../../../src/utils/getMappedUserProfileValue.ts"],"sourcesContent":["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport {User, get} from '@thunderid/browser';\n\n/**\n * Retrieves a user profile value based on attribute mapping configuration.\n *\n * This function allows flexible mapping of component attribute names to actual\n * user profile field paths. It supports both simple string mappings and arrays\n * of potential field paths for fallback scenarios.\n *\n * @param key - The logical attribute name to retrieve (e.g., 'firstName', 'email')\n * @param mappings - Object mapping logical names to user profile field paths\n * @param user - The user object to extract values from\n * @returns The mapped value from the user profile, or undefined if not found\n *\n * @example\n * ```typescript\n * const mappings = {\n * firstName: 'name.givenName',\n * email: 'emails[0]',\n * picture: ['profileUrl', 'profile', 'avatar'] // fallback options\n * };\n *\n * const user = {\n * name: { givenName: 'John' },\n * emails: ['john@example.com'],\n * profileUrl: 'https://example.com/avatar.jpg'\n * };\n *\n * getMappedUserProfileValue('firstName', mappings, user); // 'John'\n * getMappedUserProfileValue('email', mappings, user); // 'john@example.com'\n * getMappedUserProfileValue('picture', mappings, user); // 'https://example.com/avatar.jpg'\n * ```\n */\nconst getMappedUserProfileValue = (key: string, mappings: Record<string, string | string[]>, user: User): any => {\n if (!key || !mappings || !user) {\n return undefined;\n }\n\n const mapping: string | string[] = mappings[key];\n\n if (!mapping) {\n // If no mapping defined, try to get the value directly from the user object\n return get(user, key);\n }\n\n // If mapping is an array, try each path until we find a value\n if (Array.isArray(mapping)) {\n let foundValue: any;\n let found = false;\n mapping.some((path: string) => {\n const value: any = get(user, path);\n if (value !== undefined && value !== null && value !== '') {\n foundValue = value;\n found = true;\n return true;\n }\n return false;\n });\n return found ? foundValue : undefined;\n }\n\n // For single string mapping, get the value directly\n return get(user, mapping);\n};\n\nexport default getMappedUserProfileValue;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,MAAM,6BAA6B,KAAa,UAA6C,SAAoB;AAC/G,KAAI,CAAC,OAAO,CAAC,YAAY,CAAC,KACxB;CAGF,MAAMA,UAA6B,SAAS;AAE5C,KAAI,CAAC,QAEH,qCAAW,MAAM,IAAI;AAIvB,KAAI,MAAM,QAAQ,QAAQ,EAAE;EAC1B,IAAIC;EACJ,IAAI,QAAQ;AACZ,UAAQ,MAAM,SAAiB;GAC7B,MAAMC,qCAAiB,MAAM,KAAK;AAClC,OAAI,UAAU,UAAa,UAAU,QAAQ,UAAU,IAAI;AACzD,iBAAa;AACb,YAAQ;AACR,WAAO;;AAET,UAAO;IACP;AACF,SAAO,QAAQ,aAAa;;AAI9B,qCAAW,MAAM,QAAQ;;AAG3B,wCAAe"}
|