@intlayer/design-system 3.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +521 -395
- package/dist/Form-2XHQV7F_.cjs +295 -0
- package/dist/Form-2XHQV7F_.cjs.map +1 -0
- package/dist/Form-BO0i3nT9.js +300 -0
- package/dist/Form-BO0i3nT9.js.map +1 -0
- package/dist/Form-BaHDK0RZ.cjs +298 -0
- package/dist/Form-BaHDK0RZ.cjs.map +1 -0
- package/dist/Form-BfZMqK2D.js +300 -0
- package/dist/Form-BfZMqK2D.js.map +1 -0
- package/dist/Form-C13KWSZs.cjs +299 -0
- package/dist/Form-C13KWSZs.cjs.map +1 -0
- package/dist/Form-C8K2f8ph.js +300 -0
- package/dist/Form-C8K2f8ph.js.map +1 -0
- package/dist/Form-CKvCgz8c.cjs +299 -0
- package/dist/Form-CKvCgz8c.cjs.map +1 -0
- package/dist/Form-Cbk5Lhpd.js +299 -0
- package/dist/Form-Cbk5Lhpd.js.map +1 -0
- package/dist/Form-CiAgFAPb.cjs +300 -0
- package/dist/Form-CiAgFAPb.cjs.map +1 -0
- package/dist/Form-CnBKDneQ.js +296 -0
- package/dist/Form-CnBKDneQ.js.map +1 -0
- package/dist/Form-DERuauvB.cjs +300 -0
- package/dist/Form-DERuauvB.cjs.map +1 -0
- package/dist/Form-DhlDf3ML.cjs +299 -0
- package/dist/Form-DhlDf3ML.cjs.map +1 -0
- package/dist/Form-DkAZ0Jdf.cjs +299 -0
- package/dist/Form-DkAZ0Jdf.cjs.map +1 -0
- package/dist/Form-DqnNP4DA.js +300 -0
- package/dist/Form-DqnNP4DA.js.map +1 -0
- package/dist/Form-DyFBmVya.js +301 -0
- package/dist/Form-DyFBmVya.js.map +1 -0
- package/dist/Form-FW4Odjfm.js +301 -0
- package/dist/Form-FW4Odjfm.js.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +0 -1
- package/dist/components/Auth/AuthModal/index.d.ts +0 -1
- package/dist/components/Auth/AuthProvider/index.cjs +5 -21
- package/dist/components/Auth/AuthProvider/index.cjs.map +1 -1
- package/dist/components/Auth/AuthProvider/index.d.ts +4 -3
- package/dist/components/Auth/AuthProvider/index.d.ts.map +1 -1
- package/dist/components/Auth/AuthProvider/index.mjs +6 -22
- package/dist/components/Auth/AuthProvider/index.mjs.map +1 -1
- package/dist/components/Auth/AuthProvider/useSession.cjs +7 -3
- package/dist/components/Auth/AuthProvider/useSession.cjs.map +1 -1
- package/dist/components/Auth/AuthProvider/useSession.d.ts +0 -1
- package/dist/components/Auth/AuthProvider/useSession.d.ts.map +1 -1
- package/dist/components/Auth/AuthProvider/useSession.mjs +7 -3
- package/dist/components/Auth/AuthProvider/useSession.mjs.map +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.d.ts +0 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.d.ts +0 -1
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.d.ts +0 -1
- package/dist/components/Auth/AuthenticationBarrier/index.d.ts +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts +0 -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.d.ts +0 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.d.ts +0 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.d.ts +0 -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 +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -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 +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts +0 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +1 -1
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts +0 -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 +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +0 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +1 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts +0 -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/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/index.d.ts +1 -2
- package/dist/components/Breadcrumb/index.d.ts +0 -1
- package/dist/components/Button/Button.cjs +1 -0
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts +2 -3
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.mjs +1 -0
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Command/index.d.ts +9 -10
- package/dist/components/Command/index.d.ts.map +1 -1
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.d.ts +16 -3
- package/dist/components/Container/index.d.ts.map +1 -1
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.d.ts +0 -1
- package/dist/components/ContentEditor/ContentEditorTextArea.d.ts +0 -1
- package/dist/components/ContentSelector/ContentSelector.d.ts +0 -1
- package/dist/components/CopyToClipboard/index.d.ts +0 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs +30 -24
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +0 -7
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs +30 -24
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.cjs +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.d.ts +0 -1
- package/dist/components/DictionaryEditor/ItemLayout.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.mjs +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.d.ts +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +7 -5
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +7 -5
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.d.ts +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts +0 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +111 -19
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +1 -5
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +112 -20
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +18 -20
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +0 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +19 -21
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +0 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +67 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts +27 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +67 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs +8 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs.map +1 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts +4 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs +8 -0
- package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +8 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +8 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +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.d.ts +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +37 -13
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +37 -13
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +21 -6
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +21 -6
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +29 -14
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +29 -14
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +18 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +18 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +18 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +18 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +14 -15
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +14 -15
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts +0 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +12 -12
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +12 -12
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.d.ts +0 -1
- package/dist/components/DropDown/index.d.ts +0 -1
- package/dist/components/DropDown/types.d.ts +0 -1
- package/dist/components/EditableField/EditableFieldInput.cjs +12 -5
- package/dist/components/EditableField/EditableFieldInput.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldInput.d.ts +2 -4
- package/dist/components/EditableField/EditableFieldInput.d.ts.map +1 -1
- package/dist/components/EditableField/EditableFieldInput.mjs +13 -6
- package/dist/components/EditableField/EditableFieldInput.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.d.ts +0 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs +17 -4
- package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.d.ts +6 -3
- package/dist/components/EditableField/EditableFieldTextArea.d.ts.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs +18 -5
- package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
- package/dist/components/Flags/Flag.d.ts +0 -1
- package/dist/components/Footer/index.d.ts +0 -1
- package/dist/components/Form/Form.cjs +1 -1
- package/dist/components/Form/Form.d.ts +2 -1
- package/dist/components/Form/Form.d.ts.map +1 -1
- package/dist/components/Form/Form.mjs +1 -1
- package/dist/components/Form/FormBase.d.ts +0 -1
- package/dist/components/Form/FormBase.d.ts.map +1 -1
- package/dist/components/Form/FormDescription.d.ts +0 -1
- package/dist/components/Form/FormField.d.ts +0 -1
- package/dist/components/Form/FormItem.d.ts +0 -1
- package/dist/components/Form/FormMessage.d.ts +0 -1
- package/dist/components/Form/elements/CheckboxElement.cjs +10 -0
- package/dist/components/Form/elements/CheckboxElement.cjs.map +1 -0
- package/dist/components/Form/elements/CheckboxElement.d.ts +10 -0
- package/dist/components/Form/elements/CheckboxElement.d.ts.map +1 -0
- package/dist/components/Form/elements/CheckboxElement.mjs +10 -0
- package/dist/components/Form/elements/CheckboxElement.mjs.map +1 -0
- package/dist/components/Form/elements/EditableFieldInputElement.cjs +1 -1
- package/dist/components/Form/elements/EditableFieldInputElement.d.ts +0 -1
- package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
- package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +1 -1
- package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +0 -1
- package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
- package/dist/components/Form/elements/FormElement.cjs +1 -1
- package/dist/components/Form/elements/FormElement.d.ts +0 -1
- package/dist/components/Form/elements/FormElement.mjs +1 -1
- package/dist/components/Form/elements/FormElementWrapper.d.ts +0 -1
- package/dist/components/Form/elements/InputElement.cjs +2 -1
- package/dist/components/Form/elements/InputElement.cjs.map +1 -1
- package/dist/components/Form/elements/InputElement.d.ts +2 -3
- package/dist/components/Form/elements/InputElement.d.ts.map +1 -1
- package/dist/components/Form/elements/InputElement.mjs +2 -1
- package/dist/components/Form/elements/InputElement.mjs.map +1 -1
- package/dist/components/Form/elements/InputPasswordElement.cjs +2 -1
- package/dist/components/Form/elements/InputPasswordElement.cjs.map +1 -1
- package/dist/components/Form/elements/InputPasswordElement.d.ts +2 -3
- package/dist/components/Form/elements/InputPasswordElement.d.ts.map +1 -1
- package/dist/components/Form/elements/InputPasswordElement.mjs +2 -1
- package/dist/components/Form/elements/InputPasswordElement.mjs.map +1 -1
- package/dist/components/Form/elements/MultiselectElement.cjs +1 -1
- package/dist/components/Form/elements/MultiselectElement.d.ts +0 -1
- package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
- package/dist/components/Form/elements/SelectElement.cjs +1 -1
- package/dist/components/Form/elements/SelectElement.d.ts +0 -1
- package/dist/components/Form/elements/SelectElement.mjs +1 -1
- package/dist/components/Form/elements/SwitchSelectorElement.cjs +1 -1
- package/dist/components/Form/elements/SwitchSelectorElement.d.ts +0 -1
- package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
- package/dist/components/Form/elements/TextAreaElement.cjs +1 -1
- package/dist/components/Form/elements/TextAreaElement.d.ts +0 -1
- package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
- package/dist/components/Form/elements/index.cjs +1 -1
- package/dist/components/Form/elements/index.mjs +1 -1
- package/dist/components/Form/index.cjs +1 -1
- package/dist/components/Form/index.mjs +1 -1
- package/dist/components/Form/layout/FormItemLayout.cjs +1 -1
- package/dist/components/Form/layout/FormItemLayout.d.ts +1 -2
- package/dist/components/Form/layout/FormItemLayout.d.ts.map +1 -1
- package/dist/components/Form/layout/FormItemLayout.mjs +1 -1
- package/dist/components/Form/layout/FormLabelLayout.d.ts +0 -1
- package/dist/components/Form/layout/RequiredStar.d.ts +0 -1
- package/dist/components/Form/layout/index.cjs +1 -1
- package/dist/components/Form/layout/index.mjs +1 -1
- package/dist/components/Headers/index.d.ts +0 -1
- package/dist/components/IDE/CodeRender.cjs.map +1 -1
- package/dist/components/IDE/CodeRender.d.ts +0 -1
- package/dist/components/IDE/CodeRender.mjs.map +1 -1
- package/dist/components/IDE/FileList.d.ts +0 -1
- package/dist/components/IDE/FileTree.d.ts +0 -1
- package/dist/components/IDE/IDE.d.ts +0 -1
- package/dist/components/IDE/MarkDownRender.d.ts +0 -1
- package/dist/components/InformationTag/index.d.ts +0 -1
- package/dist/components/Input/Checkbox.cjs +80 -0
- package/dist/components/Input/Checkbox.cjs.map +1 -0
- package/dist/components/Input/Checkbox.d.ts +14 -0
- package/dist/components/Input/Checkbox.d.ts.map +1 -0
- package/dist/components/Input/Checkbox.mjs +80 -0
- package/dist/components/Input/Checkbox.mjs.map +1 -0
- package/dist/components/Input/Input.d.ts +0 -1
- package/dist/components/Input/InputPassword.d.ts +0 -1
- package/dist/components/Input/index.cjs +3 -0
- package/dist/components/Input/index.cjs.map +1 -1
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.mjs +3 -0
- package/dist/components/Input/index.mjs.map +1 -1
- package/dist/components/Label/index.d.ts +0 -1
- package/dist/components/Link/Link.cjs +7 -2
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.d.ts +3 -3
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.mjs +7 -2
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Loader/index.d.ts +0 -1
- package/dist/components/Loader/spinner.d.ts +0 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +0 -1
- package/dist/components/Logo/LogoCircle.d.ts +0 -1
- package/dist/components/Logo/LogoNoFrame.d.ts +0 -1
- package/dist/components/Logo/LogoSquare.d.ts +0 -1
- package/dist/components/Logo/LogoSquircle.d.ts +0 -1
- package/dist/components/Logo/LogoTextOnly.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextCircle.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextNoFrame.d.ts +0 -1
- package/dist/components/Logo/LogoWithTextSquircle.d.ts +0 -1
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/MarkDownRender/index.d.ts +0 -1
- package/dist/components/MaxHeightSmoother/index.d.ts +0 -1
- package/dist/components/MaxWidthSmoother/index.d.ts +0 -1
- package/dist/components/Modal/Modal.cjs +19 -15
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts +3 -3
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.mjs +19 -15
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/Burger.d.ts +0 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +10 -26
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.d.ts +6 -6
- package/dist/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +10 -26
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs +3 -57
- package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.d.ts +6 -7
- package/dist/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs +3 -57
- package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/components/Navbar/index.cjs +4 -2
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.d.ts +9 -15
- package/dist/components/Navbar/index.d.ts.map +1 -1
- package/dist/components/Navbar/index.mjs +4 -2
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/Pattern/DotPattern.d.ts +0 -1
- package/dist/components/Pattern/GridPattern.d.ts +0 -1
- package/dist/components/Pattern/SpotLight.d.ts +0 -1
- package/dist/components/Popover/index.d.ts +0 -1
- package/dist/components/PressableSpan/PressableSpan.d.ts +0 -1
- package/dist/components/ProfileDropDown/index.d.ts +0 -1
- package/dist/components/RightDrawer/RightDrawer.d.ts +0 -1
- package/dist/components/Select/Multiselect.d.ts +2 -3
- package/dist/components/Select/Multiselect.d.ts.map +1 -1
- package/dist/components/SwitchSelector/index.d.ts +1 -2
- package/dist/components/TabSelector/TabSelector.cjs +2 -0
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts +2 -3
- package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/components/TabSelector/TabSelector.mjs +2 -0
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.d.ts +0 -1
- package/dist/components/TextArea/TextArea.cjs +1 -0
- package/dist/components/TextArea/TextArea.cjs.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +0 -1
- package/dist/components/TextArea/TextArea.mjs +1 -0
- package/dist/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +0 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +0 -1
- package/dist/components/Toaster/Toast.d.ts +1 -1
- package/dist/components/Toaster/useToast.d.ts +0 -1
- package/dist/components/WithResizer/index.d.ts +0 -1
- package/dist/components/index.cjs +4 -3
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.mjs +4 -3
- package/dist/hooks/intlayerAPIHooks.cjs +16 -3
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +0 -1
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +16 -3
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +1 -5
- 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 +1 -5
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts +0 -1
- package/dist/hooks/useGetAllDictionaries.d.ts +0 -1
- package/dist/hooks/useItemSelector.d.ts +0 -1
- package/dist/index-BUDsCMdX.cjs +204 -0
- package/dist/index-BUDsCMdX.cjs.map +1 -0
- package/dist/index-C09rI9kw.js +205 -0
- package/dist/index-C09rI9kw.js.map +1 -0
- package/dist/libs/intlayer-api/auth.d.ts +0 -1
- package/dist/libs/intlayer-api/dictionary.d.ts +0 -1
- package/dist/libs/intlayer-api/fetcher.cjs +1 -6
- package/dist/libs/intlayer-api/fetcher.cjs.map +1 -1
- package/dist/libs/intlayer-api/fetcher.d.ts.map +1 -1
- package/dist/libs/intlayer-api/fetcher.mjs +1 -6
- package/dist/libs/intlayer-api/fetcher.mjs.map +1 -1
- package/dist/libs/intlayer-api/index.d.ts +0 -1
- package/dist/libs/intlayer-api/organization.d.ts +0 -1
- package/dist/libs/intlayer-api/project.d.ts +0 -1
- package/dist/libs/intlayer-api/user.d.ts +0 -1
- package/dist/tailwind.css +1 -1
- package/dist/utils/cn.d.ts +0 -1
- package/dist/utils/dictionary.cjs +37 -1
- package/dist/utils/dictionary.cjs.map +1 -1
- package/dist/utils/dictionary.d.ts +1 -1
- package/dist/utils/dictionary.d.ts.map +1 -1
- package/dist/utils/dictionary.mjs +38 -2
- package/dist/utils/dictionary.mjs.map +1 -1
- package/dist/validDictionaryChangeButtons.content-BK9QaXPm.cjs +66 -0
- package/dist/validDictionaryChangeButtons.content-BK9QaXPm.cjs.map +1 -0
- package/dist/validDictionaryChangeButtons.content-CAAscqJI.cjs +66 -0
- package/dist/validDictionaryChangeButtons.content-CAAscqJI.cjs.map +1 -0
- package/dist/validDictionaryChangeButtons.content-D7AvoBdl.js +67 -0
- package/dist/validDictionaryChangeButtons.content-D7AvoBdl.js.map +1 -0
- package/dist/validDictionaryChangeButtons.content-DQwoUNCC.cjs +45 -0
- package/dist/validDictionaryChangeButtons.content-DQwoUNCC.cjs.map +1 -0
- package/dist/validDictionaryChangeButtons.content-DQxPoIe6.js +67 -0
- package/dist/validDictionaryChangeButtons.content-DQxPoIe6.js.map +1 -0
- package/dist/validDictionaryChangeButtons.content-JUcjGdBx.cjs +66 -0
- package/dist/validDictionaryChangeButtons.content-JUcjGdBx.cjs.map +1 -0
- package/dist/validDictionaryChangeButtons.content-ejY3-sbG.js +67 -0
- package/dist/validDictionaryChangeButtons.content-ejY3-sbG.js.map +1 -0
- package/dist/validDictionaryChangeButtons.content-iyT0lKy7.js +46 -0
- package/dist/validDictionaryChangeButtons.content-iyT0lKy7.js.map +1 -0
- package/dist/validDictionaryChangeButtons.content-u4qShrQh.cjs +66 -0
- package/dist/validDictionaryChangeButtons.content-u4qShrQh.cjs.map +1 -0
- package/dist/validDictionaryChangeButtons.content-y4up9NU8.js +67 -0
- package/dist/validDictionaryChangeButtons.content-y4up9NU8.js.map +1 -0
- package/dist/zod-BV4nCGJE.js.map +1 -1
- package/dist/zod-DSrtTSD_.cjs.map +1 -1
- package/package.json +81 -54
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { AuthenticationBarrierProps } from '.';
|
|
3
|
-
|
|
4
3
|
export type AuthenticationBarrierClientProps = Omit<AuthenticationBarrierProps, 'sessionToken'>;
|
|
5
4
|
export declare const AuthenticationBarrierClient: FC<AuthenticationBarrierClientProps>;
|
|
6
5
|
//# sourceMappingURL=AuthenticationBarrierClient.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { AuthProviderProps } from '../AuthProvider';
|
|
3
3
|
import { AuthenticationBarrierProps } from '.';
|
|
4
|
-
|
|
5
4
|
export type AuthenticationBarrierClientProps = Omit<AuthenticationBarrierProps, 'sessionToken'> & {
|
|
6
5
|
session: AuthProviderProps['session'];
|
|
7
6
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Session } from '../AuthProvider';
|
|
2
2
|
import { AuthenticationBarrierProps } from '.';
|
|
3
|
-
|
|
4
3
|
export declare const accessValidation: (accessRule: AuthenticationBarrierProps["accessRule"], session: Session | null, redirectionFunction: (redirectionRoute: string) => void, redirectionRoute: string) => void;
|
|
5
4
|
//# sourceMappingURL=accessValidation.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { AuthProviderProps } from '../AuthProvider';
|
|
3
|
-
|
|
4
3
|
export { AuthenticationBarrierServer } from './AuthenticationBarrierServer';
|
|
5
4
|
export { AuthenticationBarrierClient } from './AuthenticationBarrierClient';
|
|
6
5
|
export type AuthenticationBarrierProps = AuthProviderProps & {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("../../../jsx-runtime-DvCoRj5u.cjs");
|
|
4
4
|
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
5
5
|
require("../../Form/FormField.cjs");
|
|
6
|
-
const components_Form_layout_FormItemLayout = require("../../../Form-
|
|
6
|
+
const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
|
|
7
7
|
const components_Auth_ChangePasswordForm_ChangePasswordSchema = require("./ChangePasswordSchema.cjs");
|
|
8
8
|
const components_Auth_ChangePasswordForm_index_content = require("./index.content.cjs");
|
|
9
9
|
const ChangePasswordForm = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
2
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
3
3
|
import "../../Form/FormField.mjs";
|
|
4
|
-
import { F as Form } from "../../../Form-
|
|
4
|
+
import { F as Form } from "../../../Form-DyFBmVya.js";
|
|
5
5
|
import { getChangePasswordSchema } from "./ChangePasswordSchema.mjs";
|
|
6
6
|
import { getChangePasswordContent } from "./index.content.mjs";
|
|
7
7
|
const ChangePasswordForm = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordSchema.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordSchema.ts"],"sourcesContent":["//
|
|
1
|
+
{"version":3,"file":"ChangePasswordSchema.cjs","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":["t","z"],"mappings":";;;;AAKO,MAAM,0BAA0B,MAAM;AAC3C,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,6BAA6BA,cAAAA,EAAE;AAAA,IACnC,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,8BAA8BA,cAAAA,EAAE;AAAA,IACpC,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,0CAA0CA,cAAAA,EAAE;AAAA,IAChD,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,iBAAiBA,MACd,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,4BAA4B;AAAA,IACjD,aAAaA,MACV,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,4BAA4B;AAAA,IACjD,yBAAyBA,MACtB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,4BAA4B;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordSchema.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordSchema.ts"],"sourcesContent":["//
|
|
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,4BAA4B;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/index.content.ts"],"sourcesContent":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export declare const getChangePasswordContent: () => {
|
|
2
2
|
currentPasswordInput: {
|
|
3
|
-
label:
|
|
4
|
-
placeholder:
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
5
|
};
|
|
6
6
|
newPasswordInput: {
|
|
7
|
-
label:
|
|
8
|
-
placeholder:
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
9
|
};
|
|
10
10
|
confirmPasswordInput: {
|
|
11
|
-
label:
|
|
12
|
-
placeholder:
|
|
11
|
+
label: string;
|
|
12
|
+
placeholder: string;
|
|
13
13
|
};
|
|
14
14
|
changePasswordButton: {
|
|
15
|
-
text:
|
|
16
|
-
ariaLabel:
|
|
15
|
+
text: string;
|
|
16
|
+
ariaLabel: string;
|
|
17
17
|
};
|
|
18
18
|
backToHomeButton: {
|
|
19
|
-
text:
|
|
20
|
-
ariaLabel:
|
|
19
|
+
text: string;
|
|
20
|
+
ariaLabel: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=index.content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/index.content.ts"],"sourcesContent":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalsLoginButtons.content.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts"],"sourcesContent":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const getExternalsLoginButtonsContent: () => {
|
|
2
|
-
span:
|
|
2
|
+
span: string;
|
|
3
3
|
github: {
|
|
4
|
-
label:
|
|
5
|
-
ariaLabel:
|
|
4
|
+
label: string;
|
|
5
|
+
ariaLabel: string;
|
|
6
6
|
};
|
|
7
7
|
google: {
|
|
8
|
-
label:
|
|
9
|
-
ariaLabel:
|
|
8
|
+
label: string;
|
|
9
|
+
ariaLabel: string;
|
|
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":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;"}
|
|
@@ -5,7 +5,7 @@ const jsxRuntime = require("../../../jsx-runtime-DvCoRj5u.cjs");
|
|
|
5
5
|
const require$$0 = require("react");
|
|
6
6
|
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
7
7
|
require("../../Form/FormField.cjs");
|
|
8
|
-
const components_Form_layout_FormItemLayout = require("../../../Form-
|
|
8
|
+
const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
|
|
9
9
|
const components_Auth_ResetPasswordForm_index_content = require("./index.content.cjs");
|
|
10
10
|
const components_Auth_ResetPasswordForm_ResetPasswordSchema = require("./ResetPasswordSchema.cjs");
|
|
11
11
|
const ResetPasswordForm = ({
|
|
@@ -3,7 +3,7 @@ import { j as jsxRuntimeExports } from "../../../jsx-runtime-BgSF1HG2.js";
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
5
5
|
import "../../Form/FormField.mjs";
|
|
6
|
-
import { F as Form } from "../../../Form-
|
|
6
|
+
import { F as Form } from "../../../Form-DyFBmVya.js";
|
|
7
7
|
import { getResetPasswordContent } from "./index.content.mjs";
|
|
8
8
|
import { getResetPasswordSchema } from "./ResetPasswordSchema.mjs";
|
|
9
9
|
const ResetPasswordForm = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordSchema.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["//
|
|
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,yBAAyB;AAAA,EAAA,CAC/C;AACH;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordSchema.mjs","sources":["../../../../src/components/Auth/ResetPasswordForm/ResetPasswordSchema.ts"],"sourcesContent":["//
|
|
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,yBAAyB;AAAA,EAAA,CAC/C;AACH;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/ResetPasswordForm/index.content.ts"],"sourcesContent":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;;"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare const getResetPasswordContent: () => {
|
|
2
2
|
emailInput: {
|
|
3
|
-
label:
|
|
4
|
-
placeholder:
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
5
|
};
|
|
6
6
|
sendRecoveryEmailButton: {
|
|
7
|
-
text:
|
|
8
|
-
ariaLabel:
|
|
7
|
+
text: string;
|
|
8
|
+
ariaLabel: string;
|
|
9
9
|
};
|
|
10
10
|
resendRecoveryEmailButton: {
|
|
11
|
-
text:
|
|
11
|
+
text: string;
|
|
12
12
|
};
|
|
13
|
-
resendInText:
|
|
13
|
+
resendInText: string;
|
|
14
14
|
backToLoginButton: {
|
|
15
|
-
text:
|
|
15
|
+
text: string;
|
|
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":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;"}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
const jsxRuntime = require("../../../jsx-runtime-DvCoRj5u.cjs");
|
|
5
5
|
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
6
6
|
require("../../Form/FormField.cjs");
|
|
7
|
-
const components_Form_layout_FormItemLayout = require("../../../Form-
|
|
7
|
+
const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
|
|
8
8
|
const components_Auth_ExternalsLoginButtons_ExternalsLoginButtons = require("../ExternalsLoginButtons/ExternalsLoginButtons.cjs");
|
|
9
9
|
const components_Auth_SignInForm_index_content = require("./index.content.cjs");
|
|
10
10
|
const components_Auth_SignInForm_SignInSchema = require("./SignInSchema.cjs");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { j as jsxRuntimeExports } from "../../../jsx-runtime-BgSF1HG2.js";
|
|
3
3
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
4
4
|
import "../../Form/FormField.mjs";
|
|
5
|
-
import { F as Form } from "../../../Form-
|
|
5
|
+
import { F as Form } from "../../../Form-DyFBmVya.js";
|
|
6
6
|
import { ExternalsLoginButtons } from "../ExternalsLoginButtons/ExternalsLoginButtons.mjs";
|
|
7
7
|
import { getSignInContent } from "./index.content.mjs";
|
|
8
8
|
import { getSignInSchema } from "./SignInSchema.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInSchema.cjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["//
|
|
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,0BAA0B,EAC5C,QAAQ,EAAE;AAAA,EAAA,CACd;AACH;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInSchema.mjs","sources":["../../../../src/components/Auth/SignInForm/SignInSchema.ts"],"sourcesContent":["//
|
|
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,0BAA0B,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":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export declare const getSignInContent: () => {
|
|
2
2
|
forgotPasswordLink: {
|
|
3
|
-
ariaLabel:
|
|
4
|
-
text:
|
|
3
|
+
ariaLabel: string;
|
|
4
|
+
text: string;
|
|
5
5
|
};
|
|
6
6
|
emailInput: {
|
|
7
|
-
label:
|
|
8
|
-
placeholder:
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
9
|
};
|
|
10
10
|
passwordInput: {
|
|
11
|
-
label:
|
|
12
|
-
placeholder:
|
|
11
|
+
label: string;
|
|
12
|
+
placeholder: string;
|
|
13
13
|
};
|
|
14
14
|
loginButton: {
|
|
15
|
-
text:
|
|
16
|
-
ariaLabel:
|
|
15
|
+
text: string;
|
|
16
|
+
ariaLabel: string;
|
|
17
17
|
};
|
|
18
18
|
signInButton: {
|
|
19
|
-
text:
|
|
20
|
-
ariaLabel:
|
|
19
|
+
text: string;
|
|
20
|
+
ariaLabel: string;
|
|
21
21
|
};
|
|
22
22
|
signUpLink: {
|
|
23
|
-
message:
|
|
24
|
-
ariaLabel:
|
|
25
|
-
text:
|
|
23
|
+
message: string;
|
|
24
|
+
ariaLabel: string;
|
|
25
|
+
text: string;
|
|
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":["//
|
|
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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;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,IAAA,CACL;AAAA,EACH;AACF;"}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
const jsxRuntime = require("../../../jsx-runtime-DvCoRj5u.cjs");
|
|
5
5
|
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
6
6
|
require("../../Form/FormField.cjs");
|
|
7
|
-
const components_Form_layout_FormItemLayout = require("../../../Form-
|
|
7
|
+
const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
|
|
8
8
|
const components_Auth_SignUpForm_index_content = require("./index.content.cjs");
|
|
9
9
|
const components_Auth_SignUpForm_SignUpSchema = require("./SignUpSchema.cjs");
|
|
10
10
|
const SignUpForm = ({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { j as jsxRuntimeExports } from "../../../jsx-runtime-BgSF1HG2.js";
|
|
3
3
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
4
4
|
import "../../Form/FormField.mjs";
|
|
5
|
-
import { F as Form } from "../../../Form-
|
|
5
|
+
import { F as Form } from "../../../Form-DyFBmVya.js";
|
|
6
6
|
import { getSignUpContent } from "./index.content.mjs";
|
|
7
7
|
import { getSignUpSchema } from "./SignUpSchema.mjs";
|
|
8
8
|
const SignUpForm = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpSchema.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["//
|
|
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,sCAAsC;AAAA,EAAA,CAC5D,EACA,OAAO,CAAC,SAAS,KAAK,aAAa,KAAK,sBAAsB;AAAA,IAC7D,SAAS;AAAA,IACT,MAAM,CAAC,sBAAsB;AAAA;AAAA,EAAA,CAC9B;AACL;;"}
|