@intlayer/design-system 3.5.1 → 3.5.4

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.
Files changed (304) hide show
  1. package/README.md +1 -1
  2. package/dist/.vite/manifest.json +162 -80
  3. package/dist/components/Auth/AuthModal/index.cjs +4 -0
  4. package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
  5. package/dist/components/Auth/AuthModal/index.mjs +4 -0
  6. package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
  7. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +5 -4
  8. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
  9. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -1
  10. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
  11. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +5 -4
  12. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
  13. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +170 -0
  14. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -0
  15. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +26 -0
  16. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -0
  17. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +170 -0
  18. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -0
  19. package/dist/components/Auth/ChangePasswordForm/index.cjs +2 -2
  20. package/dist/components/Auth/ChangePasswordForm/index.d.ts +1 -1
  21. package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -1
  22. package/dist/components/Auth/ChangePasswordForm/index.mjs +2 -2
  23. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +37 -0
  24. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -0
  25. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs +131 -0
  26. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs.map +1 -0
  27. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +15 -0
  28. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -0
  29. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs +131 -0
  30. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs.map +1 -0
  31. package/dist/components/Auth/ChangePasswordForm/{ChangePasswordSchema.d.ts → useChangePasswordSchema.d.ts} +3 -3
  32. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -0
  33. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +37 -0
  34. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -0
  35. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +11 -10
  36. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
  37. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
  38. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +12 -11
  39. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
  40. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +86 -32
  41. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
  42. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +13 -9
  43. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
  44. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +85 -31
  45. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
  46. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +5 -4
  47. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
  48. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -1
  49. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
  50. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +5 -4
  51. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
  52. package/dist/components/Auth/ResetPasswordForm/index.cjs +2 -2
  53. package/dist/components/Auth/ResetPasswordForm/index.d.ts +1 -1
  54. package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -1
  55. package/dist/components/Auth/ResetPasswordForm/index.mjs +2 -2
  56. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs +123 -0
  57. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs.map +1 -0
  58. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +21 -0
  59. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -0
  60. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs +123 -0
  61. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs.map +1 -0
  62. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +16 -0
  63. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -0
  64. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs +56 -0
  65. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs.map +1 -0
  66. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +10 -0
  67. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -0
  68. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs +56 -0
  69. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs.map +1 -0
  70. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts +10 -0
  71. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -0
  72. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +16 -0
  73. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -0
  74. package/dist/components/Auth/SignInForm/SignInForm.cjs +22 -15
  75. package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
  76. package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -1
  77. package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
  78. package/dist/components/Auth/SignInForm/SignInForm.mjs +22 -15
  79. package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
  80. package/dist/components/Auth/SignInForm/index.cjs +2 -2
  81. package/dist/components/Auth/SignInForm/index.d.ts +1 -1
  82. package/dist/components/Auth/SignInForm/index.d.ts.map +1 -1
  83. package/dist/components/Auth/SignInForm/index.mjs +2 -2
  84. package/dist/components/Auth/SignInForm/signIn.content.cjs +217 -0
  85. package/dist/components/Auth/SignInForm/signIn.content.cjs.map +1 -0
  86. package/dist/components/Auth/SignInForm/signIn.content.d.ts +31 -0
  87. package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -0
  88. package/dist/components/Auth/SignInForm/signIn.content.mjs +217 -0
  89. package/dist/components/Auth/SignInForm/signIn.content.mjs.map +1 -0
  90. package/dist/components/Auth/SignInForm/useSignInSchema.cjs +25 -0
  91. package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -0
  92. package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs +71 -0
  93. package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs.map +1 -0
  94. package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +11 -0
  95. package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -0
  96. package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs +71 -0
  97. package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs.map +1 -0
  98. package/dist/components/Auth/SignInForm/{SignInSchema.d.ts → useSignInSchema.d.ts} +3 -3
  99. package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -0
  100. package/dist/components/Auth/SignInForm/useSignInSchema.mjs +25 -0
  101. package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -0
  102. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
  103. package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
  104. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -1
  105. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
  106. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +3 -3
  107. package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
  108. package/dist/components/Auth/SignUpForm/index.cjs +2 -2
  109. package/dist/components/Auth/SignUpForm/index.d.ts +1 -1
  110. package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -1
  111. package/dist/components/Auth/SignUpForm/index.mjs +2 -2
  112. package/dist/components/Auth/SignUpForm/signUpForm.content.cjs +182 -0
  113. package/dist/components/Auth/SignUpForm/signUpForm.content.cjs.map +1 -0
  114. package/dist/components/Auth/SignUpForm/{index.content.d.ts → signUpForm.content.d.ts} +1 -1
  115. package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -0
  116. package/dist/components/Auth/SignUpForm/signUpForm.content.mjs +182 -0
  117. package/dist/components/Auth/SignUpForm/signUpForm.content.mjs.map +1 -0
  118. package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +36 -0
  119. package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -0
  120. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs +116 -0
  121. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs.map +1 -0
  122. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +14 -0
  123. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -0
  124. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs +116 -0
  125. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs.map +1 -0
  126. package/dist/components/Auth/SignUpForm/{SignUpSchema.d.ts → useSignUpSchema.d.ts} +3 -3
  127. package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -0
  128. package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +36 -0
  129. package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -0
  130. package/dist/components/Auth/index.cjs +8 -8
  131. package/dist/components/Auth/index.mjs +8 -8
  132. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
  133. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
  134. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
  135. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +60 -6
  136. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
  137. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
  138. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +60 -6
  139. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
  140. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +22 -2
  141. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
  142. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
  143. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +22 -2
  144. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
  145. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +14 -6
  146. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  147. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +14 -6
  148. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  149. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +151 -21
  150. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
  151. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
  152. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +151 -21
  153. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
  154. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +27 -0
  155. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -0
  156. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +71 -0
  157. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -0
  158. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +11 -0
  159. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -0
  160. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +71 -0
  161. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -0
  162. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/{dictionaryFormSchema.d.ts → useDictionaryFormSchema.d.ts} +3 -3
  163. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -0
  164. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +27 -0
  165. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -0
  166. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +24 -16
  167. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  168. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +24 -16
  169. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  170. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +176 -16
  171. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  172. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  173. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +176 -16
  174. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  175. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +44 -0
  176. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -0
  177. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +176 -0
  178. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -0
  179. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +17 -0
  180. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -0
  181. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +176 -0
  182. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -0
  183. package/dist/components/DictionaryFieldEditor/DictionaryDetails/{DictionaryDetailsSchema.d.ts → useDictionaryDetailsSchema.d.ts} +3 -3
  184. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -0
  185. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +44 -0
  186. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -0
  187. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
  188. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
  189. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
  190. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
  191. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +121 -11
  192. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
  193. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
  194. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +121 -11
  195. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
  196. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +3 -3
  197. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  198. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +3 -3
  199. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  200. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +66 -6
  201. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  202. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  203. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +66 -6
  204. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  205. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +44 -4
  206. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
  207. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
  208. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +44 -4
  209. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
  210. package/dist/components/DictionaryFieldEditor/editorView.content.cjs +77 -7
  211. package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
  212. package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
  213. package/dist/components/DictionaryFieldEditor/editorView.content.mjs +77 -7
  214. package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
  215. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +66 -6
  216. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
  217. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  218. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +66 -6
  219. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
  220. package/dist/components/Link/Link.cjs +11 -4
  221. package/dist/components/Link/Link.cjs.map +1 -1
  222. package/dist/components/Link/Link.d.ts +2 -1
  223. package/dist/components/Link/Link.d.ts.map +1 -1
  224. package/dist/components/Link/Link.mjs +11 -4
  225. package/dist/components/Link/Link.mjs.map +1 -1
  226. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +16 -20
  227. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  228. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
  229. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +16 -20
  230. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  231. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +24 -0
  232. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
  233. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +8 -0
  234. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
  235. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +25 -0
  236. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
  237. package/dist/components/MarkDownRender/index.cjs +9 -1
  238. package/dist/components/MarkDownRender/index.cjs.map +1 -1
  239. package/dist/components/MarkDownRender/index.d.ts.map +1 -1
  240. package/dist/components/MarkDownRender/index.mjs +9 -1
  241. package/dist/components/MarkDownRender/index.mjs.map +1 -1
  242. package/dist/components/index.cjs +8 -8
  243. package/dist/components/index.mjs +8 -8
  244. package/dist/tailwind.css +1 -1
  245. package/package.json +12 -12
  246. package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
  247. package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
  248. package/dist/__vite-browser-external-r74dyCO2.js +0 -5
  249. package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
  250. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
  251. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
  252. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
  253. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
  254. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
  255. package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
  256. package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
  257. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
  258. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
  259. package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
  260. package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
  261. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
  262. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
  263. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
  264. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
  265. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
  266. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
  267. package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
  268. package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
  269. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
  270. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
  271. package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
  272. package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
  273. package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
  274. package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
  275. package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
  276. package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
  277. package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
  278. package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
  279. package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
  280. package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
  281. package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
  282. package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
  283. package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
  284. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
  285. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
  286. package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
  287. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
  288. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
  289. package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
  290. package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
  291. package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
  292. package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
  293. package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
  294. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
  295. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
  296. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
  297. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
  298. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
  299. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
  300. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
  301. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
  302. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
  303. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
  304. package/dist/tailwind.js +0 -1
