@intlayer/design-system 3.5.3 → 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 (293) 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/LocaleSwitcherDropDown/LocaleSwitcher.cjs +16 -20
  221. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  222. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
  223. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +16 -20
  224. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  225. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +24 -0
  226. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
  227. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +8 -0
  228. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
  229. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +25 -0
  230. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
  231. package/dist/components/index.cjs +8 -8
  232. package/dist/components/index.mjs +8 -8
  233. package/dist/tailwind.css +1 -1
  234. package/package.json +14 -14
  235. package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
  236. package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
  237. package/dist/__vite-browser-external-r74dyCO2.js +0 -5
  238. package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
  239. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
  240. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
  241. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
  242. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
  243. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
  244. package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
  245. package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
  246. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
  247. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
  248. package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
  249. package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
  250. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
  251. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
  252. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
  253. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
  254. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
  255. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
  256. package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
  257. package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
  258. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
  259. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
  260. package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
  261. package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
  262. package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
  263. package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
  264. package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
  265. package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
  266. package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
  267. package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
  268. package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
  269. package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
  270. package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
  271. package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
  272. package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
  273. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
  274. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
  275. package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
  276. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
  277. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
  278. package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
  279. package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
  280. package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
  281. package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
  282. package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
  283. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
  284. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
  285. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
  286. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
  287. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
  288. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
  289. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
  290. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
  291. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
  292. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
  293. package/dist/tailwind.js +0 -1
