@intlayer/design-system 5.0.1 → 5.0.3
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 +10 -10
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +10 -10
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +10 -10
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +150 -10
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +120 -8
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +3 -3
- 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 +3 -3
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +75 -5
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +6 -6
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +6 -6
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +105 -7
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +45 -3
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.cjs +7 -7
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +7 -7
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/signIn.content.d.ts +195 -13
- package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +60 -4
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +8 -8
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +8 -8
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +165 -11
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +105 -7
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.cjs +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.cjs.map +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.d.ts.map +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.mjs +1 -1
- package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.mjs.map +1 -1
- package/dist/components/Auth/VerifyEmailForm/index.content.d.ts +60 -4
- package/dist/components/Auth/VerifyEmailForm/index.content.d.ts.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +15 -1
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +4 -4
- 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 +4 -4
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts +114 -8
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts +30 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +6 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +6 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +195 -13
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +60 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +22 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +22 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +387 -26
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +180 -12
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +3 -3
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +3 -3
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.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.d.ts.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/NavigationView/NavigationViewNode.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +165 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +10 -4
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +10 -4
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +6 -6
- 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 +6 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +150 -10
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +45 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +60 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts +105 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +59 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +135 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +59 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/IDE/CopyButton.cjs +1 -1
- package/dist/components/IDE/CopyButton.cjs.map +1 -1
- package/dist/components/IDE/CopyButton.content.d.ts +15 -1
- package/dist/components/IDE/CopyButton.content.d.ts.map +1 -1
- package/dist/components/IDE/CopyButton.d.ts.map +1 -1
- package/dist/components/IDE/CopyButton.mjs +1 -1
- package/dist/components/IDE/CopyButton.mjs.map +1 -1
- package/dist/components/Loader/index.content.d.ts +12 -1
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +5 -5
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +5 -5
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.d.ts +6 -6
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +105 -7
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +3 -3
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +3 -3
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +75 -5
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/{index-Di_3dNqI.js → index-BVYRWLUL.js} +3 -2
- package/dist/index-BVYRWLUL.js.map +1 -0
- package/dist/{index-ZARcTrR0.cjs → index-DTQyeqio.cjs} +3 -2
- package/dist/index-DTQyeqio.cjs.map +1 -0
- package/package.json +19 -19
- package/dist/index-Di_3dNqI.js.map +0 -1
- package/dist/index-ZARcTrR0.cjs.map +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -61,6 +61,10 @@
|
|
|
61
61
|
"src/components/DictionaryEditor/NodeWrapper/StringWrapper.tsx"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
+
"_index-BVYRWLUL.js": {
|
|
65
|
+
"file": "index-BVYRWLUL.js",
|
|
66
|
+
"name": "index"
|
|
67
|
+
},
|
|
64
68
|
"_index-Cg-S9ry9.cjs": {
|
|
65
69
|
"file": "index-Cg-S9ry9.cjs",
|
|
66
70
|
"name": "index",
|
|
@@ -79,8 +83,8 @@
|
|
|
79
83
|
"src/components/DictionaryEditor/NodeWrapper/StringWrapper.tsx"
|
|
80
84
|
]
|
|
81
85
|
},
|
|
82
|
-
"_index-
|
|
83
|
-
"file": "index-
|
|
86
|
+
"_index-DTQyeqio.cjs": {
|
|
87
|
+
"file": "index-DTQyeqio.cjs",
|
|
84
88
|
"name": "index"
|
|
85
89
|
},
|
|
86
90
|
"_index-O_7rYrbW.js": {
|
|
@@ -91,10 +95,6 @@
|
|
|
91
95
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts"
|
|
92
96
|
]
|
|
93
97
|
},
|
|
94
|
-
"_index-ZARcTrR0.cjs": {
|
|
95
|
-
"file": "index-ZARcTrR0.cjs",
|
|
96
|
-
"name": "index"
|
|
97
|
-
},
|
|
98
98
|
"_jsx-runtime-CgFM7lM3.cjs": {
|
|
99
99
|
"file": "jsx-runtime-CgFM7lM3.cjs",
|
|
100
100
|
"name": "jsx-runtime"
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"isEntry": true,
|
|
244
244
|
"imports": [
|
|
245
245
|
"_jsx-runtime-CgFM7lM3.cjs",
|
|
246
|
-
"_index-
|
|
246
|
+
"_index-DTQyeqio.cjs",
|
|
247
247
|
"src/components/Button/Button.tsx",
|
|
248
248
|
"src/components/Auth/ExternalsLoginButtons/assets/GithubLogo.tsx",
|
|
249
249
|
"src/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.tsx",
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
"imports": [
|
|
839
839
|
"_jsx-runtime-CgFM7lM3.cjs",
|
|
840
840
|
"src/hooks/intlayerAPIHooks.ts",
|
|
841
|
-
"_index-
|
|
841
|
+
"_index-DTQyeqio.cjs",
|
|
842
842
|
"src/components/Button/Button.tsx",
|
|
843
843
|
"src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts",
|
|
844
844
|
"src/components/Form/FormBase.tsx",
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
895
895
|
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
896
896
|
"src/hooks/intlayerAPIHooks.ts",
|
|
897
|
-
"_index-
|
|
897
|
+
"_index-DTQyeqio.cjs",
|
|
898
898
|
"src/components/Button/Button.tsx",
|
|
899
899
|
"src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts",
|
|
900
900
|
"src/components/Form/FormBase.tsx",
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1103
1103
|
"src/hooks/intlayerAPIHooks.ts",
|
|
1104
1104
|
"src/hooks/useGetAllDictionaries.tsx",
|
|
1105
|
-
"_index-
|
|
1105
|
+
"_index-DTQyeqio.cjs",
|
|
1106
1106
|
"src/components/Button/Button.tsx",
|
|
1107
1107
|
"src/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.ts",
|
|
1108
1108
|
"src/components/Form/FormBase.tsx",
|
|
@@ -50,8 +50,8 @@ const ChangePasswordForm = ({
|
|
|
50
50
|
components_Form_layout_FormItemLayout.Form.InputPassword,
|
|
51
51
|
{
|
|
52
52
|
name: "currentPassword",
|
|
53
|
-
label: currentPasswordInput.label,
|
|
54
|
-
placeholder: currentPasswordInput.placeholder,
|
|
53
|
+
label: currentPasswordInput.label.value,
|
|
54
|
+
placeholder: currentPasswordInput.placeholder.value,
|
|
55
55
|
autoComplete: "current-password",
|
|
56
56
|
isRequired: true
|
|
57
57
|
}
|
|
@@ -60,8 +60,8 @@ const ChangePasswordForm = ({
|
|
|
60
60
|
components_Form_layout_FormItemLayout.Form.InputPassword,
|
|
61
61
|
{
|
|
62
62
|
name: "newPassword",
|
|
63
|
-
label: newPasswordInput.label,
|
|
64
|
-
placeholder: newPasswordInput.placeholder,
|
|
63
|
+
label: newPasswordInput.label.value,
|
|
64
|
+
placeholder: newPasswordInput.placeholder.value,
|
|
65
65
|
autoComplete: "new-password",
|
|
66
66
|
isRequired: true
|
|
67
67
|
}
|
|
@@ -70,8 +70,8 @@ const ChangePasswordForm = ({
|
|
|
70
70
|
components_Form_layout_FormItemLayout.Form.InputPassword,
|
|
71
71
|
{
|
|
72
72
|
name: "newPasswordConfirmation",
|
|
73
|
-
label: confirmPasswordInput.label,
|
|
74
|
-
placeholder: confirmPasswordInput.placeholder,
|
|
73
|
+
label: confirmPasswordInput.label.value,
|
|
74
|
+
placeholder: confirmPasswordInput.placeholder.value,
|
|
75
75
|
autoComplete: "new-password",
|
|
76
76
|
isRequired: true
|
|
77
77
|
}
|
|
@@ -86,17 +86,17 @@ const ChangePasswordForm = ({
|
|
|
86
86
|
isLoading: isSubmitting,
|
|
87
87
|
disabled: !isValid,
|
|
88
88
|
variant: isSubmitted ? "outline" : "default",
|
|
89
|
-
label: changePasswordButton.ariaLabel,
|
|
90
|
-
children: changePasswordButton.text
|
|
89
|
+
label: changePasswordButton.ariaLabel.value,
|
|
90
|
+
children: changePasswordButton.text.value
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
93
|
isSubmitted && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
94
94
|
components_Form_layout_FormItemLayout.Form.Button,
|
|
95
95
|
{
|
|
96
96
|
className: "mt-4 w-full",
|
|
97
|
-
label: backToHomeButton.ariaLabel,
|
|
97
|
+
label: backToHomeButton.ariaLabel.value,
|
|
98
98
|
onClick: onClickBackToHome,
|
|
99
|
-
children: backToHomeButton.text
|
|
99
|
+
children: backToHomeButton.text.value
|
|
100
100
|
}
|
|
101
101
|
)
|
|
102
102
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordForm.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"sourcesContent":["import type { FC } from 'react';\
|
|
1
|
+
{"version":3,"file":"ChangePasswordForm.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { Form, useForm } from '../../Form';\nimport { useUser } from '../useUser';\nimport { changePasswordContent } from './changePasswordForm.content';\nimport {\n useChangePasswordSchema,\n type ChangePassword,\n} from './useChangePasswordSchema';\n\ntype ChangePasswordFormProps = {\n onSubmitSuccess: (data: ChangePassword) => Promise<void>;\n onClickBackToHome: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ChangePasswordForm: FC<ChangePasswordFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToHome,\n}) => {\n const {\n currentPasswordInput,\n newPasswordInput,\n confirmPasswordInput,\n changePasswordButton,\n backToHomeButton,\n } = useDictionary(changePasswordContent);\n const { user } = useUser();\n const ChangePasswordSchema = useChangePasswordSchema();\n\n const { form, isSubmitting, isSubmitted, isValid } =\n useForm(ChangePasswordSchema);\n\n return (\n <Form\n schema={ChangePasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n type=\"text\"\n name=\"email\"\n value={user?.email ?? ''}\n autoComplete=\"username email\"\n disabled\n hidden\n className=\"hidden\"\n />\n <Form.InputPassword\n name=\"currentPassword\"\n label={currentPasswordInput.label.value}\n placeholder={currentPasswordInput.placeholder.value}\n autoComplete=\"current-password\"\n isRequired\n />\n <Form.InputPassword\n name=\"newPassword\"\n label={newPasswordInput.label.value}\n placeholder={newPasswordInput.placeholder.value}\n autoComplete=\"new-password\"\n isRequired\n />\n <Form.InputPassword\n name=\"newPasswordConfirmation\"\n label={confirmPasswordInput.label.value}\n placeholder={confirmPasswordInput.placeholder.value}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid}\n variant={isSubmitted ? 'outline' : 'default'}\n label={changePasswordButton.ariaLabel.value}\n >\n {changePasswordButton.text.value}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToHomeButton.ariaLabel.value}\n onClick={onClickBackToHome}\n >\n {backToHomeButton.text.value}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["useDictionary","changePasswordContent","useUser","useChangePasswordSchema","useForm","jsxs","Form","jsx"],"mappings":";;;;;;;;;;AAgBO,MAAM,qBAAkD,CAAC;AAAA,EAC9D;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACEA,cAAAA,cAAcC,8DAAAA,qBAAqB;AACjC,QAAA,EAAE,KAAK,IAAIC,sCAAQ;AACzB,QAAM,uBAAuBC,2DAAAA,wBAAwB;AAErD,QAAM,EAAE,MAAM,cAAc,aAAa,QAAQ,IAC/CC,iCAAQ,oBAAoB;AAG5B,SAAAC,2BAAA,kBAAA;AAAA,IAACC,sCAAA;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACZ,WAAU;AAAA,MACT,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACD,2BAAAA,kBAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,UAAAE,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,MAAK;AAAA,cACL,OAAO,MAAM,SAAS;AAAA,cACtB,cAAa;AAAA,cACb,UAAQ;AAAA,cACR,QAAM;AAAA,cACN,WAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,qBAAqB,MAAM;AAAA,cAClC,aAAa,qBAAqB,YAAY;AAAA,cAC9C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,iBAAiB,MAAM;AAAA,cAC9B,aAAa,iBAAiB,YAAY;AAAA,cAC1C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAC,2BAAA,kBAAA;AAAA,YAACD,sCAAAA,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,qBAAqB,MAAM;AAAA,cAClC,aAAa,qBAAqB,YAAY;AAAA,cAC9C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ,GACF;AAAA,QAEAC,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,UAAU,CAAC;AAAA,YACX,SAAS,cAAc,YAAY;AAAA,YACnC,OAAO,qBAAqB,UAAU;AAAA,YAErC,+BAAqB,KAAK;AAAA,UAAA;AAAA,QAC7B;AAAA,QACC,eACCC,2BAAA,kBAAA;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,OAAO,iBAAiB,UAAU;AAAA,YAClC,SAAS;AAAA,YAER,2BAAiB,KAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACzB;AAAA,IAAA;AAAA,EAEJ;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAEnC,KAAK,uBAAuB,GAAG;IAC7B,eAAe,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAkF1D,CAAC"}
|
|
@@ -48,8 +48,8 @@ const ChangePasswordForm = ({
|
|
|
48
48
|
Form.InputPassword,
|
|
49
49
|
{
|
|
50
50
|
name: "currentPassword",
|
|
51
|
-
label: currentPasswordInput.label,
|
|
52
|
-
placeholder: currentPasswordInput.placeholder,
|
|
51
|
+
label: currentPasswordInput.label.value,
|
|
52
|
+
placeholder: currentPasswordInput.placeholder.value,
|
|
53
53
|
autoComplete: "current-password",
|
|
54
54
|
isRequired: true
|
|
55
55
|
}
|
|
@@ -58,8 +58,8 @@ const ChangePasswordForm = ({
|
|
|
58
58
|
Form.InputPassword,
|
|
59
59
|
{
|
|
60
60
|
name: "newPassword",
|
|
61
|
-
label: newPasswordInput.label,
|
|
62
|
-
placeholder: newPasswordInput.placeholder,
|
|
61
|
+
label: newPasswordInput.label.value,
|
|
62
|
+
placeholder: newPasswordInput.placeholder.value,
|
|
63
63
|
autoComplete: "new-password",
|
|
64
64
|
isRequired: true
|
|
65
65
|
}
|
|
@@ -68,8 +68,8 @@ const ChangePasswordForm = ({
|
|
|
68
68
|
Form.InputPassword,
|
|
69
69
|
{
|
|
70
70
|
name: "newPasswordConfirmation",
|
|
71
|
-
label: confirmPasswordInput.label,
|
|
72
|
-
placeholder: confirmPasswordInput.placeholder,
|
|
71
|
+
label: confirmPasswordInput.label.value,
|
|
72
|
+
placeholder: confirmPasswordInput.placeholder.value,
|
|
73
73
|
autoComplete: "new-password",
|
|
74
74
|
isRequired: true
|
|
75
75
|
}
|
|
@@ -84,17 +84,17 @@ const ChangePasswordForm = ({
|
|
|
84
84
|
isLoading: isSubmitting,
|
|
85
85
|
disabled: !isValid,
|
|
86
86
|
variant: isSubmitted ? "outline" : "default",
|
|
87
|
-
label: changePasswordButton.ariaLabel,
|
|
88
|
-
children: changePasswordButton.text
|
|
87
|
+
label: changePasswordButton.ariaLabel.value,
|
|
88
|
+
children: changePasswordButton.text.value
|
|
89
89
|
}
|
|
90
90
|
),
|
|
91
91
|
isSubmitted && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
92
92
|
Form.Button,
|
|
93
93
|
{
|
|
94
94
|
className: "mt-4 w-full",
|
|
95
|
-
label: backToHomeButton.ariaLabel,
|
|
95
|
+
label: backToHomeButton.ariaLabel.value,
|
|
96
96
|
onClick: onClickBackToHome,
|
|
97
|
-
children: backToHomeButton.text
|
|
97
|
+
children: backToHomeButton.text.value
|
|
98
98
|
}
|
|
99
99
|
)
|
|
100
100
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordForm.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"sourcesContent":["import type { FC } from 'react';\
|
|
1
|
+
{"version":3,"file":"ChangePasswordForm.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/ChangePasswordForm.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { Form, useForm } from '../../Form';\nimport { useUser } from '../useUser';\nimport { changePasswordContent } from './changePasswordForm.content';\nimport {\n useChangePasswordSchema,\n type ChangePassword,\n} from './useChangePasswordSchema';\n\ntype ChangePasswordFormProps = {\n onSubmitSuccess: (data: ChangePassword) => Promise<void>;\n onClickBackToHome: () => void;\n onSubmitError?: (error: Error) => void;\n};\n\nexport const ChangePasswordForm: FC<ChangePasswordFormProps> = ({\n onSubmitSuccess,\n onSubmitError,\n onClickBackToHome,\n}) => {\n const {\n currentPasswordInput,\n newPasswordInput,\n confirmPasswordInput,\n changePasswordButton,\n backToHomeButton,\n } = useDictionary(changePasswordContent);\n const { user } = useUser();\n const ChangePasswordSchema = useChangePasswordSchema();\n\n const { form, isSubmitting, isSubmitted, isValid } =\n useForm(ChangePasswordSchema);\n\n return (\n <Form\n schema={ChangePasswordSchema}\n onSubmitSuccess={onSubmitSuccess}\n onSubmitError={onSubmitError}\n autoComplete\n className=\"gap-y-0\"\n {...form}\n >\n <div className=\"flex flex-col gap-y-6\">\n <Form.Input\n type=\"text\"\n name=\"email\"\n value={user?.email ?? ''}\n autoComplete=\"username email\"\n disabled\n hidden\n className=\"hidden\"\n />\n <Form.InputPassword\n name=\"currentPassword\"\n label={currentPasswordInput.label.value}\n placeholder={currentPasswordInput.placeholder.value}\n autoComplete=\"current-password\"\n isRequired\n />\n <Form.InputPassword\n name=\"newPassword\"\n label={newPasswordInput.label.value}\n placeholder={newPasswordInput.placeholder.value}\n autoComplete=\"new-password\"\n isRequired\n />\n <Form.InputPassword\n name=\"newPasswordConfirmation\"\n label={confirmPasswordInput.label.value}\n placeholder={confirmPasswordInput.placeholder.value}\n autoComplete=\"new-password\"\n isRequired\n />\n </div>\n\n <Form.Button\n className=\"mt-12 w-full\"\n type=\"submit\"\n color=\"text\"\n isLoading={isSubmitting}\n disabled={!isValid}\n variant={isSubmitted ? 'outline' : 'default'}\n label={changePasswordButton.ariaLabel.value}\n >\n {changePasswordButton.text.value}\n </Form.Button>\n {isSubmitted && (\n <Form.Button\n className=\"mt-4 w-full\"\n label={backToHomeButton.ariaLabel.value}\n onClick={onClickBackToHome}\n >\n {backToHomeButton.text.value}\n </Form.Button>\n )}\n </Form>\n );\n};\n"],"names":["jsxs","jsx"],"mappings":";;;;;;;;AAgBO,MAAM,qBAAkD,CAAC;AAAA,EAC9D;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACE,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,cAAc,qBAAqB;AACjC,QAAA,EAAE,KAAK,IAAI,QAAQ;AACzB,QAAM,uBAAuB,wBAAwB;AAErD,QAAM,EAAE,MAAM,cAAc,aAAa,QAAQ,IAC/C,QAAQ,oBAAoB;AAG5B,SAAAA,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACZ,WAAU;AAAA,MACT,GAAG;AAAA,MAEJ,UAAA;AAAA,QAACA,kCAAAA,KAAA,OAAA,EAAI,WAAU,yBACb,UAAA;AAAA,UAAAC,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,MAAK;AAAA,cACL,OAAO,MAAM,SAAS;AAAA,cACtB,cAAa;AAAA,cACb,UAAQ;AAAA,cACR,QAAM;AAAA,cACN,WAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,qBAAqB,MAAM;AAAA,cAClC,aAAa,qBAAqB,YAAY;AAAA,cAC9C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,iBAAiB,MAAM;AAAA,cAC9B,aAAa,iBAAiB,YAAY;AAAA,cAC1C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UACZ;AAAA,UACAA,kCAAA;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACC,MAAK;AAAA,cACL,OAAO,qBAAqB,MAAM;AAAA,cAClC,aAAa,qBAAqB,YAAY;AAAA,cAC9C,cAAa;AAAA,cACb,YAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ,GACF;AAAA,QAEAA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,MAAK;AAAA,YACL,OAAM;AAAA,YACN,WAAW;AAAA,YACX,UAAU,CAAC;AAAA,YACX,SAAS,cAAc,YAAY;AAAA,YACnC,OAAO,qBAAqB,UAAU;AAAA,YAErC,+BAAqB,KAAK;AAAA,UAAA;AAAA,QAC7B;AAAA,QACC,eACCA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,WAAU;AAAA,YACV,OAAO,iBAAiB,UAAU;AAAA,YAClC,SAAS;AAAA,YAER,2BAAiB,KAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACzB;AAAA,IAAA;AAAA,EAEJ;AAEJ;"}
|
|
@@ -2,24 +2,164 @@ export declare const changePasswordContent: {
|
|
|
2
2
|
key: string;
|
|
3
3
|
content: {
|
|
4
4
|
currentPasswordInput: {
|
|
5
|
-
label: import('@intlayer/core').
|
|
6
|
-
|
|
5
|
+
label: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
6
|
+
en: string;
|
|
7
|
+
fr: string;
|
|
8
|
+
es: string;
|
|
9
|
+
de: string;
|
|
10
|
+
ja: string;
|
|
11
|
+
ko: string;
|
|
12
|
+
zh: string;
|
|
13
|
+
it: string;
|
|
14
|
+
pt: string;
|
|
15
|
+
hi: string;
|
|
16
|
+
ar: string;
|
|
17
|
+
ru: string;
|
|
18
|
+
'en-GB': string;
|
|
19
|
+
}>;
|
|
20
|
+
placeholder: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
21
|
+
en: string;
|
|
22
|
+
fr: string;
|
|
23
|
+
es: string;
|
|
24
|
+
de: string;
|
|
25
|
+
ja: string;
|
|
26
|
+
ko: string;
|
|
27
|
+
zh: string;
|
|
28
|
+
it: string;
|
|
29
|
+
pt: string;
|
|
30
|
+
hi: string;
|
|
31
|
+
ar: string;
|
|
32
|
+
ru: string;
|
|
33
|
+
'en-GB': string;
|
|
34
|
+
}>;
|
|
7
35
|
};
|
|
8
36
|
newPasswordInput: {
|
|
9
|
-
label: import('@intlayer/core').
|
|
10
|
-
|
|
37
|
+
label: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
38
|
+
en: string;
|
|
39
|
+
fr: string;
|
|
40
|
+
es: string;
|
|
41
|
+
de: string;
|
|
42
|
+
ja: string;
|
|
43
|
+
ko: string;
|
|
44
|
+
zh: string;
|
|
45
|
+
it: string;
|
|
46
|
+
pt: string;
|
|
47
|
+
hi: string;
|
|
48
|
+
ar: string;
|
|
49
|
+
ru: string;
|
|
50
|
+
'en-GB': string;
|
|
51
|
+
}>;
|
|
52
|
+
placeholder: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
53
|
+
en: string;
|
|
54
|
+
fr: string;
|
|
55
|
+
es: string;
|
|
56
|
+
de: string;
|
|
57
|
+
ja: string;
|
|
58
|
+
ko: string;
|
|
59
|
+
zh: string;
|
|
60
|
+
it: string;
|
|
61
|
+
pt: string;
|
|
62
|
+
hi: string;
|
|
63
|
+
ar: string;
|
|
64
|
+
ru: string;
|
|
65
|
+
'en-GB': string;
|
|
66
|
+
}>;
|
|
11
67
|
};
|
|
12
68
|
confirmPasswordInput: {
|
|
13
|
-
label: import('@intlayer/core').
|
|
14
|
-
|
|
69
|
+
label: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
70
|
+
en: string;
|
|
71
|
+
fr: string;
|
|
72
|
+
es: string;
|
|
73
|
+
de: string;
|
|
74
|
+
ja: string;
|
|
75
|
+
ko: string;
|
|
76
|
+
zh: string;
|
|
77
|
+
it: string;
|
|
78
|
+
pt: string;
|
|
79
|
+
hi: string;
|
|
80
|
+
ar: string;
|
|
81
|
+
ru: string;
|
|
82
|
+
'en-GB': string;
|
|
83
|
+
}>;
|
|
84
|
+
placeholder: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
85
|
+
en: string;
|
|
86
|
+
fr: string;
|
|
87
|
+
es: string;
|
|
88
|
+
de: string;
|
|
89
|
+
ja: string;
|
|
90
|
+
ko: string;
|
|
91
|
+
zh: string;
|
|
92
|
+
it: string;
|
|
93
|
+
pt: string;
|
|
94
|
+
hi: string;
|
|
95
|
+
ar: string;
|
|
96
|
+
ru: string;
|
|
97
|
+
'en-GB': string;
|
|
98
|
+
}>;
|
|
15
99
|
};
|
|
16
100
|
changePasswordButton: {
|
|
17
|
-
text: import('@intlayer/core').
|
|
18
|
-
|
|
101
|
+
text: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
102
|
+
en: string;
|
|
103
|
+
fr: string;
|
|
104
|
+
es: string;
|
|
105
|
+
de: string;
|
|
106
|
+
ja: string;
|
|
107
|
+
ko: string;
|
|
108
|
+
zh: string;
|
|
109
|
+
it: string;
|
|
110
|
+
pt: string;
|
|
111
|
+
hi: string;
|
|
112
|
+
ar: string;
|
|
113
|
+
ru: string;
|
|
114
|
+
'en-GB': string;
|
|
115
|
+
}>;
|
|
116
|
+
ariaLabel: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
117
|
+
en: string;
|
|
118
|
+
fr: string;
|
|
119
|
+
es: string;
|
|
120
|
+
de: string;
|
|
121
|
+
ja: string;
|
|
122
|
+
ko: string;
|
|
123
|
+
zh: string;
|
|
124
|
+
it: string;
|
|
125
|
+
pt: string;
|
|
126
|
+
hi: string;
|
|
127
|
+
ar: string;
|
|
128
|
+
ru: string;
|
|
129
|
+
'en-GB': string;
|
|
130
|
+
}>;
|
|
19
131
|
};
|
|
20
132
|
backToHomeButton: {
|
|
21
|
-
text: import('@intlayer/core').
|
|
22
|
-
|
|
133
|
+
text: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
134
|
+
en: string;
|
|
135
|
+
fr: string;
|
|
136
|
+
es: string;
|
|
137
|
+
de: string;
|
|
138
|
+
ja: string;
|
|
139
|
+
ko: string;
|
|
140
|
+
zh: string;
|
|
141
|
+
it: string;
|
|
142
|
+
pt: string;
|
|
143
|
+
hi: string;
|
|
144
|
+
ar: string;
|
|
145
|
+
ru: string;
|
|
146
|
+
'en-GB': string;
|
|
147
|
+
}>;
|
|
148
|
+
ariaLabel: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
149
|
+
en: string;
|
|
150
|
+
fr: string;
|
|
151
|
+
es: string;
|
|
152
|
+
de: string;
|
|
153
|
+
ja: string;
|
|
154
|
+
ko: string;
|
|
155
|
+
zh: string;
|
|
156
|
+
it: string;
|
|
157
|
+
pt: string;
|
|
158
|
+
hi: string;
|
|
159
|
+
ar: string;
|
|
160
|
+
ru: string;
|
|
161
|
+
'en-GB': string;
|
|
162
|
+
}>;
|
|
23
163
|
};
|
|
24
164
|
};
|
|
25
165
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changePasswordForm.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/changePasswordForm.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"changePasswordForm.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/changePasswordForm.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoKZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChangePasswordSchema.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"useChangePasswordSchema.cjs","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"sourcesContent":["import { useDictionary } from 'react-intlayer';\nimport { z } from 'zod';\nimport { changePasswordSchemaContent } from './useChangePasswordSchema.content';\n\nexport const useChangePasswordSchema = () => {\n const {\n requiredErrorPassword,\n invalidTypeErrorPassword,\n invalidPasswordLengthError,\n requiredErrorNewPassword,\n invalidTypeErrorNewPassword,\n requiredErrorNewPasswordConfirmation,\n invalidTypeErrorNewPasswordConfirmation,\n passwordNotMatchError,\n } = useDictionary(changePasswordSchemaContent);\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 useChangePasswordSchema>\n>;\n"],"names":["useDictionary","changePasswordSchemaContent","z"],"mappings":";;;;;AAIO,MAAM,0BAA0B,MAAM;AACrC,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACEA,cAAAA,cAAcC,mEAAAA,2BAA2B;AAE7C,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,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,14 +1,126 @@
|
|
|
1
1
|
export declare const changePasswordSchemaContent: {
|
|
2
2
|
key: string;
|
|
3
3
|
content: {
|
|
4
|
-
requiredErrorPassword: import('@intlayer/core').
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
requiredErrorPassword: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
5
|
+
en: string;
|
|
6
|
+
'en-GB': string;
|
|
7
|
+
fr: string;
|
|
8
|
+
es: string;
|
|
9
|
+
de: string;
|
|
10
|
+
ja: string;
|
|
11
|
+
ko: string;
|
|
12
|
+
zh: string;
|
|
13
|
+
it: string;
|
|
14
|
+
pt: string;
|
|
15
|
+
hi: string;
|
|
16
|
+
ar: string;
|
|
17
|
+
ru: string;
|
|
18
|
+
}>;
|
|
19
|
+
invalidTypeErrorPassword: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
20
|
+
en: string;
|
|
21
|
+
'en-GB': string;
|
|
22
|
+
fr: string;
|
|
23
|
+
es: string;
|
|
24
|
+
de: string;
|
|
25
|
+
ja: string;
|
|
26
|
+
ko: string;
|
|
27
|
+
zh: string;
|
|
28
|
+
it: string;
|
|
29
|
+
pt: string;
|
|
30
|
+
hi: string;
|
|
31
|
+
ar: string;
|
|
32
|
+
ru: string;
|
|
33
|
+
}>;
|
|
34
|
+
invalidPasswordLengthError: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
35
|
+
en: string;
|
|
36
|
+
'en-GB': string;
|
|
37
|
+
fr: string;
|
|
38
|
+
es: string;
|
|
39
|
+
de: string;
|
|
40
|
+
ja: string;
|
|
41
|
+
ko: string;
|
|
42
|
+
zh: string;
|
|
43
|
+
it: string;
|
|
44
|
+
pt: string;
|
|
45
|
+
hi: string;
|
|
46
|
+
ar: string;
|
|
47
|
+
ru: string;
|
|
48
|
+
}>;
|
|
49
|
+
requiredErrorNewPassword: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
50
|
+
en: string;
|
|
51
|
+
'en-GB': string;
|
|
52
|
+
fr: string;
|
|
53
|
+
es: string;
|
|
54
|
+
de: string;
|
|
55
|
+
ja: string;
|
|
56
|
+
ko: string;
|
|
57
|
+
zh: string;
|
|
58
|
+
it: string;
|
|
59
|
+
pt: string;
|
|
60
|
+
hi: string;
|
|
61
|
+
ar: string;
|
|
62
|
+
ru: string;
|
|
63
|
+
}>;
|
|
64
|
+
invalidTypeErrorNewPassword: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
65
|
+
en: string;
|
|
66
|
+
'en-GB': string;
|
|
67
|
+
fr: string;
|
|
68
|
+
es: string;
|
|
69
|
+
de: string;
|
|
70
|
+
ja: string;
|
|
71
|
+
ko: string;
|
|
72
|
+
zh: string;
|
|
73
|
+
it: string;
|
|
74
|
+
pt: string;
|
|
75
|
+
hi: string;
|
|
76
|
+
ar: string;
|
|
77
|
+
ru: string;
|
|
78
|
+
}>;
|
|
79
|
+
requiredErrorNewPasswordConfirmation: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
80
|
+
en: string;
|
|
81
|
+
'en-GB': string;
|
|
82
|
+
fr: string;
|
|
83
|
+
es: string;
|
|
84
|
+
de: string;
|
|
85
|
+
ja: string;
|
|
86
|
+
ko: string;
|
|
87
|
+
zh: string;
|
|
88
|
+
it: string;
|
|
89
|
+
pt: string;
|
|
90
|
+
hi: string;
|
|
91
|
+
ar: string;
|
|
92
|
+
ru: string;
|
|
93
|
+
}>;
|
|
94
|
+
invalidTypeErrorNewPasswordConfirmation: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
95
|
+
en: string;
|
|
96
|
+
'en-GB': string;
|
|
97
|
+
fr: string;
|
|
98
|
+
es: string;
|
|
99
|
+
de: string;
|
|
100
|
+
ja: string;
|
|
101
|
+
ko: string;
|
|
102
|
+
zh: string;
|
|
103
|
+
it: string;
|
|
104
|
+
pt: string;
|
|
105
|
+
hi: string;
|
|
106
|
+
ar: string;
|
|
107
|
+
ru: string;
|
|
108
|
+
}>;
|
|
109
|
+
passwordNotMatchError: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
110
|
+
en: string;
|
|
111
|
+
'en-GB': string;
|
|
112
|
+
fr: string;
|
|
113
|
+
es: string;
|
|
114
|
+
de: string;
|
|
115
|
+
ja: string;
|
|
116
|
+
ko: string;
|
|
117
|
+
zh: string;
|
|
118
|
+
it: string;
|
|
119
|
+
pt: string;
|
|
120
|
+
hi: string;
|
|
121
|
+
ar: string;
|
|
122
|
+
ru: string;
|
|
123
|
+
}>;
|
|
12
124
|
};
|
|
13
125
|
};
|
|
14
126
|
export default changePasswordSchemaContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChangePasswordSchema.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"useChangePasswordSchema.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIlB,CAAC;AAEvB,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChangePasswordSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useChangePasswordSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;EAqCnC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAClC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChangePasswordSchema.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"useChangePasswordSchema.mjs","sources":["../../../../src/components/Auth/ChangePasswordForm/useChangePasswordSchema.ts"],"sourcesContent":["import { useDictionary } from 'react-intlayer';\nimport { z } from 'zod';\nimport { changePasswordSchemaContent } from './useChangePasswordSchema.content';\n\nexport const useChangePasswordSchema = () => {\n const {\n requiredErrorPassword,\n invalidTypeErrorPassword,\n invalidPasswordLengthError,\n requiredErrorNewPassword,\n invalidTypeErrorNewPassword,\n requiredErrorNewPasswordConfirmation,\n invalidTypeErrorNewPasswordConfirmation,\n passwordNotMatchError,\n } = useDictionary(changePasswordSchemaContent);\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 useChangePasswordSchema>\n>;\n"],"names":[],"mappings":";;;AAIO,MAAM,0BAA0B,MAAM;AACrC,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,cAAc,2BAA2B;AAE7C,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;"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const jsxRuntime = require("../../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const reactIntlayer = require("react-intlayer");
|
|
6
|
-
const index = require("../../../index-
|
|
6
|
+
const index = require("../../../index-DTQyeqio.cjs");
|
|
7
7
|
require("@intlayer/config/client");
|
|
8
8
|
require("@intlayer/api");
|
|
9
9
|
const components_Button_Button = require("../../Button/Button.cjs");
|
|
@@ -20,7 +20,7 @@ const GitHubLoginButton = () => {
|
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
21
21
|
components_Button_Button.Button,
|
|
22
22
|
{
|
|
23
|
-
label: externalsLoginButtons.github.label,
|
|
23
|
+
label: externalsLoginButtons.github.label.value,
|
|
24
24
|
Icon: components_Auth_ExternalsLoginButtons_assets_GithubLogo.GithubLogo,
|
|
25
25
|
onClick: loginWithGitHub,
|
|
26
26
|
color: "text",
|
|
@@ -39,7 +39,7 @@ const GoogleLoginButton = () => {
|
|
|
39
39
|
components_Button_Button.Button,
|
|
40
40
|
{
|
|
41
41
|
className: "bg-red-400 hover:bg-red-500 dark:hover:bg-red-300",
|
|
42
|
-
label: externalsLoginButtons.google.label,
|
|
42
|
+
label: externalsLoginButtons.google.label.value,
|
|
43
43
|
Icon: components_Auth_ExternalsLoginButtons_assets_GoogleLogo.GoogleLogo,
|
|
44
44
|
onClick: loginWithGoogle,
|
|
45
45
|
color: "custom",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalsLoginButtons.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\
|
|
1
|
+
{"version":3,"file":"ExternalsLoginButtons.cjs","sources":["../../../../src/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { intlayerAPI } from '../../../../../api/src';\nimport { Button } from '../../Button';\nimport { GithubLogo } from './assets/GithubLogo';\nimport { GoogleLogo } from './assets/GoogleLogo';\nimport { externalsLoginButtonsContent } from './externalsLoginButtons.content';\n\nexport const GitHubLoginButton: FC = () => {\n const externalsLoginButtons = useDictionary(externalsLoginButtonsContent);\n const loginWithGitHub = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGitHubURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n label={externalsLoginButtons.github.label.value}\n Icon={GithubLogo}\n onClick={loginWithGitHub}\n color=\"text\"\n >\n {externalsLoginButtons.github.label}\n </Button>\n );\n};\n\nexport const GoogleLoginButton: FC = () => {\n const externalsLoginButtons = useDictionary(externalsLoginButtonsContent);\n const loginWithGoogle = () => {\n const origin = window.location.href;\n\n const authURL = intlayerAPI.auth.getLoginWithGoogleURL({ origin });\n\n window.location.href = authURL;\n };\n\n return (\n <Button\n className=\"bg-red-400 hover:bg-red-500 dark:hover:bg-red-300\"\n label={externalsLoginButtons.google.label.value}\n Icon={GoogleLogo}\n onClick={loginWithGoogle}\n color=\"custom\"\n >\n {externalsLoginButtons.google.label}\n </Button>\n );\n};\n\nexport const ExternalsLoginButtons: FC = () => {\n const externalsLoginButtons = useDictionary(externalsLoginButtonsContent);\n\n return (\n <div className=\"relative flex flex-col justify-center gap-y-3\">\n <div className=\"mb-3 flex w-full items-center gap-3 text-center text-base\">\n <div className=\"bg-neutral dark:bg-neutral-dark h-px w-full\" />\n <div className=\"text-neutral dark:text-neutral-dark\">\n {externalsLoginButtons.span}\n </div>\n <div className=\"bg-neutral dark:bg-neutral-dark h-px w-full\" />\n </div>\n <GoogleLoginButton />\n <GitHubLoginButton />\n </div>\n );\n};\n"],"names":["useDictionary","externalsLoginButtonsContent","intlayerAPI","jsx","Button","GithubLogo","GoogleLogo","jsxs"],"mappings":";;;;;;;;;;;;AAUO,MAAM,oBAAwB,MAAM;AACnC,QAAA,wBAAwBA,4BAAcC,gGAA4B;AACxE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAUC,MAAAA,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAC,2BAAA,kBAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACC,OAAO,sBAAsB,OAAO,MAAM;AAAA,MAC1C,MAAMC,wDAAA;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,gCAAsB,OAAO;AAAA,IAAA;AAAA,EAChC;AAEJ;AAEO,MAAM,oBAAwB,MAAM;AACnC,QAAA,wBAAwBL,4BAAcC,gGAA4B;AACxE,QAAM,kBAAkB,MAAM;AACtB,UAAA,SAAS,OAAO,SAAS;AAE/B,UAAM,UAAUC,MAAAA,YAAY,KAAK,sBAAsB,EAAE,QAAQ;AAEjE,WAAO,SAAS,OAAO;AAAA,EACzB;AAGE,SAAAC,2BAAA,kBAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO,sBAAsB,OAAO,MAAM;AAAA,MAC1C,MAAME,wDAAA;AAAA,MACN,SAAS;AAAA,MACT,OAAM;AAAA,MAEL,gCAAsB,OAAO;AAAA,IAAA;AAAA,EAChC;AAEJ;AAEO,MAAM,wBAA4B,MAAM;AACvC,QAAA,wBAAwBN,4BAAcC,gGAA4B;AAGtE,SAAAM,2BAAA,kBAAA,KAAC,OAAI,EAAA,WAAU,iDACb,UAAA;AAAA,IAACA,2BAAAA,kBAAAA,KAAA,OAAA,EAAI,WAAU,6DACb,UAAA;AAAA,MAACJ,2BAAAA,kBAAAA,IAAA,OAAA,EAAI,WAAU,8CAA8C,CAAA;AAAA,MAC5DA,2BAAA,kBAAA,IAAA,OAAA,EAAI,WAAU,uCACZ,gCAAsB,MACzB;AAAA,MACAA,2BAAAA,kBAAAA,IAAC,OAAI,EAAA,WAAU,8CAA8C,CAAA;AAAA,IAAA,GAC/D;AAAA,qDACC,mBAAkB,EAAA;AAAA,qDAClB,mBAAkB,CAAA,CAAA;AAAA,EAAA,GACrB;AAEJ;;;;"}
|