@@ -0,0 +1,36 @@
1
+ import { useDictionary } from "react-intlayer";
2
+ import { z } from "zod";
3
+ import { signUpSchemaContent } from "./useSignUpSchema.content.mjs";
4
+ const useSignUpSchema = () => {
5
+ const {
6
+ requiredErrorEmail,
7
+ invalidTypeErrorEmail,
8
+ requiredErrorPassword,
9
+ invalidTypeErrorPassword,
10
+ requiredErrorPasswordConfirmation,
11
+ invalidTypeErrorPasswordConfirmation,
12
+ passwordNotMatchError
13
+ } = useDictionary(signUpSchemaContent);
14
+ return z.object({
15
+ email: z.string({
16
+ required_error: requiredErrorEmail,
17
+ invalid_type_error: invalidTypeErrorEmail
18
+ }).min(1, { message: invalidTypeErrorEmail }).email({ message: invalidTypeErrorEmail }),
19
+ password: z.string({
20
+ required_error: requiredErrorPassword,
21
+ invalid_type_error: invalidTypeErrorPassword
22
+ }).min(8, { message: invalidTypeErrorPassword }),
23
+ passwordConfirmation: z.string({
24
+ required_error: requiredErrorPasswordConfirmation,
25
+ invalid_type_error: invalidTypeErrorPasswordConfirmation
26
+ }).min(8, { message: invalidTypeErrorPasswordConfirmation })
27
+ }).refine((data) => data.password === data.passwordConfirmation, {
28
+ message: passwordNotMatchError,
29
+ path: ["passwordConfirmation"]
30
+ // This specifies which field the error should be associated with
31
+ });
32
+ };
33
+ export {
34
+ useSignUpSchema
35
+ };
36
+ //# sourceMappingURL=useSignUpSchema.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSignUpSchema.mjs","sources":["../../../../src/components/Auth/SignUpForm/useSignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\nimport { t, useDictionary } from 'react-intlayer';\nimport { z } from 'zod';\nimport { signUpSchemaContent } from './useSignUpSchema.content';\n\nexport const useSignUpSchema = () => {\n const {\n requiredErrorEmail,\n invalidTypeErrorEmail,\n requiredErrorPassword,\n invalidTypeErrorPassword,\n requiredErrorPasswordConfirmation,\n invalidTypeErrorPasswordConfirmation,\n passwordNotMatchError,\n } = useDictionary(signUpSchemaContent);\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof useSignUpSchema>>;\n"],"names":[],"mappings":";;;AAKO,MAAM,kBAAkB,MAAM;AAC7B,QAAA;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,IACE,cAAc,mBAAmB;AAErC,SAAO,EACJ,OAAO;AAAA,IACN,OAAO,EACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAU,EACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsB,EACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,qCAAsC,CAAA;AAAA,EAAA,CAC5D,EACA,OAAO,CAAC,SAAS,KAAK,aAAa,KAAK,sBAAsB;AAAA,IAC7D,SAAS;AAAA,IACT,MAAM,CAAC,sBAAsB;AAAA;AAAA,EAAA,CAC9B;AACL;"}
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const components_Auth_ExternalsLoginButtons_ExternalsLoginButtons = require("./ExternalsLoginButtons/ExternalsLoginButtons.cjs");
4
4
  const components_Auth_SignInForm_SignInForm = require("./SignInForm/SignInForm.cjs");
5
- const components_Auth_SignInForm_SignInSchema = require("./SignInForm/SignInSchema.cjs");
5
+ const components_Auth_SignInForm_useSignInSchema = require("./SignInForm/useSignInSchema.cjs");
6
6
  const components_Auth_SignUpForm_SignUpForm = require("./SignUpForm/SignUpForm.cjs");
7
- const components_Auth_SignUpForm_SignUpSchema = require("./SignUpForm/SignUpSchema.cjs");
7
+ const components_Auth_SignUpForm_useSignUpSchema = require("./SignUpForm/useSignUpSchema.cjs");
8
8
  const components_Auth_ChangePasswordForm_ChangePasswordForm = require("./ChangePasswordForm/ChangePasswordForm.cjs");
9
- const components_Auth_ChangePasswordForm_ChangePasswordSchema = require("./ChangePasswordForm/ChangePasswordSchema.cjs");
9
+ const components_Auth_ChangePasswordForm_useChangePasswordSchema = require("./ChangePasswordForm/useChangePasswordSchema.cjs");
10
10
  const components_Auth_ResetPasswordForm_ResetPasswordForm = require("./ResetPasswordForm/ResetPasswordForm.cjs");
11
- const components_Auth_ResetPasswordForm_ResetPasswordSchema = require("./ResetPasswordForm/ResetPasswordSchema.cjs");
11
+ const components_Auth_ResetPasswordForm_useResetPasswordSchema = require("./ResetPasswordForm/useResetPasswordSchema.cjs");
12
12
  const components_Auth_AuthModal_index = require("./AuthModal/index.cjs");
13
13
  const components_Auth_useAuth_index = require("./useAuth/index.cjs");
14
14
  const components_Auth_AuthenticationBarrier_AuthenticationBarrierServer = require("./AuthenticationBarrier/AuthenticationBarrierServer.cjs");
@@ -18,13 +18,13 @@ exports.ExternalsLoginButtons = components_Auth_ExternalsLoginButtons_ExternalsL
18
18
  exports.GitHubLoginButton = components_Auth_ExternalsLoginButtons_ExternalsLoginButtons.GitHubLoginButton;
19
19
  exports.GoogleLoginButton = components_Auth_ExternalsLoginButtons_ExternalsLoginButtons.GoogleLoginButton;
20
20
  exports.SignInForm = components_Auth_SignInForm_SignInForm.SignInForm;
21
- exports.getSignInSchema = components_Auth_SignInForm_SignInSchema.getSignInSchema;
21
+ exports.useSignInSchema = components_Auth_SignInForm_useSignInSchema.useSignInSchema;
22
22
  exports.SignUpForm = components_Auth_SignUpForm_SignUpForm.SignUpForm;
23
- exports.getSignUpSchema = components_Auth_SignUpForm_SignUpSchema.getSignUpSchema;
23
+ exports.useSignUpSchema = components_Auth_SignUpForm_useSignUpSchema.useSignUpSchema;
24
24
  exports.ChangePasswordForm = components_Auth_ChangePasswordForm_ChangePasswordForm.ChangePasswordForm;
25
- exports.getChangePasswordSchema = components_Auth_ChangePasswordForm_ChangePasswordSchema.getChangePasswordSchema;
25
+ exports.useChangePasswordSchema = components_Auth_ChangePasswordForm_useChangePasswordSchema.useChangePasswordSchema;
26
26
  exports.ResetPasswordForm = components_Auth_ResetPasswordForm_ResetPasswordForm.ResetPasswordForm;
27
- exports.getResetPasswordSchema = components_Auth_ResetPasswordForm_ResetPasswordSchema.getResetPasswordSchema;
27
+ exports.useResetPasswordSchema = components_Auth_ResetPasswordForm_useResetPasswordSchema.useResetPasswordSchema;
28
28
  exports.AuthModal = components_Auth_AuthModal_index.AuthModal;
29
29
  exports.useAuth = components_Auth_useAuth_index.useAuth;
30
30
  exports.AuthenticationBarrierServer = components_Auth_AuthenticationBarrier_AuthenticationBarrierServer.AuthenticationBarrierServer;
@@ -1,12 +1,12 @@
1
1
  import { ExternalsLoginButtons, GitHubLoginButton, GoogleLoginButton } from "./ExternalsLoginButtons/ExternalsLoginButtons.mjs";
2
2
  import { SignInForm } from "./SignInForm/SignInForm.mjs";
3
- import { getSignInSchema } from "./SignInForm/SignInSchema.mjs";
3
+ import { useSignInSchema } from "./SignInForm/useSignInSchema.mjs";
4
4
  import { SignUpForm } from "./SignUpForm/SignUpForm.mjs";
5
- import { getSignUpSchema } from "./SignUpForm/SignUpSchema.mjs";
5
+ import { useSignUpSchema } from "./SignUpForm/useSignUpSchema.mjs";
6
6
  import { ChangePasswordForm } from "./ChangePasswordForm/ChangePasswordForm.mjs";