@@ -1,84 +0,0 @@
1
- import { t } from "react-intlayer";
2
- const getSignInContent = () => ({
3
- forgotPasswordLink: {
4
- ariaLabel: t({
5
- en: "Forgot your password?",
6
- fr: "Mot de passe oublié ?",
7
- es: "¿Olvidaste tu contraseña?"
8
- }),
9
- text: t({
10
- en: "Forgot password?",
11
- fr: "Mot de passe oublié ?",
12
- es: "¿Olvidaste tu contraseña?"
13
- })
14
- },
15
- emailInput: {
16
- label: t({
17
- en: "Email address",
18
- fr: "Adresse e-mail",
19
- es: "Dirección de correo electrónico"
20
- }),
21
- placeholder: t({
22
- en: "Enter e-mail address",
23
- fr: "Entrez votre adresse e-mail",
24
- es: "Ingrese su dirección de correo electrónico"
25
- })
26
- },
27
- passwordInput: {
28
- label: t({
29
- en: "Password",
30
- fr: "Mot de passe",
31
- es: "Contraseña"
32
- }),
33
- placeholder: t({
34
- en: "Enter password",
35
- fr: "Entrez votre mot de passe",
36
- es: "Ingrese su contraseña"
37
- })
38
- },
39
- loginButton: {
40
- text: t({
41
- en: "Log in",
42
- fr: "Se connecter",
43
- es: "Iniciar sesión"
44
- }),
45
- ariaLabel: t({
46
- en: "Click to log in",
47
- fr: "Cliquez pour vous connecter",
48
- es: "Haga clic para iniciar sesión"
49
- })
50
- },
51
- signInButton: {
52
- text: t({
53
- en: "Log in",
54
- fr: "Se connecter",
55
- es: "Iniciar sesión"
56
- }),
57
- ariaLabel: t({
58
- en: "Click to log in",
59
- fr: "Cliquez pour vous connecter",
60
- es: "Haga clic para iniciar sesión"
61
- })
62
- },
63
- signUpLink: {
64
- message: t({
65
- en: "Don’t have an account?",
66
- fr: "Vous n’avez pas de compte ?",
67
- es: "¿No tienes una cuenta?"
68
- }),
69
- ariaLabel: t({
70
- en: "Click to go to create an account page",
71
- fr: "Cliquez pour aller à la page de création de compte",
72
- es: "Haga clic para ir a la página de creación de cuenta"
73
- }),
74
- text: t({
75
- en: "Create an account",
76
- fr: "Créer un compte",
77
- es: "Crear una cuenta"
78
- })
79
- }
80
- });
81
- export {
82
- getSignInContent
83
- };
84
- //# sourceMappingURL=index.content.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignInContent = () => ({\n forgotPasswordLink: {\n ariaLabel: t({\n en: 'Forgot your password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n text: t({\n en: 'Forgot password?',\n fr: 'Mot de passe oublié ?',\n es: '¿Olvidaste tu contraseña?',\n }),\n },\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n loginButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signInButton: {\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to log in',\n fr: 'Cliquez pour vous connecter',\n es: 'Haga clic para iniciar sesión',\n }),\n },\n signUpLink: {\n message: t({\n en: 'Don’t have an account?',\n fr: 'Vous n’avez pas de compte ?',\n es: '¿No tienes una cuenta?',\n }),\n ariaLabel: t({\n en: 'Click to go to create an account page',\n fr: 'Cliquez pour aller à la page de création de compte',\n es: 'Haga clic para ir a la página de creación de cuenta',\n }),\n text: t({\n en: 'Create an account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,aAAa;AAAA,IACX,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,YAAY;AAAA,IACV,SAAS,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactIntlayer = require("react-intlayer");
4
- const zod = require("zod");
5
- const getSignUpSchema = () => {
6
- const requiredErrorEmail = reactIntlayer.t({
7
- en: "Please enter your email address",
8
- fr: "Veuillez saisir votre adresse e-mail",
9
- es: "Por favor, ingrese su dirección de correo electrónico"
10
- });
11
- const invalidTypeErrorEmail = reactIntlayer.t({
12
- en: "Please enter a valid email address",
13
- fr: "Veuillez saisir une adresse e-mail valide",
14
- es: "Por favor, ingrese una dirección de correo electrónico válida"
15
- });
16
- const requiredErrorPassword = reactIntlayer.t({
17
- en: "Please enter your password",
18
- fr: "Veuillez saisir votre mot de passe",
19
- es: "Por favor, ingrese su contraseña"
20
- });
21
- const invalidTypeErrorPassword = reactIntlayer.t({
22
- en: "Please enter a valid password",
23
- fr: "Veuillez saisir un mot de passe valide",
24
- es: "Por favor, ingrese una contraseña válida"
25
- });
26
- const requiredErrorPasswordConfirmation = reactIntlayer.t({
27
- en: "Please enter your password again",
28
- fr: "Veuillez saisir votre mot de passe à nouveau",
29
- es: "Por favor, ingrese su contraseña nuevamente"
30
- });
31
- const invalidTypeErrorPasswordConfirmation = reactIntlayer.t({
32
- en: "Please enter a valid password",
33
- fr: "Veuillez saisir un mot de passe valide",
34
- es: "Por favor, ingrese una contraseña válida"
35
- });
36
- const passwordNotMatchError = reactIntlayer.t({
37
- en: "Password and password confirmation must match",
38
- fr: "Le mot de passe et la confirmation de mot de passe doivent correspondre",
39
- es: "La contraseña y la confirmación de la contraseña deben coincidir"
40
- });
41
- return zod.z.object({
42
- email: zod.z.string({
43
- required_error: requiredErrorEmail,
44
- invalid_type_error: invalidTypeErrorEmail
45
- }).min(1, { message: invalidTypeErrorEmail }).email({ message: invalidTypeErrorEmail }),
46
- password: zod.z.string({
47
- required_error: requiredErrorPassword,
48
- invalid_type_error: invalidTypeErrorPassword
49
- }).min(8, { message: invalidTypeErrorPassword }),
50
- passwordConfirmation: zod.z.string({
51
- required_error: requiredErrorPasswordConfirmation,
52
- invalid_type_error: invalidTypeErrorPasswordConfirmation
53
- }).min(8, { message: invalidTypeErrorPasswordConfirmation })
54
- }).refine((data) => data.password === data.passwordConfirmation, {
55
- message: passwordNotMatchError,
56
- path: ["passwordConfirmation"]
57
- // This specifies which field the error should be associated with
58
- });
59
- };
60
- exports.getSignUpSchema = getSignUpSchema;
61
- //# sourceMappingURL=SignUpSchema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUpSchema.cjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":["t","z"],"mappings":";;;;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoCA,cAAAA,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuCA,cAAAA,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EACJ,OAAO;AAAA,IACN,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,uBAAuB,EACzC,MAAM,EAAE,SAAS,uBAAuB;AAAA,IAC3C,UAAUA,MACP,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,0BAA0B;AAAA,IAC/C,sBAAsBA,MACnB,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,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;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUpSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;EAqE3B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
@@ -1,61 +0,0 @@
1
- import { t } from "react-intlayer";
2
- import { z } from "zod";
3
- const getSignUpSchema = () => {
4
- const requiredErrorEmail = t({
5
- en: "Please enter your email address",
6
- fr: "Veuillez saisir votre adresse e-mail",
7
- es: "Por favor, ingrese su dirección de correo electrónico"
8
- });
9
- const invalidTypeErrorEmail = t({
10
- en: "Please enter a valid email address",
11
- fr: "Veuillez saisir une adresse e-mail valide",
12
- es: "Por favor, ingrese una dirección de correo electrónico válida"
13
- });
14
- const requiredErrorPassword = t({
15
- en: "Please enter your password",
16
- fr: "Veuillez saisir votre mot de passe",
17
- es: "Por favor, ingrese su contraseña"
18
- });
19
- const invalidTypeErrorPassword = t({
20
- en: "Please enter a valid password",
21
- fr: "Veuillez saisir un mot de passe valide",
22
- es: "Por favor, ingrese una contraseña válida"
23
- });
24
- const requiredErrorPasswordConfirmation = t({
25
- en: "Please enter your password again",
26
- fr: "Veuillez saisir votre mot de passe à nouveau",
27
- es: "Por favor, ingrese su contraseña nuevamente"
28
- });
29
- const invalidTypeErrorPasswordConfirmation = t({
30
- en: "Please enter a valid password",
31
- fr: "Veuillez saisir un mot de passe valide",
32
- es: "Por favor, ingrese una contraseña válida"
33
- });
34
- const passwordNotMatchError = t({
35
- en: "Password and password confirmation must match",
36
- fr: "Le mot de passe et la confirmation de mot de passe doivent correspondre",
37
- es: "La contraseña y la confirmación de la contraseña deben coincidir"
38
- });
39
- return z.object({
40
- email: z.string({
41
- required_error: requiredErrorEmail,
42
- invalid_type_error: invalidTypeErrorEmail
43
- }).min(1, { message: invalidTypeErrorEmail }).email({ message: invalidTypeErrorEmail }),
44
- password: z.string({
45
- required_error: requiredErrorPassword,
46
- invalid_type_error: invalidTypeErrorPassword
47
- }).min(8, { message: invalidTypeErrorPassword }),
48
- passwordConfirmation: z.string({
49
- required_error: requiredErrorPasswordConfirmation,
50
- invalid_type_error: invalidTypeErrorPasswordConfirmation
51
- }).min(8, { message: invalidTypeErrorPasswordConfirmation })
52
- }).refine((data) => data.password === data.passwordConfirmation, {
53
- message: passwordNotMatchError,
54
- path: ["passwordConfirmation"]
55
- // This specifies which field the error should be associated with
56
- });
57
- };
58
- export {
59
- getSignUpSchema
60
- };
61
- //# sourceMappingURL=SignUpSchema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUpSchema.mjs","sources":["../../../../src/components/Auth/SignUpForm/SignUpSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getSignUpSchema = () => {\n const requiredErrorEmail = t({\n en: 'Please enter your email address',\n fr: 'Veuillez saisir votre adresse e-mail',\n es: 'Por favor, ingrese su dirección de correo electrónico',\n });\n\n const invalidTypeErrorEmail = t({\n en: 'Please enter a valid email address',\n fr: 'Veuillez saisir une adresse e-mail valide',\n es: 'Por favor, ingrese una dirección de correo electrónico válida',\n });\n\n const requiredErrorPassword = t({\n en: 'Please enter your password',\n fr: 'Veuillez saisir votre mot de passe',\n es: 'Por favor, ingrese su contraseña',\n });\n\n const invalidTypeErrorPassword = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const requiredErrorPasswordConfirmation = t({\n en: 'Please enter your password again',\n fr: 'Veuillez saisir votre mot de passe à nouveau',\n es: 'Por favor, ingrese su contraseña nuevamente',\n });\n\n const invalidTypeErrorPasswordConfirmation = t({\n en: 'Please enter a valid password',\n fr: 'Veuillez saisir un mot de passe valide',\n es: 'Por favor, ingrese una contraseña válida',\n });\n\n const passwordNotMatchError = t({\n en: 'Password and password confirmation must match',\n fr: 'Le mot de passe et la confirmation de mot de passe doivent correspondre',\n es: 'La contraseña y la confirmación de la contraseña deben coincidir',\n });\n\n return z\n .object({\n email: z\n .string({\n required_error: requiredErrorEmail,\n invalid_type_error: invalidTypeErrorEmail,\n })\n .min(1, { message: invalidTypeErrorEmail })\n .email({ message: invalidTypeErrorEmail }),\n password: z\n .string({\n required_error: requiredErrorPassword,\n invalid_type_error: invalidTypeErrorPassword,\n })\n .min(8, { message: invalidTypeErrorPassword }),\n passwordConfirmation: z\n .string({\n required_error: requiredErrorPasswordConfirmation,\n invalid_type_error: invalidTypeErrorPasswordConfirmation,\n })\n .min(8, { message: invalidTypeErrorPasswordConfirmation }),\n })\n .refine((data) => data.password === data.passwordConfirmation, {\n message: passwordNotMatchError,\n path: ['passwordConfirmation'], // This specifies which field the error should be associated with\n });\n};\n\nexport type SignUp = z.infer<ReturnType<typeof getSignUpSchema>>;\n"],"names":[],"mappings":";;AAKO,MAAM,kBAAkB,MAAM;AACnC,QAAM,qBAAqB,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,2BAA2B,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oCAAoC,EAAE;AAAA,IAC1C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uCAAuC,EAAE;AAAA,IAC7C,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwB,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,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;"}
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactIntlayer = require("react-intlayer");
4
- const getSignUpContent = () => ({
5
- emailInput: {
6
- label: reactIntlayer.t({
7
- en: "Email address",
8
- fr: "Adresse e-mail",
9
- es: "Dirección de correo electrónico"
10
- }),
11
- placeholder: reactIntlayer.t({
12
- en: "Enter e-mail address",
13
- fr: "Entrez votre adresse e-mail",
14
- es: "Ingrese su dirección de correo electrónico"
15
- })
16
- },
17
- passwordInput: {
18
- label: reactIntlayer.t({
19
- en: "Password",
20
- fr: "Mot de passe",
21
- es: "Contraseña"
22
- }),
23
- placeholder: reactIntlayer.t({
24
- en: "Enter password",
25
- fr: "Entrez votre mot de passe",
26
- es: "Ingrese su contraseña"
27
- })
28
- },
29
- passwordConfirmationInput: {
30
- label: reactIntlayer.t({
31
- en: "Password Confirmation",
32
- fr: "Confirmation du mot de passe",
33
- es: "Confirmación de contraseña"
34
- }),
35
- placeholder: reactIntlayer.t({
36
- en: "Enter password again",
37
- fr: "Entrez votre mot de passe à nouveau",
38
- es: "Ingrese su contraseña nuevamente"
39
- })
40
- },
41
- signUpButton: {
42
- text: reactIntlayer.t({
43
- en: "Create account",
44
- fr: "Créer un compte",
45
- es: "Crear una cuenta"
46
- }),
47
- ariaLabel: reactIntlayer.t({
48
- en: "Submit form to create account",
49
- fr: "Soumettre le formulaire pour créer un compte",
50
- es: "Enviar formulario para crear cuenta"
51
- })
52
- },
53
- loginLink: {
54
- message: reactIntlayer.t({
55
- en: "You already have an account?",
56
- fr: "Vous avez déjà un compte ?",
57
- es: "¿Ya tienes una cuenta?"
58
- }),
59
- text: reactIntlayer.t({
60
- en: "Log in",
61
- fr: "Se connecter",
62
- es: "Iniciar sesión"
63
- }),
64
- ariaLabel: reactIntlayer.t({
65
- en: "Click to go to login page",
66
- fr: "Cliquez pour aller à la page de connexion",
67
- es: "Haz clic para ir a la página de inicio de sesión"
68
- })
69
- }
70
- });
71
- exports.getSignUpContent = getSignUpContent;
72
- //# sourceMappingURL=index.content.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.cjs","sources":["../../../../src/components/Auth/SignUpForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignUpContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n passwordConfirmationInput: {\n label: t({\n en: 'Password Confirmation',\n fr: 'Confirmation du mot de passe',\n es: 'Confirmación de contraseña',\n }),\n placeholder: t({\n en: 'Enter password again',\n fr: 'Entrez votre mot de passe à nouveau',\n es: 'Ingrese su contraseña nuevamente',\n }),\n },\n signUpButton: {\n text: t({\n en: 'Create account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n ariaLabel: t({\n en: 'Submit form to create account',\n fr: 'Soumettre le formulaire pour créer un compte',\n es: 'Enviar formulario para crear cuenta',\n }),\n },\n loginLink: {\n message: t({\n en: 'You already have an account?',\n fr: 'Vous avez déjà un compte ?',\n es: '¿Ya tienes una cuenta?',\n }),\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to go to login page',\n fr: 'Cliquez pour aller à la page de connexion',\n es: 'Haz clic para ir a la página de inicio de sesión',\n }),\n },\n});\n"],"names":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,YAAY;AAAA,IACV,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,OAAOA,cAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAaA,cAAAA,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,WAAW;AAAA,IACT,SAASA,cAAAA,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAWA,cAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/SignUpForm/index.content.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;CAkE3B,CAAC"}
@@ -1,72 +0,0 @@
1
- import { t } from "react-intlayer";
2
- const getSignUpContent = () => ({
3
- emailInput: {
4
- label: t({
5
- en: "Email address",
6
- fr: "Adresse e-mail",
7
- es: "Dirección de correo electrónico"
8
- }),
9
- placeholder: t({
10
- en: "Enter e-mail address",
11
- fr: "Entrez votre adresse e-mail",
12
- es: "Ingrese su dirección de correo electrónico"
13
- })
14
- },
15
- passwordInput: {
16
- label: t({
17
- en: "Password",
18
- fr: "Mot de passe",
19
- es: "Contraseña"
20
- }),
21
- placeholder: t({
22
- en: "Enter password",
23
- fr: "Entrez votre mot de passe",
24
- es: "Ingrese su contraseña"
25
- })
26
- },
27
- passwordConfirmationInput: {
28
- label: t({
29
- en: "Password Confirmation",
30
- fr: "Confirmation du mot de passe",
31
- es: "Confirmación de contraseña"
32
- }),
33
- placeholder: t({
34
- en: "Enter password again",
35
- fr: "Entrez votre mot de passe à nouveau",
36
- es: "Ingrese su contraseña nuevamente"
37
- })
38
- },
39
- signUpButton: {
40
- text: t({
41
- en: "Create account",
42
- fr: "Créer un compte",
43
- es: "Crear una cuenta"
44
- }),
45
- ariaLabel: t({
46
- en: "Submit form to create account",
47
- fr: "Soumettre le formulaire pour créer un compte",
48
- es: "Enviar formulario para crear cuenta"
49
- })
50
- },
51
- loginLink: {
52
- message: t({
53
- en: "You already have an account?",
54
- fr: "Vous avez déjà un compte ?",
55
- es: "¿Ya tienes una cuenta?"
56
- }),
57
- text: t({
58
- en: "Log in",
59
- fr: "Se connecter",
60
- es: "Iniciar sesión"
61
- }),
62
- ariaLabel: t({
63
- en: "Click to go to login page",
64
- fr: "Cliquez pour aller à la page de connexion",
65
- es: "Haz clic para ir a la página de inicio de sesión"
66
- })
67
- }
68
- });
69
- export {
70
- getSignUpContent
71
- };
72
- //# sourceMappingURL=index.content.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.mjs","sources":["../../../../src/components/Auth/SignUpForm/index.content.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\n// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\n\nexport const getSignUpContent = () => ({\n emailInput: {\n label: t({\n en: 'Email address',\n fr: 'Adresse e-mail',\n es: 'Dirección de correo electrónico',\n }),\n placeholder: t({\n en: 'Enter e-mail address',\n fr: 'Entrez votre adresse e-mail',\n es: 'Ingrese su dirección de correo electrónico',\n }),\n },\n passwordInput: {\n label: t({\n en: 'Password',\n fr: 'Mot de passe',\n es: 'Contraseña',\n }),\n placeholder: t({\n en: 'Enter password',\n fr: 'Entrez votre mot de passe',\n es: 'Ingrese su contraseña',\n }),\n },\n passwordConfirmationInput: {\n label: t({\n en: 'Password Confirmation',\n fr: 'Confirmation du mot de passe',\n es: 'Confirmación de contraseña',\n }),\n placeholder: t({\n en: 'Enter password again',\n fr: 'Entrez votre mot de passe à nouveau',\n es: 'Ingrese su contraseña nuevamente',\n }),\n },\n signUpButton: {\n text: t({\n en: 'Create account',\n fr: 'Créer un compte',\n es: 'Crear una cuenta',\n }),\n ariaLabel: t({\n en: 'Submit form to create account',\n fr: 'Soumettre le formulaire pour créer un compte',\n es: 'Enviar formulario para crear cuenta',\n }),\n },\n loginLink: {\n message: t({\n en: 'You already have an account?',\n fr: 'Vous avez déjà un compte ?',\n es: '¿Ya tienes una cuenta?',\n }),\n text: t({\n en: 'Log in',\n fr: 'Se connecter',\n es: 'Iniciar sesión',\n }),\n ariaLabel: t({\n en: 'Click to go to login page',\n fr: 'Cliquez pour aller à la page de connexion',\n es: 'Haz clic para ir a la página de inicio de sesión',\n }),\n },\n});\n"],"names":[],"mappings":";AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,YAAY;AAAA,IACV,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,eAAe;AAAA,IACb,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,2BAA2B;AAAA,IACzB,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,aAAa,EAAE;AAAA,MACb,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,cAAc;AAAA,IACZ,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EACH;AAAA,EACA,WAAW;AAAA,IACT,SAAS,EAAE;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,IACD,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactIntlayer = require("react-intlayer");
4
- const zod = require("zod");
5
- const getDictionarySchema = (projectId) => {
6
- const requiredErrorName = reactIntlayer.t({
7
- en: "Please enter a key for your dictionary",
8
- fr: "Veuillez saisir une clef pour votre dictionaire",
9
- es: "Por favor, ingrese un clave para su diccionario"
10
- });
11
- const invalidTypeErrorName = reactIntlayer.t({
12
- en: "Please enter a valid key for your dictionary",
13
- fr: "Veuillez saisir une clée valide pour votre dictionaire",
14
- es: "Por favor, ingrese un clave válido para su diccionario"
15
- });
16
- const requiredErrorProjectId = reactIntlayer.t({
17
- en: "Please select a project",
18
- fr: "Veuillez sélectionner un projet",
19
- es: "Por favor, seleccione un proyecto"
20
- });
21
- const invalidTypeErrorProjectId = reactIntlayer.t({
22
- en: "Please select a valid project",
23
- fr: "Veuillez sélectionner un projet valide",
24
- es: "Por favor, seleccione un proyecto válido"
25
- });
26
- return zod.z.object({
27
- key: zod.z.string({
28
- required_error: requiredErrorName,
29
- invalid_type_error: invalidTypeErrorName
30
- }).min(1, { message: invalidTypeErrorName }).default(""),
31
- projectIds: zod.z.array(
32
- zod.z.string({
33
- required_error: requiredErrorProjectId,
34
- invalid_type_error: invalidTypeErrorProjectId
35
- })
36
- ).default([projectId])
37
- });
38
- };
39
- exports.getDictionarySchema = getDictionarySchema;
40
- //# sourceMappingURL=dictionaryFormSchema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionaryFormSchema.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getDictionarySchema = (projectId: string) => {\n const requiredErrorName = t({\n en: 'Please enter a key for your dictionary',\n fr: 'Veuillez saisir une clef pour votre dictionaire',\n es: 'Por favor, ingrese un clave para su diccionario',\n });\n\n const invalidTypeErrorName = t({\n en: 'Please enter a valid key for your dictionary',\n fr: 'Veuillez saisir une clée valide pour votre dictionaire',\n es: 'Por favor, ingrese un clave válido para su diccionario',\n });\n\n const requiredErrorProjectId = t({\n en: 'Please select a project',\n fr: 'Veuillez sélectionner un projet',\n es: 'Por favor, seleccione un proyecto',\n });\n\n const invalidTypeErrorProjectId = t({\n en: 'Please select a valid project',\n fr: 'Veuillez sélectionner un projet valide',\n es: 'Por favor, seleccione un proyecto válido',\n });\n\n return z.object({\n key: z\n .string({\n required_error: requiredErrorName,\n invalid_type_error: invalidTypeErrorName,\n })\n .min(1, { message: invalidTypeErrorName })\n .default(''),\n projectIds: z\n .array(\n z.string({\n required_error: requiredErrorProjectId,\n invalid_type_error: invalidTypeErrorProjectId,\n })\n )\n .default([projectId]),\n });\n};\n\nexport type DictionaryFormData = z.infer<\n ReturnType<typeof getDictionarySchema>\n>;\n"],"names":["t","z"],"mappings":";;;;AAIa,MAAA,sBAAsB,CAAC,cAAsB;AACxD,QAAM,oBAAoBA,cAAAA,EAAE;AAAA,IAC1B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uBAAuBA,cAAAA,EAAE;AAAA,IAC7B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,yBAAyBA,cAAAA,EAAE;AAAA,IAC/B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,4BAA4BA,cAAAA,EAAE;AAAA,IAClC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,KAAKA,MACF,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,sBAAsB,EACxC,QAAQ,EAAE;AAAA,IACb,YAAYA,IACT,EAAA;AAAA,MACCA,IAAAA,EAAE,OAAO;AAAA,QACP,gBAAgB;AAAA,QAChB,oBAAoB;AAAA,MACrB,CAAA;AAAA,IAAA,EAEF,QAAQ,CAAC,SAAS,CAAC;AAAA,EAAA,CACvB;AACH;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionaryFormSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,cAAe,MAAM;;;;;;;;;EA0CpD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC"}
@@ -1,40 +0,0 @@
1
- import { t } from "react-intlayer";
2
- import { z } from "zod";
3
- const getDictionarySchema = (projectId) => {
4
- const requiredErrorName = t({
5
- en: "Please enter a key for your dictionary",
6
- fr: "Veuillez saisir une clef pour votre dictionaire",
7
- es: "Por favor, ingrese un clave para su diccionario"
8
- });
9
- const invalidTypeErrorName = t({
10
- en: "Please enter a valid key for your dictionary",
11
- fr: "Veuillez saisir une clée valide pour votre dictionaire",
12
- es: "Por favor, ingrese un clave válido para su diccionario"
13
- });
14
- const requiredErrorProjectId = t({
15
- en: "Please select a project",
16
- fr: "Veuillez sélectionner un projet",
17
- es: "Por favor, seleccione un proyecto"
18
- });
19
- const invalidTypeErrorProjectId = t({
20
- en: "Please select a valid project",
21
- fr: "Veuillez sélectionner un projet valide",
22
- es: "Por favor, seleccione un proyecto válido"
23
- });
24
- return z.object({
25
- key: z.string({
26
- required_error: requiredErrorName,
27
- invalid_type_error: invalidTypeErrorName
28
- }).min(1, { message: invalidTypeErrorName }).default(""),
29
- projectIds: z.array(
30
- z.string({
31
- required_error: requiredErrorProjectId,
32
- invalid_type_error: invalidTypeErrorProjectId
33
- })
34
- ).default([projectId])
35
- });
36
- };
37
- export {
38
- getDictionarySchema
39
- };
40
- //# sourceMappingURL=dictionaryFormSchema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dictionaryFormSchema.mjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getDictionarySchema = (projectId: string) => {\n const requiredErrorName = t({\n en: 'Please enter a key for your dictionary',\n fr: 'Veuillez saisir une clef pour votre dictionaire',\n es: 'Por favor, ingrese un clave para su diccionario',\n });\n\n const invalidTypeErrorName = t({\n en: 'Please enter a valid key for your dictionary',\n fr: 'Veuillez saisir une clée valide pour votre dictionaire',\n es: 'Por favor, ingrese un clave válido para su diccionario',\n });\n\n const requiredErrorProjectId = t({\n en: 'Please select a project',\n fr: 'Veuillez sélectionner un projet',\n es: 'Por favor, seleccione un proyecto',\n });\n\n const invalidTypeErrorProjectId = t({\n en: 'Please select a valid project',\n fr: 'Veuillez sélectionner un projet valide',\n es: 'Por favor, seleccione un proyecto válido',\n });\n\n return z.object({\n key: z\n .string({\n required_error: requiredErrorName,\n invalid_type_error: invalidTypeErrorName,\n })\n .min(1, { message: invalidTypeErrorName })\n .default(''),\n projectIds: z\n .array(\n z.string({\n required_error: requiredErrorProjectId,\n invalid_type_error: invalidTypeErrorProjectId,\n })\n )\n .default([projectId]),\n });\n};\n\nexport type DictionaryFormData = z.infer<\n ReturnType<typeof getDictionarySchema>\n>;\n"],"names":[],"mappings":";;AAIa,MAAA,sBAAsB,CAAC,cAAsB;AACxD,QAAM,oBAAoB,EAAE;AAAA,IAC1B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,uBAAuB,EAAE;AAAA,IAC7B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,yBAAyB,EAAE;AAAA,IAC/B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,4BAA4B,EAAE;AAAA,IAClC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAO,EAAE,OAAO;AAAA,IACd,KAAK,EACF,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EACA,IAAI,GAAG,EAAE,SAAS,sBAAsB,EACxC,QAAQ,EAAE;AAAA,IACb,YAAY,EACT;AAAA,MACC,EAAE,OAAO;AAAA,QACP,gBAAgB;AAAA,QAChB,oBAAoB;AAAA,MACrB,CAAA;AAAA,IAAA,EAEF,QAAQ,CAAC,SAAS,CAAC;AAAA,EAAA,CACvB;AACH;"}
@@ -1,85 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactIntlayer = require("react-intlayer");
4
- const zod = require("zod");
5
- const getDictionaryDetailsSchema = (projectId) => {
6
- const titleRequiredError = reactIntlayer.t({
7
- en: "Please enter a name for your organization.",
8
- fr: "Veuillez saisir un nom pour votre organisation.",
9
- es: "Por favor, ingrese un nombre para su organización."
10
- });
11
- const titleInvalidTypeError = reactIntlayer.t({
12
- en: "The organization name must be a valid string.",
13
- fr: "Le nom de votre organisation doit être une chaîne valide.",
14
- es: "El nombre de su organización debe ser una cadena válida."
15
- });
16
- const titleMinLengthError = reactIntlayer.t({
17
- en: "The organization name must be at least 4 characters long.",
18
- fr: "Le nom de votre organisation doit comporter au moins 4 caractères.",
19
- es: "El nombre de su organización debe tener al menos 4 caracteres."
20
- });
21
- const keyRequiredError = reactIntlayer.t({
22
- en: "Please enter a key for your organization.",
23
- fr: "Veuillez saisir une clé pour votre organisation.",
24
- es: "Por favor, ingrese una clave para su organización."
25
- });
26
- const keyInvalidTypeError = reactIntlayer.t({
27
- en: "The key must be a valid string.",
28
- fr: "La clé doit être une chaîne valide.",
29
- es: "La clave debe ser una cadena válida."
30
- });
31
- const keySpaceError = reactIntlayer.t({
32
- en: "The key cannot contain spaces or special characters.",
33
- fr: "La clé ne peut pas contenir d'espaces ou de caractères spéciaux.",
34
- es: "La clave no puede contener espacios o caracteres especiales."
35
- });
36
- const keyMinLengthError = reactIntlayer.t({
37
- en: "The key must be at least 4 characters long.",
38
- fr: "La clé doit comporter au moins 4 caractères.",
39
- es: "La clave debe tener al menos 4 caracteres."
40
- });
41
- const descriptionRequiredError = reactIntlayer.t({
42
- en: "Please enter a description for your organization.",
43
- fr: "Veuillez saisir une description pour votre organisation.",
44
- es: "Por favor, ingrese una descripción para su organización."
45
- });
46
- const descriptionInvalidTypeError = reactIntlayer.t({
47
- en: "The description must be a valid string.",
48
- fr: "La description doit être une chaîne valide.",
49
- es: "La descripción debe ser una cadena válida."
50
- });
51
- const requiredErrorProjectId = reactIntlayer.t({
52
- en: "Please select a project",
53
- fr: "Veuillez sélectionner un projet",
54
- es: "Por favor, seleccione un proyecto"
55
- });
56
- const invalidTypeErrorProjectId = reactIntlayer.t({
57
- en: "Please select a valid project",
58
- fr: "Veuillez sélectionner un projet valide",
59
- es: "Por favor, seleccione un proyecto válido"
60
- });
61
- return zod.z.object({
62
- title: zod.z.string({
63
- required_error: titleRequiredError,
64
- invalid_type_error: titleInvalidTypeError
65
- }).refine((val) => val.length === 0 || val.length >= 4, {
66
- message: titleMinLengthError
67
- }).optional(),
68
- key: zod.z.string({
69
- required_error: keyRequiredError,
70
- invalid_type_error: keyInvalidTypeError
71
- }).min(4, { message: keyMinLengthError }).regex(/^[a-zA-Z0-9-_]+$/, { message: keySpaceError }).default(""),
72
- description: zod.z.string({
73
- required_error: descriptionRequiredError,
74
- invalid_type_error: descriptionInvalidTypeError
75
- }).optional(),
76
- projectIds: zod.z.array(
77
- zod.z.string({
78
- required_error: requiredErrorProjectId,
79
- invalid_type_error: invalidTypeErrorProjectId
80
- })
81
- ).default([projectId])
82
- });
83
- };
84
- exports.getDictionaryDetailsSchema = getDictionaryDetailsSchema;
85
- //# sourceMappingURL=DictionaryDetailsSchema.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DictionaryDetailsSchema.cjs","sources":["../../../../src/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.ts"],"sourcesContent":["// @ts-ignore react-intlayer not build yet\nimport { t } from 'react-intlayer';\nimport { z } from 'zod';\n\nexport const getDictionaryDetailsSchema = (projectId: string) => {\n // Title Field Error Messages\n const titleRequiredError = t({\n en: 'Please enter a name for your organization.',\n fr: 'Veuillez saisir un nom pour votre organisation.',\n es: 'Por favor, ingrese un nombre para su organización.',\n });\n\n const titleInvalidTypeError = t({\n en: 'The organization name must be a valid string.',\n fr: 'Le nom de votre organisation doit être une chaîne valide.',\n es: 'El nombre de su organización debe ser una cadena válida.',\n });\n\n const titleMinLengthError = t({\n en: 'The organization name must be at least 4 characters long.',\n fr: 'Le nom de votre organisation doit comporter au moins 4 caractères.',\n es: 'El nombre de su organización debe tener al menos 4 caracteres.',\n });\n\n // Key Field Error Messages\n const keyRequiredError = t({\n en: 'Please enter a key for your organization.',\n fr: 'Veuillez saisir une clé pour votre organisation.',\n es: 'Por favor, ingrese una clave para su organización.',\n });\n\n const keyInvalidTypeError = t({\n en: 'The key must be a valid string.',\n fr: 'La clé doit être une chaîne valide.',\n es: 'La clave debe ser una cadena válida.',\n });\n\n const keySpaceError = t({\n en: 'The key cannot contain spaces or special characters.',\n fr: \"La clé ne peut pas contenir d'espaces ou de caractères spéciaux.\",\n es: 'La clave no puede contener espacios o caracteres especiales.',\n });\n\n const keyMinLengthError = t({\n en: 'The key must be at least 4 characters long.',\n fr: 'La clé doit comporter au moins 4 caractères.',\n es: 'La clave debe tener al menos 4 caracteres.',\n });\n\n // Description Field Error Messages\n const descriptionRequiredError = t({\n en: 'Please enter a description for your organization.',\n fr: 'Veuillez saisir une description pour votre organisation.',\n es: 'Por favor, ingrese una descripción para su organización.',\n });\n\n const descriptionInvalidTypeError = t({\n en: 'The description must be a valid string.',\n fr: 'La description doit être une chaîne valide.',\n es: 'La descripción debe ser una cadena válida.',\n });\n\n const requiredErrorProjectId = t({\n en: 'Please select a project',\n fr: 'Veuillez sélectionner un projet',\n es: 'Por favor, seleccione un proyecto',\n });\n\n const invalidTypeErrorProjectId = t({\n en: 'Please select a valid project',\n fr: 'Veuillez sélectionner un projet valide',\n es: 'Por favor, seleccione un proyecto válido',\n });\n\n return z.object({\n title: z\n .string({\n required_error: titleRequiredError,\n invalid_type_error: titleInvalidTypeError,\n })\n // Can be length of 0 or > 4\n .refine((val) => val.length === 0 || val.length >= 4, {\n message: titleMinLengthError,\n })\n .optional(),\n key: z\n .string({\n required_error: keyRequiredError,\n invalid_type_error: keyInvalidTypeError,\n })\n .min(4, { message: keyMinLengthError })\n /**\n * Valid :\n * my-key\n * my_key\n *\n * Invalid :\n * my key\n * my.key\n */\n .regex(/^[a-zA-Z0-9-_]+$/, { message: keySpaceError })\n .default(''),\n description: z\n .string({\n required_error: descriptionRequiredError,\n invalid_type_error: descriptionInvalidTypeError,\n })\n .optional(),\n projectIds: z\n .array(\n z.string({\n required_error: requiredErrorProjectId,\n invalid_type_error: invalidTypeErrorProjectId,\n })\n )\n .default([projectId]),\n });\n};\n\nexport type DictionaryDetailsFormData = z.infer<\n ReturnType<typeof getDictionaryDetailsSchema>\n>;\n"],"names":["t","z"],"mappings":";;;;AAIa,MAAA,6BAA6B,CAAC,cAAsB;AAE/D,QAAM,qBAAqBA,cAAAA,EAAE;AAAA,IAC3B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,wBAAwBA,cAAAA,EAAE;AAAA,IAC9B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,sBAAsBA,cAAAA,EAAE;AAAA,IAC5B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAGD,QAAM,mBAAmBA,cAAAA,EAAE;AAAA,IACzB,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,sBAAsBA,cAAAA,EAAE;AAAA,IAC5B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,gBAAgBA,cAAAA,EAAE;AAAA,IACtB,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,oBAAoBA,cAAAA,EAAE;AAAA,IAC1B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAGD,QAAM,2BAA2BA,cAAAA,EAAE;AAAA,IACjC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,8BAA8BA,cAAAA,EAAE;AAAA,IACpC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,yBAAyBA,cAAAA,EAAE;AAAA,IAC/B,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,QAAM,4BAA4BA,cAAAA,EAAE;AAAA,IAClC,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EAAA,CACL;AAED,SAAOC,IAAAA,EAAE,OAAO;AAAA,IACd,OAAOA,MACJ,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IAAA,CACrB,EAEA,OAAO,CAAC,QAAQ,IAAI,WAAW,KAAK,IAAI,UAAU,GAAG;AAAA,MACpD,SAAS;AAAA,IACV,CAAA,EACA,SAAS;AAAA,IACZ,KAAKA,MACF,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,IAAI,GAAG,EAAE,SAAS,kBAAkB,CAAC,EAUrC,MAAM,oBAAoB,EAAE,SAAS,cAAe,CAAA,EACpD,QAAQ,EAAE;AAAA,IACb,aAAaA,MACV,OAAO;AAAA,MACN,gBAAgB;AAAA,MAChB,oBAAoB;AAAA,IACrB,CAAA,EACA,SAAS;AAAA,IACZ,YAAYA,IACT,EAAA;AAAA,MACCA,IAAAA,EAAE,OAAO;AAAA,QACP,gBAAgB;AAAA,QAChB,oBAAoB;AAAA,MACrB,CAAA;AAAA,IAAA,EAEF,QAAQ,CAAC,SAAS,CAAC;AAAA,EAAA,CACvB;AACH;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DictionaryDetailsSchema.d.ts","sourceRoot":"","sources":["../../../../src/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B,cAAe,MAAM;;;;;;;;;;;;;;;EAiH3D,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAC9C,CAAC"}