@intlayer/design-system 3.5.3 → 3.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.vite/manifest.json +274 -125
- package/dist/CopyButton-Cxu3goRg.cjs +59 -0
- package/dist/CopyButton-Cxu3goRg.cjs.map +1 -0
- package/dist/CopyButton-DlcDlf6U.js +60 -0
- package/dist/CopyButton-DlcDlf6U.js.map +1 -0
- package/dist/components/Auth/AuthModal/index.cjs +4 -0
- package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
- package/dist/components/Auth/AuthModal/index.mjs +4 -0
- package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +5 -4
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +26 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +170 -0
- package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +15 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs +131 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/{ChangePasswordSchema.d.ts → useChangePasswordSchema.d.ts} +3 -3
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +37 -0
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +11 -10
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +12 -11
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +86 -32
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +13 -9
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +85 -31
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +5 -4
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.cjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/index.d.ts +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/index.mjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +21 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs +123 -0
- package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs +56 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts +10 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +16 -0
- package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.cjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +22 -15
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
- package/dist/components/Auth/SignInForm/index.cjs +2 -2
- package/dist/components/Auth/SignInForm/index.d.ts +1 -1
- package/dist/components/Auth/SignInForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignInForm/index.mjs +2 -2
- package/dist/components/Auth/SignInForm/signIn.content.cjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts +31 -0
- package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs +217 -0
- package/dist/components/Auth/SignInForm/signIn.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +11 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs +71 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/{SignInSchema.d.ts → useSignInSchema.d.ts} +3 -3
- package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs +25 -0
- package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +3 -3
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
- package/dist/components/Auth/SignUpForm/index.cjs +2 -2
- package/dist/components/Auth/SignUpForm/index.d.ts +1 -1
- package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -1
- package/dist/components/Auth/SignUpForm/index.mjs +2 -2
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +24 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs +182 -0
- package/dist/components/Auth/SignUpForm/signUpForm.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +14 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs +116 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/{SignUpSchema.d.ts → useSignUpSchema.d.ts} +3 -3
- package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +36 -0
- package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -0
- package/dist/components/Auth/index.cjs +8 -8
- package/dist/components/Auth/index.mjs +8 -8
- package/dist/components/Auth/useAuth/useSession.cjs +1 -0
- package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
- package/dist/components/Auth/useAuth/useSession.mjs +1 -0
- package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +8 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs +26 -0
- package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -0
- package/dist/components/Breadcrumb/index.cjs +103 -34
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts +6 -2
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs +103 -34
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/Button/Button.cjs +7 -8
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.mjs +7 -8
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Container/index.cjs +2 -2
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.mjs +2 -2
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryEditor/index.cjs +4 -0
- package/dist/components/DictionaryEditor/index.cjs.map +1 -1
- package/dist/components/DictionaryEditor/index.mjs +4 -0
- package/dist/components/DictionaryEditor/index.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +2 -2
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +3 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +60 -6
- package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +7 -5
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +22 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +14 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +151 -21
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +71 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/{dictionaryFormSchema.d.ts → useDictionaryFormSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +24 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +176 -16
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +17 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +176 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/{DictionaryDetailsSchema.d.ts → useDictionaryDetailsSchema.d.ts} +3 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +44 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +6 -3
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +20 -18
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +2 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +10 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +121 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +10 -14
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +63 -20
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +66 -23
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +98 -6
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +44 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs +77 -7
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +66 -6
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts +18 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/Headers/index.cjs +1 -1
- package/dist/components/Headers/index.cjs.map +1 -1
- package/dist/components/Headers/index.mjs +1 -1
- package/dist/components/Headers/index.mjs.map +1 -1
- package/dist/components/IDE/CodeRender copy.cjs +141 -0
- package/dist/components/IDE/CodeRender copy.cjs.map +1 -0
- package/dist/components/IDE/CodeRender copy.d.ts +14 -0
- package/dist/components/IDE/CodeRender copy.d.ts.map +1 -0
- package/dist/components/IDE/CodeRender copy.mjs +141 -0
- package/dist/components/IDE/CodeRender copy.mjs.map +1 -0
- package/dist/components/IDE/CodeRender.cjs +39 -625
- package/dist/components/IDE/CodeRender.cjs.map +1 -1
- package/dist/components/IDE/CodeRender.d.ts +4 -5
- package/dist/components/IDE/CodeRender.d.ts.map +1 -1
- package/dist/components/IDE/CodeRender.mjs +40 -604
- package/dist/components/IDE/CodeRender.mjs.map +1 -1
- package/dist/components/IDE/CopyButton.cjs +40 -0
- package/dist/components/IDE/CopyButton.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.cjs +26 -0
- package/dist/components/IDE/CopyButton.content.cjs.map +1 -0
- package/dist/components/IDE/CopyButton.content.d.ts +8 -0
- package/dist/components/IDE/CopyButton.content.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.content.mjs +26 -0
- package/dist/components/IDE/CopyButton.content.mjs.map +1 -0
- package/dist/components/IDE/CopyButton.d.ts +7 -0
- package/dist/components/IDE/CopyButton.d.ts.map +1 -0
- package/dist/components/IDE/CopyButton.mjs +40 -0
- package/dist/components/IDE/CopyButton.mjs.map +1 -0
- package/dist/components/IDE/IDE.cjs +1 -1
- package/dist/components/IDE/IDE.cjs.map +1 -1
- package/dist/components/IDE/IDE.mjs +1 -1
- package/dist/components/IDE/IDE.mjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.cjs +10 -2
- package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
- package/dist/components/IDE/MarkDownRender.d.ts.map +1 -1
- package/dist/components/IDE/MarkDownRender.mjs +10 -2
- package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
- package/dist/components/IDE/MonacoCode.cjs +129 -0
- package/dist/components/IDE/MonacoCode.cjs.map +1 -0
- package/dist/components/IDE/MonacoCode.d.ts +14 -0
- package/dist/components/IDE/MonacoCode.d.ts.map +1 -0
- package/dist/components/IDE/MonacoCode.mjs +129 -0
- package/dist/components/IDE/MonacoCode.mjs.map +1 -0
- package/dist/components/Link/Link.cjs +50 -31
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.d.ts +3 -0
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.mjs +51 -32
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Link/index.cjs +1 -0
- package/dist/components/Link/index.cjs.map +1 -1
- package/dist/components/Link/index.mjs +3 -2
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +122 -42
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +2 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +123 -43
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +86 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +14 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +87 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
- package/dist/components/MarkDownRender/index.cjs +4 -2
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.d.ts +3 -1
- package/dist/components/MarkDownRender/index.d.ts.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +4 -2
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +8 -10
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.mjs +8 -10
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/index.cjs +13 -8
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.mjs +14 -9
- package/dist/components/index.mjs.map +1 -1
- package/dist/design-system.css +235 -0
- package/dist/hooks/index.cjs +6 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.mjs +7 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +8 -2
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +4 -0
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +8 -2
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/index.cjs +3 -0
- package/dist/hooks/useAsync/index.cjs.map +1 -1
- package/dist/hooks/useAsync/index.d.ts +1 -0
- package/dist/hooks/useAsync/index.d.ts.map +1 -1
- package/dist/hooks/useAsync/index.mjs +4 -1
- package/dist/hooks/useAsync/index.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +2 -9
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs +3 -10
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +35 -11
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +123 -69
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +3 -0
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/dist/hooks/useIsDarkMode.cjs +15 -0
- package/dist/hooks/useIsDarkMode.cjs.map +1 -0
- package/dist/hooks/useIsDarkMode.d.ts +2 -0
- package/dist/hooks/useIsDarkMode.d.ts.map +1 -0
- package/dist/hooks/useIsDarkMode.mjs +15 -0
- package/dist/hooks/useIsDarkMode.mjs.map +1 -0
- package/dist/libs/intlayer-api/ai.cjs +24 -0
- package/dist/libs/intlayer-api/ai.cjs.map +1 -0
- package/dist/libs/intlayer-api/ai.d.ts +10 -0
- package/dist/libs/intlayer-api/ai.d.ts.map +1 -0
- package/dist/libs/intlayer-api/ai.mjs +24 -0
- package/dist/libs/intlayer-api/ai.mjs.map +1 -0
- package/dist/libs/intlayer-api/index.cjs +3 -1
- package/dist/libs/intlayer-api/index.cjs.map +1 -1
- package/dist/libs/intlayer-api/index.d.ts +6 -0
- package/dist/libs/intlayer-api/index.d.ts.map +1 -1
- package/dist/libs/intlayer-api/index.mjs +3 -1
- package/dist/libs/intlayer-api/index.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +19 -16
- package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
- package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
- package/dist/__vite-browser-external-r74dyCO2.js +0 -5
- package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
- package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
- package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
- package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.d.ts +0 -24
- package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
- package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
- package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
- package/dist/tailwind.js +0 -1
|
@@ -1,40 +1,56 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { j as jsxRuntimeExports } from "../../../jsx-runtime-DaNGiM0W.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Locales } from "intlayer";
|
|
4
|
+
import { WandSparkles, RotateCcw, ArrowUpFromLine, Save } from "lucide-react";
|
|
5
|
+
import { useMemo, useCallback } from "react";
|
|
5
6
|
import { useDictionary } from "react-intlayer";
|
|
6
7
|
import { u as useShallow } from "../../../shallow-m9BpCkKh.js";
|
|
8
|
+
import "../../../libs/intlayer-api/index.mjs";
|
|
9
|
+
import "../../Button/Button.mjs";
|
|
10
|
+
import "../../Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs";
|
|
11
|
+
import { useForm } from "../../Form/FormBase.mjs";
|
|
12
|
+
import "../../Form/FormField.mjs";
|
|
13
|
+
import { F as Form } from "../../../Form-DhsgC7kB.js";
|
|
14
|
+
import "../../Auth/SignInForm/signIn.content.mjs";
|
|
15
|
+
import "zod";
|
|
16
|
+
import "../../Auth/SignInForm/useSignInSchema.content.mjs";
|
|
17
|
+
import "../../Auth/SignUpForm/useSignUpSchema.content.mjs";
|
|
7
18
|
import "../../../hooks/useScrollBlockage/useScrollBlockageStore.mjs";
|
|
8
19
|
import "../../../hooks/useAsync/useAsyncStateStore.mjs";
|
|
9
|
-
import { usePushDictionaries } from "../../../hooks/intlayerAPIHooks.mjs";
|
|
20
|
+
import { usePushDictionaries, useAuditFile } from "../../../hooks/intlayerAPIHooks.mjs";
|
|
10
21
|
import { useGetAllDictionaries } from "../../../hooks/useGetAllDictionaries.mjs";
|
|
22
|
+
import { useAuth } from "../../Auth/useAuth/index.mjs";
|
|
23
|
+
import "../../Auth/ChangePasswordForm/changePasswordForm.content.mjs";
|
|
24
|
+
import "../../Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs";
|
|
25
|
+
import "../../Auth/ResetPasswordForm/resetPasswordContent.content.mjs";
|
|
26
|
+
import "../../Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs";
|
|
27
|
+
import "../../Modal/Modal.mjs";
|
|
28
|
+
import "clsx";
|
|
29
|
+
import "tailwind-merge";
|
|
11
30
|
import { useEditedContentStore } from "../../DictionaryEditor/useEditedContentStore.mjs";
|
|
12
31
|
import "../../DictionaryEditor/useEditionPanelStore.mjs";
|
|
13
32
|
import "@intlayer/core";
|
|
14
|
-
import "clsx";
|
|
15
|
-
import "tailwind-merge";
|
|
16
|
-
import "../../Button/Button.mjs";
|
|
17
33
|
import "../../EditableField/EditableFieldInput.mjs";
|
|
18
34
|
import "../../EditableField/EditableFieldTextArea.mjs";
|
|
19
|
-
import { useForm } from "../../Form/FormBase.mjs";
|
|
20
|
-
import "../../Form/FormField.mjs";
|
|
21
|
-
import { F as Form } from "../../../Form-DhsgC7kB.js";
|
|
22
35
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
23
|
-
import "zod";
|
|
24
36
|
import { saveDictionaryContent } from "./saveForm.content.mjs";
|
|
25
37
|
import { getSaveFormSchema } from "./SaveFormSchema.mjs";
|
|
26
38
|
const SaveForm = ({ dictionary }) => {
|
|
39
|
+
const { session } = useAuth();
|
|
40
|
+
const project = session?.project;
|
|
27
41
|
const { pushDictionaries } = usePushDictionaries();
|
|
28
42
|
const SaveFormSchema = getSaveFormSchema();
|
|
29
43
|
const { online } = useGetAllDictionaries();
|
|
30
|
-
const {
|
|
44
|
+
const { isLoading: isAuditing, auditFile } = useAuditFile();
|
|
45
|
+
const { editedContent, restoreEditedContent, setEditedContent } = useEditedContentStore(
|
|
31
46
|
useShallow((s) => ({
|
|
32
47
|
editedContent: s.editedContent,
|
|
33
|
-
restoreEditedContent: s.restoreEditedContent
|
|
48
|
+
restoreEditedContent: s.restoreEditedContent,
|
|
49
|
+
setEditedContent: s.setEditedContent
|
|
34
50
|
}))
|
|
35
51
|
);
|
|
36
52
|
const { form, isSubmitting } = useForm(SaveFormSchema);
|
|
37
|
-
const { resetButton, saveButton, publishButton } = useDictionary(
|
|
53
|
+
const { auditButton, resetButton, saveButton, publishButton } = useDictionary(
|
|
38
54
|
saveDictionaryContent
|
|
39
55
|
);
|
|
40
56
|
const editedDictionary = useMemo(
|
|
@@ -52,36 +68,61 @@ const SaveForm = ({ dictionary }) => {
|
|
|
52
68
|
() => typeof dictionary?._id === "undefined",
|
|
53
69
|
[dictionary]
|
|
54
70
|
);
|
|
55
|
-
const onSubmitSuccess = async () => {
|
|
71
|
+
const onSubmitSuccess = useCallback(async () => {
|
|
56
72
|
await pushDictionaries([
|
|
57
73
|
{
|
|
58
74
|
...dictionary,
|
|
59
75
|
...editedContent[dictionary.key]
|
|
60
76
|
}
|
|
61
77
|
]);
|
|
62
|
-
};
|
|
78
|
+
}, [dictionary, editedContent, pushDictionaries]);
|
|
79
|
+
const handleOnAuditFile = async () => await auditFile({
|
|
80
|
+
defaultLocale: project?.defaultLocale ?? Locales.ENGLISH,
|
|
81
|
+
locales: project?.locales ?? [Locales.ENGLISH],
|
|
82
|
+
fileContent: JSON.stringify(editedDictionary ?? dictionary)
|
|
83
|
+
}).then((response) => {
|
|
84
|
+
if (!response.data) return;
|
|
85
|
+
const editedDictionary2 = JSON.parse(
|
|
86
|
+
response.data.fileContent
|
|
87
|
+
);
|
|
88
|
+
setEditedContent(dictionary.key, editedDictionary2.content);
|
|
89
|
+
});
|
|
90
|
+
console.log("isLoading", isAuditing);
|
|
63
91
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
64
92
|
Form,
|
|
65
93
|
{
|
|
66
|
-
className: "flex w-full flex-1 flex-row justify-end gap-3",
|
|
94
|
+
className: "flex w-full flex-1 flex-row flex-wrap justify-end gap-3",
|
|
67
95
|
...form,
|
|
68
96
|
schema: SaveFormSchema,
|
|
69
97
|
onSubmitSuccess,
|
|
70
98
|
children: [
|
|
99
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
100
|
+
Form.Button,
|
|
101
|
+
{
|
|
102
|
+
type: "button",
|
|
103
|
+
label: auditButton.label,
|
|
104
|
+
disabled: isSubmitting,
|
|
105
|
+
Icon: WandSparkles,
|
|
106
|
+
variant: "outline",
|
|
107
|
+
color: "text",
|
|
108
|
+
className: "ml-auto max-md:w-full",
|
|
109
|
+
isLoading: isAuditing,
|
|
110
|
+
onClick: handleOnAuditFile,
|
|
111
|
+
children: auditButton.text
|
|
112
|
+
}
|
|
113
|
+
),
|
|
71
114
|
isEdited && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
72
115
|
Form.Button,
|
|
73
116
|
{
|
|
74
117
|
type: "button",
|
|
75
|
-
label: resetButton.label
|
|
118
|
+
label: resetButton.label,
|
|
76
119
|
disabled: !isEdited || isSubmitting,
|
|
77
|
-
className: "ml-auto",
|
|
78
120
|
Icon: RotateCcw,
|
|
79
121
|
variant: "outline",
|
|
80
122
|
color: "text",
|
|
123
|
+
className: "max-md:w-full",
|
|
81
124
|
isLoading: isSubmitting,
|
|
82
|
-
onClick: () =>
|
|
83
|
-
restoreEditedContent(dictionary.key);
|
|
84
|
-
},
|
|
125
|
+
onClick: () => restoreEditedContent(dictionary.key),
|
|
85
126
|
children: resetButton.text
|
|
86
127
|
}
|
|
87
128
|
),
|
|
@@ -89,10 +130,11 @@ const SaveForm = ({ dictionary }) => {
|
|
|
89
130
|
Form.Button,
|
|
90
131
|
{
|
|
91
132
|
type: "submit",
|
|
92
|
-
label: publishButton.label
|
|
133
|
+
label: publishButton.label,
|
|
93
134
|
disabled: !isEdited || isSubmitting,
|
|
94
135
|
Icon: ArrowUpFromLine,
|
|
95
136
|
color: "text",
|
|
137
|
+
className: "max-md:w-full",
|
|
96
138
|
isLoading: isSubmitting,
|
|
97
139
|
children: publishButton.text
|
|
98
140
|
}
|
|
@@ -100,10 +142,11 @@ const SaveForm = ({ dictionary }) => {
|
|
|
100
142
|
Form.Button,
|
|
101
143
|
{
|
|
102
144
|
type: "submit",
|
|
103
|
-
label: saveButton.label
|
|
145
|
+
label: saveButton.label,
|
|
104
146
|
disabled: !isEdited || isSubmitting,
|
|
105
147
|
Icon: Save,
|
|
106
148
|
color: "text",
|
|
149
|
+
className: "max-md:w-full",
|
|
107
150
|
isLoading: isSubmitting,
|
|
108
151
|
children: saveButton.text
|
|
109
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveForm.mjs","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.mjs","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":["editedDictionary","jsxs","jsx"],"mappings":"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"}
|
|
@@ -4,40 +4,132 @@ const intlayer = require("intlayer");
|
|
|
4
4
|
const saveDictionaryContent = {
|
|
5
5
|
key: "save-dictionary-details",
|
|
6
6
|
content: {
|
|
7
|
+
auditButton: {
|
|
8
|
+
text: intlayer.t({
|
|
9
|
+
en: "Audit",
|
|
10
|
+
"en-GB": "Audit",
|
|
11
|
+
fr: "Auditer",
|
|
12
|
+
es: "Auditar",
|
|
13
|
+
de: "Prüfen",
|
|
14
|
+
ja: "監査",
|
|
15
|
+
ko: "감사",
|
|
16
|
+
zh: "审核",
|
|
17
|
+
it: "Controllo",
|
|
18
|
+
pt: "Auditar",
|
|
19
|
+
hi: "ऑडिट",
|
|
20
|
+
ar: "التدقيق",
|
|
21
|
+
ru: "Отслеживание"
|
|
22
|
+
}),
|
|
23
|
+
label: intlayer.t({
|
|
24
|
+
en: "Audit",
|
|
25
|
+
"en-GB": "Audit",
|
|
26
|
+
fr: "Auditer",
|
|
27
|
+
es: "Auditar",
|
|
28
|
+
de: "Prüfen",
|
|
29
|
+
ja: "監査",
|
|
30
|
+
ko: "감사",
|
|
31
|
+
zh: "审核",
|
|
32
|
+
it: "Controllo",
|
|
33
|
+
pt: "Auditar",
|
|
34
|
+
hi: "ऑडिट",
|
|
35
|
+
ar: "التدقيق",
|
|
36
|
+
ru: "Отслеживание"
|
|
37
|
+
})
|
|
38
|
+
},
|
|
7
39
|
resetButton: {
|
|
8
40
|
text: intlayer.t({
|
|
9
41
|
en: "Reset all changes",
|
|
42
|
+
"en-GB": "Reset all changes",
|
|
10
43
|
fr: "Réinitialiser toutes les modifications",
|
|
11
|
-
es: "Restablecer todas las modificaciones"
|
|
44
|
+
es: "Restablecer todas las modificaciones",
|
|
45
|
+
de: "Alle Änderungen zurücksetzen",
|
|
46
|
+
ja: "すべての変更をリセット",
|
|
47
|
+
ko: "모든 변경 사항 초기화",
|
|
48
|
+
zh: "重置所有更改",
|
|
49
|
+
it: "Reimposta tutte le modifiche",
|
|
50
|
+
pt: "Redefinir todas as alterações",
|
|
51
|
+
hi: "सभी परिवर्तनों को रीसेट करें",
|
|
52
|
+
ar: "إعادة تعيين جميع التغييرات",
|
|
53
|
+
ru: "Сбросить все изменения"
|
|
12
54
|
}),
|
|
13
55
|
label: intlayer.t({
|
|
14
56
|
en: "Click to reset all the changes",
|
|
57
|
+
"en-GB": "Click to reset all the changes",
|
|
15
58
|
fr: "Cliquez pour réinitialiser toutes les modifications",
|
|
16
|
-
es: "Haga clic para restablecer todas las modificaciones"
|
|
59
|
+
es: "Haga clic para restablecer todas las modificaciones",
|
|
60
|
+
de: "Klicken Sie, um alle Änderungen zurückzusetzen",
|
|
61
|
+
ja: "すべての変更をリセットするにはクリックしてください",
|
|
62
|
+
ko: "모든 변경 사항을 초기화하려면 클릭하세요",
|
|
63
|
+
zh: "单击以重置所有更改",
|
|
64
|
+
it: "Fai clic per ripristinare tutte le modifiche",
|
|
65
|
+
pt: "Clique para redefinir todas as alterações",
|
|
66
|
+
hi: "सभी परिवर्तनों को रीसेट करने के लिए क्लिक करें",
|
|
67
|
+
ar: "انقر لإعادة تعيين جميع التغييرات",
|
|
68
|
+
ru: "Нажмите, чтобы сбросить все изменения"
|
|
17
69
|
})
|
|
18
70
|
},
|
|
19
71
|
saveButton: {
|
|
20
72
|
text: intlayer.t({
|
|
21
73
|
en: "Save changes",
|
|
74
|
+
"en-GB": "Save changes",
|
|
22
75
|
fr: "Enregistrer les modifications",
|
|
23
|
-
es: "Guardar cambios"
|
|
76
|
+
es: "Guardar cambios",
|
|
77
|
+
de: "Änderungen speichern",
|
|
78
|
+
ja: "変更を保存",
|
|
79
|
+
ko: "변경 사항 저장",
|
|
80
|
+
zh: "保存更改",
|
|
81
|
+
it: "Salva le modifiche",
|
|
82
|
+
pt: "Salvar alterações",
|
|
83
|
+
hi: "परिवर्तनों को सहेजें",
|
|
84
|
+
ar: "احفظ التغييرات",
|
|
85
|
+
ru: "Сохранить изменения"
|
|
24
86
|
}),
|
|
25
87
|
label: intlayer.t({
|
|
26
88
|
en: "Click to save changes",
|
|
89
|
+
"en-GB": "Click to save changes",
|
|
27
90
|
fr: "Cliquez pour enregistrer les modifications",
|
|
28
|
-
es: "Haga clic para guardar
|
|
91
|
+
es: "Haga clic para guardar cambios",
|
|
92
|
+
de: "Klicken Sie, um Änderungen zu speichern",
|
|
93
|
+
ja: "変更を保存するにはクリックしてください",
|
|
94
|
+
ko: "변경 사항을 저장하려면 클릭하세요",
|
|
95
|
+
zh: "单击保存更改",
|
|
96
|
+
it: "Fai clic per salvare le modifiche",
|
|
97
|
+
pt: "Clique para salvar alterações",
|
|
98
|
+
hi: "परिवर्तनों को सहेजने के लिए क्लिक करें",
|
|
99
|
+
ar: "انقر لحفظ التغييرات",
|
|
100
|
+
ru: "Нажмите, чтобы сохранить изменения"
|
|
29
101
|
})
|
|
30
102
|
},
|
|
31
103
|
publishButton: {
|
|
32
104
|
text: intlayer.t({
|
|
33
105
|
en: "Publish dictionary",
|
|
106
|
+
"en-GB": "Publish dictionary",
|
|
34
107
|
fr: "Publier dictionnaire",
|
|
35
|
-
es: "Publicar diccionario"
|
|
108
|
+
es: "Publicar diccionario",
|
|
109
|
+
de: "Wörterbuch veröffentlichen",
|
|
110
|
+
ja: "辞書を公開",
|
|
111
|
+
ko: "사전을 게시합니다",
|
|
112
|
+
zh: "发布字典",
|
|
113
|
+
it: "Pubblica dizionario",
|
|
114
|
+
pt: "Publicar dicionário",
|
|
115
|
+
hi: "शब्दकोश प्रकाशित करें",
|
|
116
|
+
ar: "نشر القاموس",
|
|
117
|
+
ru: "Опубликовать словарь"
|
|
36
118
|
}),
|
|
37
119
|
label: intlayer.t({
|
|
38
120
|
en: "Click to publish dictionary",
|
|
121
|
+
"en-GB": "Click to publish dictionary",
|
|
39
122
|
fr: "Cliquez pour publier dictionnaire",
|
|
40
|
-
es: "Haga clic para publicar
|
|
123
|
+
es: "Haga clic para publicar diccionario",
|
|
124
|
+
de: "Klicken Sie, um das Wörterbuch zu veröffentlichen",
|
|
125
|
+
ja: "辞書を公開するにはクリックしてください",
|
|
126
|
+
ko: "사전을 게시하려면 클릭하세요",
|
|
127
|
+
zh: "单击以发布字典",
|
|
128
|
+
it: "Fai clic per pubblicare il dizionario",
|
|
129
|
+
pt: "Clique para publicar dicionário",
|
|
130
|
+
hi: "शब्दकोश प्रकाशित करने के लिए क्लिक करें",
|
|
131
|
+
ar: "انقر لنشر القاموس",
|
|
132
|
+
ru: "Нажмите, чтобы опубликовать словарь"
|
|
41
133
|
})
|
|
42
134
|
}
|
|
43
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveForm.content.cjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const saveDictionaryContent = {\n key: 'save-dictionary-details',\n content: {\n resetButton: {\n text: t({\n en: 'Reset all changes',\n fr: 'Réinitialiser toutes les modifications',\n es: 'Restablecer todas las modificaciones',\n }),\n label: t({\n en: 'Click to reset all the changes',\n fr: 'Cliquez pour réinitialiser toutes les modifications',\n es: 'Haga clic para restablecer todas las modificaciones',\n }),\n },\n saveButton: {\n text: t({\n en: 'Save changes',\n fr: 'Enregistrer les modifications',\n es: 'Guardar cambios',\n }),\n label: t({\n en: 'Click to save changes',\n fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar
|
|
1
|
+
{"version":3,"file":"saveForm.content.cjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const saveDictionaryContent = {\n key: 'save-dictionary-details',\n content: {\n auditButton: {\n text: t({\n en: 'Audit',\n 'en-GB': 'Audit',\n fr: 'Auditer',\n es: 'Auditar',\n de: 'Prüfen',\n ja: '監査',\n ko: '감사',\n zh: '审核',\n it: 'Controllo',\n pt: 'Auditar',\n hi: 'ऑडिट',\n ar: 'التدقيق',\n ru: 'Отслеживание',\n }),\n label: t({\n en: 'Audit',\n 'en-GB': 'Audit',\n fr: 'Auditer',\n es: 'Auditar',\n de: 'Prüfen',\n ja: '監査',\n ko: '감사',\n zh: '审核',\n it: 'Controllo',\n pt: 'Auditar',\n hi: 'ऑडिट',\n ar: 'التدقيق',\n ru: 'Отслеживание',\n }),\n },\n resetButton: {\n text: t({\n en: 'Reset all changes',\n 'en-GB': 'Reset all changes',\n fr: 'Réinitialiser toutes les modifications',\n es: 'Restablecer todas las modificaciones',\n de: 'Alle Änderungen zurücksetzen',\n ja: 'すべての変更をリセット',\n ko: '모든 변경 사항 초기화',\n zh: '重置所有更改',\n it: 'Reimposta tutte le modifiche',\n pt: 'Redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रीसेट करें',\n ar: 'إعادة تعيين جميع التغييرات',\n ru: 'Сбросить все изменения',\n }),\n label: t({\n en: 'Click to reset all the changes',\n 'en-GB': 'Click to reset all the changes',\n fr: 'Cliquez pour réinitialiser toutes les modifications',\n es: 'Haga clic para restablecer todas las modificaciones',\n de: 'Klicken Sie, um alle Änderungen zurückzusetzen',\n ja: 'すべての変更をリセットするにはクリックしてください',\n ko: '모든 변경 사항을 초기화하려면 클릭하세요',\n zh: '单击以重置所有更改',\n it: 'Fai clic per ripristinare tutte le modifiche',\n pt: 'Clique para redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रीसेट करने के लिए क्लिक करें',\n ar: 'انقر لإعادة تعيين جميع التغييرات',\n ru: 'Нажмите, чтобы сбросить все изменения',\n }),\n },\n saveButton: {\n text: t({\n en: 'Save changes',\n 'en-GB': 'Save changes',\n fr: 'Enregistrer les modifications',\n es: 'Guardar cambios',\n de: 'Änderungen speichern',\n ja: '変更を保存',\n ko: '변경 사항 저장',\n zh: '保存更改',\n it: 'Salva le modifiche',\n pt: 'Salvar alterações',\n hi: 'परिवर्तनों को सहेजें',\n ar: 'احفظ التغييرات',\n ru: 'Сохранить изменения',\n }),\n label: t({\n en: 'Click to save changes',\n 'en-GB': 'Click to save changes',\n fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar cambios',\n de: 'Klicken Sie, um Änderungen zu speichern',\n ja: '変更を保存するにはクリックしてください',\n ko: '변경 사항을 저장하려면 클릭하세요',\n zh: '单击保存更改',\n it: 'Fai clic per salvare le modifiche',\n pt: 'Clique para salvar alterações',\n hi: 'परिवर्तनों को सहेजने के लिए क्लिक करें',\n ar: 'انقر لحفظ التغييرات',\n ru: 'Нажмите, чтобы сохранить изменения',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n 'en-GB': 'Publish dictionary',\n fr: 'Publier dictionnaire',\n es: 'Publicar diccionario',\n de: 'Wörterbuch veröffentlichen',\n ja: '辞書を公開',\n ko: '사전을 게시합니다',\n zh: '发布字典',\n it: 'Pubblica dizionario',\n pt: 'Publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करें',\n ar: 'نشر القاموس',\n ru: 'Опубликовать словарь',\n }),\n label: t({\n en: 'Click to publish dictionary',\n 'en-GB': 'Click to publish dictionary',\n fr: 'Cliquez pour publier dictionnaire',\n es: 'Haga clic para publicar diccionario',\n de: 'Klicken Sie, um das Wörterbuch zu veröffentlichen',\n ja: '辞書を公開するにはクリックしてください',\n ko: '사전을 게시하려면 클릭하세요',\n zh: '单击以发布字典',\n it: 'Fai clic per pubblicare il dizionario',\n pt: 'Clique para publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करने के लिए क्लिक करें',\n ar: 'انقر لنشر القاموس',\n ru: 'Нажмите, чтобы опубликовать словарь',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":"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"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export declare const saveDictionaryContent: {
|
|
2
2
|
key: string;
|
|
3
3
|
content: {
|
|
4
|
+
auditButton: {
|
|
5
|
+
text: import('@intlayer/core').TranslationContent<string>;
|
|
6
|
+
label: import('@intlayer/core').TranslationContent<string>;
|
|
7
|
+
};
|
|
4
8
|
resetButton: {
|
|
5
9
|
text: import('@intlayer/core').TranslationContent<string>;
|
|
6
10
|
label: import('@intlayer/core').TranslationContent<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveForm.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"saveForm.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;CAoIJ,CAAC"}
|
|
@@ -2,40 +2,132 @@ import { t } from "intlayer";
|
|
|
2
2
|
const saveDictionaryContent = {
|
|
3
3
|
key: "save-dictionary-details",
|
|
4
4
|
content: {
|
|
5
|
+
auditButton: {
|
|
6
|
+
text: t({
|
|
7
|
+
en: "Audit",
|
|
8
|
+
"en-GB": "Audit",
|
|
9
|
+
fr: "Auditer",
|
|
10
|
+
es: "Auditar",
|
|
11
|
+
de: "Prüfen",
|
|
12
|
+
ja: "監査",
|
|
13
|
+
ko: "감사",
|
|
14
|
+
zh: "审核",
|
|
15
|
+
it: "Controllo",
|
|
16
|
+
pt: "Auditar",
|
|
17
|
+
hi: "ऑडिट",
|
|
18
|
+
ar: "التدقيق",
|
|
19
|
+
ru: "Отслеживание"
|
|
20
|
+
}),
|
|
21
|
+
label: t({
|
|
22
|
+
en: "Audit",
|
|
23
|
+
"en-GB": "Audit",
|
|
24
|
+
fr: "Auditer",
|
|
25
|
+
es: "Auditar",
|
|
26
|
+
de: "Prüfen",
|
|
27
|
+
ja: "監査",
|
|
28
|
+
ko: "감사",
|
|
29
|
+
zh: "审核",
|
|
30
|
+
it: "Controllo",
|
|
31
|
+
pt: "Auditar",
|
|
32
|
+
hi: "ऑडिट",
|
|
33
|
+
ar: "التدقيق",
|
|
34
|
+
ru: "Отслеживание"
|
|
35
|
+
})
|
|
36
|
+
},
|
|
5
37
|
resetButton: {
|
|
6
38
|
text: t({
|
|
7
39
|
en: "Reset all changes",
|
|
40
|
+
"en-GB": "Reset all changes",
|
|
8
41
|
fr: "Réinitialiser toutes les modifications",
|
|
9
|
-
es: "Restablecer todas las modificaciones"
|
|
42
|
+
es: "Restablecer todas las modificaciones",
|
|
43
|
+
de: "Alle Änderungen zurücksetzen",
|
|
44
|
+
ja: "すべての変更をリセット",
|
|
45
|
+
ko: "모든 변경 사항 초기화",
|
|
46
|
+
zh: "重置所有更改",
|
|
47
|
+
it: "Reimposta tutte le modifiche",
|
|
48
|
+
pt: "Redefinir todas as alterações",
|
|
49
|
+
hi: "सभी परिवर्तनों को रीसेट करें",
|
|
50
|
+
ar: "إعادة تعيين جميع التغييرات",
|
|
51
|
+
ru: "Сбросить все изменения"
|
|
10
52
|
}),
|
|
11
53
|
label: t({
|
|
12
54
|
en: "Click to reset all the changes",
|
|
55
|
+
"en-GB": "Click to reset all the changes",
|
|
13
56
|
fr: "Cliquez pour réinitialiser toutes les modifications",
|
|
14
|
-
es: "Haga clic para restablecer todas las modificaciones"
|
|
57
|
+
es: "Haga clic para restablecer todas las modificaciones",
|
|
58
|
+
de: "Klicken Sie, um alle Änderungen zurückzusetzen",
|
|
59
|
+
ja: "すべての変更をリセットするにはクリックしてください",
|
|
60
|
+
ko: "모든 변경 사항을 초기화하려면 클릭하세요",
|
|
61
|
+
zh: "单击以重置所有更改",
|
|
62
|
+
it: "Fai clic per ripristinare tutte le modifiche",
|
|
63
|
+
pt: "Clique para redefinir todas as alterações",
|
|
64
|
+
hi: "सभी परिवर्तनों को रीसेट करने के लिए क्लिक करें",
|
|
65
|
+
ar: "انقر لإعادة تعيين جميع التغييرات",
|
|
66
|
+
ru: "Нажмите, чтобы сбросить все изменения"
|
|
15
67
|
})
|
|
16
68
|
},
|
|
17
69
|
saveButton: {
|
|
18
70
|
text: t({
|
|
19
71
|
en: "Save changes",
|
|
72
|
+
"en-GB": "Save changes",
|
|
20
73
|
fr: "Enregistrer les modifications",
|
|
21
|
-
es: "Guardar cambios"
|
|
74
|
+
es: "Guardar cambios",
|
|
75
|
+
de: "Änderungen speichern",
|
|
76
|
+
ja: "変更を保存",
|
|
77
|
+
ko: "변경 사항 저장",
|
|
78
|
+
zh: "保存更改",
|
|
79
|
+
it: "Salva le modifiche",
|
|
80
|
+
pt: "Salvar alterações",
|
|
81
|
+
hi: "परिवर्तनों को सहेजें",
|
|
82
|
+
ar: "احفظ التغييرات",
|
|
83
|
+
ru: "Сохранить изменения"
|
|
22
84
|
}),
|
|
23
85
|
label: t({
|
|
24
86
|
en: "Click to save changes",
|
|
87
|
+
"en-GB": "Click to save changes",
|
|
25
88
|
fr: "Cliquez pour enregistrer les modifications",
|
|
26
|
-
es: "Haga clic para guardar
|
|
89
|
+
es: "Haga clic para guardar cambios",
|
|
90
|
+
de: "Klicken Sie, um Änderungen zu speichern",
|
|
91
|
+
ja: "変更を保存するにはクリックしてください",
|
|
92
|
+
ko: "변경 사항을 저장하려면 클릭하세요",
|
|
93
|
+
zh: "单击保存更改",
|
|
94
|
+
it: "Fai clic per salvare le modifiche",
|
|
95
|
+
pt: "Clique para salvar alterações",
|
|
96
|
+
hi: "परिवर्तनों को सहेजने के लिए क्लिक करें",
|
|
97
|
+
ar: "انقر لحفظ التغييرات",
|
|
98
|
+
ru: "Нажмите, чтобы сохранить изменения"
|
|
27
99
|
})
|
|
28
100
|
},
|
|
29
101
|
publishButton: {
|
|
30
102
|
text: t({
|
|
31
103
|
en: "Publish dictionary",
|
|
104
|
+
"en-GB": "Publish dictionary",
|
|
32
105
|
fr: "Publier dictionnaire",
|
|
33
|
-
es: "Publicar diccionario"
|
|
106
|
+
es: "Publicar diccionario",
|
|
107
|
+
de: "Wörterbuch veröffentlichen",
|
|
108
|
+
ja: "辞書を公開",
|
|
109
|
+
ko: "사전을 게시합니다",
|
|
110
|
+
zh: "发布字典",
|
|
111
|
+
it: "Pubblica dizionario",
|
|
112
|
+
pt: "Publicar dicionário",
|
|
113
|
+
hi: "शब्दकोश प्रकाशित करें",
|
|
114
|
+
ar: "نشر القاموس",
|
|
115
|
+
ru: "Опубликовать словарь"
|
|
34
116
|
}),
|
|
35
117
|
label: t({
|
|
36
118
|
en: "Click to publish dictionary",
|
|
119
|
+
"en-GB": "Click to publish dictionary",
|
|
37
120
|
fr: "Cliquez pour publier dictionnaire",
|
|
38
|
-
es: "Haga clic para publicar
|
|
121
|
+
es: "Haga clic para publicar diccionario",
|
|
122
|
+
de: "Klicken Sie, um das Wörterbuch zu veröffentlichen",
|
|
123
|
+
ja: "辞書を公開するにはクリックしてください",
|
|
124
|
+
ko: "사전을 게시하려면 클릭하세요",
|
|
125
|
+
zh: "单击以发布字典",
|
|
126
|
+
it: "Fai clic per pubblicare il dizionario",
|
|
127
|
+
pt: "Clique para publicar dicionário",
|
|
128
|
+
hi: "शब्दकोश प्रकाशित करने के लिए क्लिक करें",
|
|
129
|
+
ar: "انقر لنشر القاموس",
|
|
130
|
+
ru: "Нажмите, чтобы опубликовать словарь"
|
|
39
131
|
})
|
|
40
132
|
}
|
|
41
133
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveForm.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const saveDictionaryContent = {\n key: 'save-dictionary-details',\n content: {\n resetButton: {\n text: t({\n en: 'Reset all changes',\n fr: 'Réinitialiser toutes les modifications',\n es: 'Restablecer todas las modificaciones',\n }),\n label: t({\n en: 'Click to reset all the changes',\n fr: 'Cliquez pour réinitialiser toutes les modifications',\n es: 'Haga clic para restablecer todas las modificaciones',\n }),\n },\n saveButton: {\n text: t({\n en: 'Save changes',\n fr: 'Enregistrer les modifications',\n es: 'Guardar cambios',\n }),\n label: t({\n en: 'Click to save changes',\n fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar
|
|
1
|
+
{"version":3,"file":"saveForm.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/SaveForm/saveForm.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const saveDictionaryContent = {\n key: 'save-dictionary-details',\n content: {\n auditButton: {\n text: t({\n en: 'Audit',\n 'en-GB': 'Audit',\n fr: 'Auditer',\n es: 'Auditar',\n de: 'Prüfen',\n ja: '監査',\n ko: '감사',\n zh: '审核',\n it: 'Controllo',\n pt: 'Auditar',\n hi: 'ऑडिट',\n ar: 'التدقيق',\n ru: 'Отслеживание',\n }),\n label: t({\n en: 'Audit',\n 'en-GB': 'Audit',\n fr: 'Auditer',\n es: 'Auditar',\n de: 'Prüfen',\n ja: '監査',\n ko: '감사',\n zh: '审核',\n it: 'Controllo',\n pt: 'Auditar',\n hi: 'ऑडिट',\n ar: 'التدقيق',\n ru: 'Отслеживание',\n }),\n },\n resetButton: {\n text: t({\n en: 'Reset all changes',\n 'en-GB': 'Reset all changes',\n fr: 'Réinitialiser toutes les modifications',\n es: 'Restablecer todas las modificaciones',\n de: 'Alle Änderungen zurücksetzen',\n ja: 'すべての変更をリセット',\n ko: '모든 변경 사항 초기화',\n zh: '重置所有更改',\n it: 'Reimposta tutte le modifiche',\n pt: 'Redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रीसेट करें',\n ar: 'إعادة تعيين جميع التغييرات',\n ru: 'Сбросить все изменения',\n }),\n label: t({\n en: 'Click to reset all the changes',\n 'en-GB': 'Click to reset all the changes',\n fr: 'Cliquez pour réinitialiser toutes les modifications',\n es: 'Haga clic para restablecer todas las modificaciones',\n de: 'Klicken Sie, um alle Änderungen zurückzusetzen',\n ja: 'すべての変更をリセットするにはクリックしてください',\n ko: '모든 변경 사항을 초기화하려면 클릭하세요',\n zh: '单击以重置所有更改',\n it: 'Fai clic per ripristinare tutte le modifiche',\n pt: 'Clique para redefinir todas as alterações',\n hi: 'सभी परिवर्तनों को रीसेट करने के लिए क्लिक करें',\n ar: 'انقر لإعادة تعيين جميع التغييرات',\n ru: 'Нажмите, чтобы сбросить все изменения',\n }),\n },\n saveButton: {\n text: t({\n en: 'Save changes',\n 'en-GB': 'Save changes',\n fr: 'Enregistrer les modifications',\n es: 'Guardar cambios',\n de: 'Änderungen speichern',\n ja: '変更を保存',\n ko: '변경 사항 저장',\n zh: '保存更改',\n it: 'Salva le modifiche',\n pt: 'Salvar alterações',\n hi: 'परिवर्तनों को सहेजें',\n ar: 'احفظ التغييرات',\n ru: 'Сохранить изменения',\n }),\n label: t({\n en: 'Click to save changes',\n 'en-GB': 'Click to save changes',\n fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar cambios',\n de: 'Klicken Sie, um Änderungen zu speichern',\n ja: '変更を保存するにはクリックしてください',\n ko: '변경 사항을 저장하려면 클릭하세요',\n zh: '单击保存更改',\n it: 'Fai clic per salvare le modifiche',\n pt: 'Clique para salvar alterações',\n hi: 'परिवर्तनों को सहेजने के लिए क्लिक करें',\n ar: 'انقر لحفظ التغييرات',\n ru: 'Нажмите, чтобы сохранить изменения',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n 'en-GB': 'Publish dictionary',\n fr: 'Publier dictionnaire',\n es: 'Publicar diccionario',\n de: 'Wörterbuch veröffentlichen',\n ja: '辞書を公開',\n ko: '사전을 게시합니다',\n zh: '发布字典',\n it: 'Pubblica dizionario',\n pt: 'Publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करें',\n ar: 'نشر القاموس',\n ru: 'Опубликовать словарь',\n }),\n label: t({\n en: 'Click to publish dictionary',\n 'en-GB': 'Click to publish dictionary',\n fr: 'Cliquez pour publier dictionnaire',\n es: 'Haga clic para publicar diccionario',\n de: 'Klicken Sie, um das Wörterbuch zu veröffentlichen',\n ja: '辞書を公開するにはクリックしてください',\n ko: '사전을 게시하려면 클릭하세요',\n zh: '单击以发布字典',\n it: 'Fai clic per pubblicare il dizionario',\n pt: 'Clique para publicar dicionário',\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,aAAa;AAAA,MACX,MAAM,EAAE;AAAA,QACN,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,MAAA,CACL;AAAA,MACD,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,MAAM,EAAE;AAAA,QACN,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,MAAA,CACL;AAAA,MACD,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,YAAY;AAAA,MACV,MAAM,EAAE;AAAA,QACN,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,MAAA,CACL;AAAA,MACD,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,eAAe;AAAA,MACb,MAAM,EAAE;AAAA,QACN,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,MAAA,CACL;AAAA,MACD,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,IAAA;AAAA,EACH;AAEJ;"}
|
|
@@ -6,24 +6,64 @@ const dictionaryFieldEditorContent = {
|
|
|
6
6
|
content: {
|
|
7
7
|
titleInformation: intlayer.t({
|
|
8
8
|
en: "Dictionary informations",
|
|
9
|
+
"en-GB": "Dictionary informations",
|
|
9
10
|
fr: "Informations du dictionnaire",
|
|
10
|
-
es: "Información del diccionario"
|
|
11
|
+
es: "Información del diccionario",
|
|
12
|
+
de: "Wörterbuchinformationen",
|
|
13
|
+
ja: "辞書情報",
|
|
14
|
+
ko: "사전 정보",
|
|
15
|
+
zh: "字典信息",
|
|
16
|
+
it: "Informazioni sul dizionario",
|
|
17
|
+
pt: "Informações do dicionário",
|
|
18
|
+
hi: "शब्दकोश की जानकारी",
|
|
19
|
+
ar: "معلومات القاموس",
|
|
20
|
+
ru: "Информация о словаре"
|
|
11
21
|
}),
|
|
12
22
|
titleContent: intlayer.t({
|
|
13
23
|
en: "Dictionary content",
|
|
24
|
+
"en-GB": "Dictionary content",
|
|
14
25
|
fr: "Contenu du dictionnaire",
|
|
15
|
-
es: "Contenido del diccionario"
|
|
26
|
+
es: "Contenido del diccionario",
|
|
27
|
+
de: "Inhalt des Wörterbuchs",
|
|
28
|
+
ja: "辞書の内容",
|
|
29
|
+
ko: "사전 내용",
|
|
30
|
+
zh: "字典内容",
|
|
31
|
+
it: "Contenuto del dizionario",
|
|
32
|
+
pt: "Conteúdo do dicionário",
|
|
33
|
+
hi: "शब्दकोश की सामग्री",
|
|
34
|
+
ar: "محتوى القاموس",
|
|
35
|
+
ru: "Содержание словаря"
|
|
16
36
|
}),
|
|
17
37
|
returnToDictionaryList: {
|
|
18
38
|
label: intlayer.t({
|
|
19
39
|
en: "Return to dictionary list",
|
|
40
|
+
"en-GB": "Return to dictionary list",
|
|
20
41
|
fr: "Retourner à la liste des dictionnaires",
|
|
21
|
-
es: "Volver a la lista de diccionarios"
|
|
42
|
+
es: "Volver a la lista de diccionarios",
|
|
43
|
+
de: "Zurück zur Wörterbuchliste",
|
|
44
|
+
ja: "辞書リストに戻る",
|
|
45
|
+
ko: "사전 목록으로 돌아가기",
|
|
46
|
+
zh: "返回字典列表",
|
|
47
|
+
it: "Torna all'elenco dei dizionari",
|
|
48
|
+
pt: "Voltar à lista de dicionários",
|
|
49
|
+
hi: "शब्दकोश सूची में वापस जाएं",
|
|
50
|
+
ar: "العودة إلى قائمة المعاجم",
|
|
51
|
+
ru: "Вернуться к списку словарей"
|
|
22
52
|
}),
|
|
23
53
|
text: intlayer.t({
|
|
24
54
|
en: "Dictionary list",
|
|
55
|
+
"en-GB": "Dictionary list",
|
|
25
56
|
fr: "Liste des dictionnaires",
|
|
26
|
-
es: "Lista de diccionarios"
|
|
57
|
+
es: "Lista de diccionarios",
|
|
58
|
+
de: "Wörterbuchliste",
|
|
59
|
+
ja: "辞書リスト",
|
|
60
|
+
ko: "사전 목록",
|
|
61
|
+
zh: "字典列表",
|
|
62
|
+
it: "Elenco dei dizionari",
|
|
63
|
+
pt: "Lista de dicionários",
|
|
64
|
+
hi: "शब्दकोश सूची",
|
|
65
|
+
ar: "قائمة المعاجم",
|
|
66
|
+
ru: "Список словарей"
|
|
27
67
|
})
|
|
28
68
|
}
|
|
29
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryFieldEditor.content.cjs","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionaryFieldEditorContent = {\n key: 'dictionary-field-editor',\n content: {\n titleInformation: t({\n en: 'Dictionary informations',\n fr: 'Informations du dictionnaire',\n es: 'Información del diccionario',\n }),\n titleContent: t({\n en: 'Dictionary content',\n fr: 'Contenu du dictionnaire',\n es: 'Contenido del diccionario',\n }),\n returnToDictionaryList: {\n label: t({\n en: 'Return to dictionary list',\n fr: 'Retourner à la liste des dictionnaires',\n es: 'Volver a la lista de diccionarios',\n }),\n text: t({\n en: 'Dictionary list',\n fr: 'Liste des dictionnaires',\n es: 'Lista de diccionarios',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,+BAA+B;AAAA,EAC1C,KAAK;AAAA,EACL,SAAS;AAAA,IACP,kBAAkBA,SAAAA,EAAE;AAAA,MAClB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,cAAcA,SAAAA,EAAE;AAAA,MACd,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,wBAAwB;AAAA,MACtB,OAAOA,SAAAA,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,MAAMA,SAAAA,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;;"}
|
|
1
|
+
{"version":3,"file":"dictionaryFieldEditor.content.cjs","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionaryFieldEditorContent = {\n key: 'dictionary-field-editor',\n content: {\n titleInformation: t({\n en: 'Dictionary informations',\n 'en-GB': 'Dictionary informations',\n fr: 'Informations du dictionnaire',\n es: 'Información del diccionario',\n de: 'Wörterbuchinformationen',\n ja: '辞書情報',\n ko: '사전 정보',\n zh: '字典信息',\n it: 'Informazioni sul dizionario',\n pt: 'Informações do dicionário',\n hi: 'शब्दकोश की जानकारी',\n ar: 'معلومات القاموس',\n ru: 'Информация о словаре',\n }),\n titleContent: t({\n en: 'Dictionary content',\n 'en-GB': 'Dictionary content',\n fr: 'Contenu du dictionnaire',\n es: 'Contenido del diccionario',\n de: 'Inhalt des Wörterbuchs',\n ja: '辞書の内容',\n ko: '사전 내용',\n zh: '字典内容',\n it: 'Contenuto del dizionario',\n pt: 'Conteúdo do dicionário',\n hi: 'शब्दकोश की सामग्री',\n ar: 'محتوى القاموس',\n ru: 'Содержание словаря',\n }),\n returnToDictionaryList: {\n label: t({\n en: 'Return to dictionary list',\n 'en-GB': 'Return to dictionary list',\n fr: 'Retourner à la liste des dictionnaires',\n es: 'Volver a la lista de diccionarios',\n de: 'Zurück zur Wörterbuchliste',\n ja: '辞書リストに戻る',\n ko: '사전 목록으로 돌아가기',\n zh: '返回字典列表',\n it: \"Torna all'elenco dei dizionari\",\n pt: 'Voltar à lista de dicionários',\n hi: 'शब्दकोश सूची में वापस जाएं',\n ar: 'العودة إلى قائمة المعاجم',\n ru: 'Вернуться к списку словарей',\n }),\n text: t({\n en: 'Dictionary list',\n 'en-GB': 'Dictionary list',\n fr: 'Liste des dictionnaires',\n es: 'Lista de diccionarios',\n de: 'Wörterbuchliste',\n ja: '辞書リスト',\n ko: '사전 목록',\n zh: '字典列表',\n it: 'Elenco dei dizionari',\n pt: 'Lista de dicionários',\n hi: 'शब्दकोश सूची',\n ar: 'قائمة المعاجم',\n ru: 'Список словарей',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,+BAA+B;AAAA,EAC1C,KAAK;AAAA,EACL,SAAS;AAAA,IACP,kBAAkBA,SAAAA,EAAE;AAAA,MAClB,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,cAAcA,SAAAA,EAAE;AAAA,MACd,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,wBAAwB;AAAA,MACtB,OAAOA,SAAAA,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,MAAA,CACL;AAAA,MACD,MAAMA,SAAAA,EAAE;AAAA,QACN,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,IAAA;AAAA,EACH;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryFieldEditor.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"dictionaryFieldEditor.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryFieldEditor/dictionaryFieldEditor.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;;;;;;;;;CAkEX,CAAC"}
|