7
- import { getChangePasswordSchema } from "./ChangePasswordForm/ChangePasswordSchema.mjs";
7
+ import { useChangePasswordSchema } from "./ChangePasswordForm/useChangePasswordSchema.mjs";
8
8
  import { ResetPasswordForm } from "./ResetPasswordForm/ResetPasswordForm.mjs";
9
- import { getResetPasswordSchema } from "./ResetPasswordForm/ResetPasswordSchema.mjs";
9
+ import { useResetPasswordSchema } from "./ResetPasswordForm/useResetPasswordSchema.mjs";
10
10
  import { AuthModal } from "./AuthModal/index.mjs";
11
11
  import { useAuth } from "./useAuth/index.mjs";
12
12
  import { AuthenticationBarrierServer } from "./AuthenticationBarrier/AuthenticationBarrierServer.mjs";
@@ -23,11 +23,11 @@ export {
23
23
  ResetPasswordForm,
24
24
  SignInForm,
25
25
  SignUpForm,
26
- getChangePasswordSchema,
27
- getResetPasswordSchema,
28
- getSignInSchema,
29
- getSignUpSchema,
30
26
  useAuth,
27
+ useChangePasswordSchema,
28
+ useResetPasswordSchema,
29
+ useSignInSchema,
30
+ useSignUpSchema,
31
31
  useUser
32
32
  };
