@contember/react-client-tenant 2.1.0-alpha.36 → 2.1.0-alpha.39
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/dist/development/index.cjs +159 -0
- package/dist/development/index.cjs.map +1 -0
- package/dist/development/index.js +159 -0
- package/dist/development/index.js.map +1 -0
- package/dist/development/src/components/IdentityProvider.cjs +38 -0
- package/dist/development/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/development/src/components/IdentityProvider.js +38 -0
- package/dist/development/src/components/IdentityProvider.js.map +1 -0
- package/dist/development/src/components/IdentityState.cjs +14 -0
- package/dist/development/src/components/IdentityState.cjs.map +1 -0
- package/dist/development/src/components/IdentityState.js +14 -0
- package/dist/development/src/components/IdentityState.js.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/development/src/components/forms/InviteForm.cjs +62 -0
- package/dist/development/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/development/src/components/forms/InviteForm.js +62 -0
- package/dist/development/src/components/forms/InviteForm.js.map +1 -0
- package/dist/development/src/components/forms/LoginForm.cjs +87 -0
- package/dist/development/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/development/src/components/forms/LoginForm.js +87 -0
- package/dist/development/src/components/forms/LoginForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.js +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/development/src/components/forms/TenantForm.cjs +101 -0
- package/dist/development/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/development/src/components/forms/TenantForm.js +101 -0
- package/dist/development/src/components/forms/TenantForm.js.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/development/src/components/idp/IDP.cjs +56 -0
- package/dist/development/src/components/idp/IDP.cjs.map +1 -0
- package/dist/development/src/components/idp/IDP.js +56 -0
- package/dist/development/src/components/idp/IDP.js.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/development/src/components/idp/IDPState.cjs +14 -0
- package/dist/development/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPState.js +14 -0
- package/dist/development/src/components/idp/IDPState.js.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/development/src/consts.cjs +5 -0
- package/dist/development/src/consts.cjs.map +1 -0
- package/dist/development/src/consts.js +5 -0
- package/dist/development/src/consts.js.map +1 -0
- package/dist/development/src/contexts.cjs +34 -0
- package/dist/development/src/contexts.cjs.map +1 -0
- package/dist/development/src/contexts.js +34 -0
- package/dist/development/src/contexts.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/development/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.js +55 -0
- package/dist/development/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/development/src/hooks/useLogout.cjs +10 -0
- package/dist/development/src/hooks/useLogout.cjs.map +1 -0
- package/dist/development/src/hooks/useLogout.js +10 -0
- package/dist/development/src/hooks/useLogout.js.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/development/src/hooks/useTenantApi.cjs +36 -0
- package/dist/development/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantApi.js +36 -0
- package/dist/development/src/hooks/useTenantApi.js.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/development/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.js +33 -0
- package/dist/development/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.js +8 -0
- package/dist/development/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/development/src/internal/utils/hashing.cjs +8 -0
- package/dist/development/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/development/src/internal/utils/hashing.js +8 -0
- package/dist/development/src/internal/utils/hashing.js.map +1 -0
- package/dist/development/src/internal/utils/randomInt.cjs +29 -0
- package/dist/development/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/development/src/internal/utils/randomInt.js +29 -0
- package/dist/development/src/internal/utils/randomInt.js.map +1 -0
- package/dist/production/index.cjs +159 -0
- package/dist/production/index.cjs.map +1 -0
- package/dist/production/index.js +159 -0
- package/dist/production/index.js.map +1 -0
- package/dist/production/src/components/IdentityProvider.cjs +26 -0
- package/dist/production/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/production/src/components/IdentityProvider.js +26 -0
- package/dist/production/src/components/IdentityProvider.js.map +1 -0
- package/dist/production/src/components/IdentityState.cjs +10 -0
- package/dist/production/src/components/IdentityState.cjs.map +1 -0
- package/dist/production/src/components/IdentityState.js +10 -0
- package/dist/production/src/components/IdentityState.js.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/production/src/components/forms/InviteForm.cjs +54 -0
- package/dist/production/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/production/src/components/forms/InviteForm.js +54 -0
- package/dist/production/src/components/forms/InviteForm.js.map +1 -0
- package/dist/production/src/components/forms/LoginForm.cjs +79 -0
- package/dist/production/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/production/src/components/forms/LoginForm.js +79 -0
- package/dist/production/src/components/forms/LoginForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.js +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/production/src/components/forms/TenantForm.cjs +89 -0
- package/dist/production/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/production/src/components/forms/TenantForm.js +89 -0
- package/dist/production/src/components/forms/TenantForm.js.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/production/src/components/idp/IDP.cjs +48 -0
- package/dist/production/src/components/idp/IDP.cjs.map +1 -0
- package/dist/production/src/components/idp/IDP.js +48 -0
- package/dist/production/src/components/idp/IDP.js.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/production/src/components/idp/IDPState.cjs +10 -0
- package/dist/production/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPState.js +10 -0
- package/dist/production/src/components/idp/IDPState.js.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/production/src/consts.cjs +5 -0
- package/dist/production/src/consts.cjs.map +1 -0
- package/dist/production/src/consts.js +5 -0
- package/dist/production/src/consts.js.map +1 -0
- package/dist/production/src/contexts.cjs +34 -0
- package/dist/production/src/contexts.cjs.map +1 -0
- package/dist/production/src/contexts.js +34 -0
- package/dist/production/src/contexts.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/production/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.js +55 -0
- package/dist/production/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/production/src/hooks/useLogout.cjs +10 -0
- package/dist/production/src/hooks/useLogout.cjs.map +1 -0
- package/dist/production/src/hooks/useLogout.js +10 -0
- package/dist/production/src/hooks/useLogout.js.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/production/src/hooks/useTenantApi.cjs +36 -0
- package/dist/production/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantApi.js +36 -0
- package/dist/production/src/hooks/useTenantApi.js.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/production/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.js +33 -0
- package/dist/production/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.js +8 -0
- package/dist/production/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/production/src/internal/utils/hashing.cjs +8 -0
- package/dist/production/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/production/src/internal/utils/hashing.js +8 -0
- package/dist/production/src/internal/utils/hashing.js.map +1 -0
- package/dist/production/src/internal/utils/randomInt.cjs +29 -0
- package/dist/production/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/production/src/internal/utils/randomInt.js +29 -0
- package/dist/production/src/internal/utils/randomInt.js.map +1 -0
- package/dist/types/components/IdentityProvider.d.ts +6 -0
- package/dist/types/components/IdentityProvider.d.ts.map +1 -0
- package/dist/types/components/IdentityState.d.ts +8 -0
- package/dist/types/components/IdentityState.d.ts.map +1 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +19 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +23 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +22 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +1 -0
- package/dist/types/components/forms/InviteForm.d.ts +25 -0
- package/dist/types/components/forms/InviteForm.d.ts.map +1 -0
- package/dist/types/components/forms/LoginForm.d.ts +20 -0
- package/dist/types/components/forms/LoginForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts +17 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts +19 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +17 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts +22 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +1 -0
- package/dist/types/components/forms/TenantForm.d.ts +37 -0
- package/dist/types/components/forms/TenantForm.d.ts.map +1 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +19 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +13 -0
- package/dist/types/components/forms/index.d.ts.map +1 -0
- package/dist/types/components/idp/IDP.d.ts +12 -0
- package/dist/types/components/idp/IDP.d.ts.map +1 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts +7 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts.map +1 -0
- package/dist/types/components/idp/IDPState.d.ts +8 -0
- package/dist/types/components/idp/IDPState.d.ts.map +1 -0
- package/dist/types/components/idp/index.d.ts +4 -0
- package/dist/types/components/idp/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts +8 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts +5 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +9 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts +22 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/index.d.ts +4 -0
- package/dist/types/components/triggers/index.d.ts.map +1 -0
- package/dist/types/consts.d.ts +2 -0
- package/dist/types/consts.d.ts.map +1 -0
- package/dist/types/contexts.d.ts +20 -0
- package/dist/types/contexts.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +9 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts +5 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +83 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +73 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +59 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/index.d.ts +4 -0
- package/dist/types/hooks/mutations/auth/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +65 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/index.d.ts +3 -0
- package/dist/types/hooks/mutations/idp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +76 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/index.d.ts +10 -0
- package/dist/types/hooks/mutations/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/index.d.ts +2 -0
- package/dist/types/hooks/mutations/invite/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +97 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts +4 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/index.d.ts +4 -0
- package/dist/types/hooks/mutations/otp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +17 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts +6 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +8 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +34 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/index.d.ts +3 -0
- package/dist/types/hooks/mutations/profile/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +21 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +23 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +1 -0
- package/dist/types/hooks/queries/index.d.ts +5 -0
- package/dist/types/hooks/queries/index.d.ts.map +1 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts +52 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +43 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +20 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +66 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +1 -0
- package/dist/types/hooks/useFetchIdentity.d.ts +6 -0
- package/dist/types/hooks/useFetchIdentity.d.ts.map +1 -0
- package/dist/types/hooks/useLogout.d.ts +4 -0
- package/dist/types/hooks/useLogout.d.ts.map +1 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts +19 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts.map +1 -0
- package/dist/types/hooks/useTenantApi.d.ts +12 -0
- package/dist/types/hooks/useTenantApi.d.ts.map +1 -0
- package/dist/types/hooks/useTenantMutation.d.ts +25 -0
- package/dist/types/hooks/useTenantMutation.d.ts.map +1 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts +17 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +11 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts +2 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts +9 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +1 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +16 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +1 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +4 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +1 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +6 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +1 -0
- package/dist/types/internal/utils/getBaseHref.d.ts +2 -0
- package/dist/types/internal/utils/getBaseHref.d.ts.map +1 -0
- package/dist/types/internal/utils/hashing.d.ts +2 -0
- package/dist/types/internal/utils/hashing.d.ts.map +1 -0
- package/dist/types/internal/utils/randomInt.d.ts +3 -0
- package/dist/types/internal/utils/randomInt.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/types/Identity.d.ts +20 -0
- package/dist/types/types/Identity.d.ts.map +1 -0
- package/dist/types/types/IdentityMethods.d.ts +5 -0
- package/dist/types/types/IdentityMethods.d.ts.map +1 -0
- package/dist/types/types/IdentityStateValue.d.ts +2 -0
- package/dist/types/types/IdentityStateValue.d.ts.map +1 -0
- package/dist/types/types/forms.d.ts +18 -0
- package/dist/types/types/forms.d.ts.map +1 -0
- package/dist/types/types/idp.d.ts +30 -0
- package/dist/types/types/idp.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { CreateApiKeyErrorCode, MembershipInput } from '@contember/graphql-client-tenant';
|
|
4
|
+
import { CreateApiKeyMutationResult } from '../../hooks';
|
|
5
|
+
export type CreateApiKeyFormValues = {
|
|
6
|
+
description: string;
|
|
7
|
+
memberships: readonly MembershipInput[];
|
|
8
|
+
};
|
|
9
|
+
export type CreateApiKeyFormErrorCode = CreateApiKeyErrorCode | 'UNKNOWN_ERROR' | 'FIELD_REQUIRED';
|
|
10
|
+
export type CreateApiKeyFormState = FormState;
|
|
11
|
+
export type CreateApiKeyFormError = FormError<CreateApiKeyFormValues, CreateApiKeyFormErrorCode>;
|
|
12
|
+
export type CreateApiKeyFormContextValue = FormContextValue<CreateApiKeyFormValues, CreateApiKeyFormErrorCode>;
|
|
13
|
+
export interface CreateApiKeyFormProps {
|
|
14
|
+
children: ReactElement;
|
|
15
|
+
projectSlug: string;
|
|
16
|
+
initialMemberships?: readonly MembershipInput[];
|
|
17
|
+
onSuccess?: (args: {
|
|
18
|
+
result: CreateApiKeyMutationResult;
|
|
19
|
+
}) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const useCreateApiKeyForm: () => CreateApiKeyFormContextValue;
|
|
22
|
+
export declare const CreateApiKeyForm: ({ children, onSuccess, projectSlug, initialMemberships }: CreateApiKeyFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=CreateApiKeyForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateApiKeyForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/CreateApiKeyForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAA2B,MAAM,aAAa,CAAA;AAEjF,MAAM,MAAM,sBAAsB,GAAG;IACpC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,SAAS,eAAe,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,yBAAyB,GAClC,qBAAqB,GACrB,eAAe,GACf,gBAAgB,CAAA;AAEnB,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAA;AAE7C,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,CAAA;AAEhG,MAAM,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,CAAA;AAE9G,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,YAAY,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IAC/C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,0BAA0B,CAAA;KAAE,KAAK,IAAI,CAAA;CAClE;AAED,eAAO,MAAM,mBAAmB,EAAc,MAAM,4BAA4B,CAAA;AAEhF,eAAO,MAAM,gBAAgB,GAAI,0DAA0D,qBAAqB,4CA+B/G,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { CreateSessionTokenErrorCode } from '@contember/graphql-client-tenant';
|
|
4
|
+
import { CreateSessionTokenMutationResult } from '../../hooks';
|
|
5
|
+
export type CreateSessionTokenFormValues = {
|
|
6
|
+
email: string;
|
|
7
|
+
};
|
|
8
|
+
export type CreateSessionTokenFormErrorCode = CreateSessionTokenErrorCode | 'UNKNOWN_ERROR' | 'FIELD_REQUIRED';
|
|
9
|
+
export type CreateSessionTokenFormState = FormState;
|
|
10
|
+
export type CreateSessionTokenFormError = FormError<CreateSessionTokenFormValues, CreateSessionTokenFormErrorCode>;
|
|
11
|
+
export type CreateSessionTokenFormContextValue = FormContextValue<CreateSessionTokenFormValues, CreateSessionTokenFormErrorCode>;
|
|
12
|
+
export interface CreateSessionTokenFormProps {
|
|
13
|
+
children: ReactElement;
|
|
14
|
+
expiration?: number;
|
|
15
|
+
apiToken?: string;
|
|
16
|
+
onSuccess?: (args: {
|
|
17
|
+
result: CreateSessionTokenMutationResult;
|
|
18
|
+
}) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const useCreateSessionTokenForm: () => CreateSessionTokenFormContextValue;
|
|
21
|
+
export declare const CreateSessionTokenForm: ({ children, onSuccess, expiration, apiToken }: CreateSessionTokenFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=CreateSessionTokenForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateSessionTokenForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/CreateSessionTokenForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAC9E,OAAO,EAAE,gCAAgC,EAAiC,MAAM,aAAa,CAAA;AAE7F,MAAM,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,+BAA+B,GACxC,2BAA2B,GAC3B,eAAe,GACf,gBAAgB,CAAA;AAEnB,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAA;AAEnD,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAC,4BAA4B,EAAE,+BAA+B,CAAC,CAAA;AAElH,MAAM,MAAM,kCAAkC,GAAG,gBAAgB,CAAC,4BAA4B,EAAE,+BAA+B,CAAC,CAAA;AAEhI,MAAM,WAAW,2BAA2B;IAC3C,QAAQ,EAAE,YAAY,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,gCAAgC,CAAA;KAAE,KAAK,IAAI,CAAA;CACxE;AAED,eAAO,MAAM,yBAAyB,EAAc,MAAM,kCAAkC,CAAA;AAE5F,eAAO,MAAM,sBAAsB,GAAI,+CAA+C,2BAA2B,4CA0BhH,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { InviteErrorCode, InviteOptions, MembershipInput } from '@contember/graphql-client-tenant';
|
|
4
|
+
import { InviteMutationResult } from '../../hooks';
|
|
5
|
+
export type InviteFormValues = {
|
|
6
|
+
email: string;
|
|
7
|
+
name: string;
|
|
8
|
+
memberships: readonly MembershipInput[];
|
|
9
|
+
};
|
|
10
|
+
export type InviteFormErrorCode = InviteErrorCode | 'UNKNOWN_ERROR' | 'FIELD_REQUIRED';
|
|
11
|
+
export type InviteFormState = FormState;
|
|
12
|
+
export type InviteFormError = FormError<InviteFormValues, InviteFormErrorCode>;
|
|
13
|
+
export type InviteFormContextValue = FormContextValue<InviteFormValues, InviteFormErrorCode>;
|
|
14
|
+
export interface InviteFormProps {
|
|
15
|
+
children: ReactElement;
|
|
16
|
+
projectSlug: string;
|
|
17
|
+
inviteOptions?: InviteOptions;
|
|
18
|
+
initialMemberships?: readonly MembershipInput[];
|
|
19
|
+
onSuccess?: (args: {
|
|
20
|
+
result: InviteMutationResult;
|
|
21
|
+
}) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const useInviteForm: () => InviteFormContextValue;
|
|
24
|
+
export declare const InviteForm: ({ children, onSuccess, projectSlug, initialMemberships, inviteOptions }: InviteFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=InviteForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InviteForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/InviteForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClG,OAAO,EAAE,oBAAoB,EAAqB,MAAM,aAAa,CAAA;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,SAAS,eAAe,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAC5B,eAAe,GACf,eAAe,GACf,gBAAgB,CAAA;AAEnB,MAAM,MAAM,eAAe,GAAG,SAAS,CAAA;AAEvC,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,CAAA;AAE9E,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,CAAA;AAE5F,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,YAAY,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,kBAAkB,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IAC/C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,oBAAoB,CAAA;KAAE,KAAK,IAAI,CAAA;CAC5D;AAED,eAAO,MAAM,aAAa,EAAc,MAAM,sBAAsB,CAAA;AAEpE,eAAO,MAAM,UAAU,GAAI,yEAAyE,eAAe,4CAkClH,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SignInErrorCode } from '@contember/graphql-client-tenant';
|
|
3
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
4
|
+
export type LoginFormValues = {
|
|
5
|
+
email: string;
|
|
6
|
+
password: string;
|
|
7
|
+
otpToken: string;
|
|
8
|
+
};
|
|
9
|
+
export type LoginFormErrorCode = SignInErrorCode | 'FIELD_REQUIRED' | 'INVALID_VALUE' | 'UNKNOWN_ERROR';
|
|
10
|
+
export type LoginFormState = FormState | 'otp-required';
|
|
11
|
+
export type LoginFormError = FormError<LoginFormValues, LoginFormErrorCode>;
|
|
12
|
+
export type LoginFormContextValue = FormContextValue<LoginFormValues, LoginFormErrorCode, LoginFormState>;
|
|
13
|
+
export interface LoginFormProps {
|
|
14
|
+
expiration?: number;
|
|
15
|
+
children: ReactElement;
|
|
16
|
+
onSuccess?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const useLoginForm: () => LoginFormContextValue;
|
|
19
|
+
export declare const LoginForm: ({ children, expiration, onSuccess }: LoginFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=LoginForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/LoginForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAG1D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAMpE,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAC3B,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,CAAA;AAElB,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,cAAc,CAAA;AAEjB,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAAA;AAE3E,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,eAAe,EAAE,kBAAkB,EAAE,cAAc,CAAC,CAAA;AAEzG,MAAM,WAAW,cAAc;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,YAAY,EAAc,MAAM,qBAAqB,CAAA;AAQlE,eAAO,MAAM,SAAS,GAAI,qCAAgE,cAAc,4CAuDvG,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { ConfirmOtpErrorCode } from '@contember/graphql-client-tenant';
|
|
4
|
+
export type OtpConfirmFormValues = {
|
|
5
|
+
otpToken: string;
|
|
6
|
+
};
|
|
7
|
+
export type OtpConfirmFormErrorCode = ConfirmOtpErrorCode | 'FIELD_REQUIRED' | 'UNKNOWN_ERROR';
|
|
8
|
+
export type OtpConfirmFormState = FormState;
|
|
9
|
+
export type OtpConfirmFormError = FormError<OtpConfirmFormValues, OtpConfirmFormErrorCode>;
|
|
10
|
+
export type OtpConfirmFormContextValue = FormContextValue<OtpConfirmFormValues, OtpConfirmFormErrorCode>;
|
|
11
|
+
export interface OtpConfirmFormProps {
|
|
12
|
+
children: ReactElement;
|
|
13
|
+
onSuccess?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const useOtpConfirmForm: () => OtpConfirmFormContextValue;
|
|
16
|
+
export declare const OtpConfirmForm: ({ children, onSuccess }: OtpConfirmFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=OtpConfirmForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtpConfirmForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/OtpConfirmForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAGtE,MAAM,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAChC,mBAAmB,GACnB,gBAAgB,GAChB,eAAe,CAAA;AAElB,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAA;AAE3C,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAA;AAE1F,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAA;AAExG,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,iBAAiB,EAAc,MAAM,0BAA0B,CAAA;AAE5E,eAAO,MAAM,cAAc,GAAI,yBAAyB,mBAAmB,4CA8B1E,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { PrepareOtpMutationResult } from '../../hooks';
|
|
4
|
+
export type OtpPrepareFormValues = {
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
export type OtpPrepareFormErrorCode = 'UNKNOWN_ERROR';
|
|
8
|
+
export type OtpPrepareFormState = FormState;
|
|
9
|
+
export type OtpPrepareFormError = FormError<OtpPrepareFormValues, OtpPrepareFormErrorCode>;
|
|
10
|
+
export type OtpPrepareFormContextValue = FormContextValue<OtpPrepareFormValues, OtpPrepareFormErrorCode>;
|
|
11
|
+
export interface OtpPrepareFormProps {
|
|
12
|
+
children: ReactElement;
|
|
13
|
+
onSuccess?: (args: {
|
|
14
|
+
result: PrepareOtpMutationResult;
|
|
15
|
+
}) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const useOtpPrepareForm: () => OtpPrepareFormContextValue;
|
|
18
|
+
export declare const OtpPrepareForm: ({ children, onSuccess }: OtpPrepareFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=OtpPrepareForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtpPrepareForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/OtpPrepareForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,wBAAwB,EAAyB,MAAM,aAAa,CAAA;AAE7E,MAAM,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAA;AAErD,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAA;AAE3C,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAA;AAE1F,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,CAAA;AAExG,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,wBAAwB,CAAA;KAAE,KAAK,IAAI,CAAA;CAChE;AAED,eAAO,MAAM,iBAAiB,EAAc,MAAM,0BAA0B,CAAA;AAE5E,eAAO,MAAM,cAAc,GAAI,yBAAyB,mBAAmB,4CAiB1E,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { ResetPasswordErrorCode } from '@contember/graphql-client-tenant';
|
|
3
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
4
|
+
export type PasswordResetFormValues = {
|
|
5
|
+
token: string;
|
|
6
|
+
password: string;
|
|
7
|
+
passwordConfirmation: string;
|
|
8
|
+
};
|
|
9
|
+
export type PasswordResetFormErrorCode = ResetPasswordErrorCode | 'FIELD_REQUIRED' | 'INVALID_VALUE' | 'PASSWORD_MISMATCH' | 'UNKNOWN_ERROR';
|
|
10
|
+
export type PasswordResetFormState = FormState;
|
|
11
|
+
export type PasswordResetFormError = FormError<PasswordResetFormValues, PasswordResetFormErrorCode>;
|
|
12
|
+
export type PasswordResetFormContextValue = FormContextValue<PasswordResetFormValues, PasswordResetFormErrorCode>;
|
|
13
|
+
export interface PasswordResetFormProps {
|
|
14
|
+
children: ReactElement;
|
|
15
|
+
onSuccess?: () => void;
|
|
16
|
+
token?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const usePasswordResetForm: () => PasswordResetFormContextValue;
|
|
19
|
+
export declare const PasswordResetForm: ({ children, onSuccess, token }: PasswordResetFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=PasswordResetForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResetForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PasswordResetForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAIpE,MAAM,MAAM,uBAAuB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,0BAA0B,GACnC,sBAAsB,GACtB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,eAAe,CAAA;AAElB,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAA;AAE9C,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,CAAA;AAEnG,MAAM,MAAM,6BAA6B,GAAG,gBAAgB,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,CAAA;AAEjH,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,oBAAoB,EAAc,MAAM,6BAA6B,CAAA;AAElF,eAAO,MAAM,iBAAiB,GAAI,gCAAgC,sBAAsB,4CAqCvF,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { CreatePasswordResetRequestErrorCode } from '@contember/graphql-client-tenant';
|
|
3
|
+
import { FormContextValue, FormError, FormState } from '../../types/forms';
|
|
4
|
+
export type PasswordResetRequestFormValues = {
|
|
5
|
+
email: string;
|
|
6
|
+
};
|
|
7
|
+
export type PasswordResetRequestFormErrorCode = CreatePasswordResetRequestErrorCode | 'FIELD_REQUIRED' | 'INVALID_VALUE' | 'UNKNOWN_ERROR';
|
|
8
|
+
export type PasswordResetRequestFormState = FormState;
|
|
9
|
+
export type PasswordResetRequestFormError = FormError<PasswordResetRequestFormValues, PasswordResetRequestFormErrorCode>;
|
|
10
|
+
export type PasswordResetRequestFormContextValue = FormContextValue<PasswordResetRequestFormValues, PasswordResetRequestFormErrorCode>;
|
|
11
|
+
export interface PasswordResetRequestFormProps {
|
|
12
|
+
children: ReactElement;
|
|
13
|
+
onSuccess?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const usePasswordResetRequestForm: () => PasswordResetRequestFormContextValue;
|
|
16
|
+
export declare const PasswordResetRequestForm: ({ children, onSuccess }: PasswordResetRequestFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=PasswordResetRequestForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResetRequestForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PasswordResetRequestForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAA;AAEtF,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAI1E,MAAM,MAAM,8BAA8B,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC1C,mCAAmC,GACnC,gBAAgB,GAChB,eAAe,GACf,eAAe,CAAA;AAElB,MAAM,MAAM,6BAA6B,GAAG,SAAS,CAAA;AAErD,MAAM,MAAM,6BAA6B,GAAG,SAAS,CAAC,8BAA8B,EAAE,iCAAiC,CAAC,CAAA;AAExH,MAAM,MAAM,oCAAoC,GAAG,gBAAgB,CAAC,8BAA8B,EAAE,iCAAiC,CAAC,CAAA;AAEtI,MAAM,WAAW,6BAA6B;IAC7C,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,2BAA2B,EAAc,MAAM,oCAAoC,CAAA;AAEhG,eAAO,MAAM,wBAAwB,GAAI,yBAAyB,6BAA6B,4CA0B9F,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { FormContextValue, FormError, FormState } from '../../types/forms';
|
|
4
|
+
export type PasswordlessSignInFormValues = {
|
|
5
|
+
token: string;
|
|
6
|
+
otpToken: string;
|
|
7
|
+
};
|
|
8
|
+
export type PasswordlessSignInFormErrorCode = TenantApi.SignInPasswordlessErrorCode | 'FIELD_REQUIRED' | 'INVALID_VALUE' | 'UNKNOWN_ERROR';
|
|
9
|
+
export type PasswordlessSignInFormState = FormState | 'otp-required';
|
|
10
|
+
export type PasswordlessSignInFormError = FormError<PasswordlessSignInFormValues, PasswordlessSignInFormErrorCode>;
|
|
11
|
+
export type PasswordlessSignInFormContextValue = FormContextValue<PasswordlessSignInFormValues, PasswordlessSignInFormErrorCode, PasswordlessSignInFormState>;
|
|
12
|
+
export interface PasswordlessSignInFormProps {
|
|
13
|
+
requestId: string;
|
|
14
|
+
validationType: TenantApi.PasswordlessValidationType;
|
|
15
|
+
token?: string;
|
|
16
|
+
expiration?: number;
|
|
17
|
+
children: ReactElement;
|
|
18
|
+
onSuccess?: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const usePasswordlessSignInForm: () => PasswordlessSignInFormContextValue;
|
|
21
|
+
export declare const PasswordlessSignInForm: ({ children, onSuccess, requestId, validationType, token, expiration }: PasswordlessSignInFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=PasswordlessSignInForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordlessSignInForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PasswordlessSignInForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAI1D,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAG1E,MAAM,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,+BAA+B,GACxC,SAAS,CAAC,2BAA2B,GACrC,gBAAgB,GAChB,eAAe,GACf,eAAe,CAAA;AAElB,MAAM,MAAM,2BAA2B,GACpC,SAAS,GACT,cAAc,CAAA;AAEjB,MAAM,MAAM,2BAA2B,GAAG,SAAS,CAAC,4BAA4B,EAAE,+BAA+B,CAAC,CAAA;AAElH,MAAM,MAAM,kCAAkC,GAAG,gBAAgB,CAChE,4BAA4B,EAC5B,+BAA+B,EAC/B,2BAA2B,CAC3B,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,SAAS,CAAC,0BAA0B,CAAA;IACpD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,yBAAyB,EAAc,MAAM,kCAAkC,CAAA;AAO5F,eAAO,MAAM,sBAAsB,GAClC,uEAAkG,2BAA2B,4CA8C7H,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
3
|
+
import { FormContextValue, FormError, FormState } from '../../types/forms';
|
|
4
|
+
import { InitSignInPasswordlessMutationResult } from '../../hooks';
|
|
5
|
+
export type PasswordlessSignInInitFormValues = {
|
|
6
|
+
email: string;
|
|
7
|
+
};
|
|
8
|
+
export type PasswordlessSignInInitFormErrorCode = TenantApi.InitSignInPasswordlessErrorCode | 'FIELD_REQUIRED' | 'INVALID_VALUE' | 'UNKNOWN_ERROR';
|
|
9
|
+
export type PasswordlessSignInInitFormState = FormState;
|
|
10
|
+
export type PasswordlessSignInInitFormError = FormError<PasswordlessSignInInitFormValues, PasswordlessSignInInitFormErrorCode>;
|
|
11
|
+
export type PasswordlessSignInInitFormContextValue = FormContextValue<PasswordlessSignInInitFormValues, PasswordlessSignInInitFormErrorCode>;
|
|
12
|
+
export interface PasswordlessSignInInitFormProps {
|
|
13
|
+
children: ReactElement;
|
|
14
|
+
onSuccess?: (args: {
|
|
15
|
+
result: InitSignInPasswordlessMutationResult;
|
|
16
|
+
}) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const usePasswordlessSignInInitForm: () => PasswordlessSignInInitFormContextValue;
|
|
19
|
+
export declare const PasswordlessSignInInitForm: ({ children, onSuccess }: PasswordlessSignInInitFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=PasswordlessSignInInitForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordlessSignInInitForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/PasswordlessSignInInitForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE1E,OAAO,EAAE,oCAAoC,EAAqC,MAAM,aAAa,CAAA;AAIrG,MAAM,MAAM,gCAAgC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,mCAAmC,GAC5C,SAAS,CAAC,+BAA+B,GACzC,gBAAgB,GAChB,eAAe,GACf,eAAe,CAAA;AAElB,MAAM,MAAM,+BAA+B,GAAG,SAAS,CAAA;AAEvD,MAAM,MAAM,+BAA+B,GAAG,SAAS,CAAC,gCAAgC,EAAE,mCAAmC,CAAC,CAAA;AAE9H,MAAM,MAAM,sCAAsC,GAAG,gBAAgB,CAAC,gCAAgC,EAAE,mCAAmC,CAAC,CAAA;AAE5I,MAAM,WAAW,+BAA+B;IAC/C,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,oCAAoC,CAAA;KAAE,KAAK,IAAI,CAAA;CAC5E;AAED,eAAO,MAAM,6BAA6B,EAAc,MAAM,sCAAsC,CAAA;AAEpG,eAAO,MAAM,0BAA0B,GAAI,yBAAyB,+BAA+B,4CAkClG,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue } from '../../types/forms';
|
|
3
|
+
type ExecuteResult<T extends FormContextValue<any, any, any>, OkResult = undefined> = ({
|
|
4
|
+
ok: true;
|
|
5
|
+
} & (OkResult extends undefined ? {} : {
|
|
6
|
+
result: OkResult;
|
|
7
|
+
})) | {
|
|
8
|
+
ok: false;
|
|
9
|
+
error?: T['errors'][number]['code'];
|
|
10
|
+
developerMessage?: string;
|
|
11
|
+
state?: T['state'];
|
|
12
|
+
};
|
|
13
|
+
export interface TenantFormProps<T extends FormContextValue<any, any, any>, OkResult = undefined> {
|
|
14
|
+
children: ReactElement;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
initialValues: T['values'];
|
|
17
|
+
errorMapping?: Partial<Record<T['errors'][number]['code'], keyof T['values']>>;
|
|
18
|
+
validate?: (args: {
|
|
19
|
+
values: T['values'];
|
|
20
|
+
state: T['state'];
|
|
21
|
+
}) => T['errors'] | undefined;
|
|
22
|
+
execute: (args: {
|
|
23
|
+
values: T['values'];
|
|
24
|
+
state: T['state'];
|
|
25
|
+
}) => Promise<ExecuteResult<T, OkResult>>;
|
|
26
|
+
onSuccess?: (args: {
|
|
27
|
+
result: OkResult;
|
|
28
|
+
}) => void;
|
|
29
|
+
onChange?: (args: {
|
|
30
|
+
values: T['values'];
|
|
31
|
+
state: T['state'];
|
|
32
|
+
submit: () => Promise<void>;
|
|
33
|
+
}) => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const TenantForm: <T extends FormContextValue<any, any, any>, OkResult = undefined>({ children, initialValues, loading, errorMapping, validate: validateIn, execute: executeIn, onSuccess: onSuccessIn, onChange: onChangeIn, }: TenantFormProps<T, OkResult>) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=TenantForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TenantForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/TenantForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAoC,MAAM,OAAO,CAAA;AAErF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAMpD,KAAK,aAAa,CAAC,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,GAAG,SAAS,IAC/E,CAAC;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG,CAAC,QAAQ,SAAS,SAAS,GAAG,EAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAC,GACzE;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAA;CAAE,CAAA;AAEpG,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,GAAG,SAAS;IAC/F,QAAQ,EAAE,YAAY,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC9E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAA;KAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAA;IACxF,OAAO,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAA;KAAE,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAA;IAClG,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,QAAQ,CAAA;KAAE,KAAK,IAAI,CAAA;IAChD,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;QAAC,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,KAAK,IAAI,CAAA;CAClG;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,GAAG,SAAS,EAAE,6IASzF,eAAe,CAAC,CAAC,EAAE,QAAQ,CAAC,4CAuF9B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormContextValue, FormError, FormState } from '../../types';
|
|
3
|
+
import { MembershipInput, UpdateProjectMemberErrorCode } from '@contember/graphql-client-tenant';
|
|
4
|
+
export type UpdateProjectMemberFormValues = {
|
|
5
|
+
memberships: readonly MembershipInput[];
|
|
6
|
+
};
|
|
7
|
+
export type UpdateProjectMemberFormErrorCode = UpdateProjectMemberErrorCode | 'UNKNOWN_ERROR' | 'FIELD_REQUIRED';
|
|
8
|
+
export type UpdateProjectMemberFormState = FormState;
|
|
9
|
+
export type UpdateProjectMemberFormError = FormError<UpdateProjectMemberFormValues, UpdateProjectMemberFormErrorCode>;
|
|
10
|
+
export type UpdateProjectMemberFormContextValue = FormContextValue<UpdateProjectMemberFormValues, UpdateProjectMemberFormErrorCode>;
|
|
11
|
+
export interface UpdateProjectMemberFormProps {
|
|
12
|
+
children: ReactElement;
|
|
13
|
+
identityId: string;
|
|
14
|
+
projectSlug: string;
|
|
15
|
+
onSuccess?: (args: {}) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const useUpdateProjectMemberForm: () => UpdateProjectMemberFormContextValue;
|
|
18
|
+
export declare const UpdateProjectMemberForm: ({ children, onSuccess, identityId, projectSlug }: UpdateProjectMemberFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=UpdateProjectMemberForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateProjectMemberForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/UpdateProjectMemberForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,OAAO,CAAA;AAEzD,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpE,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAA;AAGhG,MAAM,MAAM,6BAA6B,GAAG;IAC3C,WAAW,EAAE,SAAS,eAAe,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,gCAAgC,GACzC,4BAA4B,GAC5B,eAAe,GACf,gBAAgB,CAAA;AAEnB,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAAC,6BAA6B,EAAE,gCAAgC,CAAC,CAAA;AAErH,MAAM,MAAM,mCAAmC,GAAG,gBAAgB,CAAC,6BAA6B,EAAE,gCAAgC,CAAC,CAAA;AAEnI,MAAM,WAAW,4BAA4B;IAC5C,QAAQ,EAAE,YAAY,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,IAAI,CAAA;CAC9B;AAED,eAAO,MAAM,0BAA0B,EAAc,MAAM,mCAAmC,CAAA;AAE9F,eAAO,MAAM,uBAAuB,GAAI,kDAAkD,4BAA4B,4CAoCrH,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './CreateApiKeyForm';
|
|
2
|
+
export * from './CreateSessionTokenForm';
|
|
3
|
+
export * from './ChangeMyPasswordForm';
|
|
4
|
+
export * from './InviteForm';
|
|
5
|
+
export * from './LoginForm';
|
|
6
|
+
export * from './PasswordResetForm';
|
|
7
|
+
export * from './PasswordResetRequestForm';
|
|
8
|
+
export * from './PasswordlessSignInForm';
|
|
9
|
+
export * from './PasswordlessSignInInitForm';
|
|
10
|
+
export * from './OtpPrepareForm';
|
|
11
|
+
export * from './OtpConfirmForm';
|
|
12
|
+
export * from './UpdateProjectMemberForm';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IDPInitError, IDPResponseError } from '../../types/idp';
|
|
3
|
+
export interface IDPProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
onLogin?: () => void;
|
|
6
|
+
onInitError?: (error: IDPInitError) => void;
|
|
7
|
+
onResponseError?: (error: IDPResponseError) => void;
|
|
8
|
+
expiration?: number;
|
|
9
|
+
redirectUrl?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const IDP: ({ children, onResponseError, onInitError, onLogin, expiration, redirectUrl }: IDPProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=IDP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDP.d.ts","sourceRoot":"","sources":["../../../../src/components/idp/IDP.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAwC,MAAM,OAAO,CAAA;AAEvE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAiB,MAAM,iBAAiB,CAAA;AAK/E,MAAM,WAAW,QAAQ;IACxB,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IAC3C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAA;IACnD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,GAAG,GAAI,8EAA8E,QAAQ,4CAgDzG,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface IDPInitTriggerProps {
|
|
3
|
+
children: ReactElement;
|
|
4
|
+
identityProvider: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const IDPInitTrigger: ({ identityProvider, ...props }: IDPInitTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=IDPInitTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDPInitTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/idp/IDPInitTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AAKnD,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,YAAY,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,cAAc,GAAI,gCAAgC,mBAAmB,4CAGjF,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IDPStateType } from '../../types';
|
|
3
|
+
export interface IDPStateProps {
|
|
4
|
+
state: IDPStateType | IDPStateType[];
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const IDPState: ({ state, children }: IDPStateProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=IDPState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDPState.d.ts","sourceRoot":"","sources":["../../../../src/components/idp/IDPState.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C,MAAM,WAAW,aAAa;IAC7B,KAAK,EAAE,YAAY,GAAG,YAAY,EAAE,CAAA;IACpC,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED,eAAO,MAAM,QAAQ,GAAI,qBAAqB,aAAa,mDAI1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/idp/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface DisableOtpTriggerProps {
|
|
3
|
+
children: ReactElement;
|
|
4
|
+
onSuccess?: () => void;
|
|
5
|
+
onError?: (e: unknown) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DisableOtpTrigger: ({ onSuccess, ...props }: DisableOtpTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=DisableOtpTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisableOtpTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/DisableOtpTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,OAAO,CAAA;AAKjD,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CAC9B;AAED,eAAO,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,4CAchF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/LogoutTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAI9C,eAAO,MAAM,aAAa,GAAI,cAAc;IAC3C,QAAQ,EAAE,SAAS,CAAA;CACnB,4CAGA,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { RemoveProjectMemberMutationVariables } from '../../hooks';
|
|
3
|
+
export type RemoveProjectMemberTriggerProps = RemoveProjectMemberMutationVariables & {
|
|
4
|
+
children: ReactElement;
|
|
5
|
+
onSuccess?: () => void;
|
|
6
|
+
onError?: (e: unknown) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const RemoveProjectMemberTrigger: ({ identityId, projectSlug, ...props }: RemoveProjectMemberTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=RemoveProjectMemberTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveProjectMemberTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/RemoveProjectMemberTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,oCAAoC,EAAkC,MAAM,aAAa,CAAA;AAElG,MAAM,MAAM,+BAA+B,GACxC,oCAAoC,GACpC;IACD,QAAQ,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CAC9B,CAAA;AAEF,eAAO,MAAM,0BAA0B,GAAI,uCAAuC,+BAA+B,4CAIhH,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MouseEventHandler, ReactElement } from 'react';
|
|
2
|
+
export interface TenantActionTriggerProps<OkResult, Error extends string> {
|
|
3
|
+
children: ReactElement;
|
|
4
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
5
|
+
onSuccess?: (args: {
|
|
6
|
+
result: OkResult;
|
|
7
|
+
}) => void;
|
|
8
|
+
onError?: (args: {
|
|
9
|
+
code: Error | 'UNKNOWN_ERROR';
|
|
10
|
+
error: unknown;
|
|
11
|
+
}) => void;
|
|
12
|
+
execute: () => Promise<({
|
|
13
|
+
ok: true;
|
|
14
|
+
} & (OkResult extends undefined ? {} : {
|
|
15
|
+
result: OkResult;
|
|
16
|
+
})) | {
|
|
17
|
+
ok: false;
|
|
18
|
+
error?: Error;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
export declare const TenantActionTrigger: <OkResult, Error extends string>({ onError: onErrorIn, onSuccess: onSuccessIn, onClick: onClickProp, execute: executeIn, ...props }: TenantActionTriggerProps<OkResult, Error>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=TenantActionTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TenantActionTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/TenantActionTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,iBAAiB,EAAE,YAAY,EAAqB,MAAM,OAAO,CAAA;AAMzF,MAAM,WAAW,wBAAwB,CAAC,QAAQ,EAAE,KAAK,SAAS,MAAM;IACvE,QAAQ,EAAE,YAAY,CAAA;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAC9C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,QAAQ,CAAA;KAAE,KAAK,IAAI,CAAA;IAChD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,KAAK,GAAG,eAAe,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;IAC3E,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC;QAAE,EAAE,EAAE,IAAI,CAAA;KAAE,GAAG,CAAC,QAAQ,SAAS,SAAS,GAAG,EAAE,GAAG;QAAE,MAAM,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC,GAAG;QAAE,EAAE,EAAE,KAAK,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC,CAAA;CAChI;AAED,eAAO,MAAM,mBAAmB,GAAI,QAAQ,EAAE,KAAK,SAAS,MAAM,EACjE,oGAAoG,wBAAwB,CAAC,QAAQ,EAAE,KAAK,CAAC,4CA0B7I,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../src/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormContextValue, Identity, IdentityMethods, IdentityStateValue, IDPMethods, IDPStateValue } from './types';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export declare const IdentityContext: import("react").Context<Identity | undefined>;
|
|
4
|
+
export declare const useIdentity: () => Identity | undefined;
|
|
5
|
+
/** @internal */
|
|
6
|
+
export declare const IdentityMethodsContext: import("react").Context<IdentityMethods>;
|
|
7
|
+
export declare const useIdentityMethods: () => IdentityMethods;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const IdentityStateContext: import("react").Context<IdentityStateValue>;
|
|
10
|
+
export declare const useIdentityState: () => IdentityStateValue;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const FormContext: import("react").Context<FormContextValue<any, any, any>>;
|
|
13
|
+
export declare const useForm: () => FormContextValue<any, any, any>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const IDPStateContextProvider: import("react").Context<IDPStateValue>;
|
|
16
|
+
export declare const useIDPState: () => IDPStateValue;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const IDPMethodsContextProvider: import("react").Context<IDPMethods>;
|
|
19
|
+
export declare const useIDPMethods: () => IDPMethods;
|
|
20
|
+
//# sourceMappingURL=contexts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/contexts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAGpH,gBAAgB;AAChB,eAAO,MAAM,eAAe,+CAAsB,CAAA;AAClD,eAAO,MAAM,WAAW,4BAAsB,CAAA;AAG9C,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,0CAA6B,CAAA;AAChE,eAAO,MAAM,kBAAkB,uBAA6B,CAAA;AAG5D,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,6CAA2B,CAAA;AAC5D,eAAO,MAAM,gBAAgB,0BAA2B,CAAA;AAGxD,gBAAgB;AAChB,eAAO,MAAM,WAAW,0DAAkB,CAAA;AAC1C,eAAO,MAAM,OAAO,uCAAkB,CAAA;AAGtC,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,wCAAqB,CAAA;AACzD,eAAO,MAAM,WAAW,qBAAqB,CAAA;AAG7C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,qCAAuB,CAAA;AAC7D,eAAO,MAAM,aAAa,kBAAuB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './mutations';
|
|
2
|
+
export * from './queries';
|
|
3
|
+
export * from './useFetchIdentity';
|
|
4
|
+
export * from './useLogout';
|
|
5
|
+
export * from './useTenantApi';
|
|
6
|
+
export * from './useTenantQueryLoader';
|
|
7
|
+
export * from './useTenantMutation';
|
|
8
|
+
export * from './usePasswordlessOtpActivator';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,4BAA4B,CAAA"}
|