@intlayer/design-system 3.5.3 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.vite/manifest.json +274 -125
- package/dist/CopyButton-Cxu3goRg.cjs +59 -0
- package/dist/CopyButton-Cxu3goRg.cjs.map +1 -0
- package/dist/CopyButton-DlcDlf6U.js +60 -0
- package/dist/CopyButton-DlcDlf6U.js.map +1 -0
- package/dist/components/Auth/AuthModal/index.cjs +4 -0
- package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
- package/dist/components/Auth/AuthModal/index.mjs +4 -0
- package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +26 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +15 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/{ChangePasswordSchema.d.ts → useChangePasswordSchema.d.ts} +3 -3
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +11 -10
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +12 -11
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +86 -32
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +13 -9
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +85 -31
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +21 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.cjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/index.cjs +2 -2
- package/dist/components/Auth/SignInForm/index.d.ts +1 -1
- package/dist/components/Auth/SignInForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/index.mjs +2 -2
- package/dist/components/Auth/SignInForm/signIn.content.cjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts +31 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +11 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/{SignInSchema.d.ts → useSignInSchema.d.ts} +3 -3
- package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +3 -3
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/index.cjs +2 -2
- package/dist/components/Auth/SignUpForm/index.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/index.mjs +2 -2
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +24 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +14 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/{SignUpSchema.d.ts → useSignUpSchema.d.ts} +3 -3
- package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -0
- package/dist/components/Auth/index.cjs +8 -8
- package/dist/components/Auth/index.mjs +8 -8
- package/dist/components/Auth/useAuth/useSession.cjs +1 -0
- package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useSession.mjs +1 -0
- package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +8 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -0
- package/dist/components/Breadcrumb/index.cjs +103 -34
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts +6 -2
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs +103 -34
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/Button/Button.cjs +7 -8
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.mjs +7 -8
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Container/index.cjs +2 -2
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.mjs +2 -2
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/index.cjs +4 -0
- package/dist/components/DictionaryEditor/index.cjs.map +1 -1
- package/dist/components/DictionaryEditor/index.mjs +4 -0
- package/dist/components/DictionaryEditor/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +2 -2
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/{dictionaryFormSchema.d.ts → useDictionaryFormSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +17 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/{DictionaryDetailsSchema.d.ts → useDictionaryDetailsSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +2 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +63 -20
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +66 -23
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts +18 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/Headers/index.cjs +1 -1
- package/dist/components/Headers/index.cjs.map +1 -1
- package/dist/components/Headers/index.mjs +1 -1
- package/dist/components/Headers/index.mjs.map +1 -1
- package/dist/components/IDE/CodeRender copy.cjs +141 -0
- package/dist/components/IDE/CodeRender copy.cjs.map +1 -0
- package/dist/components/IDE/CodeRender copy.d.ts +14 -0
- package/dist/components/IDE/CodeRender copy.d.ts.map +1 -0
- package/dist/components/IDE/CodeRender copy.mjs +141 -0
- package/dist/components/IDE/CodeRender copy.mjs.map +1 -0
- package/dist/components/IDE/CodeRender.cjs +39 -625
- package/dist/components/IDE/CodeRender.cjs.map +1 -1
- package/dist/components/IDE/CodeRender.d.ts +4 -5
- package/dist/components/IDE/CodeRender.d.ts.map +1 -1
- package/dist/components/IDE/CodeRender.mjs +40 -604
- package/dist/components/IDE/CodeRender.mjs.map +1 -1
- package/dist/components/IDE/CopyButton.cjs +40 -0
- package/dist/components/IDE/CopyButton.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.cjs +26 -0
- package/dist/components/IDE/CopyButton.content.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.d.ts +8 -0
- package/dist/components/IDE/CopyButton.content.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.content.mjs +26 -0
- package/dist/components/IDE/CopyButton.content.mjs.map +1 -0
- package/dist/components/IDE/CopyButton.d.ts +7 -0
- package/dist/components/IDE/CopyButton.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.mjs +40 -0
- package/dist/components/IDE/CopyButton.mjs.map +1 -0
- package/dist/components/IDE/IDE.cjs +1 -1
- package/dist/components/IDE/IDE.cjs.map +1 -1
- package/dist/components/IDE/IDE.mjs +1 -1
- package/dist/components/IDE/IDE.mjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.cjs +10 -2
- package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.d.ts.map +1 -1
- package/dist/components/IDE/MarkDownRender.mjs +10 -2
- package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
- package/dist/components/IDE/MonacoCode.cjs +129 -0
- package/dist/components/IDE/MonacoCode.cjs.map +1 -0
- package/dist/components/IDE/MonacoCode.d.ts +14 -0
- package/dist/components/IDE/MonacoCode.d.ts.map +1 -0
- package/dist/components/IDE/MonacoCode.mjs +129 -0
- package/dist/components/IDE/MonacoCode.mjs.map +1 -0
- package/dist/components/Link/Link.cjs +50 -31
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.d.ts +3 -0
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.mjs +51 -32
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Link/index.cjs +1 -0
- package/dist/components/Link/index.cjs.map +1 -1
- package/dist/components/Link/index.mjs +3 -2
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +122 -42
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +2 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +123 -43
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +86 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +14 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +87 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
- package/dist/components/MarkDownRender/index.cjs +4 -2
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.d.ts +3 -1
- package/dist/components/MarkDownRender/index.d.ts.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +4 -2
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +8 -10
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.mjs +8 -10
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/index.cjs +13 -8
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.mjs +14 -9
- package/dist/components/index.mjs.map +1 -1
- package/dist/design-system.css +235 -0
- package/dist/hooks/index.cjs +6 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.mjs +7 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +8 -2
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +4 -0
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +8 -2
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/index.cjs +3 -0
- package/dist/hooks/useAsync/index.cjs.map +1 -1
- package/dist/hooks/useAsync/index.d.ts +1 -0
- package/dist/hooks/useAsync/index.d.ts.map +1 -1
- package/dist/hooks/useAsync/index.mjs +4 -1
- package/dist/hooks/useAsync/index.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +2 -9
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs +3 -10
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +35 -11
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +3 -0
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/dist/hooks/useIsDarkMode.cjs +15 -0
- package/dist/hooks/useIsDarkMode.cjs.map +1 -0
- package/dist/hooks/useIsDarkMode.d.ts +2 -0
- package/dist/hooks/useIsDarkMode.d.ts.map +1 -0
- package/dist/hooks/useIsDarkMode.mjs +15 -0
- package/dist/hooks/useIsDarkMode.mjs.map +1 -0
- package/dist/libs/intlayer-api/ai.cjs +24 -0
- package/dist/libs/intlayer-api/ai.cjs.map +1 -0
- package/dist/libs/intlayer-api/ai.d.ts +10 -0
- package/dist/libs/intlayer-api/ai.d.ts.map +1 -0
- package/dist/libs/intlayer-api/ai.mjs +24 -0
- package/dist/libs/intlayer-api/ai.mjs.map +1 -0
- package/dist/libs/intlayer-api/index.cjs +3 -1
- package/dist/libs/intlayer-api/index.cjs.map +1 -1
- package/dist/libs/intlayer-api/index.d.ts +6 -0
- package/dist/libs/intlayer-api/index.d.ts.map +1 -1
- package/dist/libs/intlayer-api/index.mjs +3 -1
- package/dist/libs/intlayer-api/index.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +19 -16
- package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
- package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
- package/dist/__vite-browser-external-r74dyCO2.js +0 -5
- package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
- package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.d.ts +0 -24
- package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
- package/dist/tailwind.js +0 -1
|
@@ -4,71 +4,181 @@ const navigationViewContent = {
|
|
|
4
4
|
content: {
|
|
5
5
|
tsxNotEditable: t({
|
|
6
6
|
en: "React node not editable",
|
|
7
|
+
"en-GB": "React node not editable",
|
|
7
8
|
fr: "Node React non éditable",
|
|
8
|
-
es: "Nodo React no editable"
|
|
9
|
+
es: "Nodo React no editable",
|
|
10
|
+
de: "React-Knoten nicht bearbeitbar",
|
|
11
|
+
ja: "編集できないReactノード",
|
|
12
|
+
ko: "편집할 수 없는 React 노드",
|
|
13
|
+
zh: "不可编辑的 React 节点",
|
|
14
|
+
it: "Node React non modificabile",
|
|
15
|
+
pt: "Nó React não editável",
|
|
16
|
+
hi: "सम्पादित न करने योग्य React नोड",
|
|
17
|
+
ar: "عقدة React غير قابلة للتحرير",
|
|
18
|
+
ru: "React-узел не редактируемый"
|
|
9
19
|
}),
|
|
10
20
|
goToField: {
|
|
11
21
|
label: t({
|
|
12
22
|
en: "Go to field",
|
|
23
|
+
"en-GB": "Go to field",
|
|
13
24
|
fr: "Aller au champ",
|
|
14
|
-
es: "Ir al campo"
|
|
25
|
+
es: "Ir al campo",
|
|
26
|
+
de: "Zum Feld gehen",
|
|
27
|
+
ja: "フィールドに移動",
|
|
28
|
+
ko: "필드로 이동",
|
|
29
|
+
zh: "转到字段",
|
|
30
|
+
it: "Vai al campo",
|
|
31
|
+
pt: "Ir para o campo",
|
|
32
|
+
hi: "फ़ील्ड पर जाएं",
|
|
33
|
+
ar: "اذهب إلى الحقل",
|
|
34
|
+
ru: "Перейти к полю"
|
|
15
35
|
})
|
|
16
36
|
},
|
|
17
37
|
addNewField: {
|
|
18
38
|
label: t({
|
|
19
39
|
en: "Click to add field",
|
|
40
|
+
"en-GB": "Click to add field",
|
|
20
41
|
fr: "Cliquez pour ajouter un champ",
|
|
21
|
-
es: "Haga clic para agregar un campo"
|
|
42
|
+
es: "Haga clic para agregar un campo",
|
|
43
|
+
de: "Klicken Sie, um ein Feld hinzuzufügen",
|
|
44
|
+
ja: "フィールドを追加するにはクリック",
|
|
45
|
+
ko: "필드를 추가하려면 클릭하세요",
|
|
46
|
+
zh: "点击添加字段",
|
|
47
|
+
it: "Clicca per aggiungere un campo",
|
|
48
|
+
pt: "Clique para adicionar um campo",
|
|
49
|
+
hi: "फ़ील्ड जोड़ने के लिए क्लिक करें",
|
|
50
|
+
ar: "انقر لإضافة حقل",
|
|
51
|
+
ru: "Нажмите, чтобы добавить поле"
|
|
22
52
|
}),
|
|
23
53
|
text: t({
|
|
24
54
|
en: "Add new field",
|
|
55
|
+
"en-GB": "Add new field",
|
|
25
56
|
fr: "Ajouter un nouveau champ",
|
|
26
|
-
es: "Agregar nuevo campo"
|
|
57
|
+
es: "Agregar nuevo campo",
|
|
58
|
+
de: "Neues Feld hinzufügen",
|
|
59
|
+
ja: "新しいフィールドを追加",
|
|
60
|
+
ko: "새 필드 추가",
|
|
61
|
+
zh: "添加新字段",
|
|
62
|
+
it: "Aggiungi nuovo campo",
|
|
63
|
+
pt: "Adicionar novo campo",
|
|
64
|
+
hi: "नया फ़ील्ड जोड़ें",
|
|
65
|
+
ar: "أضف حقلًا جديدًا",
|
|
66
|
+
ru: "Добавить новое поле"
|
|
27
67
|
})
|
|
28
68
|
},
|
|
29
69
|
goToElement: {
|
|
30
70
|
label: t({
|
|
31
71
|
en: "Go to element",
|
|
72
|
+
"en-GB": "Go to element",
|
|
32
73
|
fr: "Aller à l'élément",
|
|
33
|
-
es: "Ir al elemento"
|
|
74
|
+
es: "Ir al elemento",
|
|
75
|
+
de: "Zum Element gehen",
|
|
76
|
+
ja: "要素に移動",
|
|
77
|
+
ko: "요소로 이동",
|
|
78
|
+
zh: "转到元素",
|
|
79
|
+
it: "Vai all’elemento",
|
|
80
|
+
pt: "Ir para o elemento",
|
|
81
|
+
hi: "तत्व पर जाएं",
|
|
82
|
+
ar: "اذهب إلى العنصر",
|
|
83
|
+
ru: "Перейти к элементу"
|
|
34
84
|
})
|
|
35
85
|
},
|
|
36
86
|
addNewElement: {
|
|
37
87
|
label: t({
|
|
38
88
|
en: "Click to add element",
|
|
89
|
+
"en-GB": "Click to add element",
|
|
39
90
|
fr: "Cliquez pour ajouter un élément",
|
|
40
|
-
es: "Haga clic para agregar un elemento"
|
|
91
|
+
es: "Haga clic para agregar un elemento",
|
|
92
|
+
de: "Klicken Sie, um ein Element hinzuzufügen",
|
|
93
|
+
ja: "要素を追加するにはクリック",
|
|
94
|
+
ko: "요소를 추가하려면 클릭하세요",
|
|
95
|
+
zh: "点击添加元素",
|
|
96
|
+
it: "Clicca per aggiungere un elemento",
|
|
97
|
+
pt: "Clique para adicionar um elemento",
|
|
98
|
+
hi: "तत्व जोड़ने के लिए क्लिक करें",
|
|
99
|
+
ar: "انقر لإضافة عنصر",
|
|
100
|
+
ru: "Нажмите, чтобы добавить элемент"
|
|
41
101
|
}),
|
|
42
102
|
text: t({
|
|
43
103
|
en: "Add new element",
|
|
104
|
+
"en-GB": "Add new element",
|
|
44
105
|
fr: "Ajouter un nouvel élément",
|
|
45
|
-
es: "Agregar nuevo elemento"
|
|
106
|
+
es: "Agregar nuevo elemento",
|
|
107
|
+
de: "Neues Element hinzufügen",
|
|
108
|
+
ja: "新しい要素を追加",
|
|
109
|
+
ko: "새 요소 추가",
|
|
110
|
+
zh: "添加新元素",
|
|
111
|
+
it: "Aggiungi nuovo elemento",
|
|
112
|
+
pt: "Adicionar novo elemento",
|
|
113
|
+
hi: "नया तत्व जोड़ें",
|
|
114
|
+
ar: "أضف عنصرًا جديدًا",
|
|
115
|
+
ru: "Добавить новый элемент"
|
|
46
116
|
})
|
|
47
117
|
},
|
|
48
118
|
goToTranslation: {
|
|
49
119
|
label: t({
|
|
50
120
|
en: "Go to translation",
|
|
121
|
+
"en-GB": "Go to translation",
|
|
51
122
|
fr: "Aller à la traduction",
|
|
52
|
-
es: "Ir a la traducción"
|
|
123
|
+
es: "Ir a la traducción",
|
|
124
|
+
de: "Zur Übersetzung gehen",
|
|
125
|
+
ja: "翻訳に移動",
|
|
126
|
+
ko: "번역으로 이동",
|
|
127
|
+
zh: "转到翻译",
|
|
128
|
+
it: "Vai alla traduzione",
|
|
129
|
+
pt: "Ir para a tradução",
|
|
130
|
+
hi: "अनुवाद पर जाएं",
|
|
131
|
+
ar: "اذهب إلى الترجمة",
|
|
132
|
+
ru: "Перейти к переводу"
|
|
53
133
|
})
|
|
54
134
|
},
|
|
55
135
|
goToEnumeration: {
|
|
56
136
|
label: t({
|
|
57
137
|
en: "Go to enumeration",
|
|
138
|
+
"en-GB": "Go to enumeration",
|
|
58
139
|
fr: "Aller à l'énumération",
|
|
59
|
-
es: "Ir a la enumeración"
|
|
140
|
+
es: "Ir a la enumeración",
|
|
141
|
+
de: "Zur Aufzählung gehen",
|
|
142
|
+
ja: "列挙に移動",
|
|
143
|
+
ko: "열거로 이동",
|
|
144
|
+
zh: "转到枚举",
|
|
145
|
+
it: "Vai all ENUMERAZIONE",
|
|
146
|
+
pt: "Ir para a enumeração",
|
|
147
|
+
hi: "सूची में जाएं",
|
|
148
|
+
ar: "اذهب إلى التعداد",
|
|
149
|
+
ru: "Перейти к перечислению"
|
|
60
150
|
})
|
|
61
151
|
},
|
|
62
152
|
addNewEnumeration: {
|
|
63
153
|
label: t({
|
|
64
154
|
en: "Click to add enumeration",
|
|
155
|
+
"en-GB": "Click to add enumeration",
|
|
65
156
|
fr: "Cliquez pour ajouter une énumération",
|
|
66
|
-
es: "Haga clic para agregar una enumeración"
|
|
157
|
+
es: "Haga clic para agregar una enumeración",
|
|
158
|
+
de: "Klicken Sie, um eine Aufzählung hinzuzufügen",
|
|
159
|
+
ja: "列挙を追加するにはクリック",
|
|
160
|
+
ko: "열거를 추가하려면 클릭하세요",
|
|
161
|
+
zh: "点击添加枚举",
|
|
162
|
+
it: "Clicca per aggiungere un enumerazione",
|
|
163
|
+
pt: "Clique para adicionar uma enumeração",
|
|
164
|
+
hi: "सूची जोड़ने के लिए क्लिक करें",
|
|
165
|
+
ar: "انقر لإضافة تعداد",
|
|
166
|
+
ru: "Нажмите, чтобы добавить перечисление"
|
|
67
167
|
}),
|
|
68
168
|
text: t({
|
|
69
169
|
en: "Add new enumeration",
|
|
170
|
+
"en-GB": "Add new enumeration",
|
|
70
171
|
fr: "Ajouter une nouvelle énumération",
|
|
71
|
-
es: "Agregar nueva enumeración"
|
|
172
|
+
es: "Agregar nueva enumeración",
|
|
173
|
+
de: "Neue Aufzählung hinzufügen",
|
|
174
|
+
ja: "新しい列挙を追加",
|
|
175
|
+
ko: "새 목록 추가",
|
|
176
|
+
zh: "添加新枚举",
|
|
177
|
+
it: "Aggiungi nuova enumerazione",
|
|
178
|
+
pt: "Adicionar nova enumeração",
|
|
179
|
+
hi: "नया सूची जोड़ें",
|
|
180
|
+
ar: "أضف تعدادًا جديدًا",
|
|
181
|
+
ru: "Добавить новое перечисление"
|
|
72
182
|
})
|
|
73
183
|
}
|
|
74
184
|
}
|
package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigationViewNode.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const navigationViewContent = {\n key: 'navigation-view',\n content: {\n tsxNotEditable: t({\n en: 'React node not editable',\n fr: 'Node React non éditable',\n es: 'Nodo React no editable',\n }),\n goToField: {\n label: t({\n en: 'Go to field',\n fr: 'Aller au champ',\n es: 'Ir al campo',\n }),\n },\n addNewField: {\n label: t({\n en: 'Click to add field',\n fr: 'Cliquez pour ajouter un champ',\n es: 'Haga clic para agregar un campo',\n }),\n text: t({\n en: 'Add new field',\n fr: 'Ajouter un nouveau champ',\n es: 'Agregar nuevo campo',\n }),\n },\n goToElement: {\n label: t({\n en: 'Go to element',\n fr: \"Aller à l'élément\",\n es: 'Ir al elemento',\n }),\n },\n addNewElement: {\n label: t({\n en: 'Click to add element',\n fr: 'Cliquez pour ajouter un élément',\n es: 'Haga clic para agregar un elemento',\n }),\n text: t({\n en: 'Add new element',\n fr: 'Ajouter un nouvel élément',\n es: 'Agregar nuevo elemento',\n }),\n },\n goToTranslation: {\n label: t({\n en: 'Go to translation',\n fr: 'Aller à la traduction',\n es: 'Ir a la traducción',\n }),\n },\n goToEnumeration: {\n label: t({\n en: 'Go to enumeration',\n fr: \"Aller à l'énumération\",\n es: 'Ir a la enumeración',\n }),\n },\n addNewEnumeration: {\n label: t({\n en: 'Click to add enumeration',\n fr: 'Cliquez pour ajouter une énumération',\n es: 'Haga clic para agregar una enumeración',\n }),\n text: t({\n en: 'Add new enumeration',\n fr: 'Ajouter une nouvelle énumération',\n es: 'Agregar nueva enumeración',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":[],"mappings":";AAEO,MAAM,wBAAwB;AAAA,EACnC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,gBAAgB,EAAE;AAAA,MAChB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW;AAAA,MACT,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,aAAa;AAAA,MACX,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,aAAa;AAAA,MACX,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,iBAAiB;AAAA,MACf,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,iBAAiB;AAAA,MACf,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,mBAAmB;AAAA,MACjB,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"navigationViewNode.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const navigationViewContent = {\n key: 'navigation-view',\n content: {\n tsxNotEditable: t({\n en: 'React node not editable',\n 'en-GB': 'React node not editable',\n fr: 'Node React non éditable',\n es: 'Nodo React no editable',\n de: 'React-Knoten nicht bearbeitbar',\n ja: '編集できないReactノード',\n ko: '편집할 수 없는 React 노드',\n zh: '不可编辑的 React 节点',\n it: 'Node React non modificabile',\n pt: 'Nó React não editável',\n hi: 'सम्पादित न करने योग्य React नोड',\n ar: 'عقدة React غير قابلة للتحرير',\n ru: 'React-узел не редактируемый',\n }),\n goToField: {\n label: t({\n en: 'Go to field',\n 'en-GB': 'Go to field',\n fr: 'Aller au champ',\n es: 'Ir al campo',\n de: 'Zum Feld gehen',\n ja: 'フィールドに移動',\n ko: '필드로 이동',\n zh: '转到字段',\n it: 'Vai al campo',\n pt: 'Ir para o campo',\n hi: 'फ़ील्ड पर जाएं',\n ar: 'اذهب إلى الحقل',\n ru: 'Перейти к полю',\n }),\n },\n addNewField: {\n label: t({\n en: 'Click to add field',\n 'en-GB': 'Click to add field',\n fr: 'Cliquez pour ajouter un champ',\n es: 'Haga clic para agregar un campo',\n de: 'Klicken Sie, um ein Feld hinzuzufügen',\n ja: 'フィールドを追加するにはクリック',\n ko: '필드를 추가하려면 클릭하세요',\n zh: '点击添加字段',\n it: 'Clicca per aggiungere un campo',\n pt: 'Clique para adicionar um campo',\n hi: 'फ़ील्ड जोड़ने के लिए क्लिक करें',\n ar: 'انقر لإضافة حقل',\n ru: 'Нажмите, чтобы добавить поле',\n }),\n text: t({\n en: 'Add new field',\n 'en-GB': 'Add new field',\n fr: 'Ajouter un nouveau champ',\n es: 'Agregar nuevo campo',\n de: 'Neues Feld hinzufügen',\n ja: '新しいフィールドを追加',\n ko: '새 필드 추가',\n zh: '添加新字段',\n it: 'Aggiungi nuovo campo',\n pt: 'Adicionar novo campo',\n hi: 'नया फ़ील्ड जोड़ें',\n ar: 'أضف حقلًا جديدًا',\n ru: 'Добавить новое поле',\n }),\n },\n goToElement: {\n label: t({\n en: 'Go to element',\n 'en-GB': 'Go to element',\n fr: \"Aller à l'élément\",\n es: 'Ir al elemento',\n de: 'Zum Element gehen',\n ja: '要素に移動',\n ko: '요소로 이동',\n zh: '转到元素',\n it: 'Vai all’elemento',\n pt: 'Ir para o elemento',\n hi: 'तत्व पर जाएं',\n ar: 'اذهب إلى العنصر',\n ru: 'Перейти к элементу',\n }),\n },\n addNewElement: {\n label: t({\n en: 'Click to add element',\n 'en-GB': 'Click to add element',\n fr: 'Cliquez pour ajouter un élément',\n es: 'Haga clic para agregar un elemento',\n de: 'Klicken Sie, um ein Element hinzuzufügen',\n ja: '要素を追加するにはクリック',\n ko: '요소를 추가하려면 클릭하세요',\n zh: '点击添加元素',\n it: 'Clicca per aggiungere un elemento',\n pt: 'Clique para adicionar um elemento',\n hi: 'तत्व जोड़ने के लिए क्लिक करें',\n ar: 'انقر لإضافة عنصر',\n ru: 'Нажмите, чтобы добавить элемент',\n }),\n text: t({\n en: 'Add new element',\n 'en-GB': 'Add new element',\n fr: 'Ajouter un nouvel élément',\n es: 'Agregar nuevo elemento',\n de: 'Neues Element hinzufügen',\n ja: '新しい要素を追加',\n ko: '새 요소 추가',\n zh: '添加新元素',\n it: 'Aggiungi nuovo elemento',\n pt: 'Adicionar novo elemento',\n hi: 'नया तत्व जोड़ें',\n ar: 'أضف عنصرًا جديدًا',\n ru: 'Добавить новый элемент',\n }),\n },\n goToTranslation: {\n label: t({\n en: 'Go to translation',\n 'en-GB': 'Go to translation',\n fr: 'Aller à la traduction',\n es: 'Ir a la traducción',\n de: 'Zur Übersetzung gehen',\n ja: '翻訳に移動',\n ko: '번역으로 이동',\n zh: '转到翻译',\n it: 'Vai alla traduzione',\n pt: 'Ir para a tradução',\n hi: 'अनुवाद पर जाएं',\n ar: 'اذهب إلى الترجمة',\n ru: 'Перейти к переводу',\n }),\n },\n goToEnumeration: {\n label: t({\n en: 'Go to enumeration',\n 'en-GB': 'Go to enumeration',\n fr: \"Aller à l'énumération\",\n es: 'Ir a la enumeración',\n de: 'Zur Aufzählung gehen',\n ja: '列挙に移動',\n ko: '열거로 이동',\n zh: '转到枚举',\n it: 'Vai all ENUMERAZIONE',\n pt: 'Ir para a enumeração',\n hi: 'सूची में जाएं',\n ar: 'اذهب إلى التعداد',\n ru: 'Перейти к перечислению',\n }),\n },\n addNewEnumeration: {\n label: t({\n en: 'Click to add enumeration',\n 'en-GB': 'Click to add enumeration',\n fr: 'Cliquez pour ajouter une énumération',\n es: 'Haga clic para agregar una enumeración',\n de: 'Klicken Sie, um eine Aufzählung hinzuzufügen',\n ja: '列挙を追加するにはクリック',\n ko: '열거를 추가하려면 클릭하세요',\n zh: '点击添加枚举',\n it: 'Clicca per aggiungere un enumerazione',\n pt: 'Clique para adicionar uma enumeração',\n hi: 'सूची जोड़ने के लिए क्लिक करें',\n ar: 'انقر لإضافة تعداد',\n ru: 'Нажмите, чтобы добавить перечисление',\n }),\n text: t({\n en: 'Add new enumeration',\n 'en-GB': 'Add new enumeration',\n fr: 'Ajouter une nouvelle énumération',\n es: 'Agregar nueva enumeración',\n de: 'Neue Aufzählung hinzufügen',\n ja: '新しい列挙を追加',\n ko: '새 목록 추가',\n zh: '添加新枚举',\n it: 'Aggiungi nuova enumerazione',\n pt: 'Adicionar nova enumeração',\n hi: 'नया सूची जोड़ें',\n ar: 'أضف تعدادًا جديدًا',\n ru: 'Добавить новое перечисление',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":[],"mappings":";AAEO,MAAM,wBAAwB;AAAA,EACnC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,gBAAgB,EAAE;AAAA,MAChB,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW;AAAA,MACT,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,aAAa;AAAA,MACX,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI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AI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
|
@@ -30,7 +30,6 @@ require("zod");
|
|
|
30
30
|
const components_DictionaryFieldEditor_EditorView_EditorView = require("./EditorView/EditorView.cjs");
|
|
31
31
|
const components_DictionaryFieldEditor_KeyPathBreadcrumb = require("./KeyPathBreadcrumb.cjs");
|
|
32
32
|
const components_DictionaryFieldEditor_NavigationView_NavigationViewNode = require("./NavigationView/NavigationViewNode.cjs");
|
|
33
|
-
const components_DictionaryFieldEditor_SaveForm_SaveForm = require("./SaveForm/SaveForm.cjs");
|
|
34
33
|
const NodeEditor = ({ dictionary }) => {
|
|
35
34
|
const { content: dictionaryContent, key } = dictionary;
|
|
36
35
|
const { editedContent, dictionaryRecord, setDictionariesRecord } = components_DictionaryEditor_useEditedContentStore.useEditedContentStore(
|
|
@@ -81,19 +80,16 @@ const NodeEditor = ({ dictionary }) => {
|
|
|
81
80
|
)
|
|
82
81
|
}
|
|
83
82
|
),
|
|
84
|
-
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
),
|
|
95
|
-
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_DictionaryFieldEditor_SaveForm_SaveForm.SaveForm, { dictionary })
|
|
96
|
-
] })
|
|
83
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "top-6 flex h-full flex-1 flex-col gap-6 md:sticky", children: (focusedKeyPath?.length ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
84
|
+
components_Container_index.Container,
|
|
85
|
+
{
|
|
86
|
+
border: true,
|
|
87
|
+
background: false,
|
|
88
|
+
className: "h-full flex-1 overflow-hidden",
|
|
89
|
+
roundedSize: "xl",
|
|
90
|
+
children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_DictionaryFieldEditor_EditorView_EditorView.EditorView, { dictionary, dictionaryKey: key })
|
|
91
|
+
}
|
|
92
|
+
) })
|
|
97
93
|
] })
|
|
98
94
|
] });
|
|
99
95
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeEditor.cjs","sources":["../../../src/components/DictionaryFieldEditor/NodeEditor.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary } from '@intlayer/core';\nimport { useEffect, type FC } from 'react';\
|
|
1
|
+
{"version":3,"file":"NodeEditor.cjs","sources":["../../../src/components/DictionaryFieldEditor/NodeEditor.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary } from '@intlayer/core';\nimport { useEffect, type FC } from 'react';\nimport { useShallow } from 'zustand/react/shallow';\nimport { Container } from '../Container';\nimport {\n useEditedContentStore,\n useEditionPanelStore,\n} from '../DictionaryEditor';\nimport { EditorView } from './EditorView/EditorView';\nimport { KeyPathBreadcrumb } from './KeyPathBreadcrumb';\nimport { NavigationViewNode } from './NavigationView/NavigationViewNode';\n\ntype NodeEditorProps = {\n dictionary: Dictionary;\n};\n\nexport const NodeEditor: FC<NodeEditorProps> = ({ dictionary }) => {\n const { content: dictionaryContent, key } = dictionary;\n const { editedContent, dictionaryRecord, setDictionariesRecord } =\n useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n dictionaryRecord: s.dictionariesRecord,\n setDictionariesRecord: s.setDictionariesRecord,\n }))\n );\n\n const { focusedContent, setFocusedContentKeyPath } = useEditionPanelStore(\n useShallow((s) => ({\n focusedContent: s.focusedContent,\n setFocusedContentKeyPath: s.setFocusedContentKeyPath,\n }))\n );\n\n const focusedKeyPath = focusedContent?.keyPath;\n\n const section = editedContent[key]?.content ?? dictionaryContent;\n\n useEffect(() => {\n if (dictionaryRecord[key]) return;\n\n setDictionariesRecord({\n [key]: dictionary,\n });\n }, [dictionary, key, setDictionariesRecord, dictionaryRecord]);\n\n return (\n <>\n <KeyPathBreadcrumb\n dictionaryKey={key}\n keyPath={focusedKeyPath ?? []}\n onClickKeyPath={setFocusedContentKeyPath}\n />\n <div className=\"flex gap-2 max-md:flex-col\">\n <Container\n border\n background={false}\n className=\"top-6 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]\"\n roundedSize=\"xl\"\n >\n <NavigationViewNode\n keyPath={[]}\n section={section}\n dictionaryKey={key}\n />\n </Container>\n <div className=\"top-6 flex h-full flex-1 flex-col gap-6 md:sticky\">\n {(focusedKeyPath?.length ?? 0) > 0 && (\n <Container\n border\n background={false}\n className=\"h-full flex-1 overflow-hidden\"\n roundedSize=\"xl\"\n >\n <EditorView dictionary={dictionary} dictionaryKey={key} />\n </Container>\n )}\n </div>\n </div>\n </>\n );\n};\n"],"names":["useEditedContentStore","useShallow","useEditionPanelStore","useEffect","jsxs","Fragment","jsx","KeyPathBreadcrumb","Container","NavigationViewNode","EditorView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,MAAM,aAAkC,CAAC,EAAE,iBAAiB;AACjE,QAAM,EAAE,SAAS,mBAAmB,IAAQ,IAAA;AAC5C,QAAM,EAAE,eAAe,kBAAkB,sBACvC,IAAAA,kDAAA;AAAA,IACEC,QAAA,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,kBAAkB,EAAE;AAAA,MACpB,uBAAuB,EAAE;AAAA,IAAA,EACzB;AAAA,EACJ;AAEI,QAAA,EAAE,gBAAgB,yBAAA,IAA6BC,iDAAA;AAAA,IACnDD,QAAA,WAAW,CAAC,OAAO;AAAA,MACjB,gBAAgB,EAAE;AAAA,MAClB,0BAA0B,EAAE;AAAA,IAAA,EAC5B;AAAA,EACJ;AAEA,QAAM,iBAAiB,gBAAgB;AAEvC,QAAM,UAAU,cAAc,GAAG,GAAG,WAAW;AAE/CE,aAAAA,UAAU,MAAM;AACV,QAAA,iBAAiB,GAAG,EAAG;AA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AK,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NodeEditor.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/NodeEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAa,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAW3C,KAAK,eAAe,GAAG;IACrB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiE1C,CAAC"}
|
|
@@ -28,7 +28,6 @@ import "zod";
|
|
|
28
28
|
import { EditorView } from "./EditorView/EditorView.mjs";
|
|
29
29
|
import { KeyPathBreadcrumb } from "./KeyPathBreadcrumb.mjs";
|
|
30
30
|
import { NavigationViewNode } from "./NavigationView/NavigationViewNode.mjs";
|
|
31
|
-
import { SaveForm } from "./SaveForm/SaveForm.mjs";
|
|
32
31
|
const NodeEditor = ({ dictionary }) => {
|
|
33
32
|
const { content: dictionaryContent, key } = dictionary;
|
|
34
33
|
const { editedContent, dictionaryRecord, setDictionariesRecord } = useEditedContentStore(
|
|
@@ -79,19 +78,16 @@ const NodeEditor = ({ dictionary }) => {
|
|
|
79
78
|
)
|
|
80
79
|
}
|
|
81
80
|
),
|
|
82
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
),
|
|
93
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SaveForm, { dictionary })
|
|
94
|
-
] })
|
|
81
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "top-6 flex h-full flex-1 flex-col gap-6 md:sticky", children: (focusedKeyPath?.length ?? 0) > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
82
|
+
Container,
|
|
83
|
+
{
|
|
84
|
+
border: true,
|
|
85
|
+
background: false,
|
|
86
|
+
className: "h-full flex-1 overflow-hidden",
|
|
87
|
+
roundedSize: "xl",
|
|
88
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EditorView, { dictionary, dictionaryKey: key })
|
|
89
|
+
}
|
|
90
|
+
) })
|
|
95
91
|
] })
|
|
96
92
|
] });
|
|
97
93
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeEditor.mjs","sources":["../../../src/components/DictionaryFieldEditor/NodeEditor.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary } from '@intlayer/core';\nimport { useEffect, type FC } from 'react';\
|
|
1
|
+
{"version":3,"file":"NodeEditor.mjs","sources":["../../../src/components/DictionaryFieldEditor/NodeEditor.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary } from '@intlayer/core';\nimport { useEffect, type FC } from 'react';\nimport { useShallow } from 'zustand/react/shallow';\nimport { Container } from '../Container';\nimport {\n useEditedContentStore,\n useEditionPanelStore,\n} from '../DictionaryEditor';\nimport { EditorView } from './EditorView/EditorView';\nimport { KeyPathBreadcrumb } from './KeyPathBreadcrumb';\nimport { NavigationViewNode } from './NavigationView/NavigationViewNode';\n\ntype NodeEditorProps = {\n dictionary: Dictionary;\n};\n\nexport const NodeEditor: FC<NodeEditorProps> = ({ dictionary }) => {\n const { content: dictionaryContent, key } = dictionary;\n const { editedContent, dictionaryRecord, setDictionariesRecord } =\n useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n dictionaryRecord: s.dictionariesRecord,\n setDictionariesRecord: s.setDictionariesRecord,\n }))\n );\n\n const { focusedContent, setFocusedContentKeyPath } = useEditionPanelStore(\n useShallow((s) => ({\n focusedContent: s.focusedContent,\n setFocusedContentKeyPath: s.setFocusedContentKeyPath,\n }))\n );\n\n const focusedKeyPath = focusedContent?.keyPath;\n\n const section = editedContent[key]?.content ?? dictionaryContent;\n\n useEffect(() => {\n if (dictionaryRecord[key]) return;\n\n setDictionariesRecord({\n [key]: dictionary,\n });\n }, [dictionary, key, setDictionariesRecord, dictionaryRecord]);\n\n return (\n <>\n <KeyPathBreadcrumb\n dictionaryKey={key}\n keyPath={focusedKeyPath ?? []}\n onClickKeyPath={setFocusedContentKeyPath}\n />\n <div className=\"flex gap-2 max-md:flex-col\">\n <Container\n border\n background={false}\n className=\"top-6 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]\"\n roundedSize=\"xl\"\n >\n <NavigationViewNode\n keyPath={[]}\n section={section}\n dictionaryKey={key}\n />\n </Container>\n <div className=\"top-6 flex h-full flex-1 flex-col gap-6 md:sticky\">\n {(focusedKeyPath?.length ?? 0) > 0 && (\n <Container\n border\n background={false}\n className=\"h-full flex-1 overflow-hidden\"\n roundedSize=\"xl\"\n >\n <EditorView dictionary={dictionary} dictionaryKey={key} />\n </Container>\n )}\n </div>\n </div>\n </>\n );\n};\n"],"names":["jsxs","Fragment","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,MAAM,aAAkC,CAAC,EAAE,iBAAiB;AACjE,QAAM,EAAE,SAAS,mBAAmB,IAAQ,IAAA;AAC5C,QAAM,EAAE,eAAe,kBAAkB,sBACvC,IAAA;AAAA,IACE,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,kBAAkB,EAAE;AAAA,MACpB,uBAAuB,EAAE;AAAA,IAAA,EACzB;AAAA,EACJ;AAEI,QAAA,EAAE,gBAAgB,yBAAA,IAA6B;AAAA,IACnD,WAAW,CAAC,OAAO;AAAA,MACjB,gBAAgB,EAAE;AAAA,MAClB,0BAA0B,EAAE;AAAA,IAAA,EAC5B;AAAA,EACJ;AAEA,QAAM,iBAAiB,gBAAgB;AAEvC,QAAM,UAAU,cAAc,GAAG,GAAG,WAAW;AAE/C,YAAU,MAAM;AACV,QAAA,iBAAiB,GAAG,EAAG;AAEL,0BAAA;AAAA,MACpB,CAAC,GAAG,GAAG;AAAA,IAAA,CACR;AAAA,KACA,CAAC,YAAY,KAAK,uBAAuB,gBAAgB,CAAC;AAE7D,SAEIA,kCAAA,KAAAC,4BAAA,EAAA,UAAA;AAAA,IAAAC,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,eAAe;AAAA,QACf,SAAS,kBAAkB,CAAC;AAAA,QAC5B,gBAAgB;AAAA,MAAA;AAAA,IAClB;AAAA,IACAF,kCAAAA,KAAC,OAAI,EAAA,WAAU,8BACb,UAAA;AAAA,MAAAE,kCAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,QAAM;AAAA,UACN,YAAY;AAAA,UACZ,WAAU;AAAA,UACV,aAAY;AAAA,UAEZ,UAAAA,kCAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,SAAS,CAAC;AAAA,cACV;AAAA,cACA,eAAe;AAAA,YAAA;AAAA,UAAA;AAAA,QACjB;AAAA,MACF;AAAA,4CACC,OAAI,EAAA,WAAU,qDACX,WAAgB,gBAAA,UAAU,KAAK,KAC/BA,kCAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,QAAM;AAAA,UACN,YAAY;AAAA,UACZ,WAAU;AAAA,UACV,aAAY;AAAA,UAEZ,UAACA,kCAAA,IAAA,YAAA,EAAW,YAAwB,eAAe,IAAK,CAAA;AAAA,QAAA;AAAA,MAAA,EAG9D,CAAA;AAAA,IAAA,EACF,CAAA;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -2,41 +2,57 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const jsxRuntime = require("../../../jsx-runtime-XHKiWCTo.cjs");
|
|
5
|
+
const intlayer = require("intlayer");
|
|
5
6
|
const lucideReact = require("lucide-react");
|
|
6
7
|
const require$$0 = require("react");
|
|
7
8
|
const reactIntlayer = require("react-intlayer");
|
|
8
9
|
const shallow = require("../../../shallow-lhDIFtEp.cjs");
|
|
10
|
+
require("../../../libs/intlayer-api/index.cjs");
|
|
11
|
+
require("../../Button/Button.cjs");
|
|
12
|
+
require("../../Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs");
|
|
13
|
+
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
14
|
+
require("../../Form/FormField.cjs");
|
|
15
|
+
const components_Form_layout_FormItemLayout = require("../../../Form-BDcoNTLV.cjs");
|
|
16
|
+
require("../../Auth/SignInForm/signIn.content.cjs");
|
|
17
|
+
require("zod");
|
|
18
|
+
require("../../Auth/SignInForm/useSignInSchema.content.cjs");
|
|
19
|
+
require("../../Auth/SignUpForm/useSignUpSchema.content.cjs");
|
|
9
20
|
require("../../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
|
|
10
21
|
require("../../../hooks/useAsync/useAsyncStateStore.cjs");
|
|
11
22
|
const hooks_intlayerAPIHooks = require("../../../hooks/intlayerAPIHooks.cjs");
|
|
12
23
|
const hooks_useGetAllDictionaries = require("../../../hooks/useGetAllDictionaries.cjs");
|
|
24
|
+
const components_Auth_useAuth_index = require("../../Auth/useAuth/index.cjs");
|
|
25
|
+
require("../../Auth/ChangePasswordForm/changePasswordForm.content.cjs");
|
|
26
|
+
require("../../Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs");
|
|
27
|
+
require("../../Auth/ResetPasswordForm/resetPasswordContent.content.cjs");
|
|
28
|
+
require("../../Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs");
|
|
29
|
+
require("../../Modal/Modal.cjs");
|
|
30
|
+
require("clsx");
|
|
31
|
+
require("tailwind-merge");
|
|
13
32
|
const components_DictionaryEditor_useEditedContentStore = require("../../DictionaryEditor/useEditedContentStore.cjs");
|
|
14
33
|
require("../../DictionaryEditor/useEditionPanelStore.cjs");
|
|
15
34
|
require("@intlayer/core");
|
|
16
|
-
require("clsx");
|
|
17
|
-
require("tailwind-merge");
|
|
18
|
-
require("../../Button/Button.cjs");
|
|
19
35
|
require("../../EditableField/EditableFieldInput.cjs");
|
|
20
36
|
require("../../EditableField/EditableFieldTextArea.cjs");
|
|
21
|
-
const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
22
|
-
require("../../Form/FormField.cjs");
|
|
23
|
-
const components_Form_layout_FormItemLayout = require("../../../Form-BDcoNTLV.cjs");
|
|
24
37
|
require("../../DictionaryEditor/validDictionaryChangeButtons.content.cjs");
|
|
25
|
-
require("zod");
|
|
26
38
|
const components_DictionaryFieldEditor_SaveForm_saveForm_content = require("./saveForm.content.cjs");
|
|
27
39
|
const components_DictionaryFieldEditor_SaveForm_SaveFormSchema = require("./SaveFormSchema.cjs");
|
|
28
40
|
const SaveForm = ({ dictionary }) => {
|
|
41
|
+
const { session } = components_Auth_useAuth_index.useAuth();
|
|
42
|
+
const project = session?.project;
|
|
29
43
|
const { pushDictionaries } = hooks_intlayerAPIHooks.usePushDictionaries();
|
|
30
44
|
const SaveFormSchema = components_DictionaryFieldEditor_SaveForm_SaveFormSchema.getSaveFormSchema();
|
|
31
45
|
const { online } = hooks_useGetAllDictionaries.useGetAllDictionaries();
|
|
32
|
-
const {
|
|
46
|
+
const { isLoading: isAuditing, auditFile } = hooks_intlayerAPIHooks.useAuditFile();
|
|
47
|
+
const { editedContent, restoreEditedContent, setEditedContent } = components_DictionaryEditor_useEditedContentStore.useEditedContentStore(
|
|
33
48
|
shallow.useShallow((s) => ({
|
|
34
49
|
editedContent: s.editedContent,
|
|
35
|
-
restoreEditedContent: s.restoreEditedContent
|
|
50
|
+
restoreEditedContent: s.restoreEditedContent,
|
|
51
|
+
setEditedContent: s.setEditedContent
|
|
36
52
|
}))
|
|
37
53
|
);
|
|
38
54
|
const { form, isSubmitting } = components_Form_FormBase.useForm(SaveFormSchema);
|
|
39
|
-
const { resetButton, saveButton, publishButton } = reactIntlayer.useDictionary(
|
|
55
|
+
const { auditButton, resetButton, saveButton, publishButton } = reactIntlayer.useDictionary(
|
|
40
56
|
components_DictionaryFieldEditor_SaveForm_saveForm_content.saveDictionaryContent
|
|
41
57
|
);
|
|
42
58
|
const editedDictionary = require$$0.useMemo(
|
|
@@ -54,36 +70,61 @@ const SaveForm = ({ dictionary }) => {
|
|
|
54
70
|
() => typeof dictionary?._id === "undefined",
|
|
55
71
|
[dictionary]
|
|
56
72
|
);
|
|
57
|
-
const onSubmitSuccess = async () => {
|
|
73
|
+
const onSubmitSuccess = require$$0.useCallback(async () => {
|
|
58
74
|
await pushDictionaries([
|
|
59
75
|
{
|
|
60
76
|
...dictionary,
|
|
61
77
|
...editedContent[dictionary.key]
|
|
62
78
|
}
|
|
63
79
|
]);
|
|
64
|
-
};
|
|
80
|
+
}, [dictionary, editedContent, pushDictionaries]);
|
|
81
|
+
const handleOnAuditFile = async () => await auditFile({
|
|
82
|
+
defaultLocale: project?.defaultLocale ?? intlayer.Locales.ENGLISH,
|
|
83
|
+
locales: project?.locales ?? [intlayer.Locales.ENGLISH],
|
|
84
|
+
fileContent: JSON.stringify(editedDictionary ?? dictionary)
|
|
85
|
+
}).then((response) => {
|
|
86
|
+
if (!response.data) return;
|
|
87
|
+
const editedDictionary2 = JSON.parse(
|
|
88
|
+
response.data.fileContent
|
|
89
|
+
);
|
|
90
|
+
setEditedContent(dictionary.key, editedDictionary2.content);
|
|
91
|
+
});
|
|
92
|
+
console.log("isLoading", isAuditing);
|
|
65
93
|
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
66
94
|
components_Form_layout_FormItemLayout.Form,
|
|
67
95
|
{
|
|
68
|
-
className: "flex w-full flex-1 flex-row justify-end gap-3",
|
|
96
|
+
className: "flex w-full flex-1 flex-row flex-wrap justify-end gap-3",
|
|
69
97
|
...form,
|
|
70
98
|
schema: SaveFormSchema,
|
|
71
99
|
onSubmitSuccess,
|
|
72
100
|
children: [
|
|
101
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
102
|
+
components_Form_layout_FormItemLayout.Form.Button,
|
|
103
|
+
{
|
|
104
|
+
type: "button",
|
|
105
|
+
label: auditButton.label,
|
|
106
|
+
disabled: isSubmitting,
|
|
107
|
+
Icon: lucideReact.WandSparkles,
|
|
108
|
+
variant: "outline",
|
|
109
|
+
color: "text",
|
|
110
|
+
className: "ml-auto max-md:w-full",
|
|
111
|
+
isLoading: isAuditing,
|
|
112
|
+
onClick: handleOnAuditFile,
|
|
113
|
+
children: auditButton.text
|
|
114
|
+
}
|
|
115
|
+
),
|
|
73
116
|
isEdited && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
74
117
|
components_Form_layout_FormItemLayout.Form.Button,
|
|
75
118
|
{
|
|
76
119
|
type: "button",
|
|
77
|
-
label: resetButton.label
|
|
120
|
+
label: resetButton.label,
|
|
78
121
|
disabled: !isEdited || isSubmitting,
|
|
79
|
-
className: "ml-auto",
|
|
80
122
|
Icon: lucideReact.RotateCcw,
|
|
81
123
|
variant: "outline",
|
|
82
124
|
color: "text",
|
|
125
|
+
className: "max-md:w-full",
|
|
83
126
|
isLoading: isSubmitting,
|
|
84
|
-
onClick: () =>
|
|
85
|
-
restoreEditedContent(dictionary.key);
|
|
86
|
-
},
|
|
127
|
+
onClick: () => restoreEditedContent(dictionary.key),
|
|
87
128
|
children: resetButton.text
|
|
88
129
|
}
|
|
89
130
|
),
|
|
@@ -91,10 +132,11 @@ const SaveForm = ({ dictionary }) => {
|
|
|
91
132
|
components_Form_layout_FormItemLayout.Form.Button,
|
|
92
133
|
{
|
|
93
134
|
type: "submit",
|
|
94
|
-
label: publishButton.label
|
|
135
|
+
label: publishButton.label,
|
|
95
136
|
disabled: !isEdited || isSubmitting,
|
|
96
137
|
Icon: lucideReact.ArrowUpFromLine,
|
|
97
138
|
color: "text",
|
|
139
|
+
className: "max-md:w-full",
|
|
98
140
|
isLoading: isSubmitting,
|
|
99
141
|
children: publishButton.text
|
|
100
142
|
}
|
|
@@ -102,10 +144,11 @@ const SaveForm = ({ dictionary }) => {
|
|
|
102
144
|
components_Form_layout_FormItemLayout.Form.Button,
|
|
103
145
|
{
|
|
104
146
|
type: "submit",
|
|
105
|
-
label: saveButton.label
|
|
147
|
+
label: saveButton.label,
|
|
106
148
|
disabled: !isEdited || isSubmitting,
|
|
107
149
|
Icon: lucideReact.Save,
|
|
108
150
|
color: "text",
|
|
151
|
+
className: "max-md:w-full",
|
|
109
152
|
isLoading: isSubmitting,
|
|
110
153
|
children: saveButton.text
|
|
111
154
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveForm.cjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport { Dictionary } from '@intlayer/core';\nimport { ArrowUpFromLine, RotateCcw, Save } from 'lucide-react';\nimport { useMemo, type FC } from 'react';\n// @ts-ignore react-intlayer not build yet\nimport { useDictionary } from 'react-intlayer';\nimport { useShallow } from 'zustand/react/shallow';\nimport { useGetAllDictionaries
|
|
1
|
+
{"version":3,"file":"SaveForm.cjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport { Dictionary } from '@intlayer/core';\nimport { Locales } from 'intlayer';\nimport { ArrowUpFromLine, RotateCcw, Save, WandSparkles } from 'lucide-react';\nimport { useCallback, useMemo, type FC } from 'react';\n// @ts-ignore react-intlayer not build yet\nimport { useDictionary } from 'react-intlayer';\nimport { useShallow } from 'zustand/react/shallow';\nimport { useAuth } from '../../../components/Auth';\nimport {\n useAuditFile,\n useGetAllDictionaries,\n usePushDictionaries,\n} from '../../../hooks';\nimport { useEditedContentStore } from '../../DictionaryEditor';\nimport { Form, useForm } from '../../Form';\nimport { saveDictionaryContent } from './saveForm.content';\nimport { getSaveFormSchema } from './SaveFormSchema';\n\ntype DictionaryDetailsProps = {\n dictionary: Dictionary;\n};\n\nexport const SaveForm: FC<DictionaryDetailsProps> = ({ dictionary }) => {\n const { session } = useAuth();\n const project = session?.project;\n const { pushDictionaries } = usePushDictionaries();\n const SaveFormSchema = getSaveFormSchema();\n const { online } = useGetAllDictionaries();\n const { isLoading: isAuditing, auditFile } = useAuditFile();\n\n const { editedContent, restoreEditedContent, setEditedContent } =\n useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n restoreEditedContent: s.restoreEditedContent,\n setEditedContent: s.setEditedContent,\n }))\n );\n const { form, isSubmitting } = useForm(SaveFormSchema);\n const { auditButton, resetButton, saveButton, publishButton } = useDictionary(\n saveDictionaryContent\n );\n\n const editedDictionary = useMemo(\n () => editedContent[dictionary.key],\n [editedContent, dictionary.key]\n );\n\n const onlineDictionary = useMemo(() => {\n return online?.[dictionary.key];\n }, [online, dictionary.key]);\n\n const isEdited = useMemo(\n () =>\n editedDictionary &&\n onlineDictionary &&\n JSON.stringify(editedDictionary.content) !==\n JSON.stringify(onlineDictionary.content),\n [onlineDictionary, editedDictionary]\n );\n\n const isLocalDictionary = useMemo(\n () => typeof (dictionary as DistantDictionary)?._id === 'undefined',\n [dictionary]\n );\n\n const onSubmitSuccess = useCallback(async () => {\n await pushDictionaries([\n {\n ...dictionary,\n ...editedContent[dictionary.key],\n },\n ]);\n }, [dictionary, editedContent, pushDictionaries]);\n\n const handleOnAuditFile = async () =>\n await auditFile({\n defaultLocale: project?.defaultLocale ?? Locales.ENGLISH,\n locales: project?.locales ?? [Locales.ENGLISH],\n fileContent: JSON.stringify(editedDictionary ?? dictionary),\n }).then((response) => {\n if (!response.data) return;\n\n const editedDictionary = JSON.parse(\n response.data.fileContent\n ) as Dictionary;\n\n setEditedContent(dictionary.key, editedDictionary.content);\n });\n\n console.log('isLoading', isAuditing);\n\n return (\n <Form\n className=\"flex w-full flex-1 flex-row flex-wrap justify-end gap-3\"\n {...form}\n schema={SaveFormSchema}\n onSubmitSuccess={onSubmitSuccess}\n >\n <Form.Button\n type=\"button\"\n label={auditButton.label}\n disabled={isSubmitting}\n Icon={WandSparkles}\n variant=\"outline\"\n color=\"text\"\n className=\"ml-auto max-md:w-full\"\n isLoading={isAuditing}\n onClick={handleOnAuditFile}\n >\n {auditButton.text}\n </Form.Button>\n {isEdited && (\n <Form.Button\n type=\"button\"\n label={resetButton.label}\n disabled={!isEdited || isSubmitting}\n Icon={RotateCcw}\n variant=\"outline\"\n color=\"text\"\n className=\"max-md:w-full\"\n isLoading={isSubmitting}\n onClick={() => restoreEditedContent(dictionary.key)}\n >\n {resetButton.text}\n </Form.Button>\n )}\n {isLocalDictionary ? (\n <Form.Button\n type=\"submit\"\n label={publishButton.label}\n disabled={!isEdited || isSubmitting}\n Icon={ArrowUpFromLine}\n color=\"text\"\n className=\"max-md:w-full\"\n isLoading={isSubmitting}\n >\n {publishButton.text}\n </Form.Button>\n ) : (\n isEdited && (\n <Form.Button\n type=\"submit\"\n label={saveButton.label}\n disabled={!isEdited || isSubmitting}\n Icon={Save}\n color=\"text\"\n className=\"max-md:w-full\"\n isLoading={isSubmitting}\n >\n {saveButton.text}\n </Form.Button>\n )\n )}\n </Form>\n );\n};\n"],"names":["useAuth","usePushDictionaries","getSaveFormSchema","useGetAllDictionaries","useAuditFile","useEditedContentStore","useShallow","useForm","useDictionary","saveDictionaryContent","useMemo","useCallback","Locales","editedDictionary","jsxs","Form","jsx","WandSparkles","RotateCcw","ArrowUpFromLine","Save"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,MAAM,WAAuC,CAAC,EAAE,iBAAiB;AAChE,QAAA,EAAE,QAAQ,IAAIA,sCAAQ;AAC5B,QAAM,UAAU,SAAS;AACnB,QAAA,EAAE,iBAAiB,IAAIC,2CAAoB;AACjD,QAAM,iBAAiBC,yDAAAA,kBAAkB;AACnC,QAAA,EAAE,OAAO,IAAIC,kDAAsB;AACzC,QAAM,EAAE,WAAW,YAAY,UAAA,IAAcC,uBAAAA,aAAa;AAE1D,QAAM,EAAE,eAAe,sBAAsB,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A;AAAA,UAACD,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW;AAAA,YAClB,UAAU,CAAC,YAAY;AAAA,YACvB,MAAMK,YAAA;AAAA,YACN,OAAM;AAAA,YACN,WAAU;AAAA,YACV,WAAW;AAAA,YAEV,UAAW,WAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAGN;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveForm.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"SaveForm.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EAAwB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAetD,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,sBAAsB,CAsI/C,CAAC"}
|