33
33
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValidDictionaryChangeButtons.cjs","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport type { Dictionary } from '@intlayer/core';\nimport { ArrowUpFromLine, RotateCcw, Save } from 'lucide-react';\nimport { useMemo, type FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { useShallow } from 'zustand/react/shallow';\nimport { usePushDictionaries } from '../../hooks';\nimport { Form, useForm } from '../Form';\nimport { useEditedContentStore } from './useEditedContentStore';\nimport { validDictionaryChangeButtonsContent } from './validDictionaryChangeButtons.content';\nimport { getValidDictionaryChangeButtonsSchemaSchema } from './validDictionaryChangeButtonsSchema';\n\ntype ValidDictionaryChangeButtonsProps = {\n dictionary: Dictionary;\n};\n\nexport const ValidDictionaryChangeButtons: FC<\n ValidDictionaryChangeButtonsProps\n> = ({ dictionary }) => {\n const ValidDictionaryChangeButtonsSchemaSchema =\n getValidDictionaryChangeButtonsSchemaSchema();\n\n const { resetButton, saveButton, publishButton } = useDictionary(\n validDictionaryChangeButtonsContent\n );\n\n const { pushDictionaries } = usePushDictionaries();\n\n const { editedContent, restoreEditedContent } = useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n restoreEditedContent: s.restoreEditedContent,\n }))\n );\n const { form, isSubmitting } = useForm(\n ValidDictionaryChangeButtonsSchemaSchema\n );\n\n const editedDictionary = useMemo(\n () => editedContent[dictionary.key],\n [editedContent, dictionary.key]\n );\n\n const isEdited = useMemo(\n () =>\n editedDictionary &&\n JSON.stringify(editedDictionary?.content) !==\n JSON.stringify(dictionary?.content),\n [editedDictionary, dictionary]\n );\n\n const isLocalDictionary = useMemo(\n () => typeof (dictionary as DistantDictionary)?._id === 'undefined',\n [dictionary]\n );\n\n const onSubmitSuccess = async () => {\n await pushDictionaries([\n {\n ...dictionary,\n ...editedContent[dictionary.key],\n },\n ]);\n };\n\n return (\n <div className=\"mb-4\">\n <Form\n className=\"flex w-full flex-row flex-wrap justify-end gap-3\"\n {...form}\n schema={ValidDictionaryChangeButtonsSchemaSchema}\n onSubmitSuccess={onSubmitSuccess}\n >\n {isEdited && (\n <Form.Button\n type=\"button\"\n label={resetButton.label.value}\n disabled={!isEdited || isSubmitting}\n className=\"ml-auto\"\n Icon={RotateCcw}\n variant=\"outline\"\n color=\"text\"\n isFullWidth\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.value}\n disabled={!isEdited || isSubmitting}\n Icon={ArrowUpFromLine}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {publishButton.text}\n </Form.Button>\n ) : (\n isEdited && (\n <Form.Button\n type=\"submit\"\n label={saveButton.label.value}\n disabled={!isEdited || isSubmitting}\n Icon={Save}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {saveButton.text}\n </Form.Button>\n )\n )}\n </Form>\n </div>\n );\n};\n"],"names":["getValidDictionaryChangeButtonsSchemaSchema","useDictionary","validDictionaryChangeButtonsContent","usePushDictionaries","useEditedContentStore","useShallow","useForm","useMemo","jsx","jsxs","Form","RotateCcw","ArrowUpFromLine","Save"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBO,MAAM,+BAET,CAAC,EAAE,iBAAiB;AACtB,QAAM,2CACJA,+DAAAA,4CAA4C;AAE9C,QAAM,EAAE,aAAa,YAAY,cAAkB,IAAAC,cAAA;AAAA,IACjDC,iEAAAA;AAAAA,EACF;AAEM,QAAA,EAAE,iBAAiB,IAAIC,2CAAoB;AAE3C,QAAA,EAAE,eAAe,qBAAA,IAAyBC,kDAAA;AAAA,IAC9CC,QAAA,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,sBAAsB,EAAE;AAAA,IAAA,EACxB;AAAA,EACJ;AACM,QAAA,EAAE,MAAM,aAAA,IAAiBC,yBAAA;AAAA,IAC7B;AAAA,EACF;AAEA,QAAM,mBAAmBC,WAAA;AAAA,IACvB,MAAM,cAAc,WAAW,GAAG;AAAA,IAClC,CAAC,eAAe,WAAW,GAAG;AAAA,EAChC;AAEA,QAAM,WAAWA,WAAA;AAAA,IACf,MACE,oBACA,KAAK,UAAU,kBAAkB,OAAO,MACtC,KAAK,UAAU,YAAY,OAAO;AAAA,IACtC,CAAC,kBAAkB,UAAU;AAAA,EAC/B;AAEA,QAAM,oBAAoBA,WAAA;AAAA,IACxB,MAAM,OAAQ,YAAkC,QAAQ;AAAA,IACxD,CAAC,UAAU;AAAA,EACb;AAEA,QAAM,kBAAkB,YAAY;AAClC,UAAM,iBAAiB;AAAA,MACrB;AAAA,QACE,GAAG;AAAA,QACH,GAAG,cAAc,WAAW,GAAG;AAAA,MAAA;AAAA,IACjC,CACD;AAAA,EACH;AAGE,SAAAC,2BAAAA,kBAAAA,IAAC,OAAI,EAAA,WAAU,QACb,UAAAC,2BAAA,kBAAA;AAAA,IAACC,sCAAA;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACT,GAAG;AAAA,MACJ,QAAQ;AAAA,MACR;AAAA,MAEC,UAAA;AAAA,QACC,YAAAF,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,YAAY,MAAM;AAAA,YACzB,UAAU,CAAC,YAAY;AAAA,YACvB,WAAU;AAAA,YACV,MAAMC,YAAA;AAAA,YACN,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YACX,SAAS,MAAM,qBAAqB,WAAW,GAAG;AAAA,YAEjD,UAAY,YAAA;AAAA,UAAA;AAAA,QACf;AAAA,QAED,oBACCH,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,cAAc,MAAM;AAAA,YAC3B,UAAU,CAAC,YAAY;AAAA,YACvB,MAAME,YAAA;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAc,cAAA;AAAA,UAAA;AAAA,YAGjB,YACEJ,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW,MAAM;AAAA,YACxB,UAAU,CAAC,YAAY;AAAA,YACvB,MAAMG,YAAA;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAW,WAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAAA,GAIR;AAEJ;;"}
1
+ {"version":3,"file":"ValidDictionaryChangeButtons.cjs","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport type { 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 { usePushDictionaries } from '../../hooks';\nimport { Form, useForm } from '../Form';\nimport { useEditedContentStore } from './useEditedContentStore';\nimport { validDictionaryChangeButtonsContent } from './validDictionaryChangeButtons.content';\nimport { getValidDictionaryChangeButtonsSchemaSchema } from './validDictionaryChangeButtonsSchema';\n\ntype ValidDictionaryChangeButtonsProps = {\n dictionary: Dictionary;\n};\n\nexport const ValidDictionaryChangeButtons: FC<\n ValidDictionaryChangeButtonsProps\n> = ({ dictionary }) => {\n const ValidDictionaryChangeButtonsSchemaSchema =\n getValidDictionaryChangeButtonsSchemaSchema();\n\n const { resetButton, saveButton, publishButton } = useDictionary(\n validDictionaryChangeButtonsContent\n );\n\n const { pushDictionaries } = usePushDictionaries();\n\n const { editedContent, restoreEditedContent } = useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n restoreEditedContent: s.restoreEditedContent,\n }))\n );\n const { form, isSubmitting } = useForm(\n ValidDictionaryChangeButtonsSchemaSchema\n );\n\n const editedDictionary = useMemo(\n () => editedContent[dictionary.key],\n [editedContent, dictionary.key]\n );\n\n const isEdited = useMemo(\n () =>\n editedDictionary &&\n JSON.stringify(editedDictionary?.content) !==\n JSON.stringify(dictionary?.content),\n [editedDictionary, dictionary]\n );\n\n const isLocalDictionary = useMemo(\n () => typeof (dictionary as DistantDictionary)?._id === 'undefined',\n [dictionary]\n );\n\n const onSubmitSuccess = async () => {\n await pushDictionaries([\n {\n ...dictionary,\n ...editedContent[dictionary.key],\n },\n ]);\n };\n\n return (\n <div className=\"mb-4\">\n <Form\n className=\"flex w-full flex-row flex-wrap justify-end gap-3\"\n {...form}\n schema={ValidDictionaryChangeButtonsSchemaSchema}\n onSubmitSuccess={onSubmitSuccess}\n >\n {isEdited && (\n <Form.Button\n type=\"button\"\n label={resetButton.label.value}\n disabled={!isEdited || isSubmitting}\n className=\"ml-auto\"\n Icon={RotateCcw}\n variant=\"outline\"\n color=\"text\"\n isFullWidth\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.value}\n disabled={!isEdited || isSubmitting}\n Icon={ArrowUpFromLine}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {publishButton.text}\n </Form.Button>\n ) : (\n isEdited && (\n <Form.Button\n type=\"submit\"\n label={saveButton.label.value}\n disabled={!isEdited || isSubmitting}\n Icon={Save}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {saveButton.text}\n </Form.Button>\n )\n )}\n </Form>\n </div>\n );\n};\n"],"names":["getValidDictionaryChangeButtonsSchemaSchema","useDictionary","validDictionaryChangeButtonsContent","usePushDictionaries","useEditedContentStore","useShallow","useForm","useMemo","jsx","jsxs","Form","RotateCcw","ArrowUpFromLine","Save"],"mappings":";;;;;;;;;;;;;;;;;;;AAmBO,MAAM,+BAET,CAAC,EAAE,iBAAiB;AACtB,QAAM,2CACJA,+DAAAA,4CAA4C;AAE9C,QAAM,EAAE,aAAa,YAAY,cAAkB,IAAAC,cAAA;AAAA,IACjDC,iEAAAA;AAAAA,EACF;AAEM,QAAA,EAAE,iBAAiB,IAAIC,2CAAoB;AAE3C,QAAA,EAAE,eAAe,qBAAA,IAAyBC,kDAAA;AAAA,IAC9CC,QAAA,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,sBAAsB,EAAE;AAAA,IAAA,EACxB;AAAA,EACJ;AACM,QAAA,EAAE,MAAM,aAAA,IAAiBC,yBAAA;AAAA,IAC7B;AAAA,EACF;AAEA,QAAM,mBAAmBC,WAAA;AAAA,IACvB,MAAM,cAAc,WAAW,GAAG;AAAA,IAClC,CAAC,eAAe,WAAW,GAAG;AAAA,EAChC;AAEA,QAAM,WAAWA,WAAA;AAAA,IACf,MACE,oBACA,KAAK,UAAU,kBAAkB,OAAO,MACtC,KAAK,UAAU,YAAY,OAAO;AAAA,IACtC,CAAC,kBAAkB,UAAU;AAAA,EAC/B;AAEA,QAAM,oBAAoBA,WAAA;AAAA,IACxB,MAAM,OAAQ,YAAkC,QAAQ;AAAA,IACxD,CAAC,UAAU;AAAA,EACb;AAEA,QAAM,kBAAkB,YAAY;AAClC,UAAM,iBAAiB;AAAA,MACrB;AAAA,QACE,GAAG;AAAA,QACH,GAAG,cAAc,WAAW,GAAG;AAAA,MAAA;AAAA,IACjC,CACD;AAAA,EACH;AAGE,SAAAC,2BAAAA,kBAAAA,IAAC,OAAI,EAAA,WAAU,QACb,UAAAC,2BAAA,kBAAA;AAAA,IAACC,sCAAA;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACT,GAAG;AAAA,MACJ,QAAQ;AAAA,MACR;AAAA,MAEC,UAAA;AAAA,QACC,YAAAF,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,YAAY,MAAM;AAAA,YACzB,UAAU,CAAC,YAAY;AAAA,YACvB,WAAU;AAAA,YACV,MAAMC,YAAA;AAAA,YACN,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YACX,SAAS,MAAM,qBAAqB,WAAW,GAAG;AAAA,YAEjD,UAAY,YAAA;AAAA,UAAA;AAAA,QACf;AAAA,QAED,oBACCH,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,cAAc,MAAM;AAAA,YAC3B,UAAU,CAAC,YAAY;AAAA,YACvB,MAAME,YAAA;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAc,cAAA;AAAA,UAAA;AAAA,YAGjB,YACEJ,2BAAA,kBAAA;AAAA,UAACE,sCAAAA,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW,MAAM;AAAA,YACxB,UAAU,CAAC,YAAY;AAAA,YACvB,MAAMG,YAAA;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAW,WAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAAA,GAIR;AAEJ;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ValidDictionaryChangeButtons.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AASzC,KAAK,iCAAiC,GAAG;IACvC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAC3C,iCAAiC,CAsGlC,CAAC"}
1
+ {"version":3,"file":"ValidDictionaryChangeButtons.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAUzC,KAAK,iCAAiC,GAAG;IACvC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAC3C,iCAAiC,CAsGlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ValidDictionaryChangeButtons.mjs","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport type { Dictionary } from '@intlayer/core';\nimport { ArrowUpFromLine, RotateCcw, Save } from 'lucide-react';\nimport { useMemo, type FC } from 'react';\nimport { useDictionary } from 'react-intlayer';\nimport { useShallow } from 'zustand/react/shallow';\nimport { usePushDictionaries } from '../../hooks';\nimport { Form, useForm } from '../Form';\nimport { useEditedContentStore } from './useEditedContentStore';\nimport { validDictionaryChangeButtonsContent } from './validDictionaryChangeButtons.content';\nimport { getValidDictionaryChangeButtonsSchemaSchema } from './validDictionaryChangeButtonsSchema';\n\ntype ValidDictionaryChangeButtonsProps = {\n dictionary: Dictionary;\n};\n\nexport const ValidDictionaryChangeButtons: FC<\n ValidDictionaryChangeButtonsProps\n> = ({ dictionary }) => {\n const ValidDictionaryChangeButtonsSchemaSchema =\n getValidDictionaryChangeButtonsSchemaSchema();\n\n const { resetButton, saveButton, publishButton } = useDictionary(\n validDictionaryChangeButtonsContent\n );\n\n const { pushDictionaries } = usePushDictionaries();\n\n const { editedContent, restoreEditedContent } = useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n restoreEditedContent: s.restoreEditedContent,\n }))\n );\n const { form, isSubmitting } = useForm(\n ValidDictionaryChangeButtonsSchemaSchema\n );\n\n const editedDictionary = useMemo(\n () => editedContent[dictionary.key],\n [editedContent, dictionary.key]\n );\n\n const isEdited = useMemo(\n () =>\n editedDictionary &&\n JSON.stringify(editedDictionary?.content) !==\n JSON.stringify(dictionary?.content),\n [editedDictionary, dictionary]\n );\n\n const isLocalDictionary = useMemo(\n () => typeof (dictionary as DistantDictionary)?._id === 'undefined',\n [dictionary]\n );\n\n const onSubmitSuccess = async () => {\n await pushDictionaries([\n {\n ...dictionary,\n ...editedContent[dictionary.key],\n },\n ]);\n };\n\n return (\n <div className=\"mb-4\">\n <Form\n className=\"flex w-full flex-row flex-wrap justify-end gap-3\"\n {...form}\n schema={ValidDictionaryChangeButtonsSchemaSchema}\n onSubmitSuccess={onSubmitSuccess}\n >\n {isEdited && (\n <Form.Button\n type=\"button\"\n label={resetButton.label.value}\n disabled={!isEdited || isSubmitting}\n className=\"ml-auto\"\n Icon={RotateCcw}\n variant=\"outline\"\n color=\"text\"\n isFullWidth\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.value}\n disabled={!isEdited || isSubmitting}\n Icon={ArrowUpFromLine}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {publishButton.text}\n </Form.Button>\n ) : (\n isEdited && (\n <Form.Button\n type=\"submit\"\n label={saveButton.label.value}\n disabled={!isEdited || isSubmitting}\n Icon={Save}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {saveButton.text}\n </Form.Button>\n )\n )}\n </Form>\n </div>\n );\n};\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;;;;;;;;;;;AAkBO,MAAM,+BAET,CAAC,EAAE,iBAAiB;AACtB,QAAM,2CACJ,4CAA4C;AAE9C,QAAM,EAAE,aAAa,YAAY,cAAkB,IAAA;AAAA,IACjD;AAAA,EACF;AAEM,QAAA,EAAE,iBAAiB,IAAI,oBAAoB;AAE3C,QAAA,EAAE,eAAe,qBAAA,IAAyB;AAAA,IAC9C,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,sBAAsB,EAAE;AAAA,IAAA,EACxB;AAAA,EACJ;AACM,QAAA,EAAE,MAAM,aAAA,IAAiB;AAAA,IAC7B;AAAA,EACF;AAEA,QAAM,mBAAmB;AAAA,IACvB,MAAM,cAAc,WAAW,GAAG;AAAA,IAClC,CAAC,eAAe,WAAW,GAAG;AAAA,EAChC;AAEA,QAAM,WAAW;AAAA,IACf,MACE,oBACA,KAAK,UAAU,kBAAkB,OAAO,MACtC,KAAK,UAAU,YAAY,OAAO;AAAA,IACtC,CAAC,kBAAkB,UAAU;AAAA,EAC/B;AAEA,QAAM,oBAAoB;AAAA,IACxB,MAAM,OAAQ,YAAkC,QAAQ;AAAA,IACxD,CAAC,UAAU;AAAA,EACb;AAEA,QAAM,kBAAkB,YAAY;AAClC,UAAM,iBAAiB;AAAA,MACrB;AAAA,QACE,GAAG;AAAA,QACH,GAAG,cAAc,WAAW,GAAG;AAAA,MAAA;AAAA,IACjC,CACD;AAAA,EACH;AAGE,SAAAA,kCAAAA,IAAC,OAAI,EAAA,WAAU,QACb,UAAAC,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACT,GAAG;AAAA,MACJ,QAAQ;AAAA,MACR;AAAA,MAEC,UAAA;AAAA,QACC,YAAAD,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,YAAY,MAAM;AAAA,YACzB,UAAU,CAAC,YAAY;AAAA,YACvB,WAAU;AAAA,YACV,MAAM;AAAA,YACN,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YACX,SAAS,MAAM,qBAAqB,WAAW,GAAG;AAAA,YAEjD,UAAY,YAAA;AAAA,UAAA;AAAA,QACf;AAAA,QAED,oBACCA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,cAAc,MAAM;AAAA,YAC3B,UAAU,CAAC,YAAY;AAAA,YACvB,MAAM;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAc,cAAA;AAAA,UAAA;AAAA,YAGjB,YACEA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW,MAAM;AAAA,YACxB,UAAU,CAAC,YAAY;AAAA,YACvB,MAAM;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAW,WAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAAA,GAIR;AAEJ;"}
1
+ {"version":3,"file":"ValidDictionaryChangeButtons.mjs","sources":["../../../src/components/DictionaryEditor/ValidDictionaryChangeButtons.tsx"],"sourcesContent":["'use client';\n\nimport { Dictionary as DistantDictionary } from '@intlayer/backend';\nimport type { 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 { usePushDictionaries } from '../../hooks';\nimport { Form, useForm } from '../Form';\nimport { useEditedContentStore } from './useEditedContentStore';\nimport { validDictionaryChangeButtonsContent } from './validDictionaryChangeButtons.content';\nimport { getValidDictionaryChangeButtonsSchemaSchema } from './validDictionaryChangeButtonsSchema';\n\ntype ValidDictionaryChangeButtonsProps = {\n dictionary: Dictionary;\n};\n\nexport const ValidDictionaryChangeButtons: FC<\n ValidDictionaryChangeButtonsProps\n> = ({ dictionary }) => {\n const ValidDictionaryChangeButtonsSchemaSchema =\n getValidDictionaryChangeButtonsSchemaSchema();\n\n const { resetButton, saveButton, publishButton } = useDictionary(\n validDictionaryChangeButtonsContent\n );\n\n const { pushDictionaries } = usePushDictionaries();\n\n const { editedContent, restoreEditedContent } = useEditedContentStore(\n useShallow((s) => ({\n editedContent: s.editedContent,\n restoreEditedContent: s.restoreEditedContent,\n }))\n );\n const { form, isSubmitting } = useForm(\n ValidDictionaryChangeButtonsSchemaSchema\n );\n\n const editedDictionary = useMemo(\n () => editedContent[dictionary.key],\n [editedContent, dictionary.key]\n );\n\n const isEdited = useMemo(\n () =>\n editedDictionary &&\n JSON.stringify(editedDictionary?.content) !==\n JSON.stringify(dictionary?.content),\n [editedDictionary, dictionary]\n );\n\n const isLocalDictionary = useMemo(\n () => typeof (dictionary as DistantDictionary)?._id === 'undefined',\n [dictionary]\n );\n\n const onSubmitSuccess = async () => {\n await pushDictionaries([\n {\n ...dictionary,\n ...editedContent[dictionary.key],\n },\n ]);\n };\n\n return (\n <div className=\"mb-4\">\n <Form\n className=\"flex w-full flex-row flex-wrap justify-end gap-3\"\n {...form}\n schema={ValidDictionaryChangeButtonsSchemaSchema}\n onSubmitSuccess={onSubmitSuccess}\n >\n {isEdited && (\n <Form.Button\n type=\"button\"\n label={resetButton.label.value}\n disabled={!isEdited || isSubmitting}\n className=\"ml-auto\"\n Icon={RotateCcw}\n variant=\"outline\"\n color=\"text\"\n isFullWidth\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.value}\n disabled={!isEdited || isSubmitting}\n Icon={ArrowUpFromLine}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {publishButton.text}\n </Form.Button>\n ) : (\n isEdited && (\n <Form.Button\n type=\"submit\"\n label={saveButton.label.value}\n disabled={!isEdited || isSubmitting}\n Icon={Save}\n color=\"text\"\n isFullWidth\n isLoading={isSubmitting}\n >\n {saveButton.text}\n </Form.Button>\n )\n )}\n </Form>\n </div>\n );\n};\n"],"names":["jsx","jsxs"],"mappings":";;;;;;;;;;;;;;;;;AAmBO,MAAM,+BAET,CAAC,EAAE,iBAAiB;AACtB,QAAM,2CACJ,4CAA4C;AAE9C,QAAM,EAAE,aAAa,YAAY,cAAkB,IAAA;AAAA,IACjD;AAAA,EACF;AAEM,QAAA,EAAE,iBAAiB,IAAI,oBAAoB;AAE3C,QAAA,EAAE,eAAe,qBAAA,IAAyB;AAAA,IAC9C,WAAW,CAAC,OAAO;AAAA,MACjB,eAAe,EAAE;AAAA,MACjB,sBAAsB,EAAE;AAAA,IAAA,EACxB;AAAA,EACJ;AACM,QAAA,EAAE,MAAM,aAAA,IAAiB;AAAA,IAC7B;AAAA,EACF;AAEA,QAAM,mBAAmB;AAAA,IACvB,MAAM,cAAc,WAAW,GAAG;AAAA,IAClC,CAAC,eAAe,WAAW,GAAG;AAAA,EAChC;AAEA,QAAM,WAAW;AAAA,IACf,MACE,oBACA,KAAK,UAAU,kBAAkB,OAAO,MACtC,KAAK,UAAU,YAAY,OAAO;AAAA,IACtC,CAAC,kBAAkB,UAAU;AAAA,EAC/B;AAEA,QAAM,oBAAoB;AAAA,IACxB,MAAM,OAAQ,YAAkC,QAAQ;AAAA,IACxD,CAAC,UAAU;AAAA,EACb;AAEA,QAAM,kBAAkB,YAAY;AAClC,UAAM,iBAAiB;AAAA,MACrB;AAAA,QACE,GAAG;AAAA,QACH,GAAG,cAAc,WAAW,GAAG;AAAA,MAAA;AAAA,IACjC,CACD;AAAA,EACH;AAGE,SAAAA,kCAAAA,IAAC,OAAI,EAAA,WAAU,QACb,UAAAC,kCAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACT,GAAG;AAAA,MACJ,QAAQ;AAAA,MACR;AAAA,MAEC,UAAA;AAAA,QACC,YAAAD,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,YAAY,MAAM;AAAA,YACzB,UAAU,CAAC,YAAY;AAAA,YACvB,WAAU;AAAA,YACV,MAAM;AAAA,YACN,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YACX,SAAS,MAAM,qBAAqB,WAAW,GAAG;AAAA,YAEjD,UAAY,YAAA;AAAA,UAAA;AAAA,QACf;AAAA,QAED,oBACCA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,cAAc,MAAM;AAAA,YAC3B,UAAU,CAAC,YAAY;AAAA,YACvB,MAAM;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAc,cAAA;AAAA,UAAA;AAAA,YAGjB,YACEA,kCAAA;AAAA,UAAC,KAAK;AAAA,UAAL;AAAA,YACC,MAAK;AAAA,YACL,OAAO,WAAW,MAAM;AAAA,YACxB,UAAU,CAAC,YAAY;AAAA,YACvB,MAAM;AAAA,YACN,OAAM;AAAA,YACN,aAAW;AAAA,YACX,WAAW;AAAA,YAEV,UAAW,WAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAAA,GAIR;AAEJ;"}
@@ -8,36 +8,90 @@ const validDictionaryChangeButtonsContent = {
8
8
  text: intlayer.t({
9
9
  en: "Reset all changes",
10
10
  fr: "Réinitialiser toutes les modifications",
11
- es: "Restablecer todas las modificaciones"
11
+ es: "Restablecer todas las modificaciones",
12
+ de: "Alle Änderungen zurücksetzen",
13
+ ja: "すべての変更をリセット",
14
+ ko: "모든 변경 사항 재설정",
15
+ zh: "重置所有更改",
16
+ it: "Ripristina tutte le modifiche",
17
+ pt: "Redefinir todas as alterações",
18
+ hi: "सभी परिवर्तनों को रिसेट करें",
19
+ ar: "إعادة تعيين جميع التغييرات",
20
+ ru: "Сбросить все изменения"
12
21
  }),
13
22
  label: intlayer.t({
14
23
  en: "Click to reset all the changes",
15
24
  fr: "Cliquez pour réinitialiser toutes les modifications",
16
- es: "Haga clic para restablecer todas las modificaciones"
25
+ es: "Haga clic para restablecer todas las modificaciones",
26
+ de: "Klicken Sie, um alle Änderungen zurückzusetzen",
27
+ ja: "すべての変更をリセットするにはクリックしてください",
28
+ ko: "모든 변경 사항을 재설정하려면 클릭하세요",
29
+ zh: "单击以重置所有更改",
30
+ it: "Fai clic per ripristinare tutte le modifiche",
31
+ pt: "Clique para redefinir todas as alterações",
32
+ hi: "सभी परिवर्तनों को रिसेट करने के लिए क्लिक करें",
33
+ ar: "انقر لإعادة تعيين جميع التغييرات",
34
+ ru: "Нажмите, чтобы сбросить все изменения"
17
35
  })
18
36
  },
