@intlayer/design-system 3.5.3 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.vite/manifest.json +274 -125
- package/dist/CopyButton-Cxu3goRg.cjs +59 -0
- package/dist/CopyButton-Cxu3goRg.cjs.map +1 -0
- package/dist/CopyButton-DlcDlf6U.js +60 -0
- package/dist/CopyButton-DlcDlf6U.js.map +1 -0
- package/dist/components/Auth/AuthModal/index.cjs +4 -0
- package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
- package/dist/components/Auth/AuthModal/index.mjs +4 -0
- package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +26 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +15 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/{ChangePasswordSchema.d.ts → useChangePasswordSchema.d.ts} +3 -3
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +11 -10
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +12 -11
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +86 -32
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +13 -9
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +85 -31
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +21 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.cjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/index.cjs +2 -2
- package/dist/components/Auth/SignInForm/index.d.ts +1 -1
- package/dist/components/Auth/SignInForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/index.mjs +2 -2
- package/dist/components/Auth/SignInForm/signIn.content.cjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts +31 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +11 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/{SignInSchema.d.ts → useSignInSchema.d.ts} +3 -3
- package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +3 -3
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/index.cjs +2 -2
- package/dist/components/Auth/SignUpForm/index.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/index.mjs +2 -2
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +24 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +14 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/{SignUpSchema.d.ts → useSignUpSchema.d.ts} +3 -3
- package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -0
- package/dist/components/Auth/index.cjs +8 -8
- package/dist/components/Auth/index.mjs +8 -8
- package/dist/components/Auth/useAuth/useSession.cjs +1 -0
- package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useSession.mjs +1 -0
- package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +8 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -0
- package/dist/components/Breadcrumb/index.cjs +103 -34
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts +6 -2
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs +103 -34
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/Button/Button.cjs +7 -8
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.mjs +7 -8
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Container/index.cjs +2 -2
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.mjs +2 -2
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/index.cjs +4 -0
- package/dist/components/DictionaryEditor/index.cjs.map +1 -1
- package/dist/components/DictionaryEditor/index.mjs +4 -0
- package/dist/components/DictionaryEditor/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +2 -2
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/{dictionaryFormSchema.d.ts → useDictionaryFormSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +17 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/{DictionaryDetailsSchema.d.ts → useDictionaryDetailsSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +2 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +63 -20
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +66 -23
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts +18 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/Headers/index.cjs +1 -1
- package/dist/components/Headers/index.cjs.map +1 -1
- package/dist/components/Headers/index.mjs +1 -1
- package/dist/components/Headers/index.mjs.map +1 -1
- package/dist/components/IDE/CodeRender copy.cjs +141 -0
- package/dist/components/IDE/CodeRender copy.cjs.map +1 -0
- package/dist/components/IDE/CodeRender copy.d.ts +14 -0
- package/dist/components/IDE/CodeRender copy.d.ts.map +1 -0
- package/dist/components/IDE/CodeRender copy.mjs +141 -0
- package/dist/components/IDE/CodeRender copy.mjs.map +1 -0
- package/dist/components/IDE/CodeRender.cjs +39 -625
- package/dist/components/IDE/CodeRender.cjs.map +1 -1
- package/dist/components/IDE/CodeRender.d.ts +4 -5
- package/dist/components/IDE/CodeRender.d.ts.map +1 -1
- package/dist/components/IDE/CodeRender.mjs +40 -604
- package/dist/components/IDE/CodeRender.mjs.map +1 -1
- package/dist/components/IDE/CopyButton.cjs +40 -0
- package/dist/components/IDE/CopyButton.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.cjs +26 -0
- package/dist/components/IDE/CopyButton.content.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.d.ts +8 -0
- package/dist/components/IDE/CopyButton.content.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.content.mjs +26 -0
- package/dist/components/IDE/CopyButton.content.mjs.map +1 -0
- package/dist/components/IDE/CopyButton.d.ts +7 -0
- package/dist/components/IDE/CopyButton.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.mjs +40 -0
- package/dist/components/IDE/CopyButton.mjs.map +1 -0
- 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 +10 -2
- package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.d.ts.map +1 -1
- package/dist/components/IDE/MarkDownRender.mjs +10 -2
- package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
- package/dist/components/IDE/MonacoCode.cjs +129 -0
- package/dist/components/IDE/MonacoCode.cjs.map +1 -0
- package/dist/components/IDE/MonacoCode.d.ts +14 -0
- package/dist/components/IDE/MonacoCode.d.ts.map +1 -0
- package/dist/components/IDE/MonacoCode.mjs +129 -0
- package/dist/components/IDE/MonacoCode.mjs.map +1 -0
- package/dist/components/Link/Link.cjs +50 -31
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.d.ts +3 -0
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.mjs +51 -32
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Link/index.cjs +1 -0
- package/dist/components/Link/index.cjs.map +1 -1
- package/dist/components/Link/index.mjs +3 -2
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +122 -42
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +2 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +123 -43
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +86 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +14 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +87 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
- package/dist/components/MarkDownRender/index.cjs +4 -2
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.d.ts +3 -1
- package/dist/components/MarkDownRender/index.d.ts.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +4 -2
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +8 -10
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.mjs +8 -10
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/index.cjs +13 -8
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.mjs +14 -9
- package/dist/components/index.mjs.map +1 -1
- package/dist/design-system.css +235 -0
- package/dist/hooks/index.cjs +6 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.mjs +7 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +8 -2
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +4 -0
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +8 -2
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/index.cjs +3 -0
- package/dist/hooks/useAsync/index.cjs.map +1 -1
- package/dist/hooks/useAsync/index.d.ts +1 -0
- package/dist/hooks/useAsync/index.d.ts.map +1 -1
- package/dist/hooks/useAsync/index.mjs +4 -1
- package/dist/hooks/useAsync/index.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +2 -9
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs +3 -10
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +35 -11
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +3 -0
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/dist/hooks/useIsDarkMode.cjs +15 -0
- package/dist/hooks/useIsDarkMode.cjs.map +1 -0
- package/dist/hooks/useIsDarkMode.d.ts +2 -0
- package/dist/hooks/useIsDarkMode.d.ts.map +1 -0
- package/dist/hooks/useIsDarkMode.mjs +15 -0
- package/dist/hooks/useIsDarkMode.mjs.map +1 -0
- package/dist/libs/intlayer-api/ai.cjs +24 -0
- package/dist/libs/intlayer-api/ai.cjs.map +1 -0
- package/dist/libs/intlayer-api/ai.d.ts +10 -0
- package/dist/libs/intlayer-api/ai.d.ts.map +1 -0
- package/dist/libs/intlayer-api/ai.mjs +24 -0
- package/dist/libs/intlayer-api/ai.mjs.map +1 -0
- package/dist/libs/intlayer-api/index.cjs +3 -1
- package/dist/libs/intlayer-api/index.cjs.map +1 -1
- package/dist/libs/intlayer-api/index.d.ts +6 -0
- package/dist/libs/intlayer-api/index.d.ts.map +1 -1
- package/dist/libs/intlayer-api/index.mjs +3 -1
- package/dist/libs/intlayer-api/index.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +19 -16
- package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
- package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
- package/dist/__vite-browser-external-r74dyCO2.js +0 -5
- package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
- package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.d.ts +0 -24
- package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
- package/dist/tailwind.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordSchema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;EA0EnC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAClC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { t } from "react-intlayer";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
const getChangePasswordSchema = () => {
|
|
4
|
-
const requiredErrorPassword = t({
|
|
5
|
-
en: "Please enter your current password",
|
|
6
|
-
fr: "Veuillez saisir votre mot de passe actuel",
|
|
7
|
-
es: "Por favor, ingrese su contraseña actual"
|
|
8
|
-
});
|
|
9
|
-
const invalidTypeErrorPassword = t({
|
|
10
|
-
en: "Please enter a valid password",
|
|
11
|
-
fr: "Veuillez saisir un mot de passe valide",
|
|
12
|
-
es: "Por favor, ingrese una contraseña válida"
|
|
13
|
-
});
|
|
14
|
-
const invalidPasswordLengthError = t({
|
|
15
|
-
en: "Your password must be at least 8 characters",
|
|
16
|
-
fr: "Votre mot de passe doit comporter au moins 8 caractères",
|
|
17
|
-
es: "Su contraseña debe tener al menos 8 caracteres"
|
|
18
|
-
});
|
|
19
|
-
const requiredErrorNewPassword = t({
|
|
20
|
-
en: "Please enter your new password",
|
|
21
|
-
fr: "Veuillez saisir votre nouveau mot de passe",
|
|
22
|
-
es: "Por favor, ingrese su nueva contraseña"
|
|
23
|
-
});
|
|
24
|
-
const invalidTypeErrorNewPassword = t({
|
|
25
|
-
en: "Please enter a valid new password",
|
|
26
|
-
fr: "Veuillez saisir un nouveau mot de passe valide",
|
|
27
|
-
es: "Por favor, ingrese una nueva contraseña válida"
|
|
28
|
-
});
|
|
29
|
-
const requiredErrorNewPasswordConfirmation = t({
|
|
30
|
-
en: "Please enter your new password again",
|
|
31
|
-
fr: "Veuillez saisir votre nouveau mot de passe à nouveau",
|
|
32
|
-
es: "Por favor, ingrese su nueva contraseña nuevamente"
|
|
33
|
-
});
|
|
34
|
-
const invalidTypeErrorNewPasswordConfirmation = t({
|
|
35
|
-
en: "Please enter a valid new password again",
|
|
36
|
-
es: "Por favor, ingrese una nueva contraseña válida nuevamente",
|
|
37
|
-
fr: "Veuillez saisir un nouveau mot de passe valide à nouveau"
|
|
38
|
-
});
|
|
39
|
-
const passwordNotMatchError = t({
|
|
40
|
-
en: "New password and password confirmation must match",
|
|
41
|
-
fr: "Le nouveau mot de passe et la confirmation de mot de passe doivent correspondre",
|
|
42
|
-
es: "La nueva contraseña y la confirmación de la contraseña deben coincidir"
|
|
43
|
-
});
|
|
44
|
-
return z.object({
|
|
45
|
-
currentPassword: z.string({
|
|
46
|
-
required_error: requiredErrorPassword,
|
|
47
|
-
invalid_type_error: invalidTypeErrorPassword
|
|
48
|
-
}).min(8, { message: invalidPasswordLengthError }),
|
|
49
|
-
newPassword: z.string({
|
|
50
|
-
required_error: requiredErrorNewPassword,
|
|
51
|
-
invalid_type_error: invalidTypeErrorNewPassword
|
|
52
|
-
}).min(8, { message: invalidPasswordLengthError }),
|
|
53
|
-
newPasswordConfirmation: z.string({
|
|
54
|
-
required_error: requiredErrorNewPasswordConfirmation,
|
|
55
|
-
invalid_type_error: invalidTypeErrorNewPasswordConfirmation
|
|
56
|
-
}).min(8, { message: invalidPasswordLengthError })
|
|
57
|
-
}).refine((data) => data.newPassword === data.newPasswordConfirmation, {
|
|
58
|
-
message: passwordNotMatchError,
|
|
59
|
-
path: ["newPasswordConfirmation"]
|
|
60
|
-
// This specifies which field the error should be associated with
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
export {
|
|
64
|
-
getChangePasswordSchema
|
|
65
|
-
};
|
|
66
|
-
//# sourceMappingURL=ChangePasswordSchema.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordSchema.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordSchema.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 getChangePasswordSchema = () => {\n const requiredErrorPassword = t({\n en: 'Please enter your current password',\n fr: 'Veuillez saisir votre mot de passe actuel',\n es: 'Por favor, ingrese su contraseña actual',\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 invalidPasswordLengthError = t({\n en: 'Your password must be at least 8 characters',\n fr: 'Votre mot de passe doit comporter au moins 8 caractères',\n es: 'Su contraseña debe tener al menos 8 caracteres',\n });\n\n const requiredErrorNewPassword = t({\n en: 'Please enter your new password',\n fr: 'Veuillez saisir votre nouveau mot de passe',\n es: 'Por favor, ingrese su nueva contraseña',\n });\n\n const invalidTypeErrorNewPassword = t({\n en: 'Please enter a valid new password',\n fr: 'Veuillez saisir un nouveau mot de passe valide',\n es: 'Por favor, ingrese una nueva contraseña válida',\n });\n\n const requiredErrorNewPasswordConfirmation = t({\n en: 'Please enter your new password again',\n fr: 'Veuillez saisir votre nouveau mot de passe à nouveau',\n es: 'Por favor, ingrese su nueva contraseña nuevamente',\n });\n\n const invalidTypeErrorNewPasswordConfirmation = t({\n en: 'Please enter a valid new password again',\n es: 'Por favor, ingrese una nueva contraseña válida nuevamente',\n fr: 'Veuillez saisir un nouveau mot de passe valide à nouveau',\n });\n\n const passwordNotMatchError = t({\n en: 'New password and password confirmation must match',\n fr: 'Le nouveau mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La nueva contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n currentPassword: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidPasswordLengthError }),\n newPassword: z\n .string({\n required_error: requiredErrorNewPassword,\n invalid_type_error: invalidTypeErrorNewPassword,\n })\n .min(8, { message: invalidPasswordLengthError }),\n newPasswordConfirmation: z\n .string({\n required_error: requiredErrorNewPasswordConfirmation,\n invalid_type_error: invalidTypeErrorNewPasswordConfirmation,\n })\n .min(8, { message: invalidPasswordLengthError }),\n })\n .refine((data) => data.newPassword === data.newPasswordConfirmation, {\n message: passwordNotMatchError,\n path: ['newPasswordConfirmation'], // This specifies which field the error should be associated with\n });\n};\nexport type ChangePassword = z.infer<\n ReturnType<typeof getChangePasswordSchema>\n>;\n"],"names":[],"mappings":";;AAKO,MAAM,0BAA0B,MAAM;AAC3C,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,6BAA6B,EAAE;AAAA,IACnC,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,8BAA8B,EAAE;AAAA,IACpC,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,0CAA0C,EAAE;AAAA,IAChD,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,iBAAiB,EACd,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,4BAA4B;AAAA,IACjD,aAAa,EACV,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,4BAA4B;AAAA,IACjD,yBAAyB,EACtB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,2BAA4B,CAAA;AAAA,EAAA,CAClD,EACA,OAAO,CAAC,SAAS,KAAK,gBAAgB,KAAK,yBAAyB;AAAA,IACnE,SAAS;AAAA,IACT,MAAM,CAAC,yBAAyB;AAAA;AAAA,EAAA,CACjC;AACL;"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const reactIntlayer = require("react-intlayer");
|
|
4
|
-
const getChangePasswordContent = () => ({
|
|
5
|
-
currentPasswordInput: {
|
|
6
|
-
label: reactIntlayer.t({
|
|
7
|
-
en: "Current password",
|
|
8
|
-
fr: "Mot de passe actuel",
|
|
9
|
-
es: "Contraseña actual"
|
|
10
|
-
}),
|
|
11
|
-
placeholder: reactIntlayer.t({
|
|
12
|
-
en: "Enter actual password",
|
|
13
|
-
fr: "Entrez votre mot de passe actuel",
|
|
14
|
-
es: "Ingresa tu contraseña actual"
|
|
15
|
-
})
|
|
16
|
-
},
|
|
17
|
-
newPasswordInput: {
|
|
18
|
-
label: reactIntlayer.t({
|
|
19
|
-
en: "New password",
|
|
20
|
-
fr: "Nouveau mot de passe",
|
|
21
|
-
es: "Nueva contraseña"
|
|
22
|
-
}),
|
|
23
|
-
placeholder: reactIntlayer.t({
|
|
24
|
-
en: "Enter new password",
|
|
25
|
-
fr: "Entrez votre nouveau mot de passe",
|
|
26
|
-
es: "Ingresa tu nueva contraseña"
|
|
27
|
-
})
|
|
28
|
-
},
|
|
29
|
-
confirmPasswordInput: {
|
|
30
|
-
label: reactIntlayer.t({
|
|
31
|
-
en: "Confirm new password",
|
|
32
|
-
fr: "Confirmez le nouveau mot de passe",
|
|
33
|
-
es: "Confirma tu nueva contraseña"
|
|
34
|
-
}),
|
|
35
|
-
placeholder: reactIntlayer.t({
|
|
36
|
-
en: "Confirm new password",
|
|
37
|
-
fr: "Confirmez votre nouveau mot de passe",
|
|
38
|
-
es: "Confirma tu nueva contraseña"
|
|
39
|
-
})
|
|
40
|
-
},
|
|
41
|
-
changePasswordButton: {
|
|
42
|
-
text: reactIntlayer.t({
|
|
43
|
-
en: "Change password",
|
|
44
|
-
fr: "Changer le mot de passe",
|
|
45
|
-
es: "Cambiar la contraseña"
|
|
46
|
-
}),
|
|
47
|
-
ariaLabel: reactIntlayer.t({
|
|
48
|
-
en: "Click to change password",
|
|
49
|
-
fr: "Cliquez pour changer le mot de passe",
|
|
50
|
-
es: "Haz clic para cambiar la contraseña"
|
|
51
|
-
})
|
|
52
|
-
},
|
|
53
|
-
backToHomeButton: {
|
|
54
|
-
text: reactIntlayer.t({
|
|
55
|
-
en: "Back to home page",
|
|
56
|
-
fr: "Retour à la page d’accueil",
|
|
57
|
-
es: "Volver a la página de inicio"
|
|
58
|
-
}),
|
|
59
|
-
ariaLabel: reactIntlayer.t({
|
|
60
|
-
en: "Click to go back to the home page",
|
|
61
|
-
fr: "Cliquez pour revenir à la page d’accueil",
|
|
62
|
-
es: "Haz clic para volver a la página de inicio"
|
|
63
|
-
})
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
exports.getChangePasswordContent = getChangePasswordContent;
|
|
67
|
-
//# sourceMappingURL=index.content.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/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 getChangePasswordContent = () => ({\n currentPasswordInput: {\n label: t({\n en: 'Current password',\n fr: 'Mot de passe actuel',\n es: 'Contraseña actual',\n }),\n placeholder: t({\n en: 'Enter actual password',\n fr: 'Entrez votre mot de passe actuel',\n es: 'Ingresa tu contraseña actual',\n }),\n },\n newPasswordInput: {\n label: t({\n en: 'New password',\n fr: 'Nouveau mot de passe',\n es: 'Nueva contraseña',\n }),\n placeholder: t({\n en: 'Enter new password',\n fr: 'Entrez votre nouveau mot de passe',\n es: 'Ingresa tu nueva contraseña',\n }),\n },\n confirmPasswordInput: {\n label: t({\n en: 'Confirm new password',\n fr: 'Confirmez le nouveau mot de passe',\n es: 'Confirma tu nueva contraseña',\n }),\n placeholder: t({\n en: 'Confirm new password',\n fr: 'Confirmez votre nouveau mot de passe',\n es: 'Confirma tu nueva contraseña',\n }),\n },\n changePasswordButton: {\n text: t({\n en: 'Change password',\n fr: 'Changer le mot de passe',\n es: 'Cambiar la contraseña',\n }),\n ariaLabel: t({\n en: 'Click to change password',\n fr: 'Cliquez pour changer le mot de passe',\n es: 'Haz clic para cambiar la contraseña',\n }),\n },\n backToHomeButton: {\n text: t({\n en: 'Back to home page',\n fr: 'Retour à la page d’accueil',\n es: 'Volver a la página de inicio',\n }),\n ariaLabel: t({\n en: 'Click to go back to the home page',\n fr: 'Cliquez pour revenir à la page d’accueil',\n es: 'Haz clic para volver a la página de inicio',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,2BAA2B,OAAO;AAAA,EAC7C,sBAAsB;AAAA,IACpB,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,kBAAkB;AAAA,IAChB,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,sBAAsB;AAAA,IACpB,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,sBAAsB;AAAA,IACpB,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,kBAAkB;AAAA,IAChB,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,23 +0,0 @@
|
|
|
1
|
-
export declare const getChangePasswordContent: () => {
|
|
2
|
-
currentPasswordInput: {
|
|
3
|
-
label: any;
|
|
4
|
-
placeholder: any;
|
|
5
|
-
};
|
|
6
|
-
newPasswordInput: {
|
|
7
|
-
label: any;
|
|
8
|
-
placeholder: any;
|
|
9
|
-
};
|
|
10
|
-
confirmPasswordInput: {
|
|
11
|
-
label: any;
|
|
12
|
-
placeholder: any;
|
|
13
|
-
};
|
|
14
|
-
changePasswordButton: {
|
|
15
|
-
text: any;
|
|
16
|
-
ariaLabel: any;
|
|
17
|
-
};
|
|
18
|
-
backToHomeButton: {
|
|
19
|
-
text: any;
|
|
20
|
-
ariaLabel: any;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=index.content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/index.content.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;CA6DnC,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { t } from "react-intlayer";
|
|
2
|
-
const getChangePasswordContent = () => ({
|
|
3
|
-
currentPasswordInput: {
|
|
4
|
-
label: t({
|
|
5
|
-
en: "Current password",
|
|
6
|
-
fr: "Mot de passe actuel",
|
|
7
|
-
es: "Contraseña actual"
|
|
8
|
-
}),
|
|
9
|
-
placeholder: t({
|
|
10
|
-
en: "Enter actual password",
|
|
11
|
-
fr: "Entrez votre mot de passe actuel",
|
|
12
|
-
es: "Ingresa tu contraseña actual"
|
|
13
|
-
})
|
|
14
|
-
},
|
|
15
|
-
newPasswordInput: {
|
|
16
|
-
label: t({
|
|
17
|
-
en: "New password",
|
|
18
|
-
fr: "Nouveau mot de passe",
|
|
19
|
-
es: "Nueva contraseña"
|
|
20
|
-
}),
|
|
21
|
-
placeholder: t({
|
|
22
|
-
en: "Enter new password",
|
|
23
|
-
fr: "Entrez votre nouveau mot de passe",
|
|
24
|
-
es: "Ingresa tu nueva contraseña"
|
|
25
|
-
})
|
|
26
|
-
},
|
|
27
|
-
confirmPasswordInput: {
|
|
28
|
-
label: t({
|
|
29
|
-
en: "Confirm new password",
|
|
30
|
-
fr: "Confirmez le nouveau mot de passe",
|
|
31
|
-
es: "Confirma tu nueva contraseña"
|
|
32
|
-
}),
|
|
33
|
-
placeholder: t({
|
|
34
|
-
en: "Confirm new password",
|
|
35
|
-
fr: "Confirmez votre nouveau mot de passe",
|
|
36
|
-
es: "Confirma tu nueva contraseña"
|
|
37
|
-
})
|
|
38
|
-
},
|
|
39
|
-
changePasswordButton: {
|
|
40
|
-
text: t({
|
|
41
|
-
en: "Change password",
|
|
42
|
-
fr: "Changer le mot de passe",
|
|
43
|
-
es: "Cambiar la contraseña"
|
|
44
|
-
}),
|
|
45
|
-
ariaLabel: t({
|
|
46
|
-
en: "Click to change password",
|
|
47
|
-
fr: "Cliquez pour changer le mot de passe",
|
|
48
|
-
es: "Haz clic para cambiar la contraseña"
|
|
49
|
-
})
|
|
50
|
-
},
|
|
51
|
-
backToHomeButton: {
|
|
52
|
-
text: t({
|
|
53
|
-
en: "Back to home page",
|
|
54
|
-
fr: "Retour à la page d’accueil",
|
|
55
|
-
es: "Volver a la página de inicio"
|
|
56
|
-
}),
|
|
57
|
-
ariaLabel: t({
|
|
58
|
-
en: "Click to go back to the home page",
|
|
59
|
-
fr: "Cliquez pour revenir à la page d’accueil",
|
|
60
|
-
es: "Haz clic para volver a la página de inicio"
|
|
61
|
-
})
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
export {
|
|
65
|
-
getChangePasswordContent
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=index.content.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/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 getChangePasswordContent = () => ({\n currentPasswordInput: {\n label: t({\n en: 'Current password',\n fr: 'Mot de passe actuel',\n es: 'Contraseña actual',\n }),\n placeholder: t({\n en: 'Enter actual password',\n fr: 'Entrez votre mot de passe actuel',\n es: 'Ingresa tu contraseña actual',\n }),\n },\n newPasswordInput: {\n label: t({\n en: 'New password',\n fr: 'Nouveau mot de passe',\n es: 'Nueva contraseña',\n }),\n placeholder: t({\n en: 'Enter new password',\n fr: 'Entrez votre nouveau mot de passe',\n es: 'Ingresa tu nueva contraseña',\n }),\n },\n confirmPasswordInput: {\n label: t({\n en: 'Confirm new password',\n fr: 'Confirmez le nouveau mot de passe',\n es: 'Confirma tu nueva contraseña',\n }),\n placeholder: t({\n en: 'Confirm new password',\n fr: 'Confirmez votre nouveau mot de passe',\n es: 'Confirma tu nueva contraseña',\n }),\n },\n changePasswordButton: {\n text: t({\n en: 'Change password',\n fr: 'Changer le mot de passe',\n es: 'Cambiar la contraseña',\n }),\n ariaLabel: t({\n en: 'Click to change password',\n fr: 'Cliquez pour changer le mot de passe',\n es: 'Haz clic para cambiar la contraseña',\n }),\n },\n backToHomeButton: {\n text: t({\n en: 'Back to home page',\n fr: 'Retour à la page d’accueil',\n es: 'Volver a la página de inicio',\n }),\n ariaLabel: t({\n en: 'Click to go back to the home page',\n fr: 'Cliquez pour revenir à la page d’accueil',\n es: 'Haz clic para volver a la página de inicio',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,2BAA2B,OAAO;AAAA,EAC7C,sBAAsB;AAAA,IACpB,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,kBAAkB;AAAA,IAChB,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,sBAAsB;AAAA,IACpB,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,sBAAsB;AAAA,IACpB,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,kBAAkB;AAAA,IAChB,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,EAAA;AAEL;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const reactIntlayer = require("react-intlayer");
|
|
4
|
-
const zod = require("zod");
|
|
5
|
-
const getResetPasswordSchema = () => {
|
|
6
|
-
const requiredErrorEmail = reactIntlayer.t({
|
|
7
|
-
en: "Please enter your email address",
|
|
8
|
-
fr: "Veuillez saisir votre adresse e-mail",
|
|
9
|
-
es: "Por favor, ingrese su dirección de correo electrónico"
|
|
10
|
-
});
|
|
11
|
-
const invalidTypeErrorEmail = reactIntlayer.t({
|
|
12
|
-
en: "Please enter a valid email address",
|
|
13
|
-
fr: "Veuillez saisir une adresse e-mail valide",
|
|
14
|
-
es: "Por favor, ingrese una dirección de correo electrónico válida"
|
|
15
|
-
});
|
|
16
|
-
const invalidLengthErrorEmail = reactIntlayer.t({
|
|
17
|
-
en: "Please enter a valid email address",
|
|
18
|
-
fr: "Veuillez saisir une adresse e-mail valide",
|
|
19
|
-
es: "Por favor, ingrese una dirección de correo electrónico válida"
|
|
20
|
-
});
|
|
21
|
-
return zod.z.object({
|
|
22
|
-
email: zod.z.string({
|
|
23
|
-
required_error: requiredErrorEmail,
|
|
24
|
-
invalid_type_error: invalidTypeErrorEmail
|
|
25
|
-
}).min(1, { message: invalidLengthErrorEmail })
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
exports.getResetPasswordSchema = getResetPasswordSchema;
|
|
29
|
-
//# sourceMappingURL=ResetPasswordSchema.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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,10 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const getResetPasswordSchema: () => z.ZodObject<{
|
|
3
|
-
email: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
email: string;
|
|
6
|
-
}, {
|
|
7
|
-
email: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type ResetPassword = z.infer<ReturnType<typeof getResetPasswordSchema>>;
|
|
10
|
-
//# sourceMappingURL=ResetPasswordSchema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;EA2BlC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t } from "react-intlayer";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
const getResetPasswordSchema = () => {
|
|
4
|
-
const requiredErrorEmail = t({
|
|
5
|
-
en: "Please enter your email address",
|
|
6
|
-
fr: "Veuillez saisir votre adresse e-mail",
|
|
7
|
-
es: "Por favor, ingrese su dirección de correo electrónico"
|
|
8
|
-
});
|
|
9
|
-
const invalidTypeErrorEmail = t({
|
|
10
|
-
en: "Please enter a valid email address",
|
|
11
|
-
fr: "Veuillez saisir une adresse e-mail valide",
|
|
12
|
-
es: "Por favor, ingrese una dirección de correo electrónico válida"
|
|
13
|
-
});
|
|
14
|
-
const invalidLengthErrorEmail = t({
|
|
15
|
-
en: "Please enter a valid email address",
|
|
16
|
-
fr: "Veuillez saisir une adresse e-mail valide",
|
|
17
|
-
es: "Por favor, ingrese una dirección de correo electrónico válida"
|
|
18
|
-
});
|
|
19
|
-
return z.object({
|
|
20
|
-
email: z.string({
|
|
21
|
-
required_error: requiredErrorEmail,
|
|
22
|
-
invalid_type_error: invalidTypeErrorEmail
|
|
23
|
-
}).min(1, { message: invalidLengthErrorEmail })
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
getResetPasswordSchema
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=ResetPasswordSchema.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const reactIntlayer = require("react-intlayer");
|
|
4
|
-
const getResetPasswordContent = () => ({
|
|
5
|
-
emailInput: {
|
|
6
|
-
label: reactIntlayer.t({
|
|
7
|
-
en: "Email address",
|
|
8
|
-
fr: "Adresse e-mail",
|
|
9
|
-
es: "Dirección de correo electrónico"
|
|
10
|
-
}),
|
|
11
|
-
placeholder: reactIntlayer.t({
|
|
12
|
-
en: "Enter e-mail address",
|
|
13
|
-
fr: "Entrez votre adresse e-mail",
|
|
14
|
-
es: "Ingrese su dirección de correo electrónico"
|
|
15
|
-
})
|
|
16
|
-
},
|
|
17
|
-
sendRecoveryEmailButton: {
|
|
18
|
-
text: reactIntlayer.t({
|
|
19
|
-
en: "Send recovery email",
|
|
20
|
-
fr: "Envoyer un e-mail de récupération",
|
|
21
|
-
es: "Enviar correo de recuperación"
|
|
22
|
-
}),
|
|
23
|
-
ariaLabel: reactIntlayer.t({
|
|
24
|
-
en: "Click to send recovery email",
|
|
25
|
-
fr: "Cliquez pour envoyer un e-mail de récupération",
|
|
26
|
-
es: "Haz clic para enviar correo de recuperación"
|
|
27
|
-
})
|
|
28
|
-
},
|
|
29
|
-
resendRecoveryEmailButton: {
|
|
30
|
-
text: reactIntlayer.t({
|
|
31
|
-
en: "Resend recovery email",
|
|
32
|
-
fr: "Renvoyer l’e-mail de récupération",
|
|
33
|
-
es: "Reenviar correo de recuperación"
|
|
34
|
-
})
|
|
35
|
-
},
|
|
36
|
-
resendInText: reactIntlayer.t({
|
|
37
|
-
en: "Resend in",
|
|
38
|
-
fr: "Renvoyer dans",
|
|
39
|
-
es: "Reenviar en"
|
|
40
|
-
}),
|
|
41
|
-
backToLoginButton: {
|
|
42
|
-
text: reactIntlayer.t({
|
|
43
|
-
en: "Back to login",
|
|
44
|
-
fr: "Retour à la connexion",
|
|
45
|
-
es: "Volver al inicio de sesión"
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
exports.getResetPasswordContent = getResetPasswordContent;
|
|
50
|
-
//# sourceMappingURL=index.content.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export declare const getResetPasswordContent: () => {
|
|
2
|
-
emailInput: {
|
|
3
|
-
label: any;
|
|
4
|
-
placeholder: any;
|
|
5
|
-
};
|
|
6
|
-
sendRecoveryEmailButton: {
|
|
7
|
-
text: any;
|
|
8
|
-
ariaLabel: any;
|
|
9
|
-
};
|
|
10
|
-
resendRecoveryEmailButton: {
|
|
11
|
-
text: any;
|
|
12
|
-
};
|
|
13
|
-
resendInText: any;
|
|
14
|
-
backToLoginButton: {
|
|
15
|
-
text: any;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=index.content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;CA4ClC,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { t } from "react-intlayer";
|
|
2
|
-
const getResetPasswordContent = () => ({
|
|
3
|
-
emailInput: {
|
|
4
|
-
label: t({
|
|
5
|
-
en: "Email address",
|
|
6
|
-
fr: "Adresse e-mail",
|
|
7
|
-
es: "Dirección de correo electrónico"
|
|
8
|
-
}),
|
|
9
|
-
placeholder: t({
|
|
10
|
-
en: "Enter e-mail address",
|
|
11
|
-
fr: "Entrez votre adresse e-mail",
|
|
12
|
-
es: "Ingrese su dirección de correo electrónico"
|
|
13
|
-
})
|
|
14
|
-
},
|
|
15
|
-
sendRecoveryEmailButton: {
|
|
16
|
-
text: t({
|
|
17
|
-
en: "Send recovery email",
|
|
18
|
-
fr: "Envoyer un e-mail de récupération",
|
|
19
|
-
es: "Enviar correo de recuperación"
|
|
20
|
-
}),
|
|
21
|
-
ariaLabel: t({
|
|
22
|
-
en: "Click to send recovery email",
|
|
23
|
-
fr: "Cliquez pour envoyer un e-mail de récupération",
|
|
24
|
-
es: "Haz clic para enviar correo de recuperación"
|
|
25
|
-
})
|
|
26
|
-
},
|
|
27
|
-
resendRecoveryEmailButton: {
|
|
28
|
-
text: t({
|
|
29
|
-
en: "Resend recovery email",
|
|
30
|
-
fr: "Renvoyer l’e-mail de récupération",
|
|
31
|
-
es: "Reenviar correo de recuperación"
|
|
32
|
-
})
|
|
33
|
-
},
|
|
34
|
-
resendInText: t({
|
|
35
|
-
en: "Resend in",
|
|
36
|
-
fr: "Renvoyer dans",
|
|
37
|
-
es: "Reenviar en"
|
|
38
|
-
}),
|
|
39
|
-
backToLoginButton: {
|
|
40
|
-
text: t({
|
|
41
|
-
en: "Back to login",
|
|
42
|
-
fr: "Retour à la connexion",
|
|
43
|
-
es: "Volver al inicio de sesión"
|
|
44
|
-
})
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
getResetPasswordContent
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=index.content.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const reactIntlayer = require("react-intlayer");
|
|
4
|
-
const zod = require("zod");
|
|
5
|
-
const getSignInSchema = () => {
|
|
6
|
-
const requiredErrorEmail = reactIntlayer.t({
|
|
7
|
-
en: "Please enter your username",
|
|
8
|
-
fr: "Veuillez saisir votre nom d’utilisateur",
|
|
9
|
-
es: "Por favor, ingrese su nombre de usuario"
|
|
10
|
-
});
|
|
11
|
-
const invalidTypeErrorEmail = reactIntlayer.t({
|
|
12
|
-
en: "Please enter a valid username",
|
|
13
|
-
fr: "Veuillez saisir un nom d’utilisateur valide",
|
|
14
|
-
es: "Por favor, ingrese un nombre de usuario válido"
|
|
15
|
-
});
|
|
16
|
-
const requiredErrorPassword = reactIntlayer.t({
|
|
17
|
-
en: "Please enter your password",
|
|
18
|
-
fr: "Veuillez saisir votre mot de passe",
|
|
19
|
-
es: "Por favor, ingrese su contraseña"
|
|
20
|
-
});
|
|
21
|
-
const invalidTypeErrorPassword = reactIntlayer.t({
|
|
22
|
-
en: "Please enter a valid password",
|
|
23
|
-
fr: "Veuillez saisir un mot de passe valide",
|
|
24
|
-
es: "Por favor, ingrese una contraseña válida"
|
|
25
|
-
});
|
|
26
|
-
return zod.z.object({
|
|
27
|
-
email: zod.z.string({
|
|
28
|
-
required_error: requiredErrorEmail,
|
|
29
|
-
invalid_type_error: invalidTypeErrorEmail
|
|
30
|
-
}).min(1, { message: invalidTypeErrorEmail }).default(""),
|
|
31
|
-
password: zod.z.string({
|
|
32
|
-
required_error: requiredErrorPassword,
|
|
33
|
-
invalid_type_error: invalidTypeErrorPassword
|
|
34
|
-
}).min(1, { message: invalidTypeErrorPassword }).default("")
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
exports.getSignInSchema = getSignInSchema;
|
|
38
|
-
//# sourceMappingURL=SignInSchema.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignInSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;EAyC3B,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { t } from "react-intlayer";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
const getSignInSchema = () => {
|
|
4
|
-
const requiredErrorEmail = t({
|
|
5
|
-
en: "Please enter your username",
|
|
6
|
-
fr: "Veuillez saisir votre nom d’utilisateur",
|
|
7
|
-
es: "Por favor, ingrese su nombre de usuario"
|
|
8
|
-
});
|
|
9
|
-
const invalidTypeErrorEmail = t({
|
|
10
|
-
en: "Please enter a valid username",
|
|
11
|
-
fr: "Veuillez saisir un nom d’utilisateur valide",
|
|
12
|
-
es: "Por favor, ingrese un nombre de usuario válido"
|
|
13
|
-
});
|
|
14
|
-
const requiredErrorPassword = t({
|
|
15
|
-
en: "Please enter your password",
|
|
16
|
-
fr: "Veuillez saisir votre mot de passe",
|
|
17
|
-
es: "Por favor, ingrese su contraseña"
|
|
18
|
-
});
|
|
19
|
-
const invalidTypeErrorPassword = t({
|
|
20
|
-
en: "Please enter a valid password",
|
|
21
|
-
fr: "Veuillez saisir un mot de passe valide",
|
|
22
|
-
es: "Por favor, ingrese una contraseña válida"
|
|
23
|
-
});
|
|
24
|
-
return z.object({
|
|
25
|
-
email: z.string({
|
|
26
|
-
required_error: requiredErrorEmail,
|
|
27
|
-
invalid_type_error: invalidTypeErrorEmail
|
|
28
|
-
}).min(1, { message: invalidTypeErrorEmail }).default(""),
|
|
29
|
-
password: z.string({
|
|
30
|
-
required_error: requiredErrorPassword,
|
|
31
|
-
invalid_type_error: invalidTypeErrorPassword
|
|
32
|
-
}).min(1, { message: invalidTypeErrorPassword }).default("")
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
export {
|
|
36
|
-
getSignInSchema
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=SignInSchema.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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;"}
|