@intlayer/design-system 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Form-BDcoNTLV.cjs.map +1 -1
- package/dist/Form-DhsgC7kB.js.map +1 -1
- package/dist/components/Accordion/Accordion.cjs.map +1 -1
- package/dist/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
- package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.cjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.mjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.cjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +10 -10
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +5 -5
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +7 -7
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/index.content.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/index.content.d.ts +13 -13
- package/dist/components/Auth/SignInForm/index.content.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/index.content.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/index.content.d.ts +11 -11
- package/dist/components/Auth/SignUpForm/index.content.mjs.map +1 -1
- package/dist/components/Auth/useAuth/index.cjs.map +1 -1
- package/dist/components/Auth/useAuth/index.mjs.map +1 -1
- package/dist/components/Auth/useAuth/useCSRF.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useCSRF.mjs.map +1 -1
- package/dist/components/Auth/useAuth/useOAuth2.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useOAuth2.mjs.map +1 -1
- package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
- package/dist/components/Auth/useUser/index.cjs.map +1 -1
- package/dist/components/Auth/useUser/index.mjs.map +1 -1
- package/dist/components/Avatar/index.cjs.map +1 -1
- package/dist/components/Avatar/index.mjs.map +1 -1
- package/dist/components/Badge/index.cjs.map +1 -1
- package/dist/components/Badge/index.mjs.map +1 -1
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Command/index.cjs.map +1 -1
- package/dist/components/Command/index.mjs.map +1 -1
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditorTextArea.cjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -1
- package/dist/components/CopyToClipboard/index.cjs.map +1 -1
- package/dist/components/CopyToClipboard/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldInput.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldInput.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
- package/dist/components/Footer/index.cjs.map +1 -1
- package/dist/components/Footer/index.mjs.map +1 -1
- package/dist/components/Form/FormBase.cjs.map +1 -1
- package/dist/components/Form/FormBase.mjs.map +1 -1
- package/dist/components/Form/FormControl.cjs.map +1 -1
- package/dist/components/Form/FormControl.mjs.map +1 -1
- package/dist/components/Form/FormDescription.cjs.map +1 -1
- package/dist/components/Form/FormDescription.mjs.map +1 -1
- package/dist/components/Form/FormField.cjs.map +1 -1
- package/dist/components/Form/FormField.mjs.map +1 -1
- package/dist/components/Form/FormItem.cjs.map +1 -1
- package/dist/components/Form/FormItem.mjs.map +1 -1
- package/dist/components/Form/FormLabel.cjs.map +1 -1
- package/dist/components/Form/FormLabel.mjs.map +1 -1
- package/dist/components/Form/FormMessage.cjs.map +1 -1
- package/dist/components/Form/FormMessage.mjs.map +1 -1
- package/dist/components/Form/elements/FormElementWrapper.cjs.map +1 -1
- package/dist/components/Form/elements/FormElementWrapper.mjs.map +1 -1
- package/dist/components/Form/layout/FormLabelLayout.cjs.map +1 -1
- package/dist/components/Form/layout/FormLabelLayout.mjs.map +1 -1
- package/dist/components/Headers/SectionScroller.cjs.map +1 -1
- package/dist/components/Headers/SectionScroller.mjs.map +1 -1
- package/dist/components/Headers/index.cjs.map +1 -1
- package/dist/components/Headers/index.mjs.map +1 -1
- package/dist/components/IDE/CodeRender.cjs.map +1 -1
- package/dist/components/IDE/CodeRender.mjs.map +1 -1
- package/dist/components/IDE/FileList.cjs.map +1 -1
- package/dist/components/IDE/FileList.mjs.map +1 -1
- package/dist/components/IDE/FileTree.cjs.map +1 -1
- package/dist/components/IDE/FileTree.mjs.map +1 -1
- package/dist/components/IDE/IDE.cjs +1 -1
- package/dist/components/IDE/IDE.cjs.map +1 -1
- package/dist/components/IDE/IDE.mjs +1 -1
- package/dist/components/IDE/IDE.mjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
- package/dist/components/IDE/createFileTree.cjs.map +1 -1
- package/dist/components/IDE/createFileTree.mjs.map +1 -1
- package/dist/components/Input/Checkbox.cjs.map +1 -1
- package/dist/components/Input/Checkbox.mjs.map +1 -1
- package/dist/components/Input/Input.cjs.map +1 -1
- package/dist/components/Input/Input.mjs.map +1 -1
- package/dist/components/Input/InputPassword.cjs.map +1 -1
- package/dist/components/Input/InputPassword.mjs.map +1 -1
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Loader/spinner.cjs.map +1 -1
- package/dist/components/Loader/spinner.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/Logo/LogoCircle.cjs.map +1 -1
- package/dist/components/Logo/LogoCircle.mjs.map +1 -1
- package/dist/components/Logo/LogoNoFrame.cjs.map +1 -1
- package/dist/components/Logo/LogoNoFrame.mjs.map +1 -1
- package/dist/components/Logo/LogoSquare.cjs.map +1 -1
- package/dist/components/Logo/LogoSquare.mjs.map +1 -1
- package/dist/components/Logo/LogoSquircle.cjs.map +1 -1
- package/dist/components/Logo/LogoSquircle.mjs.map +1 -1
- package/dist/components/Logo/LogoTextOnly.cjs.map +1 -1
- package/dist/components/Logo/LogoTextOnly.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextCircle.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextCircle.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextNoFrame.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextNoFrame.mjs.map +1 -1
- package/dist/components/Logo/LogoWithTextSquircle.cjs.map +1 -1
- package/dist/components/Logo/LogoWithTextSquircle.mjs.map +1 -1
- package/dist/components/Logo/index.cjs.map +1 -1
- package/dist/components/Logo/index.mjs.map +1 -1
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/MaxHeightSmoother/index.cjs.map +1 -1
- package/dist/components/MaxHeightSmoother/index.mjs.map +1 -1
- package/dist/components/MaxWidthSmoother/index.cjs.map +1 -1
- package/dist/components/MaxWidthSmoother/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/Burger.cjs.map +1 -1
- package/dist/components/Navbar/Burger.mjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/Navbar/useNavigation.cjs.map +1 -1
- package/dist/components/Navbar/useNavigation.mjs.map +1 -1
- package/dist/components/Pattern/DotPattern.cjs.map +1 -1
- package/dist/components/Pattern/DotPattern.mjs.map +1 -1
- package/dist/components/Pattern/GridPattern.cjs.map +1 -1
- package/dist/components/Pattern/GridPattern.mjs.map +1 -1
- package/dist/components/Pattern/SpotLight.cjs.map +1 -1
- package/dist/components/Pattern/SpotLight.mjs.map +1 -1
- package/dist/components/Popover/index.cjs.map +1 -1
- package/dist/components/Popover/index.mjs.map +1 -1
- package/dist/components/PressableSpan/PressableSpan.cjs.map +1 -1
- package/dist/components/PressableSpan/PressableSpan.mjs.map +1 -1
- package/dist/components/ProfileDropDown/index.cjs.map +1 -1
- package/dist/components/ProfileDropDown/index.mjs.map +1 -1
- package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -1
- package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -1
- package/dist/components/RightDrawer/useRightDrawerStore.cjs.map +1 -1
- package/dist/components/RightDrawer/useRightDrawerStore.mjs.map +1 -1
- package/dist/components/Select/Multiselect.cjs.map +1 -1
- package/dist/components/Select/Multiselect.mjs.map +1 -1
- package/dist/components/Select/Select.cjs.map +1 -1
- package/dist/components/Select/Select.mjs.map +1 -1
- package/dist/components/SwitchSelector/index.cjs.map +1 -1
- package/dist/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/components/Tag/index.cjs.map +1 -1
- package/dist/components/Tag/index.mjs.map +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.cjs.map +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/components/TextArea/TextArea.cjs.map +1 -1
- package/dist/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs.map +1 -1
- package/dist/components/Toaster/Toast.cjs.map +1 -1
- package/dist/components/Toaster/Toast.mjs.map +1 -1
- package/dist/components/Toaster/Toaster.cjs.map +1 -1
- package/dist/components/Toaster/Toaster.mjs.map +1 -1
- package/dist/components/Toaster/useToast.cjs.map +1 -1
- package/dist/components/Toaster/useToast.mjs.map +1 -1
- package/dist/components/WithResizer/index.cjs.map +1 -1
- package/dist/components/WithResizer/index.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
- package/dist/hooks/useDevice.cjs.map +1 -1
- package/dist/hooks/useDevice.mjs.map +1 -1
- package/dist/hooks/useGetAllDictionaries.cjs.map +1 -1
- package/dist/hooks/useGetAllDictionaries.mjs.map +1 -1
- package/dist/hooks/useGetElementOrWindow.cjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
- package/dist/hooks/useIsMounted.cjs.map +1 -1
- package/dist/hooks/useIsMounted.mjs.map +1 -1
- package/dist/hooks/useItemSelector.cjs.map +1 -1
- package/dist/hooks/useItemSelector.mjs.map +1 -1
- package/dist/hooks/usePersistedStore.cjs.map +1 -1
- package/dist/hooks/usePersistedStore.mjs.map +1 -1
- package/dist/hooks/useScrollBlockage/index.cjs.map +1 -1
- package/dist/hooks/useScrollBlockage/index.mjs.map +1 -1
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.cjs.map +1 -1
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.mjs.map +1 -1
- package/dist/hooks/useScrollDetection.cjs.map +1 -1
- package/dist/hooks/useScrollDetection.mjs.map +1 -1
- package/dist/index-BtZWYJhL.cjs.map +1 -1
- package/dist/index-D9oaKvKC.js.map +1 -1
- package/dist/jsx-runtime-DaNGiM0W.js.map +1 -1
- package/dist/jsx-runtime-XHKiWCTo.cjs.map +1 -1
- package/dist/libs/intlayer-api/auth.cjs.map +1 -1
- package/dist/libs/intlayer-api/auth.mjs.map +1 -1
- package/dist/libs/intlayer-api/dictionary.cjs.map +1 -1
- package/dist/libs/intlayer-api/dictionary.mjs.map +1 -1
- package/dist/libs/intlayer-api/fetcher.cjs.map +1 -1
- package/dist/libs/intlayer-api/fetcher.mjs.map +1 -1
- package/dist/libs/intlayer-api/organization.cjs.map +1 -1
- package/dist/libs/intlayer-api/organization.mjs.map +1 -1
- package/dist/libs/intlayer-api/project.cjs.map +1 -1
- package/dist/libs/intlayer-api/project.mjs.map +1 -1
- package/dist/libs/intlayer-api/stripe.cjs.map +1 -1
- package/dist/libs/intlayer-api/stripe.mjs.map +1 -1
- package/dist/libs/intlayer-api/user.cjs.map +1 -1
- package/dist/libs/intlayer-api/user.mjs.map +1 -1
- package/dist/shallow-lhDIFtEp.cjs.map +1 -1
- package/dist/shallow-m9BpCkKh.js.map +1 -1
- package/dist/tailwind.config.cjs.map +1 -1
- package/dist/tailwind.config.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/utils/camelCase.cjs.map +1 -1
- package/dist/utils/camelCase.mjs.map +1 -1
- package/dist/utils/capitalize.cjs.map +1 -1
- package/dist/utils/capitalize.mjs.map +1 -1
- package/dist/utils/dictionary.cjs.map +1 -1
- package/dist/utils/dictionary.mjs.map +1 -1
- package/dist/utils/isElementAtTopAndNotCovered.cjs.map +1 -1
- package/dist/utils/isElementAtTopAndNotCovered.mjs.map +1 -1
- package/dist/utils/object.cjs.map +1 -1
- package/dist/utils/object.mjs.map +1 -1
- package/dist/zod-BV4nCGJE.js.map +1 -1
- package/dist/zod-DSrtTSD_.cjs.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalsLoginButtons.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { intlayerAPI } from '../../../libs/intlayer-api';\nimport { Button } from '../../Button';\nimport { GithubLogo } from './assets/GithubLogo';\nimport { GoogleLogo } from './assets/GoogleLogo';\nimport { getExternalsLoginButtonsContent } from './externalsLoginButtons.content';\n\nexport const GitHubLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n const loginWithGitHub = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGitHubURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n label={externalsLoginButtonsContent.github.label}\n Icon={GithubLogo}\n onClick={loginWithGitHub}\n color=\"text\"\n >\n {externalsLoginButtonsContent.github.label}\n </Button>\n );\n};\n\nexport const GoogleLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n const loginWithGoogle = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGoogleURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n className=\"bg-red-400 hover:bg-red-500 dark:hover:bg-red-300\"\n label={externalsLoginButtonsContent.google.label}\n Icon={GoogleLogo}\n onClick={loginWithGoogle}\n color=\"custom\"\n >\n {externalsLoginButtonsContent.google.label}\n </Button>\n );\n};\n\nexport const ExternalsLoginButtons: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n return (\n <div className=\"relative flex flex-col justify-center gap-y-3\">\n <div className=\"mb-3 flex w-full items-center gap-3 text-center text-base\">\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n <div className=\"text-neutral dark:text-neutral-dark\">\n {externalsLoginButtonsContent.span}\n </div>\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n </div>\n <GoogleLoginButton />\n <GitHubLoginButton />\n </div>\n );\n};\n"],"names":["getExternalsLoginButtonsContent","intlayerAPI","jsx","Button","GithubLogo","GoogleLogo","jsxs"],"mappings":";;;;;;;;;AASO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+BA,oEAAAA;
|
|
1
|
+
{"version":3,"file":"ExternalsLoginButtons.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { intlayerAPI } from '../../../libs/intlayer-api';\nimport { Button } from '../../Button';\nimport { GithubLogo } from './assets/GithubLogo';\nimport { GoogleLogo } from './assets/GoogleLogo';\nimport { getExternalsLoginButtonsContent } from './externalsLoginButtons.content';\n\nexport const GitHubLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n const loginWithGitHub = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGitHubURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n label={externalsLoginButtonsContent.github.label}\n Icon={GithubLogo}\n onClick={loginWithGitHub}\n color=\"text\"\n >\n {externalsLoginButtonsContent.github.label}\n </Button>\n );\n};\n\nexport const GoogleLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n const loginWithGoogle = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGoogleURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n className=\"bg-red-400 hover:bg-red-500 dark:hover:bg-red-300\"\n label={externalsLoginButtonsContent.google.label}\n Icon={GoogleLogo}\n onClick={loginWithGoogle}\n color=\"custom\"\n >\n {externalsLoginButtonsContent.google.label}\n </Button>\n );\n};\n\nexport const ExternalsLoginButtons: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n return (\n <div className=\"relative flex flex-col justify-center gap-y-3\">\n <div className=\"mb-3 flex w-full items-center gap-3 text-center text-base\">\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n <div className=\"text-neutral dark:text-neutral-dark\">\n {externalsLoginButtonsContent.span}\n </div>\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n </div>\n <GoogleLoginButton />\n <GitHubLoginButton />\n </div>\n );\n};\n"],"names":["getExternalsLoginButtonsContent","intlayerAPI","jsx","Button","GithubLogo","GoogleLogo","jsxs"],"mappings":";;;;;;;;;AASO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+BA,oEAAAA,gCAAgC;AACrE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAUC,uBAAAA,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAC,2BAAA,kBAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACC,OAAO,6BAA6B,OAAO;AAAA,MAC3C,MAAMC,wDAAA;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,uCAA6B,OAAO;AAAA,IAAA;AAAA,EACvC;AAEJ;AAEO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+BJ,oEAAAA,gCAAgC;AAErE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAUC,uBAAAA,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAC,2BAAA,kBAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO,6BAA6B,OAAO;AAAA,MAC3C,MAAME,wDAAA;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,uCAA6B,OAAO;AAAA,IAAA;AAAA,EACvC;AAEJ;AAEO,MAAM,wBAA4B,MAAM;AAC7C,QAAM,+BAA+BL,oEAAAA,gCAAgC;AAGnE,SAAAM,2BAAA,kBAAA,KAAC,OAAI,EAAA,WAAU,iDACb,UAAA;AAAA,IAACA,2BAAAA,kBAAAA,KAAA,OAAA,EAAI,WAAU,6DACb,UAAA;AAAA,MAACJ,2BAAAA,kBAAAA,IAAA,OAAA,EAAI,WAAU,iDAAiD,CAAA;AAAA,MAC/DA,2BAAA,kBAAA,IAAA,OAAA,EAAI,WAAU,uCACZ,uCAA6B,MAChC;AAAA,MACAA,2BAAAA,kBAAAA,IAAC,OAAI,EAAA,WAAU,iDAAiD,CAAA;AAAA,IAAA,GAClE;AAAA,qDACC,mBAAkB,EAAA;AAAA,qDAClB,mBAAkB,CAAA,CAAA;AAAA,EAAA,GACrB;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalsLoginButtons.mjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { intlayerAPI } from '../../../libs/intlayer-api';\nimport { Button } from '../../Button';\nimport { GithubLogo } from './assets/GithubLogo';\nimport { GoogleLogo } from './assets/GoogleLogo';\nimport { getExternalsLoginButtonsContent } from './externalsLoginButtons.content';\n\nexport const GitHubLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n const loginWithGitHub = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGitHubURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n label={externalsLoginButtonsContent.github.label}\n Icon={GithubLogo}\n onClick={loginWithGitHub}\n color=\"text\"\n >\n {externalsLoginButtonsContent.github.label}\n </Button>\n );\n};\n\nexport const GoogleLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n const loginWithGoogle = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGoogleURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n className=\"bg-red-400 hover:bg-red-500 dark:hover:bg-red-300\"\n label={externalsLoginButtonsContent.google.label}\n Icon={GoogleLogo}\n onClick={loginWithGoogle}\n color=\"custom\"\n >\n {externalsLoginButtonsContent.google.label}\n </Button>\n );\n};\n\nexport const ExternalsLoginButtons: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n return (\n <div className=\"relative flex flex-col justify-center gap-y-3\">\n <div className=\"mb-3 flex w-full items-center gap-3 text-center text-base\">\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n <div className=\"text-neutral dark:text-neutral-dark\">\n {externalsLoginButtonsContent.span}\n </div>\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n </div>\n <GoogleLoginButton />\n <GitHubLoginButton />\n </div>\n );\n};\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;AASO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+B;
|
|
1
|
+
{"version":3,"file":"ExternalsLoginButtons.mjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { intlayerAPI } from '../../../libs/intlayer-api';\nimport { Button } from '../../Button';\nimport { GithubLogo } from './assets/GithubLogo';\nimport { GoogleLogo } from './assets/GoogleLogo';\nimport { getExternalsLoginButtonsContent } from './externalsLoginButtons.content';\n\nexport const GitHubLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n const loginWithGitHub = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGitHubURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n label={externalsLoginButtonsContent.github.label}\n Icon={GithubLogo}\n onClick={loginWithGitHub}\n color=\"text\"\n >\n {externalsLoginButtonsContent.github.label}\n </Button>\n );\n};\n\nexport const GoogleLoginButton: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n const loginWithGoogle = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGoogleURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n className=\"bg-red-400 hover:bg-red-500 dark:hover:bg-red-300\"\n label={externalsLoginButtonsContent.google.label}\n Icon={GoogleLogo}\n onClick={loginWithGoogle}\n color=\"custom\"\n >\n {externalsLoginButtonsContent.google.label}\n </Button>\n );\n};\n\nexport const ExternalsLoginButtons: FC = () => {\n const externalsLoginButtonsContent = getExternalsLoginButtonsContent();\n\n return (\n <div className=\"relative flex flex-col justify-center gap-y-3\">\n <div className=\"mb-3 flex w-full items-center gap-3 text-center text-base\">\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n <div className=\"text-neutral dark:text-neutral-dark\">\n {externalsLoginButtonsContent.span}\n </div>\n <div className=\"bg-neutral dark:bg-neutral-dark h-[1px] w-full\" />\n </div>\n <GoogleLoginButton />\n <GitHubLoginButton />\n </div>\n );\n};\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;AASO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+B,gCAAgC;AACrE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAU,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAA,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO,6BAA6B,OAAO;AAAA,MAC3C,MAAM;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,uCAA6B,OAAO;AAAA,IAAA;AAAA,EACvC;AAEJ;AAEO,MAAM,oBAAwB,MAAM;AACzC,QAAM,+BAA+B,gCAAgC;AAErE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAU,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAA,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO,6BAA6B,OAAO;AAAA,MAC3C,MAAM;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,uCAA6B,OAAO;AAAA,IAAA;AAAA,EACvC;AAEJ;AAEO,MAAM,wBAA4B,MAAM;AAC7C,QAAM,+BAA+B,gCAAgC;AAGnE,SAAAC,kCAAA,KAAC,OAAI,EAAA,WAAU,iDACb,UAAA;AAAA,IAACA,kCAAAA,KAAA,OAAA,EAAI,WAAU,6DACb,UAAA;AAAA,MAACD,kCAAAA,IAAA,OAAA,EAAI,WAAU,iDAAiD,CAAA;AAAA,MAC/DA,kCAAA,IAAA,OAAA,EAAI,WAAU,uCACZ,uCAA6B,MAChC;AAAA,MACAA,kCAAAA,IAAC,OAAI,EAAA,WAAU,iDAAiD,CAAA;AAAA,IAAA,GAClE;AAAA,0CACC,mBAAkB,EAAA;AAAA,0CAClB,mBAAkB,CAAA,CAAA;AAAA,EAAA,GACrB;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleLogo.cjs","sources":["../../../../../src/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.tsx"],"sourcesContent":["import type { FC, SVGProps } from 'react';\n\nexport const GoogleLogo: FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n fill=\"currentColor\"\n version=\"1.1\"\n id=\"Capa_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 210 210\"\n xmlSpace=\"preserve\"\n {...props}\n >\n <path\n d=\"M0,105C0,47.103,47.103,0,105,0c23.383,0,45.515,7.523,64.004,21.756l-24.4,31.696C133.172,44.652,119.477,40,105,40\n\tc-35.841,0-65,29.159-65,65s29.159,65,65,65c28.867,0,53.398-18.913,61.852-45H105V85h105v20c0,57.897-47.103,105-105,105\n\tS0,162.897,0,105z\"\n />\n </svg>\n);\n"],"names":["jsx"],"mappings":";;;AAEa,MAAA,aAA0C,CAAC,UACtDA,2BAAA,kBAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,IAAG;AAAA,IACH,OAAM;AAAA,IACN,SAAQ;AAAA,IACR,UAAS;AAAA,IACR,GAAG;AAAA,IAEJ,UAAAA,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,MAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"GoogleLogo.cjs","sources":["../../../../../src/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.tsx"],"sourcesContent":["import type { FC, SVGProps } from 'react';\n\nexport const GoogleLogo: FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n fill=\"currentColor\"\n version=\"1.1\"\n id=\"Capa_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 210 210\"\n xmlSpace=\"preserve\"\n {...props}\n >\n <path\n d=\"M0,105C0,47.103,47.103,0,105,0c23.383,0,45.515,7.523,64.004,21.756l-24.4,31.696C133.172,44.652,119.477,40,105,40\n\tc-35.841,0-65,29.159-65,65s29.159,65,65,65c28.867,0,53.398-18.913,61.852-45H105V85h105v20c0,57.897-47.103,105-105,105\n\tS0,162.897,0,105z\"\n />\n </svg>\n);\n"],"names":["jsx"],"mappings":";;;AAEa,MAAA,aAA0C,CAAC,UACtDA,2BAAA,kBAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,IAAG;AAAA,IACH,OAAM;AAAA,IACN,SAAQ;AAAA,IACR,UAAS;AAAA,IACR,GAAG;AAAA,IAEJ,UAAAA,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,MAAA;AAAA,IAAA;AAAA,EAGJ;AACF;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleLogo.mjs","sources":["../../../../../src/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.tsx"],"sourcesContent":["import type { FC, SVGProps } from 'react';\n\nexport const GoogleLogo: FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n fill=\"currentColor\"\n version=\"1.1\"\n id=\"Capa_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 210 210\"\n xmlSpace=\"preserve\"\n {...props}\n >\n <path\n d=\"M0,105C0,47.103,47.103,0,105,0c23.383,0,45.515,7.523,64.004,21.756l-24.4,31.696C133.172,44.652,119.477,40,105,40\n\tc-35.841,0-65,29.159-65,65s29.159,65,65,65c28.867,0,53.398-18.913,61.852-45H105V85h105v20c0,57.897-47.103,105-105,105\n\tS0,162.897,0,105z\"\n />\n </svg>\n);\n"],"names":["jsx"],"mappings":";AAEa,MAAA,aAA0C,CAAC,UACtDA,kCAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,IAAG;AAAA,IACH,OAAM;AAAA,IACN,SAAQ;AAAA,IACR,UAAS;AAAA,IACR,GAAG;AAAA,IAEJ,UAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,MAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"GoogleLogo.mjs","sources":["../../../../../src/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.tsx"],"sourcesContent":["import type { FC, SVGProps } from 'react';\n\nexport const GoogleLogo: FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n fill=\"currentColor\"\n version=\"1.1\"\n id=\"Capa_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 210 210\"\n xmlSpace=\"preserve\"\n {...props}\n >\n <path\n d=\"M0,105C0,47.103,47.103,0,105,0c23.383,0,45.515,7.523,64.004,21.756l-24.4,31.696C133.172,44.652,119.477,40,105,40\n\tc-35.841,0-65,29.159-65,65s29.159,65,65,65c28.867,0,53.398-18.913,61.852-45H105V85h105v20c0,57.897-47.103,105-105,105\n\tS0,162.897,0,105z\"\n />\n </svg>\n);\n"],"names":["jsx"],"mappings":";AAEa,MAAA,aAA0C,CAAC,UACtDA,kCAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,IAAG;AAAA,IACH,OAAM;AAAA,IACN,SAAQ;AAAA,IACR,UAAS;AAAA,IACR,GAAG;AAAA,IAEJ,UAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,MAAA;AAAA,IAAA;AAAA,EAGJ;AACF;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalsLoginButtons.content.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getExternalsLoginButtonsContent = () => ({\n span: t({\n en: 'or',\n fr: 'ou',\n es: 'o',\n }),\n github: {\n label: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n ariaLabel: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n },\n google: {\n label: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n ariaLabel: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,kCAAkC,OAAO;AAAA,EACpD,MAAMA,cAAAA,EAAE;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,QAAQ;AAAA,IACN,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"externalsLoginButtons.content.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getExternalsLoginButtonsContent = () => ({\n span: t({\n en: 'or',\n fr: 'ou',\n es: 'o',\n }),\n github: {\n label: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n ariaLabel: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n },\n google: {\n label: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n ariaLabel: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,kCAAkC,OAAO;AAAA,EACpD,MAAMA,cAAAA,EAAE;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,QAAQ;AAAA,IACN,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,QAAQ;AAAA,IACN,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const getExternalsLoginButtonsContent: () => {
|
|
2
|
-
span:
|
|
2
|
+
span: any;
|
|
3
3
|
github: {
|
|
4
|
-
label:
|
|
5
|
-
ariaLabel:
|
|
4
|
+
label: any;
|
|
5
|
+
ariaLabel: any;
|
|
6
6
|
};
|
|
7
7
|
google: {
|
|
8
|
-
label:
|
|
9
|
-
ariaLabel:
|
|
8
|
+
label: any;
|
|
9
|
+
ariaLabel: any;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=externalsLoginButtons.content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalsLoginButtons.content.mjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getExternalsLoginButtonsContent = () => ({\n span: t({\n en: 'or',\n fr: 'ou',\n es: 'o',\n }),\n github: {\n label: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n ariaLabel: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n },\n google: {\n label: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n ariaLabel: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,kCAAkC,OAAO;AAAA,EACpD,MAAM,EAAE;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,QAAQ;AAAA,IACN,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"externalsLoginButtons.content.mjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getExternalsLoginButtonsContent = () => ({\n span: t({\n en: 'or',\n fr: 'ou',\n es: 'o',\n }),\n github: {\n label: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n ariaLabel: t({\n en: 'Sign in with GitHub',\n fr: 'Se connecter avec GitHub',\n es: 'Iniciar sesión con GitHub',\n }),\n },\n google: {\n label: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n ariaLabel: t({\n en: 'Sign in with Google',\n fr: 'Se connecter avec Google',\n es: 'Iniciar sesión con Google',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,kCAAkC,OAAO;AAAA,EACpD,MAAM,EAAE;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,QAAQ;AAAA,IACN,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,QAAQ;AAAA,IACN,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordForm.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordForm.tsx"],"sourcesContent":["'use client';\n\nimport { useState, type FC, useEffect, type ReactNode } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getResetPasswordContent } from './index.content';\nimport {\n getResetPasswordSchema,\n type ResetPassword,\n} from './ResetPasswordSchema';\n\ntype ForgotPasswordFormProps = {\n email?: string;\n onSubmitSuccess: (data: ResetPassword) => Promise<void>;\n onClickBackToLogin: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ResetPasswordForm: FC<ForgotPasswordFormProps> = ({\n email,\n onSubmitSuccess,\n onSubmitError,\n onClickBackToLogin,\n}) => {\n const ResetPasswordSchema = getResetPasswordSchema();\n const {\n emailInput,\n sendRecoveryEmailButton,\n resendRecoveryEmailButton,\n resendInText,\n backToLoginButton,\n } = getResetPasswordContent();\n const { form, isSubmitting, isSubmitted, isValid } = useForm(\n ResetPasswordSchema,\n {\n defaultValues: { email },\n }\n );\n const [submissionState, setSubmissionState] = useState({\n isFrozen: isValid,\n remainingTime: 0,\n });\n\n useEffect(() => {\n // If form valid and form is not submitted, unfreeze the submission\n if (isValid && !isSubmitted) {\n setSubmissionState((prevState) => ({\n ...prevState,\n isFrozen: false,\n }));\n }\n }, [isSubmitted, isValid]);\n\n useEffect(() => {\n // If form valid and submission is frozen and there is remaining time, start the timer\n if (\n isValid &&\n submissionState.isFrozen &&\n submissionState.remainingTime > 0\n ) {\n const interval = setInterval(() => {\n setSubmissionState((prevState) => {\n if (prevState.remainingTime <= 1) {\n clearInterval(interval); // Stop the timer when reaching 0\n return { ...prevState, isFrozen: false, remainingTime: 0 };\n }\n return { ...prevState, remainingTime: prevState.remainingTime - 1 };\n });\n }, 1000);\n\n return () => clearInterval(interval);\n }\n }, [isValid, submissionState.isFrozen, submissionState.remainingTime]);\n\n const getSubmitButtonText = (): ReactNode => {\n if (submissionState.remainingTime > 0) {\n return `${resendInText} ${submissionState.remainingTime}s`;\n }\n return isSubmitted\n ? resendRecoveryEmailButton.text\n : sendRecoveryEmailButton.text;\n };\n\n return (\n <Form\n schema={ResetPasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid || submissionState.isFrozen}\n variant={isSubmitted ? 'outline' : 'default'}\n label={sendRecoveryEmailButton.ariaLabel}\n >\n {getSubmitButtonText()}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToLoginButton.text}\n onClick={onClickBackToLogin}\n >\n {backToLoginButton.text}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["getResetPasswordSchema","getResetPasswordContent","useForm","useState","useEffect","jsxs","Form","jsx"],"mappings":";;;;;;;;;;AAiBO,MAAM,oBAAiD,CAAC;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,sBAAsBA,sDAAAA;
|
|
1
|
+
{"version":3,"file":"ResetPasswordForm.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordForm.tsx"],"sourcesContent":["'use client';\n\nimport { useState, type FC, useEffect, type ReactNode } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getResetPasswordContent } from './index.content';\nimport {\n getResetPasswordSchema,\n type ResetPassword,\n} from './ResetPasswordSchema';\n\ntype ForgotPasswordFormProps = {\n email?: string;\n onSubmitSuccess: (data: ResetPassword) => Promise<void>;\n onClickBackToLogin: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ResetPasswordForm: FC<ForgotPasswordFormProps> = ({\n email,\n onSubmitSuccess,\n onSubmitError,\n onClickBackToLogin,\n}) => {\n const ResetPasswordSchema = getResetPasswordSchema();\n const {\n emailInput,\n sendRecoveryEmailButton,\n resendRecoveryEmailButton,\n resendInText,\n backToLoginButton,\n } = getResetPasswordContent();\n const { form, isSubmitting, isSubmitted, isValid } = useForm(\n ResetPasswordSchema,\n {\n defaultValues: { email },\n }\n );\n const [submissionState, setSubmissionState] = useState({\n isFrozen: isValid,\n remainingTime: 0,\n });\n\n useEffect(() => {\n // If form valid and form is not submitted, unfreeze the submission\n if (isValid && !isSubmitted) {\n setSubmissionState((prevState) => ({\n ...prevState,\n isFrozen: false,\n }));\n }\n }, [isSubmitted, isValid]);\n\n useEffect(() => {\n // If form valid and submission is frozen and there is remaining time, start the timer\n if (\n isValid &&\n submissionState.isFrozen &&\n submissionState.remainingTime > 0\n ) {\n const interval = setInterval(() => {\n setSubmissionState((prevState) => {\n if (prevState.remainingTime <= 1) {\n clearInterval(interval); // Stop the timer when reaching 0\n return { ...prevState, isFrozen: false, remainingTime: 0 };\n }\n return { ...prevState, remainingTime: prevState.remainingTime - 1 };\n });\n }, 1000);\n\n return () => clearInterval(interval);\n }\n }, [isValid, submissionState.isFrozen, submissionState.remainingTime]);\n\n const getSubmitButtonText = (): ReactNode => {\n if (submissionState.remainingTime > 0) {\n return `${resendInText} ${submissionState.remainingTime}s`;\n }\n return isSubmitted\n ? resendRecoveryEmailButton.text\n : sendRecoveryEmailButton.text;\n };\n\n return (\n <Form\n schema={ResetPasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid || submissionState.isFrozen}\n variant={isSubmitted ? 'outline' : 'default'}\n label={sendRecoveryEmailButton.ariaLabel}\n >\n {getSubmitButtonText()}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToLoginButton.text}\n onClick={onClickBackToLogin}\n >\n {backToLoginButton.text}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["getResetPasswordSchema","getResetPasswordContent","useForm","useState","useEffect","jsxs","Form","jsx"],"mappings":";;;;;;;;;;AAiBO,MAAM,oBAAiD,CAAC;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,sBAAsBA,sDAAAA,uBAAuB;AAC7C,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACEC,wEAAwB;AAC5B,QAAM,EAAE,MAAM,cAAc,aAAa,QAAY,IAAAC,yBAAA;AAAA,IACnD;AAAA,IACA;AAAA,MACE,eAAe,EAAE,MAAM;AAAA,IAAA;AAAA,EAE3B;AACA,QAAM,CAAC,iBAAiB,kBAAkB,IAAIC,oBAAS;AAAA,IACrD,UAAU;AAAA,IACV,eAAe;AAAA,EAAA,CAChB;AAEDC,aAAAA,UAAU,MAAM;AAEV,QAAA,WAAW,CAAC,aAAa;AAC3B,yBAAmB,CAAC,eAAe;AAAA,QACjC,GAAG;AAAA,QACH,UAAU;AAAA,MAAA,EACV;AAAA,IAAA;AAAA,EACJ,GACC,CAAC,aAAa,OAAO,CAAC;AAEzBA,aAAAA,UAAU,MAAM;AAEd,QACE,WACA,gBAAgB,YAChB,gBAAgB,gBAAgB,GAChC;AACM,YAAA,WAAW,YAAY,MAAM;AACjC,2BAAmB,CAAC,cAAc;AAC5B,cAAA,UAAU,iBAAiB,GAAG;AAChC,0BAAc,QAAQ;AACtB,mBAAO,EAAE,GAAG,WAAW,UAAU,OAAO,eAAe,EAAE;AAAA,UAAA;AAE3D,iBAAO,EAAE,GAAG,WAAW,eAAe,UAAU,gBAAgB,EAAE;AAAA,QAAA,CACnE;AAAA,SACA,GAAI;AAEA,aAAA,MAAM,cAAc,QAAQ;AAAA,IAAA;AAAA,EACrC,GACC,CAAC,SAAS,gBAAgB,UAAU,gBAAgB,aAAa,CAAC;AAErE,QAAM,sBAAsB,MAAiB;AACvC,QAAA,gBAAgB,gBAAgB,GAAG;AACrC,aAAO,GAAG,YAAY,IAAI,gBAAgB,aAAa;AAAA,IAAA;AAElD,WAAA,cACH,0BAA0B,OAC1B,wBAAwB;AAAA,EAC9B;AAGE,SAAAC,2BAAA,kBAAA;AAAA,IAACC,sCAAA;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,WAAU;AAAA,MACT,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACC,2BAAAA,kBAAAA,IAAA,OAAA,EAAI,WAAU,yBACb,UAAAA,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW;AAAA,YAClB,aAAa,WAAW;AAAA,YACxB,YAAU;AAAA,YACV,cAAa;AAAA,YACb,WAAW;AAAA,YACX,WAAW;AAAA,UAAA;AAAA,QAAA,GAEf;AAAA,QAEAC,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,UAAU,CAAC,WAAW,gBAAgB;AAAA,YACtC,SAAS,cAAc,YAAY;AAAA,YACnC,OAAO,wBAAwB;AAAA,YAE9B,UAAoB,oBAAA;AAAA,UAAA;AAAA,QACvB;AAAA,QACC,eACCC,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,OAAO,kBAAkB;AAAA,YACzB,SAAS;AAAA,YAER,UAAkB,kBAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEJ;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordForm.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordForm.tsx"],"sourcesContent":["'use client';\n\nimport { useState, type FC, useEffect, type ReactNode } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getResetPasswordContent } from './index.content';\nimport {\n getResetPasswordSchema,\n type ResetPassword,\n} from './ResetPasswordSchema';\n\ntype ForgotPasswordFormProps = {\n email?: string;\n onSubmitSuccess: (data: ResetPassword) => Promise<void>;\n onClickBackToLogin: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ResetPasswordForm: FC<ForgotPasswordFormProps> = ({\n email,\n onSubmitSuccess,\n onSubmitError,\n onClickBackToLogin,\n}) => {\n const ResetPasswordSchema = getResetPasswordSchema();\n const {\n emailInput,\n sendRecoveryEmailButton,\n resendRecoveryEmailButton,\n resendInText,\n backToLoginButton,\n } = getResetPasswordContent();\n const { form, isSubmitting, isSubmitted, isValid } = useForm(\n ResetPasswordSchema,\n {\n defaultValues: { email },\n }\n );\n const [submissionState, setSubmissionState] = useState({\n isFrozen: isValid,\n remainingTime: 0,\n });\n\n useEffect(() => {\n // If form valid and form is not submitted, unfreeze the submission\n if (isValid && !isSubmitted) {\n setSubmissionState((prevState) => ({\n ...prevState,\n isFrozen: false,\n }));\n }\n }, [isSubmitted, isValid]);\n\n useEffect(() => {\n // If form valid and submission is frozen and there is remaining time, start the timer\n if (\n isValid &&\n submissionState.isFrozen &&\n submissionState.remainingTime > 0\n ) {\n const interval = setInterval(() => {\n setSubmissionState((prevState) => {\n if (prevState.remainingTime <= 1) {\n clearInterval(interval); // Stop the timer when reaching 0\n return { ...prevState, isFrozen: false, remainingTime: 0 };\n }\n return { ...prevState, remainingTime: prevState.remainingTime - 1 };\n });\n }, 1000);\n\n return () => clearInterval(interval);\n }\n }, [isValid, submissionState.isFrozen, submissionState.remainingTime]);\n\n const getSubmitButtonText = (): ReactNode => {\n if (submissionState.remainingTime > 0) {\n return `${resendInText} ${submissionState.remainingTime}s`;\n }\n return isSubmitted\n ? resendRecoveryEmailButton.text\n : sendRecoveryEmailButton.text;\n };\n\n return (\n <Form\n schema={ResetPasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid || submissionState.isFrozen}\n variant={isSubmitted ? 'outline' : 'default'}\n label={sendRecoveryEmailButton.ariaLabel}\n >\n {getSubmitButtonText()}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToLoginButton.text}\n onClick={onClickBackToLogin}\n >\n {backToLoginButton.text}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;;;;;AAiBO,MAAM,oBAAiD,CAAC;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,sBAAsB;
|
|
1
|
+
{"version":3,"file":"ResetPasswordForm.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordForm.tsx"],"sourcesContent":["'use client';\n\nimport { useState, type FC, useEffect, type ReactNode } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getResetPasswordContent } from './index.content';\nimport {\n getResetPasswordSchema,\n type ResetPassword,\n} from './ResetPasswordSchema';\n\ntype ForgotPasswordFormProps = {\n email?: string;\n onSubmitSuccess: (data: ResetPassword) => Promise<void>;\n onClickBackToLogin: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ResetPasswordForm: FC<ForgotPasswordFormProps> = ({\n email,\n onSubmitSuccess,\n onSubmitError,\n onClickBackToLogin,\n}) => {\n const ResetPasswordSchema = getResetPasswordSchema();\n const {\n emailInput,\n sendRecoveryEmailButton,\n resendRecoveryEmailButton,\n resendInText,\n backToLoginButton,\n } = getResetPasswordContent();\n const { form, isSubmitting, isSubmitted, isValid } = useForm(\n ResetPasswordSchema,\n {\n defaultValues: { email },\n }\n );\n const [submissionState, setSubmissionState] = useState({\n isFrozen: isValid,\n remainingTime: 0,\n });\n\n useEffect(() => {\n // If form valid and form is not submitted, unfreeze the submission\n if (isValid && !isSubmitted) {\n setSubmissionState((prevState) => ({\n ...prevState,\n isFrozen: false,\n }));\n }\n }, [isSubmitted, isValid]);\n\n useEffect(() => {\n // If form valid and submission is frozen and there is remaining time, start the timer\n if (\n isValid &&\n submissionState.isFrozen &&\n submissionState.remainingTime > 0\n ) {\n const interval = setInterval(() => {\n setSubmissionState((prevState) => {\n if (prevState.remainingTime <= 1) {\n clearInterval(interval); // Stop the timer when reaching 0\n return { ...prevState, isFrozen: false, remainingTime: 0 };\n }\n return { ...prevState, remainingTime: prevState.remainingTime - 1 };\n });\n }, 1000);\n\n return () => clearInterval(interval);\n }\n }, [isValid, submissionState.isFrozen, submissionState.remainingTime]);\n\n const getSubmitButtonText = (): ReactNode => {\n if (submissionState.remainingTime > 0) {\n return `${resendInText} ${submissionState.remainingTime}s`;\n }\n return isSubmitted\n ? resendRecoveryEmailButton.text\n : sendRecoveryEmailButton.text;\n };\n\n return (\n <Form\n schema={ResetPasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid || submissionState.isFrozen}\n variant={isSubmitted ? 'outline' : 'default'}\n label={sendRecoveryEmailButton.ariaLabel}\n >\n {getSubmitButtonText()}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToLoginButton.text}\n onClick={onClickBackToLogin}\n >\n {backToLoginButton.text}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;;;;;AAiBO,MAAM,oBAAiD,CAAC;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,sBAAsB,uBAAuB;AAC7C,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACE,wBAAwB;AAC5B,QAAM,EAAE,MAAM,cAAc,aAAa,QAAY,IAAA;AAAA,IACnD;AAAA,IACA;AAAA,MACE,eAAe,EAAE,MAAM;AAAA,IAAA;AAAA,EAE3B;AACA,QAAM,CAAC,iBAAiB,kBAAkB,IAAI,SAAS;AAAA,IACrD,UAAU;AAAA,IACV,eAAe;AAAA,EAAA,CAChB;AAED,YAAU,MAAM;AAEV,QAAA,WAAW,CAAC,aAAa;AAC3B,yBAAmB,CAAC,eAAe;AAAA,QACjC,GAAG;AAAA,QACH,UAAU;AAAA,MAAA,EACV;AAAA,IAAA;AAAA,EACJ,GACC,CAAC,aAAa,OAAO,CAAC;AAEzB,YAAU,MAAM;AAEd,QACE,WACA,gBAAgB,YAChB,gBAAgB,gBAAgB,GAChC;AACM,YAAA,WAAW,YAAY,MAAM;AACjC,2BAAmB,CAAC,cAAc;AAC5B,cAAA,UAAU,iBAAiB,GAAG;AAChC,0BAAc,QAAQ;AACtB,mBAAO,EAAE,GAAG,WAAW,UAAU,OAAO,eAAe,EAAE;AAAA,UAAA;AAE3D,iBAAO,EAAE,GAAG,WAAW,eAAe,UAAU,gBAAgB,EAAE;AAAA,QAAA,CACnE;AAAA,SACA,GAAI;AAEA,aAAA,MAAM,cAAc,QAAQ;AAAA,IAAA;AAAA,EACrC,GACC,CAAC,SAAS,gBAAgB,UAAU,gBAAgB,aAAa,CAAC;AAErE,QAAM,sBAAsB,MAAiB;AACvC,QAAA,gBAAgB,gBAAgB,GAAG;AACrC,aAAO,GAAG,YAAY,IAAI,gBAAgB,aAAa;AAAA,IAAA;AAElD,WAAA,cACH,0BAA0B,OAC1B,wBAAwB;AAAA,EAC9B;AAGE,SAAAA,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,WAAU;AAAA,MACT,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACC,kCAAAA,IAAA,OAAA,EAAI,WAAU,yBACb,UAAAA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW;AAAA,YAClB,aAAa,WAAW;AAAA,YACxB,YAAU;AAAA,YACV,cAAa;AAAA,YACb,WAAW;AAAA,YACX,WAAW;AAAA,UAAA;AAAA,QAAA,GAEf;AAAA,QAEAA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,UAAU,CAAC,WAAW,gBAAgB;AAAA,YACtC,SAAS,cAAc,YAAY;AAAA,YACnC,OAAO,wBAAwB;AAAA,YAE9B,UAAoB,oBAAA;AAAA,UAAA;AAAA,QACvB;AAAA,QACC,eACCA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,OAAO,kBAAkB;AAAA,YACzB,SAAS;AAAA,YAER,UAAkB,kBAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEJ;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordSchema.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getResetPasswordSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const invalidLengthErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidLengthErrorEmail }),\n });\n};\n\nexport type ResetPassword = z.infer<ReturnType<typeof getResetPasswordSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,0BAA0BA,cAAAA,EAAE;AAAA,IAChC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"ResetPasswordSchema.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getResetPasswordSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const invalidLengthErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidLengthErrorEmail }),\n });\n};\n\nexport type ResetPassword = z.infer<ReturnType<typeof getResetPasswordSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,0BAA0BA,cAAAA,EAAE;AAAA,IAChC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,wBAAyB,CAAA;AAAA,EAAA,CAC/C;AACH;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordSchema.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getResetPasswordSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const invalidLengthErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidLengthErrorEmail }),\n });\n};\n\nexport type ResetPassword = z.infer<ReturnType<typeof getResetPasswordSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,0BAA0B,EAAE;AAAA,IAChC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EAAE,OAAO;AAAA,IACd,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"ResetPasswordSchema.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getResetPasswordSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const invalidLengthErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidLengthErrorEmail }),\n });\n};\n\nexport type ResetPassword = z.infer<ReturnType<typeof getResetPasswordSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,0BAA0B,EAAE;AAAA,IAChC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EAAE,OAAO;AAAA,IACd,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,wBAAyB,CAAA;AAAA,EAAA,CAC/C;AACH;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getResetPasswordContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n sendRecoveryEmailButton: {\n text: t({\n en: 'Send recovery email',\n fr: 'Envoyer un e-mail de récupération',\n es: 'Enviar correo de recuperación',\n }),\n ariaLabel: t({\n en: 'Click to send recovery email',\n fr: 'Cliquez pour envoyer un e-mail de récupération',\n es: 'Haz clic para enviar correo de recuperación',\n }),\n },\n resendRecoveryEmailButton: {\n text: t({\n en: 'Resend recovery email',\n fr: 'Renvoyer l’e-mail de récupération',\n es: 'Reenviar correo de recuperación',\n }),\n },\n resendInText: t({\n en: 'Resend in',\n fr: 'Renvoyer dans',\n es: 'Reenviar en',\n }),\n backToLoginButton: {\n text: t({\n en: 'Back to login',\n fr: 'Retour à la connexion',\n es: 'Volver al inicio de sesión',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,0BAA0B,OAAO;AAAA,EAC5C,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getResetPasswordContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n sendRecoveryEmailButton: {\n text: t({\n en: 'Send recovery email',\n fr: 'Envoyer un e-mail de récupération',\n es: 'Enviar correo de recuperación',\n }),\n ariaLabel: t({\n en: 'Click to send recovery email',\n fr: 'Cliquez pour envoyer un e-mail de récupération',\n es: 'Haz clic para enviar correo de recuperación',\n }),\n },\n resendRecoveryEmailButton: {\n text: t({\n en: 'Resend recovery email',\n fr: 'Renvoyer l’e-mail de récupération',\n es: 'Reenviar correo de recuperación',\n }),\n },\n resendInText: t({\n en: 'Resend in',\n fr: 'Renvoyer dans',\n es: 'Reenviar en',\n }),\n backToLoginButton: {\n text: t({\n en: 'Back to login',\n fr: 'Retour à la connexion',\n es: 'Volver al inicio de sesión',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,0BAA0B,OAAO;AAAA,EAC5C,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,yBAAyB;AAAA,IACvB,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAcA,cAAAA,EAAE;AAAA,IACd,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,mBAAmB;AAAA,IACjB,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare const getResetPasswordContent: () => {
|
|
2
2
|
emailInput: {
|
|
3
|
-
label:
|
|
4
|
-
placeholder:
|
|
3
|
+
label: any;
|
|
4
|
+
placeholder: any;
|
|
5
5
|
};
|
|
6
6
|
sendRecoveryEmailButton: {
|
|
7
|
-
text:
|
|
8
|
-
ariaLabel:
|
|
7
|
+
text: any;
|
|
8
|
+
ariaLabel: any;
|
|
9
9
|
};
|
|
10
10
|
resendRecoveryEmailButton: {
|
|
11
|
-
text:
|
|
11
|
+
text: any;
|
|
12
12
|
};
|
|
13
|
-
resendInText:
|
|
13
|
+
resendInText: any;
|
|
14
14
|
backToLoginButton: {
|
|
15
|
-
text:
|
|
15
|
+
text: any;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=index.content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getResetPasswordContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n sendRecoveryEmailButton: {\n text: t({\n en: 'Send recovery email',\n fr: 'Envoyer un e-mail de récupération',\n es: 'Enviar correo de recuperación',\n }),\n ariaLabel: t({\n en: 'Click to send recovery email',\n fr: 'Cliquez pour envoyer un e-mail de récupération',\n es: 'Haz clic para enviar correo de recuperación',\n }),\n },\n resendRecoveryEmailButton: {\n text: t({\n en: 'Resend recovery email',\n fr: 'Renvoyer l’e-mail de récupération',\n es: 'Reenviar correo de recuperación',\n }),\n },\n resendInText: t({\n en: 'Resend in',\n fr: 'Renvoyer dans',\n es: 'Reenviar en',\n }),\n backToLoginButton: {\n text: t({\n en: 'Back to login',\n fr: 'Retour à la connexion',\n es: 'Volver al inicio de sesión',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,0BAA0B,OAAO;AAAA,EAC5C,YAAY;AAAA,IACV,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getResetPasswordContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n sendRecoveryEmailButton: {\n text: t({\n en: 'Send recovery email',\n fr: 'Envoyer un e-mail de récupération',\n es: 'Enviar correo de recuperación',\n }),\n ariaLabel: t({\n en: 'Click to send recovery email',\n fr: 'Cliquez pour envoyer un e-mail de récupération',\n es: 'Haz clic para enviar correo de recuperación',\n }),\n },\n resendRecoveryEmailButton: {\n text: t({\n en: 'Resend recovery email',\n fr: 'Renvoyer l’e-mail de récupération',\n es: 'Reenviar correo de recuperación',\n }),\n },\n resendInText: t({\n en: 'Resend in',\n fr: 'Renvoyer dans',\n es: 'Reenviar en',\n }),\n backToLoginButton: {\n text: t({\n en: 'Back to login',\n fr: 'Retour à la connexion',\n es: 'Volver al inicio de sesión',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,0BAA0B,OAAO;AAAA,EAC5C,YAAY;AAAA,IACV,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,yBAAyB;AAAA,IACvB,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc,EAAE;AAAA,IACd,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAAA,EACD,mBAAmB;AAAA,IACjB,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInForm.cjs","sources":["../../../../src/components/Auth/SignInForm/SignInForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { ExternalsLoginButtons } from '../ExternalsLoginButtons';\nimport { getSignInContent } from './index.content';\nimport { getSignInSchema, type SignIn } from './SignInSchema';\n\ntype SignInFormProps = {\n onSubmitSuccess: (data: SignIn) => Promise<void>;\n onClickForgotPassword: () => void;\n onClickSignUp: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignInForm: FC<SignInFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickForgotPassword,\n onClickSignUp,\n}) => {\n const SignInSchema = getSignInSchema();\n const { form, isSubmitting } = useForm(SignInSchema);\n const signInContent = getSignInContent();\n\n return (\n <>\n <Form\n schema={SignInSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={signInContent.emailInput.label}\n placeholder={signInContent.emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n />\n\n <Form.InputPassword\n name=\"password\"\n label={signInContent.passwordInput.label}\n placeholder={signInContent.passwordInput.placeholder}\n isRequired\n autoComplete=\"current-password\"\n />\n </div>\n\n <Form.Button\n className=\"ml-auto mt-2 block\"\n variant=\"link\"\n label={signInContent.forgotPasswordLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickForgotPassword}\n >\n {signInContent.forgotPasswordLink.text}\n </Form.Button>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signInContent.loginButton.ariaLabel}\n >\n {signInContent.loginButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-xs\">\n {signInContent.signUpLink.message}\n <Form.Button\n variant=\"link\"\n label={signInContent.signUpLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickSignUp}\n >\n {signInContent.signUpLink.text}\n </Form.Button>\n </span>\n </Form>\n <ExternalsLoginButtons />\n </>\n );\n};\n"],"names":["getSignInSchema","useForm","getSignInContent","jsxs","Fragment","Form","jsx","ExternalsLoginButtons"],"mappings":";;;;;;;;;;AAeO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,eAAeA,wCAAAA;
|
|
1
|
+
{"version":3,"file":"SignInForm.cjs","sources":["../../../../src/components/Auth/SignInForm/SignInForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { ExternalsLoginButtons } from '../ExternalsLoginButtons';\nimport { getSignInContent } from './index.content';\nimport { getSignInSchema, type SignIn } from './SignInSchema';\n\ntype SignInFormProps = {\n onSubmitSuccess: (data: SignIn) => Promise<void>;\n onClickForgotPassword: () => void;\n onClickSignUp: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignInForm: FC<SignInFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickForgotPassword,\n onClickSignUp,\n}) => {\n const SignInSchema = getSignInSchema();\n const { form, isSubmitting } = useForm(SignInSchema);\n const signInContent = getSignInContent();\n\n return (\n <>\n <Form\n schema={SignInSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={signInContent.emailInput.label}\n placeholder={signInContent.emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n />\n\n <Form.InputPassword\n name=\"password\"\n label={signInContent.passwordInput.label}\n placeholder={signInContent.passwordInput.placeholder}\n isRequired\n autoComplete=\"current-password\"\n />\n </div>\n\n <Form.Button\n className=\"ml-auto mt-2 block\"\n variant=\"link\"\n label={signInContent.forgotPasswordLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickForgotPassword}\n >\n {signInContent.forgotPasswordLink.text}\n </Form.Button>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signInContent.loginButton.ariaLabel}\n >\n {signInContent.loginButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-xs\">\n {signInContent.signUpLink.message}\n <Form.Button\n variant=\"link\"\n label={signInContent.signUpLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickSignUp}\n >\n {signInContent.signUpLink.text}\n </Form.Button>\n </span>\n </Form>\n <ExternalsLoginButtons />\n </>\n );\n};\n"],"names":["getSignInSchema","useForm","getSignInContent","jsxs","Fragment","Form","jsx","ExternalsLoginButtons"],"mappings":";;;;;;;;;;AAeO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,eAAeA,wCAAAA,gBAAgB;AACrC,QAAM,EAAE,MAAM,iBAAiBC,yBAAAA,QAAQ,YAAY;AACnD,QAAM,gBAAgBC,yCAAAA,iBAAiB;AAEvC,SAEIC,2BAAA,kBAAA,KAAAC,uCAAA,EAAA,UAAA;AAAA,IAAAD,2BAAA,kBAAA;AAAA,MAACE,sCAAA;AAAA,MAAA;AAAA,QACC,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,QACA,cAAY;AAAA,QACZ,WAAU;AAAA,QACT,GAAG;AAAA,QAEJ,UAAA;AAAA,UAACF,2BAAAA,kBAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,YAAAG,2BAAA,kBAAA;AAAA,cAACD,sCAAAA,KAAK;AAAA,cAAL;AAAA,gBACC,MAAK;AAAA,gBACL,OAAO,cAAc,WAAW;AAAA,gBAChC,aAAa,cAAc,WAAW;AAAA,gBACtC,YAAU;AAAA,gBACV,cAAa;AAAA,cAAA;AAAA,YACf;AAAA,YAEAC,2BAAA,kBAAA;AAAA,cAACD,sCAAAA,KAAK;AAAA,cAAL;AAAA,gBACC,MAAK;AAAA,gBACL,OAAO,cAAc,cAAc;AAAA,gBACnC,aAAa,cAAc,cAAc;AAAA,gBACzC,YAAU;AAAA,gBACV,cAAa;AAAA,cAAA;AAAA,YAAA;AAAA,UACf,GACF;AAAA,UAEAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,WAAU;AAAA,cACV,SAAQ;AAAA,cACR,OAAO,cAAc,mBAAmB;AAAA,cACxC,OAAM;AAAA,cACN,MAAK;AAAA,cACL,SAAS;AAAA,cAER,wBAAc,mBAAmB;AAAA,YAAA;AAAA,UACpC;AAAA,UAEAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,WAAU;AAAA,cACV,MAAK;AAAA,cACL,OAAM;AAAA,cACN,WAAW;AAAA,cACX,OAAO,cAAc,YAAY;AAAA,cAEhC,wBAAc,YAAY;AAAA,YAAA;AAAA,UAC7B;AAAA,UAEAF,2BAAAA,kBAAAA,KAAC,QAAK,EAAA,WAAU,mGACb,UAAA;AAAA,YAAA,cAAc,WAAW;AAAA,YAC1BG,2BAAA,kBAAA;AAAA,cAACD,sCAAAA,KAAK;AAAA,cAAL;AAAA,gBACC,SAAQ;AAAA,gBACR,OAAO,cAAc,WAAW;AAAA,gBAChC,OAAM;AAAA,gBACN,MAAK;AAAA,gBACL,SAAS;AAAA,gBAER,wBAAc,WAAW;AAAA,cAAA;AAAA,YAAA;AAAA,UAC5B,EACF,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACF;AAAA,qDACCE,4DAAsB,uBAAA,CAAA,CAAA;AAAA,EAAA,GACzB;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInForm.mjs","sources":["../../../../src/components/Auth/SignInForm/SignInForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { ExternalsLoginButtons } from '../ExternalsLoginButtons';\nimport { getSignInContent } from './index.content';\nimport { getSignInSchema, type SignIn } from './SignInSchema';\n\ntype SignInFormProps = {\n onSubmitSuccess: (data: SignIn) => Promise<void>;\n onClickForgotPassword: () => void;\n onClickSignUp: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignInForm: FC<SignInFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickForgotPassword,\n onClickSignUp,\n}) => {\n const SignInSchema = getSignInSchema();\n const { form, isSubmitting } = useForm(SignInSchema);\n const signInContent = getSignInContent();\n\n return (\n <>\n <Form\n schema={SignInSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={signInContent.emailInput.label}\n placeholder={signInContent.emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n />\n\n <Form.InputPassword\n name=\"password\"\n label={signInContent.passwordInput.label}\n placeholder={signInContent.passwordInput.placeholder}\n isRequired\n autoComplete=\"current-password\"\n />\n </div>\n\n <Form.Button\n className=\"ml-auto mt-2 block\"\n variant=\"link\"\n label={signInContent.forgotPasswordLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickForgotPassword}\n >\n {signInContent.forgotPasswordLink.text}\n </Form.Button>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signInContent.loginButton.ariaLabel}\n >\n {signInContent.loginButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-xs\">\n {signInContent.signUpLink.message}\n <Form.Button\n variant=\"link\"\n label={signInContent.signUpLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickSignUp}\n >\n {signInContent.signUpLink.text}\n </Form.Button>\n </span>\n </Form>\n <ExternalsLoginButtons />\n </>\n );\n};\n"],"names":["jsxs","Fragment","jsx"],"mappings":";;;;;;;;AAeO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"SignInForm.mjs","sources":["../../../../src/components/Auth/SignInForm/SignInForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { ExternalsLoginButtons } from '../ExternalsLoginButtons';\nimport { getSignInContent } from './index.content';\nimport { getSignInSchema, type SignIn } from './SignInSchema';\n\ntype SignInFormProps = {\n onSubmitSuccess: (data: SignIn) => Promise<void>;\n onClickForgotPassword: () => void;\n onClickSignUp: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignInForm: FC<SignInFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickForgotPassword,\n onClickSignUp,\n}) => {\n const SignInSchema = getSignInSchema();\n const { form, isSubmitting } = useForm(SignInSchema);\n const signInContent = getSignInContent();\n\n return (\n <>\n <Form\n schema={SignInSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={signInContent.emailInput.label}\n placeholder={signInContent.emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n />\n\n <Form.InputPassword\n name=\"password\"\n label={signInContent.passwordInput.label}\n placeholder={signInContent.passwordInput.placeholder}\n isRequired\n autoComplete=\"current-password\"\n />\n </div>\n\n <Form.Button\n className=\"ml-auto mt-2 block\"\n variant=\"link\"\n label={signInContent.forgotPasswordLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickForgotPassword}\n >\n {signInContent.forgotPasswordLink.text}\n </Form.Button>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signInContent.loginButton.ariaLabel}\n >\n {signInContent.loginButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-xs\">\n {signInContent.signUpLink.message}\n <Form.Button\n variant=\"link\"\n label={signInContent.signUpLink.ariaLabel}\n color=\"text\"\n size=\"sm\"\n onClick={onClickSignUp}\n >\n {signInContent.signUpLink.text}\n </Form.Button>\n </span>\n </Form>\n <ExternalsLoginButtons />\n </>\n );\n};\n"],"names":["jsxs","Fragment","jsx"],"mappings":";;;;;;;;AAeO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,eAAe,gBAAgB;AACrC,QAAM,EAAE,MAAM,iBAAiB,QAAQ,YAAY;AACnD,QAAM,gBAAgB,iBAAiB;AAEvC,SAEIA,kCAAA,KAAAC,4BAAA,EAAA,UAAA;AAAA,IAAAD,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,QACA,cAAY;AAAA,QACZ,WAAU;AAAA,QACT,GAAG;AAAA,QAEJ,UAAA;AAAA,UAACA,kCAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,YAAAE,kCAAA;AAAA,cAAC,KAAK;AAAA,cAAL;AAAA,gBACC,MAAK;AAAA,gBACL,OAAO,cAAc,WAAW;AAAA,gBAChC,aAAa,cAAc,WAAW;AAAA,gBACtC,YAAU;AAAA,gBACV,cAAa;AAAA,cAAA;AAAA,YACf;AAAA,YAEAA,kCAAA;AAAA,cAAC,KAAK;AAAA,cAAL;AAAA,gBACC,MAAK;AAAA,gBACL,OAAO,cAAc,cAAc;AAAA,gBACnC,aAAa,cAAc,cAAc;AAAA,gBACzC,YAAU;AAAA,gBACV,cAAa;AAAA,cAAA;AAAA,YAAA;AAAA,UACf,GACF;AAAA,UAEAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,WAAU;AAAA,cACV,SAAQ;AAAA,cACR,OAAO,cAAc,mBAAmB;AAAA,cACxC,OAAM;AAAA,cACN,MAAK;AAAA,cACL,SAAS;AAAA,cAER,wBAAc,mBAAmB;AAAA,YAAA;AAAA,UACpC;AAAA,UAEAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,WAAU;AAAA,cACV,MAAK;AAAA,cACL,OAAM;AAAA,cACN,WAAW;AAAA,cACX,OAAO,cAAc,YAAY;AAAA,cAEhC,wBAAc,YAAY;AAAA,YAAA;AAAA,UAC7B;AAAA,UAEAF,kCAAAA,KAAC,QAAK,EAAA,WAAU,mGACb,UAAA;AAAA,YAAA,cAAc,WAAW;AAAA,YAC1BE,kCAAA;AAAA,cAAC,KAAK;AAAA,cAAL;AAAA,gBACC,SAAQ;AAAA,gBACR,OAAO,cAAc,WAAW;AAAA,gBAChC,OAAM;AAAA,gBACN,MAAK;AAAA,gBACL,SAAS;AAAA,gBAER,wBAAc,WAAW;AAAA,cAAA;AAAA,YAAA;AAAA,UAC5B,EACF,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACF;AAAA,0CACC,uBAAsB,CAAA,CAAA;AAAA,EAAA,GACzB;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInSchema.cjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignInSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your username',\n fr: 'Veuillez saisir votre nom d’utilisateur',\n es: 'Por favor, ingrese su nombre de usuario',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid username',\n fr: 'Veuillez saisir un nom d’utilisateur valide',\n es: 'Por favor, ingrese un nombre de usuario válido',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .default(''),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(1, { message: invalidTypeErrorPassword })\n .default(''),\n });\n};\nexport type SignIn = z.infer<ReturnType<typeof getSignInSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,QAAQ,EAAE;AAAA,IACb,UAAUA,MACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SignInSchema.cjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignInSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your username',\n fr: 'Veuillez saisir votre nom d’utilisateur',\n es: 'Por favor, ingrese su nombre de usuario',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid username',\n fr: 'Veuillez saisir un nom d’utilisateur valide',\n es: 'Por favor, ingrese un nombre de usuario válido',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .default(''),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(1, { message: invalidTypeErrorPassword })\n .default(''),\n });\n};\nexport type SignIn = z.infer<ReturnType<typeof getSignInSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,QAAQ,EAAE;AAAA,IACb,UAAUA,MACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,yBAA0B,CAAA,EAC5C,QAAQ,EAAE;AAAA,EAAA,CACd;AACH;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInSchema.mjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignInSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your username',\n fr: 'Veuillez saisir votre nom d’utilisateur',\n es: 'Por favor, ingrese su nombre de usuario',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid username',\n fr: 'Veuillez saisir un nom d’utilisateur valide',\n es: 'Por favor, ingrese un nombre de usuario válido',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .default(''),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(1, { message: invalidTypeErrorPassword })\n .default(''),\n });\n};\nexport type SignIn = z.infer<ReturnType<typeof getSignInSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2B,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EAAE,OAAO;AAAA,IACd,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,QAAQ,EAAE;AAAA,IACb,UAAU,EACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SignInSchema.mjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignInSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your username',\n fr: 'Veuillez saisir votre nom d’utilisateur',\n es: 'Por favor, ingrese su nombre de usuario',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid username',\n fr: 'Veuillez saisir un nom d’utilisateur valide',\n es: 'Por favor, ingrese un nombre de usuario válido',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n return z.object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .default(''),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(1, { message: invalidTypeErrorPassword })\n .default(''),\n });\n};\nexport type SignIn = z.infer<ReturnType<typeof getSignInSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2B,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EAAE,OAAO;AAAA,IACd,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,QAAQ,EAAE;AAAA,IACb,UAAU,EACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,yBAA0B,CAAA,EAC5C,QAAQ,EAAE;AAAA,EAAA,CACd;AACH;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignInContent = () => ({\n forgotPasswordLink: {\n ariaLabel: t({\n en: 'Forgot your password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n text: t({\n en: 'Forgot password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n },\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n loginButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signInButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signUpLink: {\n message: t({\n en: 'Don’t have an account?',\n fr: 'Vous n’avez pas de compte ?',\n es: '¿No tienes una cuenta?',\n }),\n ariaLabel: t({\n en: 'Click to go to create an account page',\n fr: 'Cliquez pour aller à la page de création de compte',\n es: 'Haga clic para ir a la página de creación de cuenta',\n }),\n text: t({\n en: 'Create an account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignInContent = () => ({\n forgotPasswordLink: {\n ariaLabel: t({\n en: 'Forgot your password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n text: t({\n en: 'Forgot password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n },\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n loginButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signInButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signUpLink: {\n message: t({\n en: 'Don’t have an account?',\n fr: 'Vous n’avez pas de compte ?',\n es: '¿No tienes una cuenta?',\n }),\n ariaLabel: t({\n en: 'Click to go to create an account page',\n fr: 'Cliquez pour aller à la page de création de compte',\n es: 'Haga clic para ir a la página de creación de cuenta',\n }),\n text: t({\n en: 'Create an account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,aAAa;AAAA,IACX,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,SAASA,cAAAA,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export declare const getSignInContent: () => {
|
|
2
2
|
forgotPasswordLink: {
|
|
3
|
-
ariaLabel:
|
|
4
|
-
text:
|
|
3
|
+
ariaLabel: any;
|
|
4
|
+
text: any;
|
|
5
5
|
};
|
|
6
6
|
emailInput: {
|
|
7
|
-
label:
|
|
8
|
-
placeholder:
|
|
7
|
+
label: any;
|
|
8
|
+
placeholder: any;
|
|
9
9
|
};
|
|
10
10
|
passwordInput: {
|
|
11
|
-
label:
|
|
12
|
-
placeholder:
|
|
11
|
+
label: any;
|
|
12
|
+
placeholder: any;
|
|
13
13
|
};
|
|
14
14
|
loginButton: {
|
|
15
|
-
text:
|
|
16
|
-
ariaLabel:
|
|
15
|
+
text: any;
|
|
16
|
+
ariaLabel: any;
|
|
17
17
|
};
|
|
18
18
|
signInButton: {
|
|
19
|
-
text:
|
|
20
|
-
ariaLabel:
|
|
19
|
+
text: any;
|
|
20
|
+
ariaLabel: any;
|
|
21
21
|
};
|
|
22
22
|
signUpLink: {
|
|
23
|
-
message:
|
|
24
|
-
ariaLabel:
|
|
25
|
-
text:
|
|
23
|
+
message: any;
|
|
24
|
+
ariaLabel: any;
|
|
25
|
+
text: any;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=index.content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignInContent = () => ({\n forgotPasswordLink: {\n ariaLabel: t({\n en: 'Forgot your password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n text: t({\n en: 'Forgot password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n },\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n loginButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signInButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signUpLink: {\n message: t({\n en: 'Don’t have an account?',\n fr: 'Vous n’avez pas de compte ?',\n es: '¿No tienes una cuenta?',\n }),\n ariaLabel: t({\n en: 'Click to go to create an account page',\n fr: 'Cliquez pour aller à la page de création de compte',\n es: 'Haga clic para ir a la página de creación de cuenta',\n }),\n text: t({\n en: 'Create an account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignInContent = () => ({\n forgotPasswordLink: {\n ariaLabel: t({\n en: 'Forgot your password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n text: t({\n en: 'Forgot password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n },\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n loginButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signInButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signUpLink: {\n message: t({\n en: 'Don’t have an account?',\n fr: 'Vous n’avez pas de compte ?',\n es: '¿No tienes una cuenta?',\n }),\n ariaLabel: t({\n en: 'Click to go to create an account page',\n fr: 'Cliquez pour aller à la page de création de compte',\n es: 'Haga clic para ir a la página de creación de cuenta',\n }),\n text: t({\n en: 'Create an account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,aAAa;AAAA,IACX,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,SAAS,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpForm.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getSignUpContent } from './index.content';\nimport { getSignUpSchema, type SignUp } from './SignUpSchema';\n\ntype SignUpFormProps = {\n onSubmitSuccess: (data: SignUp) => Promise<void>;\n onClickBackToSignIn: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignUpForm: FC<SignUpFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToSignIn,\n}) => {\n const {\n emailInput,\n passwordInput,\n passwordConfirmationInput,\n signUpButton,\n loginLink,\n } = getSignUpContent();\n const SignUpSchema = getSignUpSchema();\n const { form, isSubmitting } = useForm(SignUpSchema);\n\n return (\n <Form\n schema={SignUpSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n\n <Form.InputPassword\n name=\"password\"\n label={passwordInput.label}\n placeholder={passwordInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n\n <Form.InputPassword\n name=\"passwordConfirmation\"\n label={passwordConfirmationInput.label}\n placeholder={passwordConfirmationInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signUpButton.ariaLabel}\n >\n {signUpButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-center align-middle text-xs\">\n {loginLink.message}\n <Form.Button\n variant=\"link\"\n label={loginLink.ariaLabel}\n color=\"text\"\n onClick={onClickBackToSignIn}\n >\n {loginLink.text}\n </Form.Button>\n </span>\n </Form>\n );\n};\n"],"names":["getSignUpContent","getSignUpSchema","useForm","jsxs","Form","jsx"],"mappings":";;;;;;;;;AAaO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACEA,
|
|
1
|
+
{"version":3,"file":"SignUpForm.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getSignUpContent } from './index.content';\nimport { getSignUpSchema, type SignUp } from './SignUpSchema';\n\ntype SignUpFormProps = {\n onSubmitSuccess: (data: SignUp) => Promise<void>;\n onClickBackToSignIn: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignUpForm: FC<SignUpFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToSignIn,\n}) => {\n const {\n emailInput,\n passwordInput,\n passwordConfirmationInput,\n signUpButton,\n loginLink,\n } = getSignUpContent();\n const SignUpSchema = getSignUpSchema();\n const { form, isSubmitting } = useForm(SignUpSchema);\n\n return (\n <Form\n schema={SignUpSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n\n <Form.InputPassword\n name=\"password\"\n label={passwordInput.label}\n placeholder={passwordInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n\n <Form.InputPassword\n name=\"passwordConfirmation\"\n label={passwordConfirmationInput.label}\n placeholder={passwordConfirmationInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signUpButton.ariaLabel}\n >\n {signUpButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-center align-middle text-xs\">\n {loginLink.message}\n <Form.Button\n variant=\"link\"\n label={loginLink.ariaLabel}\n color=\"text\"\n onClick={onClickBackToSignIn}\n >\n {loginLink.text}\n </Form.Button>\n </span>\n </Form>\n );\n};\n"],"names":["getSignUpContent","getSignUpSchema","useForm","jsxs","Form","jsx"],"mappings":";;;;;;;;;AAaO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACEA,0DAAiB;AACrB,QAAM,eAAeC,wCAAAA,gBAAgB;AACrC,QAAM,EAAE,MAAM,iBAAiBC,yBAAAA,QAAQ,YAAY;AAGjD,SAAAC,2BAAA,kBAAA;AAAA,IAACC,sCAAA;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACX,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACD,2BAAAA,kBAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,UAAAE,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,WAAW;AAAA,cAClB,aAAa,WAAW;AAAA,cACxB,YAAU;AAAA,cACV,cAAa;AAAA,cACb,WAAW;AAAA,cACX,WAAW;AAAA,YAAA;AAAA,UACb;AAAA,UAEAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,cAAc;AAAA,cACrB,aAAa,cAAc;AAAA,cAC3B,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UAEAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,0BAA0B;AAAA,cACjC,aAAa,0BAA0B;AAAA,cACvC,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ,GACF;AAAA,QAEAC,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,OAAO,aAAa;AAAA,YAEnB,UAAa,aAAA;AAAA,UAAA;AAAA,QAChB;AAAA,QAEAD,2BAAAA,kBAAAA,KAAC,QAAK,EAAA,WAAU,4HACb,UAAA;AAAA,UAAU,UAAA;AAAA,UACXE,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,SAAQ;AAAA,cACR,OAAO,UAAU;AAAA,cACjB,OAAM;AAAA,cACN,SAAS;AAAA,cAER,UAAU,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACb,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpForm.mjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getSignUpContent } from './index.content';\nimport { getSignUpSchema, type SignUp } from './SignUpSchema';\n\ntype SignUpFormProps = {\n onSubmitSuccess: (data: SignUp) => Promise<void>;\n onClickBackToSignIn: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignUpForm: FC<SignUpFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToSignIn,\n}) => {\n const {\n emailInput,\n passwordInput,\n passwordConfirmationInput,\n signUpButton,\n loginLink,\n } = getSignUpContent();\n const SignUpSchema = getSignUpSchema();\n const { form, isSubmitting } = useForm(SignUpSchema);\n\n return (\n <Form\n schema={SignUpSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n\n <Form.InputPassword\n name=\"password\"\n label={passwordInput.label}\n placeholder={passwordInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n\n <Form.InputPassword\n name=\"passwordConfirmation\"\n label={passwordConfirmationInput.label}\n placeholder={passwordConfirmationInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signUpButton.ariaLabel}\n >\n {signUpButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-center align-middle text-xs\">\n {loginLink.message}\n <Form.Button\n variant=\"link\"\n label={loginLink.ariaLabel}\n color=\"text\"\n onClick={onClickBackToSignIn}\n >\n {loginLink.text}\n </Form.Button>\n </span>\n </Form>\n );\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;;;;AAaO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACE,iBAAiB;AACrB,QAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"SignUpForm.mjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpForm.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { Form, useForm } from '../../Form';\nimport { getSignUpContent } from './index.content';\nimport { getSignUpSchema, type SignUp } from './SignUpSchema';\n\ntype SignUpFormProps = {\n onSubmitSuccess: (data: SignUp) => Promise<void>;\n onClickBackToSignIn: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const SignUpForm: FC<SignUpFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToSignIn,\n}) => {\n const {\n emailInput,\n passwordInput,\n passwordConfirmationInput,\n signUpButton,\n loginLink,\n } = getSignUpContent();\n const SignUpSchema = getSignUpSchema();\n const { form, isSubmitting } = useForm(SignUpSchema);\n\n return (\n <Form\n schema={SignUpSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n name=\"email\"\n label={emailInput.label}\n placeholder={emailInput.placeholder}\n isRequired\n autoComplete=\"email\"\n minLength={5}\n maxLength={50}\n />\n\n <Form.InputPassword\n name=\"password\"\n label={passwordInput.label}\n placeholder={passwordInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n\n <Form.InputPassword\n name=\"passwordConfirmation\"\n label={passwordConfirmationInput.label}\n placeholder={passwordConfirmationInput.placeholder}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n label={signUpButton.ariaLabel}\n >\n {signUpButton.text}\n </Form.Button>\n\n <span className=\"text-neutral dark:text-neutral-dark m-auto mt-3 flex w-full items-center justify-center text-center align-middle text-xs\">\n {loginLink.message}\n <Form.Button\n variant=\"link\"\n label={loginLink.ariaLabel}\n color=\"text\"\n onClick={onClickBackToSignIn}\n >\n {loginLink.text}\n </Form.Button>\n </span>\n </Form>\n );\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;;;;AAaO,MAAM,aAAkC,CAAC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACE,iBAAiB;AACrB,QAAM,eAAe,gBAAgB;AACrC,QAAM,EAAE,MAAM,iBAAiB,QAAQ,YAAY;AAGjD,SAAAA,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACX,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACA,kCAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,UAAAC,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,WAAW;AAAA,cAClB,aAAa,WAAW;AAAA,cACxB,YAAU;AAAA,cACV,cAAa;AAAA,cACb,WAAW;AAAA,cACX,WAAW;AAAA,YAAA;AAAA,UACb;AAAA,UAEAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,cAAc;AAAA,cACrB,aAAa,cAAc;AAAA,cAC3B,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UAEAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,0BAA0B;AAAA,cACjC,aAAa,0BAA0B;AAAA,cACvC,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ,GACF;AAAA,QAEAA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,OAAO,aAAa;AAAA,YAEnB,UAAa,aAAA;AAAA,UAAA;AAAA,QAChB;AAAA,QAEAD,kCAAAA,KAAC,QAAK,EAAA,WAAU,4HACb,UAAA;AAAA,UAAU,UAAA;AAAA,UACXC,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,SAAQ;AAAA,cACR,OAAO,UAAU;AAAA,cACjB,OAAM;AAAA,cACN,SAAS;AAAA,cAER,UAAU,UAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACb,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpSchema.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoCA,cAAAA,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuCA,cAAAA,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EACJ,OAAO;AAAA,IACN,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAUA,MACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsBA,MACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SignUpSchema.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoCA,cAAAA,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuCA,cAAAA,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EACJ,OAAO;AAAA,IACN,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAUA,MACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsBA,MACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,qCAAsC,CAAA;AAAA,EAAA,CAC5D,EACA,OAAO,CAAC,SAAS,KAAK,aAAa,KAAK,sBAAsB;AAAA,IAC7D,SAAS;AAAA,IACT,MAAM,CAAC,sBAAsB;AAAA;AAAA,EAAA,CAC9B;AACL;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpSchema.mjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2B,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoC,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuC,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EACJ,OAAO;AAAA,IACN,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAU,EACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsB,EACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"SignUpSchema.mjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2B,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoC,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuC,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EACJ,OAAO;AAAA,IACN,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAU,EACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsB,EACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,qCAAsC,CAAA;AAAA,EAAA,CAC5D,EACA,OAAO,CAAC,SAAS,KAAK,aAAa,KAAK,sBAAsB;AAAA,IAC7D,SAAS;AAAA,IACT,MAAM,CAAC,sBAAsB;AAAA;AAAA,EAAA,CAC9B;AACL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/SignUpForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignUpContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n passwordConfirmationInput: {\n label: t({\n en: 'Password Confirmation',\n fr: 'Confirmation du mot de passe',\n es: 'Confirmación de contraseña',\n }),\n placeholder: t({\n en: 'Enter password again',\n fr: 'Entrez votre mot de passe à nouveau',\n es: 'Ingrese su contraseña nuevamente',\n }),\n },\n signUpButton: {\n text: t({\n en: 'Create account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n ariaLabel: t({\n en: 'Submit form to create account',\n fr: 'Soumettre le formulaire pour créer un compte',\n es: 'Enviar formulario para crear cuenta',\n }),\n },\n loginLink: {\n message: t({\n en: 'You already have an account?',\n fr: 'Vous avez déjà un compte ?',\n es: '¿Ya tienes una cuenta?',\n }),\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to go to login page',\n fr: 'Cliquez pour aller à la page de connexion',\n es: 'Haz clic para ir a la página de inicio de sesión',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,
|
|
1
|
+
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/SignUpForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignUpContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n passwordConfirmationInput: {\n label: t({\n en: 'Password Confirmation',\n fr: 'Confirmation du mot de passe',\n es: 'Confirmación de contraseña',\n }),\n placeholder: t({\n en: 'Enter password again',\n fr: 'Entrez votre mot de passe à nouveau',\n es: 'Ingrese su contraseña nuevamente',\n }),\n },\n signUpButton: {\n text: t({\n en: 'Create account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n ariaLabel: t({\n en: 'Submit form to create account',\n fr: 'Soumettre le formulaire pour créer un compte',\n es: 'Enviar formulario para crear cuenta',\n }),\n },\n loginLink: {\n message: t({\n en: 'You already have an account?',\n fr: 'Vous avez déjà un compte ?',\n es: '¿Ya tienes una cuenta?',\n }),\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to go to login page',\n fr: 'Cliquez pour aller à la page de connexion',\n es: 'Haz clic para ir a la página de inicio de sesión',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,WAAW;AAAA,IACT,SAASA,cAAAA,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export declare const getSignUpContent: () => {
|
|
2
2
|
emailInput: {
|
|
3
|
-
label:
|
|
4
|
-
placeholder:
|
|
3
|
+
label: any;
|
|
4
|
+
placeholder: any;
|
|
5
5
|
};
|
|
6
6
|
passwordInput: {
|
|
7
|
-
label:
|
|
8
|
-
placeholder:
|
|
7
|
+
label: any;
|
|
8
|
+
placeholder: any;
|
|
9
9
|
};
|
|
10
10
|
passwordConfirmationInput: {
|
|
11
|
-
label:
|
|
12
|
-
placeholder:
|
|
11
|
+
label: any;
|
|
12
|
+
placeholder: any;
|
|
13
13
|
};
|
|
14
14
|
signUpButton: {
|
|
15
|
-
text:
|
|
16
|
-
ariaLabel:
|
|
15
|
+
text: any;
|
|
16
|
+
ariaLabel: any;
|
|
17
17
|
};
|
|
18
18
|
loginLink: {
|
|
19
|
-
message:
|
|
20
|
-
text:
|
|
21
|
-
ariaLabel:
|
|
19
|
+
message: any;
|
|
20
|
+
text: any;
|
|
21
|
+
ariaLabel: any;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=index.content.d.ts.map
|