19
37
  saveButton: {
20
38
  text: intlayer.t({
21
39
  en: "Save changes",
22
40
  fr: "Enregistrer les modifications",
23
- es: "Guardar cambios"
41
+ es: "Guardar cambios",
42
+ de: "Änderungen speichern",
43
+ ja: "変更を保存",
44
+ ko: "변경 사항 저장",
45
+ zh: "保存更改",
46
+ it: "Salva le modifiche",
47
+ pt: "Salvar alterações",
48
+ hi: "परिवर्तन सहेजें",
49
+ ar: "احفظ التغييرات",
50
+ ru: "Сохранить изменения"
24
51
  }),
25
52
  label: intlayer.t({
26
53
  en: "Click to save changes",
27
54
  fr: "Cliquez pour enregistrer les modifications",
28
- es: "Haga clic para guardar los cambios"
55
+ es: "Haga clic para guardar los cambios",
56
+ de: "Klicken Sie, um Änderungen zu speichern",
57
+ ja: "変更を保存するにはクリックしてください",
58
+ ko: "변경 사항을 저장하려면 클릭하세요",
59
+ zh: "单击以保存更改",
60
+ it: "Fai clic per salvare le modifiche",
61
+ pt: "Clique para salvar as alterações",
62
+ hi: "परिवर्तन सहेजने के लिए क्लिक करें",
63
+ ar: "انقر لحفظ التغييرات",
64
+ ru: "Нажмите, чтобы сохранить изменения"
29
65
  })
30
66
  },
31
67
  publishButton: {
32
68
  text: intlayer.t({
33
69
  en: "Publish dictionary",
34
70
  fr: "Publier le dictionnaire",
35
- es: "Publicar diccionario"
71
+ es: "Publicar diccionario",
72
+ de: "Wörterbuch veröffentlichen",
73
+ ja: "辞書を公開",
74
+ ko: "사전을 게시",
75
+ zh: "发布字典",
76
+ it: "Pubblica il dizionario",
77
+ pt: "Publicar dicionário",
78
+ hi: "शब्दकोश प्रकाशित करें",
79
+ ar: "نشر القاموس",
80
+ ru: "Опубликовать словарь"
36
81
  }),
37
82
  label: intlayer.t({
38
83
  en: "Click to publish dictionary",
39
84
  fr: "Cliquez pour publier le dictionnaire",
40
- es: "Haga clic para publicar el diccionario"
85
+ es: "Haga clic para publicar el diccionario",
86
+ de: "Klicken Sie, um das Wörterbuch zu veröffentlichen",
87
+ ja: "辞書を公開するにはクリックしてください",
88
+ ko: "사전을 게시하려면 클릭하세요",
89
+ zh: "单击以发布字典",
90
+ it: "Fai clic per pubblicare il dizionario",
91
+ pt: "Clique para publicar dicionário",
92
+ hi: "शब्दकोश प्रकाशित करने के लिए क्लिक करें",
93
+ ar: "انقر لنشر القاموس",
94
+ ru: "Нажмите, чтобы опубликовать словарь"
41
95
  })
42
96
  }
43
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"validDictionaryChangeButtons.content.cjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const validDictionaryChangeButtonsContent = {\n key: 'valid-dictionary-change-buttons',\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 los cambios',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n fr: 'Publier le dictionnaire',\n es: 'Publicar diccionario',\n }),\n label: t({\n en: 'Click to publish dictionary',\n fr: 'Cliquez pour publier le dictionnaire',\n es: 'Haga clic para publicar el diccionario',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,sCAAsC;AAAA,EACjD,KAAK;AAAA,EACL,SAAS;AAAA,IACP,aAAa;AAAA,MACX,MAAMA,SAAAA,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,YAAY;AAAA,MACV,MAAMA,SAAAA,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,MAAMA,SAAAA,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;;"}
1
+ {"version":3,"file":"validDictionaryChangeButtons.content.cjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const validDictionaryChangeButtonsContent = {\n key: 'valid-dictionary-change-buttons',\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 de: 'Alle Änderungen zurücksetzen',\n ja: 'すべての変更をリセット',\n ko: '모든 변경 사항 재설정',\n zh: '重置所有更改',\n it: 'Ripristina 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 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 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 fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar los 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 as alterações',\n hi: 'परिवर्तन सहेजने के लिए क्लिक करें',\n ar: 'انقر لحفظ التغييرات',\n ru: 'Нажмите, чтобы сохранить изменения',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n fr: 'Publier le dictionnaire',\n es: 'Publicar diccionario',\n de: 'Wörterbuch veröffentlichen',\n ja: '辞書を公開',\n ko: '사전을 게시',\n zh: '发布字典',\n it: 'Pubblica il dizionario',\n pt: 'Publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करें',\n ar: 'نشر القاموس',\n ru: 'Опубликовать словарь',\n }),\n label: t({\n en: 'Click to publish dictionary',\n fr: 'Cliquez pour publier le dictionnaire',\n es: 'Haga clic para publicar el 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":";;;AAEO,MAAM,sCAAsC;AAAA,EACjD,KAAK;AAAA,EACL,SAAS;AAAA,IACP,aAAa;AAAA,MACX,MAAMA,SAAAA,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,YAAY;AAAA,MACV,MAAMA,SAAAA,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,MAAMA,SAAAA,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAOA,SAAAA,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"validDictionaryChangeButtons.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;CAwClB,CAAC"}
1
+ {"version":3,"file":"validDictionaryChangeButtons.content.d.ts","sourceRoot":"","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;CA8FlB,CAAC"}
@@ -6,36 +6,90 @@ const validDictionaryChangeButtonsContent = {
6
6
  text: t({
7
7
  en: "Reset all changes",
8
8
  fr: "Réinitialiser toutes les modifications",
9
- es: "Restablecer todas las modificaciones"
9
+ es: "Restablecer todas las modificaciones",
10
+ de: "Alle Änderungen zurücksetzen",
11
+ ja: "すべての変更をリセット",
12
+ ko: "모든 변경 사항 재설정",
13
+ zh: "重置所有更改",
14
+ it: "Ripristina tutte le modifiche",
15
+ pt: "Redefinir todas as alterações",
16
+ hi: "सभी परिवर्तनों को रिसेट करें",
17
+ ar: "إعادة تعيين جميع التغييرات",
18
+ ru: "Сбросить все изменения"
10
19
  }),
11
20
  label: t({
12
21
  en: "Click to reset all the changes",
13
22
  fr: "Cliquez pour réinitialiser toutes les modifications",
14
- es: "Haga clic para restablecer todas las modificaciones"
23
+ es: "Haga clic para restablecer todas las modificaciones",
24
+ de: "Klicken Sie, um alle Änderungen zurückzusetzen",
25
+ ja: "すべての変更をリセットするにはクリックしてください",
26
+ ko: "모든 변경 사항을 재설정하려면 클릭하세요",
27
+ zh: "单击以重置所有更改",
28
+ it: "Fai clic per ripristinare tutte le modifiche",
29
+ pt: "Clique para redefinir todas as alterações",
30
+ hi: "सभी परिवर्तनों को रिसेट करने के लिए क्लिक करें",
31
+ ar: "انقر لإعادة تعيين جميع التغييرات",
32
+ ru: "Нажмите, чтобы сбросить все изменения"
15
33
  })
16
34
  },
17
35
  saveButton: {
18
36
  text: t({
19
37
  en: "Save changes",
20
38
  fr: "Enregistrer les modifications",
21
- es: "Guardar cambios"
39
+ es: "Guardar cambios",
40
+ de: "Änderungen speichern",
41
+ ja: "変更を保存",
42
+ ko: "변경 사항 저장",
43
+ zh: "保存更改",
44
+ it: "Salva le modifiche",
45
+ pt: "Salvar alterações",
46
+ hi: "परिवर्तन सहेजें",
47
+ ar: "احفظ التغييرات",
48
+ ru: "Сохранить изменения"
22
49
  }),
23
50
  label: t({
24
51
  en: "Click to save changes",
25
52
  fr: "Cliquez pour enregistrer les modifications",
26
- es: "Haga clic para guardar los cambios"
53
+ es: "Haga clic para guardar los cambios",
54
+ de: "Klicken Sie, um Änderungen zu speichern",
55
+ ja: "変更を保存するにはクリックしてください",
56
+ ko: "변경 사항을 저장하려면 클릭하세요",
57
+ zh: "单击以保存更改",
58
+ it: "Fai clic per salvare le modifiche",
59
+ pt: "Clique para salvar as alterações",
60
+ hi: "परिवर्तन सहेजने के लिए क्लिक करें",
61
+ ar: "انقر لحفظ التغييرات",
62
+ ru: "Нажмите, чтобы сохранить изменения"
27
63
  })
28
64
  },
29
65
  publishButton: {
30
66
  text: t({
31
67
  en: "Publish dictionary",
32
68
  fr: "Publier le dictionnaire",
33
- es: "Publicar diccionario"
69
+ es: "Publicar diccionario",
70
+ de: "Wörterbuch veröffentlichen",
71
+ ja: "辞書を公開",
72
+ ko: "사전을 게시",
73
+ zh: "发布字典",
74
+ it: "Pubblica il dizionario",
75
+ pt: "Publicar dicionário",
76
+ hi: "शब्दकोश प्रकाशित करें",
77
+ ar: "نشر القاموس",
78
+ ru: "Опубликовать словарь"
34
79
  }),
35
80
  label: t({
36
81
  en: "Click to publish dictionary",
37
82
  fr: "Cliquez pour publier le dictionnaire",
38
- es: "Haga clic para publicar el diccionario"
83
+ es: "Haga clic para publicar el diccionario",
84
+ de: "Klicken Sie, um das Wörterbuch zu veröffentlichen",
85
+ ja: "辞書を公開するにはクリックしてください",
86
+ ko: "사전을 게시하려면 클릭하세요",
87
+ zh: "单击以发布字典",
88
+ it: "Fai clic per pubblicare il dizionario",
89
+ pt: "Clique para publicar dicionário",
90
+ hi: "शब्दकोश प्रकाशित करने के लिए क्लिक करें",
91
+ ar: "انقر لنشر القاموس",
92
+ ru: "Нажмите, чтобы опубликовать словарь"
39
93
  })
40
94
  }
41
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"validDictionaryChangeButtons.content.mjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const validDictionaryChangeButtonsContent = {\n key: 'valid-dictionary-change-buttons',\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 los cambios',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n fr: 'Publier le dictionnaire',\n es: 'Publicar diccionario',\n }),\n label: t({\n en: 'Click to publish dictionary',\n fr: 'Cliquez pour publier le dictionnaire',\n es: 'Haga clic para publicar el diccionario',\n }),\n },\n },\n} satisfies DeclarationContent;\n"],"names":[],"mappings":";AAEO,MAAM,sCAAsC;AAAA,EACjD,KAAK;AAAA,EACL,SAAS;AAAA,IACP,aAAa;AAAA,MACX,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,YAAY;AAAA,MACV,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,MAAM,EAAE;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;"}
1
+ {"version":3,"file":"validDictionaryChangeButtons.content.mjs","sources":["../../../src/components/DictionaryEditor/validDictionaryChangeButtons.content.tsx"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const validDictionaryChangeButtonsContent = {\n key: 'valid-dictionary-change-buttons',\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 de: 'Alle Änderungen zurücksetzen',\n ja: 'すべての変更をリセット',\n ko: '모든 변경 사항 재설정',\n zh: '重置所有更改',\n it: 'Ripristina 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 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 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 fr: 'Cliquez pour enregistrer les modifications',\n es: 'Haga clic para guardar los 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 as alterações',\n hi: 'परिवर्तन सहेजने के लिए क्लिक करें',\n ar: 'انقر لحفظ التغييرات',\n ru: 'Нажмите, чтобы сохранить изменения',\n }),\n },\n publishButton: {\n text: t({\n en: 'Publish dictionary',\n fr: 'Publier le dictionnaire',\n es: 'Publicar diccionario',\n de: 'Wörterbuch veröffentlichen',\n ja: '辞書を公開',\n ko: '사전을 게시',\n zh: '发布字典',\n it: 'Pubblica il dizionario',\n pt: 'Publicar dicionário',\n hi: 'शब्दकोश प्रकाशित करें',\n ar: 'نشر القاموس',\n ru: 'Опубликовать словарь',\n }),\n label: t({\n en: 'Click to publish dictionary',\n fr: 'Cliquez pour publier le dictionnaire',\n es: 'Haga clic para publicar el 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,sCAAsC;AAAA,EACjD,KAAK;AAAA,EACL,SAAS;AAAA,IACP,aAAa;AAAA,MACX,MAAM,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,YAAY;AAAA,MACV,MAAM,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IACH;AAAA,IACA,eAAe;AAAA,MACb,MAAM,EAAE;AAAA,QACN,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,QACJ,IAAI;AAAA,MAAA,CACL;AAAA,MACD,OAAO,EAAE;AAAA,QACP,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,QACJ,IAAI;AAAA,MACL,CAAA;AAAA,IAAA;AAAA,EACH;AAEJ;"}
@@ -6,13 +6,33 @@ const dictionariesSelectorContent = {
6
6
  content: {
7
7
  noDictionaryMessage: intlayer.t({
8
8
  en: "No dictionary",
9
+ "en-GB": "No dictionary",
9
10
  fr: "Aucun dictionnaire",
10
- es: "Sin diccionario"
11
+ es: "Sin diccionario",
12
+ de: "Kein Wörterbuch",
13
+ ja: "辞書がありません",
14
+ ko: "사전이 없습니다",
15
+ zh: "没有字典",
16
+ it: "Nessun dizionario",
17
+ pt: "Sem dicionário",
18
+ hi: "कोई शब्दकोश नहीं",
19
+ ar: "لا يوجد قاموس",
20
+ ru: "Нет словаря"
11
21
  }),
12
22
  dictionaryNotFoundMessage: intlayer.t({
13
23
  en: "Dictionary not found",
24
+ "en-GB": "Dictionary not found",
14
25
  fr: "Dictionnaire non trouvé",
15
- es: "Diccionario no encontrado"
26
+ es: "Diccionario no encontrado",
27
+ de: "Wörterbuch nicht gefunden",
28
+ ja: "辞書が見つかりません",
29
+ ko: "사전을 찾을 수 없습니다",
30
+ zh: "找不到字典",
31
+ it: "Dizionario non trovato",
32
+ pt: "Dicionário não encontrado",
33
+ hi: "शब्दकोश नहीं मिला",
34
+ ar: "القاموس غير موجود",
35
+ ru: "Словарь не найден"
16
36
  })
17
37
  }
18
38
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dictionariesSelector.content.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n }),\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqBA,SAAAA,EAAE;AAAA,MACrB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,2BAA2BA,SAAAA,EAAE;AAAA,MAC3B,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
1
+ {"version":3,"file":"dictionariesSelector.content.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n 'en-GB': 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n de: 'Kein Wörterbuch',\n ja: '辞書がありません',\n ko: '사전이 없습니다',\n zh: '没有字典',\n it: 'Nessun dizionario',\n pt: 'Sem dicionário',\n hi: 'कोई शब्दकोश नहीं',\n ar: 'لا يوجد قاموس',\n ru: 'Нет словаря',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n 'en-GB': 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n de: 'Wörterbuch nicht gefunden',\n ja: '辞書が見つかりません',\n ko: '사전을 찾을 수 없습니다',\n zh: '找不到字典',\n it: 'Dizionario non trovato',\n pt: 'Dicionário não encontrado',\n hi: 'शब्दकोश नहीं मिला',\n ar: 'القاموس غير موجود',\n ru: 'Словарь не найден',\n }),\n },\n} satisfies DeclarationContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqBA,SAAAA,EAAE;AAAA,MACrB,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,2BAA2BA,SAAAA,EAAE;AAAA,MAC3B,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,IACL,CAAA;AAAA,EAAA;AAEL;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"dictionariesSelector.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;CAcV,CAAC"}
1
+ {"version":3,"file":"dictionariesSelector.content.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B;;;;;;CAkCV,CAAC"}
@@ -4,13 +4,33 @@ const dictionariesSelectorContent = {
4
4
  content: {
5
5
  noDictionaryMessage: t({
6
6
  en: "No dictionary",
7
+ "en-GB": "No dictionary",
7
8
  fr: "Aucun dictionnaire",
8
- es: "Sin diccionario"
9
+ es: "Sin diccionario",
10
+ de: "Kein Wörterbuch",
11
+ ja: "辞書がありません",
12
+ ko: "사전이 없습니다",
13
+ zh: "没有字典",
14
+ it: "Nessun dizionario",
15
+ pt: "Sem dicionário",
16
+ hi: "कोई शब्दकोश नहीं",
17
+ ar: "لا يوجد قاموس",
18
+ ru: "Нет словаря"
9
19
  }),
10
20
  dictionaryNotFoundMessage: t({
11
21
  en: "Dictionary not found",
22
+ "en-GB": "Dictionary not found",
12
23
  fr: "Dictionnaire non trouvé",
13
- es: "Diccionario no encontrado"
24
+ es: "Diccionario no encontrado",
25
+ de: "Wörterbuch nicht gefunden",
26
+ ja: "辞書が見つかりません",
27
+ ko: "사전을 찾을 수 없습니다",
28
+ zh: "找不到字典",
29
+ it: "Dizionario non trovato",
30
+ pt: "Dicionário não encontrado",
31
+ hi: "शब्दकोश नहीं मिला",
32
+ ar: "القاموس غير موجود",
33
+ ru: "Словарь не найден"
14
34
  })
15
35
  }
16
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dictionariesSelector.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n }),\n },\n} satisfies DeclarationContent;\n"],"names":[],"mappings":";AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqB,EAAE;AAAA,MACrB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,2BAA2B,EAAE;AAAA,MAC3B,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
1
+ {"version":3,"file":"dictionariesSelector.content.mjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.ts"],"sourcesContent":["import { t, type DeclarationContent } from 'intlayer';\n\nexport const dictionariesSelectorContent = {\n key: 'dictionaries-selector',\n content: {\n noDictionaryMessage: t({\n en: 'No dictionary',\n 'en-GB': 'No dictionary',\n fr: 'Aucun dictionnaire',\n es: 'Sin diccionario',\n de: 'Kein Wörterbuch',\n ja: '辞書がありません',\n ko: '사전이 없습니다',\n zh: '没有字典',\n it: 'Nessun dizionario',\n pt: 'Sem dicionário',\n hi: 'कोई शब्दकोश नहीं',\n ar: 'لا يوجد قاموس',\n ru: 'Нет словаря',\n }),\n dictionaryNotFoundMessage: t({\n en: 'Dictionary not found',\n 'en-GB': 'Dictionary not found',\n fr: 'Dictionnaire non trouvé',\n es: 'Diccionario no encontrado',\n de: 'Wörterbuch nicht gefunden',\n ja: '辞書が見つかりません',\n ko: '사전을 찾을 수 없습니다',\n zh: '找不到字典',\n it: 'Dizionario non trovato',\n pt: 'Dicionário não encontrado',\n hi: 'शब्दकोश नहीं मिला',\n ar: 'القاموس غير موجود',\n ru: 'Словарь не найден',\n }),\n },\n} satisfies DeclarationContent;\n"],"names":[],"mappings":";AAEO,MAAM,8BAA8B;AAAA,EACzC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,qBAAqB,EAAE;AAAA,MACrB,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,2BAA2B,EAAE;AAAA,MAC3B,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,IACL,CAAA;AAAA,EAAA;AAEL;"}
@@ -6,29 +6,37 @@ const reactIntlayer = require("react-intlayer");
6
6
  const hooks_intlayerAPIHooks = require("../../../hooks/intlayerAPIHooks.cjs");
7
7
  require("../../../libs/intlayer-api/index.cjs");
8
8
  require("../../Button/Button.cjs");
9
+ require("../../Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs");
9
10
  const components_Form_FormBase = require("../../Form/FormBase.cjs");
10
11
  require("../../Form/FormField.cjs");
11
12
  const components_Form_layout_FormItemLayout = require("../../../Form-BDcoNTLV.cjs");
13
+ require("../../Auth/SignInForm/signIn.content.cjs");
12
14
  require("zod");
15
+ require("../../Auth/SignInForm/useSignInSchema.content.cjs");
16
+ require("../../Auth/SignUpForm/useSignUpSchema.content.cjs");
13
17
  require("react");
14
18
  require("../../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
15
19
  require("../../../hooks/useAsync/useAsyncStateStore.cjs");
16
20
  require("@intlayer/dictionaries-entry");
17
21
  require("deepmerge");
18
22
  const components_Auth_useAuth_index = require("../../Auth/useAuth/index.cjs");
23
+ require("../../Auth/ChangePasswordForm/changePasswordForm.content.cjs");
24
+ require("../../Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs");
25
+ require("../../Auth/ResetPasswordForm/resetPasswordContent.content.cjs");
26
+ require("../../Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs");
19
27
  require("../../Modal/Modal.cjs");
20
28
  require("clsx");
21
29
  require("tailwind-merge");
22
30
  const components_Select_Multiselect = require("../../Select/Multiselect.cjs");
23
31
  require("../../Select/Select.cjs");
24
32
  const components_DictionaryFieldEditor_DictionaryCreationForm_dictionaryCreationForm_content = require("./dictionaryCreationForm.content.cjs");
25
- const components_DictionaryFieldEditor_DictionaryCreationForm_dictionaryFormSchema = require("./dictionaryFormSchema.cjs");
33
+ const components_DictionaryFieldEditor_DictionaryCreationForm_useDictionaryFormSchema = require("./useDictionaryFormSchema.cjs");
26
34
  const DictionaryCreationForm = () => {
27
35
  const { session } = components_Auth_useAuth_index.useAuth();
28
36
  const { project } = session ?? {};
29
37
  const { addDictionary } = hooks_intlayerAPIHooks.useAddDictionary();
30
38
  const { data: projects } = hooks_intlayerAPIHooks.useGetProjects();
31
- const DictionarySchema = components_DictionaryFieldEditor_DictionaryCreationForm_dictionaryFormSchema.getDictionarySchema(String(project?._id));
39
+ const DictionarySchema = components_DictionaryFieldEditor_DictionaryCreationForm_useDictionaryFormSchema.useDictionarySchema(String(project?._id));
32
40
  const { form, isSubmitting } = components_Form_FormBase.useForm(DictionarySchema);
33
41
  const { keyInput, createDictionaryButton, projectInput } = reactIntlayer.useDictionary(
34
42
  components_DictionaryFieldEditor_DictionaryCreationForm_dictionaryCreationForm_content.dictionaryFormContent
@@ -49,16 +57,16 @@ const DictionaryCreationForm = () => {
49
57
  {
50
58
  name: "key",
51
59
  label: keyInput.label,
52
- placeholder: keyInput.placeholder.value,
60
+ placeholder: keyInput.placeholder,
53
61
  isRequired: true
54
62
  }
55
63
  ),
56
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(components_Form_layout_FormItemLayout.Form.MultiSelect, { name: "projectIds", label: projectInput.label.value, children: [
64
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(components_Form_layout_FormItemLayout.Form.MultiSelect, { name: "projectIds", label: projectInput.label, children: [
57
65
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
58
66
  components_Select_Multiselect.MultiSelect.Trigger,
59
67
  {
60
68
  getBadgeValue: (value) => projects?.data?.find((project2) => String(project2._id) === value)?.name ?? value,
61
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_Select_Multiselect.MultiSelect.Input, { placeholder: projectInput.placeholder.value })
69
+ children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_Select_Multiselect.MultiSelect.Input, { placeholder: projectInput.placeholder })
62
70
  }
63
71
  ),
64
72
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_Select_Multiselect.MultiSelect.Content, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(components_Select_Multiselect.MultiSelect.List, { children: projects?.data?.map((project2) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
@@ -77,7 +85,7 @@ const DictionaryCreationForm = () => {
77
85
  type: "submit",
78
86
  color: "text",
79
87
  isLoading: isSubmitting,
80
- label: createDictionaryButton.ariaLabel.value,
88
+ label: createDictionaryButton.ariaLabel,
81
89
  children: createDictionaryButton.text
82
90
  }
83
91
  )