@intlayer/design-system 3.5.3 → 3.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (492) hide show
  1. package/README.md +1 -1
  2. package/dist/.vite/manifest.json +274 -125
  3. package/dist/CopyButton-Cxu3goRg.cjs +59 -0
  4. package/dist/CopyButton-Cxu3goRg.cjs.map +1 -0
  5. package/dist/CopyButton-DlcDlf6U.js +60 -0
  6. package/dist/CopyButton-DlcDlf6U.js.map +1 -0
  7. package/dist/components/Auth/AuthModal/index.cjs +4 -0
  8. package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
  9. package/dist/components/Auth/AuthModal/index.mjs +4 -0
  10. package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
  11. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +5 -4
  12. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
  13. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -1
  14. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
  15. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +5 -4
  16. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
  17. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs +170 -0
  18. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.cjs.map +1 -0
  19. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts +26 -0
  20. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.d.ts.map +1 -0
  21. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs +170 -0
  22. package/dist/components/Auth/ChangePasswordForm/changePasswordForm.content.mjs.map +1 -0
  23. package/dist/components/Auth/ChangePasswordForm/index.cjs +2 -2
  24. package/dist/components/Auth/ChangePasswordForm/index.d.ts +1 -1
  25. package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -1
  26. package/dist/components/Auth/ChangePasswordForm/index.mjs +2 -2
  27. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs +37 -0
  28. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.cjs.map +1 -0
  29. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs +131 -0
  30. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.cjs.map +1 -0
  31. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts +15 -0
  32. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.d.ts.map +1 -0
  33. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs +131 -0
  34. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.content.mjs.map +1 -0
  35. package/dist/components/Auth/ChangePasswordForm/{ChangePasswordSchema.d.ts → useChangePasswordSchema.d.ts} +3 -3
  36. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts.map +1 -0
  37. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs +37 -0
  38. package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.mjs.map +1 -0
  39. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +11 -10
  40. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
  41. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
  42. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +12 -11
  43. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
  44. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +86 -32
  45. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
  46. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +13 -9
  47. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -1
  48. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +85 -31
  49. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
  50. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +5 -4
  51. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
  52. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -1
  53. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
  54. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +5 -4
  55. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
  56. package/dist/components/Auth/ResetPasswordForm/index.cjs +2 -2
  57. package/dist/components/Auth/ResetPasswordForm/index.d.ts +1 -1
  58. package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -1
  59. package/dist/components/Auth/ResetPasswordForm/index.mjs +2 -2
  60. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs +123 -0
  61. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.cjs.map +1 -0
  62. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts +21 -0
  63. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.d.ts.map +1 -0
  64. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs +123 -0
  65. package/dist/components/Auth/ResetPasswordForm/resetPasswordContent.content.mjs.map +1 -0
  66. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs +16 -0
  67. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.cjs.map +1 -0
  68. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs +56 -0
  69. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.cjs.map +1 -0
  70. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts +10 -0
  71. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.d.ts.map +1 -0
  72. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs +56 -0
  73. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.content.mjs.map +1 -0
  74. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts +10 -0
  75. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.d.ts.map +1 -0
  76. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs +16 -0
  77. package/dist/components/Auth/ResetPasswordForm/useResetPasswordSchema.mjs.map +1 -0
  78. package/dist/components/Auth/SignInForm/SignInForm.cjs +22 -15
  79. package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
  80. package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -1
  81. package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
  82. package/dist/components/Auth/SignInForm/SignInForm.mjs +22 -15
  83. package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
  84. package/dist/components/Auth/SignInForm/index.cjs +2 -2
  85. package/dist/components/Auth/SignInForm/index.d.ts +1 -1
  86. package/dist/components/Auth/SignInForm/index.d.ts.map +1 -1
  87. package/dist/components/Auth/SignInForm/index.mjs +2 -2
  88. package/dist/components/Auth/SignInForm/signIn.content.cjs +217 -0
  89. package/dist/components/Auth/SignInForm/signIn.content.cjs.map +1 -0
  90. package/dist/components/Auth/SignInForm/signIn.content.d.ts +31 -0
  91. package/dist/components/Auth/SignInForm/signIn.content.d.ts.map +1 -0
  92. package/dist/components/Auth/SignInForm/signIn.content.mjs +217 -0
  93. package/dist/components/Auth/SignInForm/signIn.content.mjs.map +1 -0
  94. package/dist/components/Auth/SignInForm/useSignInSchema.cjs +25 -0
  95. package/dist/components/Auth/SignInForm/useSignInSchema.cjs.map +1 -0
  96. package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs +71 -0
  97. package/dist/components/Auth/SignInForm/useSignInSchema.content.cjs.map +1 -0
  98. package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts +11 -0
  99. package/dist/components/Auth/SignInForm/useSignInSchema.content.d.ts.map +1 -0
  100. package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs +71 -0
  101. package/dist/components/Auth/SignInForm/useSignInSchema.content.mjs.map +1 -0
  102. package/dist/components/Auth/SignInForm/{SignInSchema.d.ts → useSignInSchema.d.ts} +3 -3
  103. package/dist/components/Auth/SignInForm/useSignInSchema.d.ts.map +1 -0
  104. package/dist/components/Auth/SignInForm/useSignInSchema.mjs +25 -0
  105. package/dist/components/Auth/SignInForm/useSignInSchema.mjs.map +1 -0
  106. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
  107. package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
  108. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -1
  109. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
  110. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +3 -3
  111. package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
  112. package/dist/components/Auth/SignUpForm/index.cjs +2 -2
  113. package/dist/components/Auth/SignUpForm/index.d.ts +1 -1
  114. package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -1
  115. package/dist/components/Auth/SignUpForm/index.mjs +2 -2
  116. package/dist/components/Auth/SignUpForm/signUpForm.content.cjs +182 -0
  117. package/dist/components/Auth/SignUpForm/signUpForm.content.cjs.map +1 -0
  118. package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +24 -0
  119. package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts.map +1 -0
  120. package/dist/components/Auth/SignUpForm/signUpForm.content.mjs +182 -0
  121. package/dist/components/Auth/SignUpForm/signUpForm.content.mjs.map +1 -0
  122. package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs +36 -0
  123. package/dist/components/Auth/SignUpForm/useSignUpSchema.cjs.map +1 -0
  124. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs +116 -0
  125. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.cjs.map +1 -0
  126. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts +14 -0
  127. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.d.ts.map +1 -0
  128. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs +116 -0
  129. package/dist/components/Auth/SignUpForm/useSignUpSchema.content.mjs.map +1 -0
  130. package/dist/components/Auth/SignUpForm/{SignUpSchema.d.ts → useSignUpSchema.d.ts} +3 -3
  131. package/dist/components/Auth/SignUpForm/useSignUpSchema.d.ts.map +1 -0
  132. package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs +36 -0
  133. package/dist/components/Auth/SignUpForm/useSignUpSchema.mjs.map +1 -0
  134. package/dist/components/Auth/index.cjs +8 -8
  135. package/dist/components/Auth/index.mjs +8 -8
  136. package/dist/components/Auth/useAuth/useSession.cjs +1 -0
  137. package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
  138. package/dist/components/Auth/useAuth/useSession.mjs +1 -0
  139. package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
  140. package/dist/components/Breadcrumb/breadcrumb.content.cjs +26 -0
  141. package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -0
  142. package/dist/components/Breadcrumb/breadcrumb.content.d.ts +8 -0
  143. package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -0
  144. package/dist/components/Breadcrumb/breadcrumb.content.mjs +26 -0
  145. package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -0
  146. package/dist/components/Breadcrumb/index.cjs +103 -34
  147. package/dist/components/Breadcrumb/index.cjs.map +1 -1
  148. package/dist/components/Breadcrumb/index.d.ts +6 -2
  149. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  150. package/dist/components/Breadcrumb/index.mjs +103 -34
  151. package/dist/components/Breadcrumb/index.mjs.map +1 -1
  152. package/dist/components/Button/Button.cjs +7 -8
  153. package/dist/components/Button/Button.cjs.map +1 -1
  154. package/dist/components/Button/Button.d.ts.map +1 -1
  155. package/dist/components/Button/Button.mjs +7 -8
  156. package/dist/components/Button/Button.mjs.map +1 -1
  157. package/dist/components/Container/index.cjs +2 -2
  158. package/dist/components/Container/index.cjs.map +1 -1
  159. package/dist/components/Container/index.mjs +2 -2
  160. package/dist/components/Container/index.mjs.map +1 -1
  161. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
  162. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
  163. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
  164. package/dist/components/DictionaryEditor/index.cjs +4 -0
  165. package/dist/components/DictionaryEditor/index.cjs.map +1 -1
  166. package/dist/components/DictionaryEditor/index.mjs +4 -0
  167. package/dist/components/DictionaryEditor/index.mjs.map +1 -1
  168. package/dist/components/DictionaryEditor/useEditedContentStore.cjs +3 -0
  169. package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
  170. package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +2 -2
  171. package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
  172. package/dist/components/DictionaryEditor/useEditedContentStore.mjs +3 -0
  173. package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
  174. package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -1
  175. package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +1 -1
  176. package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +1 -1
  177. package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -1
  178. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +60 -6
  179. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
  180. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
  181. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +60 -6
  182. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
  183. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +7 -5
  184. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
  185. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +1 -0
  186. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
  187. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +7 -5
  188. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
  189. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +22 -2
  190. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -1
  191. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -1
  192. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +22 -2
  193. package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -1
  194. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +14 -6
  195. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  196. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +14 -6
  197. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  198. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +151 -21
  199. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
  200. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
  201. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +151 -21
  202. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
  203. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +27 -0
  204. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -0
  205. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +71 -0
  206. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -0
  207. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +11 -0
  208. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -0
  209. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +71 -0
  210. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -0
  211. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/{dictionaryFormSchema.d.ts → useDictionaryFormSchema.d.ts} +3 -3
  212. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -0
  213. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +27 -0
  214. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -0
  215. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +24 -16
  216. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  217. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +24 -16
  218. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  219. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +176 -16
  220. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  221. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  222. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +176 -16
  223. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  224. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +44 -0
  225. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -0
  226. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +176 -0
  227. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -0
  228. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +17 -0
  229. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -0
  230. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +176 -0
  231. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -0
  232. package/dist/components/DictionaryFieldEditor/DictionaryDetails/{DictionaryDetailsSchema.d.ts → useDictionaryDetailsSchema.d.ts} +3 -3
  233. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -0
  234. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +44 -0
  235. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -0
  236. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -3
  237. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  238. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
  239. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  240. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +6 -3
  241. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  242. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
  243. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
  244. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
  245. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
  246. package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +20 -18
  247. package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
  248. package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts +1 -0
  249. package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
  250. package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +20 -18
  251. package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
  252. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +10 -2
  253. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -1
  254. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +2 -0
  255. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
  256. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +10 -2
  257. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
  258. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +121 -11
  259. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
  260. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
  261. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +121 -11
  262. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
  263. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +10 -14
  264. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
  265. package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
  266. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +10 -14
  267. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
  268. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +63 -20
  269. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  270. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  271. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +66 -23
  272. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  273. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +98 -6
  274. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  275. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +4 -0
  276. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  277. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +98 -6
  278. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  279. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +44 -4
  280. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
  281. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
  282. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +44 -4
  283. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
  284. package/dist/components/DictionaryFieldEditor/editorView.content.cjs +77 -7
  285. package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -1
  286. package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -1
  287. package/dist/components/DictionaryFieldEditor/editorView.content.mjs +77 -7
  288. package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -1
  289. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +66 -6
  290. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
  291. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  292. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +66 -6
  293. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
  294. package/dist/components/DropDown/index.cjs.map +1 -1
  295. package/dist/components/DropDown/index.d.ts +18 -1
  296. package/dist/components/DropDown/index.d.ts.map +1 -1
  297. package/dist/components/DropDown/index.mjs.map +1 -1
  298. package/dist/components/Headers/index.cjs +1 -1
  299. package/dist/components/Headers/index.cjs.map +1 -1
  300. package/dist/components/Headers/index.mjs +1 -1
  301. package/dist/components/Headers/index.mjs.map +1 -1
  302. package/dist/components/IDE/CodeRender copy.cjs +141 -0
  303. package/dist/components/IDE/CodeRender copy.cjs.map +1 -0
  304. package/dist/components/IDE/CodeRender copy.d.ts +14 -0
  305. package/dist/components/IDE/CodeRender copy.d.ts.map +1 -0
  306. package/dist/components/IDE/CodeRender copy.mjs +141 -0
  307. package/dist/components/IDE/CodeRender copy.mjs.map +1 -0
  308. package/dist/components/IDE/CodeRender.cjs +39 -625
  309. package/dist/components/IDE/CodeRender.cjs.map +1 -1
  310. package/dist/components/IDE/CodeRender.d.ts +4 -5
  311. package/dist/components/IDE/CodeRender.d.ts.map +1 -1
  312. package/dist/components/IDE/CodeRender.mjs +40 -604
  313. package/dist/components/IDE/CodeRender.mjs.map +1 -1
  314. package/dist/components/IDE/CopyButton.cjs +40 -0
  315. package/dist/components/IDE/CopyButton.cjs.map +1 -0
  316. package/dist/components/IDE/CopyButton.content.cjs +26 -0
  317. package/dist/components/IDE/CopyButton.content.cjs.map +1 -0
  318. package/dist/components/IDE/CopyButton.content.d.ts +8 -0
  319. package/dist/components/IDE/CopyButton.content.d.ts.map +1 -0
  320. package/dist/components/IDE/CopyButton.content.mjs +26 -0
  321. package/dist/components/IDE/CopyButton.content.mjs.map +1 -0
  322. package/dist/components/IDE/CopyButton.d.ts +7 -0
  323. package/dist/components/IDE/CopyButton.d.ts.map +1 -0
  324. package/dist/components/IDE/CopyButton.mjs +40 -0
  325. package/dist/components/IDE/CopyButton.mjs.map +1 -0
  326. package/dist/components/IDE/IDE.cjs +1 -1
  327. package/dist/components/IDE/IDE.cjs.map +1 -1
  328. package/dist/components/IDE/IDE.mjs +1 -1
  329. package/dist/components/IDE/IDE.mjs.map +1 -1
  330. package/dist/components/IDE/MarkDownRender.cjs +10 -2
  331. package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
  332. package/dist/components/IDE/MarkDownRender.d.ts.map +1 -1
  333. package/dist/components/IDE/MarkDownRender.mjs +10 -2
  334. package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
  335. package/dist/components/IDE/MonacoCode.cjs +129 -0
  336. package/dist/components/IDE/MonacoCode.cjs.map +1 -0
  337. package/dist/components/IDE/MonacoCode.d.ts +14 -0
  338. package/dist/components/IDE/MonacoCode.d.ts.map +1 -0
  339. package/dist/components/IDE/MonacoCode.mjs +129 -0
  340. package/dist/components/IDE/MonacoCode.mjs.map +1 -0
  341. package/dist/components/Link/Link.cjs +50 -31
  342. package/dist/components/Link/Link.cjs.map +1 -1
  343. package/dist/components/Link/Link.d.ts +3 -0
  344. package/dist/components/Link/Link.d.ts.map +1 -1
  345. package/dist/components/Link/Link.mjs +51 -32
  346. package/dist/components/Link/Link.mjs.map +1 -1
  347. package/dist/components/Link/index.cjs +1 -0
  348. package/dist/components/Link/index.cjs.map +1 -1
  349. package/dist/components/Link/index.mjs +3 -2
  350. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +122 -42
  351. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  352. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +2 -0
  353. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
  354. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +123 -43
  355. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  356. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +86 -0
  357. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -0
  358. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +14 -0
  359. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -0
  360. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +87 -0
  361. package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -0
  362. package/dist/components/MarkDownRender/index.cjs +4 -2
  363. package/dist/components/MarkDownRender/index.cjs.map +1 -1
  364. package/dist/components/MarkDownRender/index.d.ts +3 -1
  365. package/dist/components/MarkDownRender/index.d.ts.map +1 -1
  366. package/dist/components/MarkDownRender/index.mjs +4 -2
  367. package/dist/components/MarkDownRender/index.mjs.map +1 -1
  368. package/dist/components/Modal/Modal.cjs +8 -10
  369. package/dist/components/Modal/Modal.cjs.map +1 -1
  370. package/dist/components/Modal/Modal.d.ts.map +1 -1
  371. package/dist/components/Modal/Modal.mjs +8 -10
  372. package/dist/components/Modal/Modal.mjs.map +1 -1
  373. package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
  374. package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
  375. package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
  376. package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
  377. package/dist/components/index.cjs +13 -8
  378. package/dist/components/index.cjs.map +1 -1
  379. package/dist/components/index.mjs +14 -9
  380. package/dist/components/index.mjs.map +1 -1
  381. package/dist/design-system.css +235 -0
  382. package/dist/hooks/index.cjs +6 -0
  383. package/dist/hooks/index.cjs.map +1 -1
  384. package/dist/hooks/index.d.ts +1 -0
  385. package/dist/hooks/index.d.ts.map +1 -1
  386. package/dist/hooks/index.mjs +7 -1
  387. package/dist/hooks/index.mjs.map +1 -1
  388. package/dist/hooks/intlayerAPIHooks.cjs +8 -2
  389. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  390. package/dist/hooks/intlayerAPIHooks.d.ts +4 -0
  391. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  392. package/dist/hooks/intlayerAPIHooks.mjs +8 -2
  393. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  394. package/dist/hooks/useAsync/index.cjs +3 -0
  395. package/dist/hooks/useAsync/index.cjs.map +1 -1
  396. package/dist/hooks/useAsync/index.d.ts +1 -0
  397. package/dist/hooks/useAsync/index.d.ts.map +1 -1
  398. package/dist/hooks/useAsync/index.mjs +4 -1
  399. package/dist/hooks/useAsync/index.mjs.map +1 -1
  400. package/dist/hooks/useAsync/useAsync.cjs +2 -9
  401. package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
  402. package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
  403. package/dist/hooks/useAsync/useAsync.mjs +3 -10
  404. package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
  405. package/dist/hooks/useAsync/useAsyncStateStore.cjs +123 -69
  406. package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
  407. package/dist/hooks/useAsync/useAsyncStateStore.d.ts +35 -11
  408. package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
  409. package/dist/hooks/useAsync/useAsyncStateStore.mjs +123 -69
  410. package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
  411. package/dist/hooks/useIntlayerAPI.d.ts +3 -0
  412. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  413. package/dist/hooks/useIsDarkMode.cjs +15 -0
  414. package/dist/hooks/useIsDarkMode.cjs.map +1 -0
  415. package/dist/hooks/useIsDarkMode.d.ts +2 -0
  416. package/dist/hooks/useIsDarkMode.d.ts.map +1 -0
  417. package/dist/hooks/useIsDarkMode.mjs +15 -0
  418. package/dist/hooks/useIsDarkMode.mjs.map +1 -0
  419. package/dist/libs/intlayer-api/ai.cjs +24 -0
  420. package/dist/libs/intlayer-api/ai.cjs.map +1 -0
  421. package/dist/libs/intlayer-api/ai.d.ts +10 -0
  422. package/dist/libs/intlayer-api/ai.d.ts.map +1 -0
  423. package/dist/libs/intlayer-api/ai.mjs +24 -0
  424. package/dist/libs/intlayer-api/ai.mjs.map +1 -0
  425. package/dist/libs/intlayer-api/index.cjs +3 -1
  426. package/dist/libs/intlayer-api/index.cjs.map +1 -1
  427. package/dist/libs/intlayer-api/index.d.ts +6 -0
  428. package/dist/libs/intlayer-api/index.d.ts.map +1 -1
  429. package/dist/libs/intlayer-api/index.mjs +3 -1
  430. package/dist/libs/intlayer-api/index.mjs.map +1 -1
  431. package/dist/tailwind.css +1 -1
  432. package/package.json +19 -16
  433. package/dist/__vite-browser-external-SDi5tJh6.cjs +0 -4
  434. package/dist/__vite-browser-external-SDi5tJh6.cjs.map +0 -1
  435. package/dist/__vite-browser-external-r74dyCO2.js +0 -5
  436. package/dist/__vite-browser-external-r74dyCO2.js.map +0 -1
  437. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +0 -66
  438. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +0 -1
  439. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +0 -1
  440. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +0 -66
  441. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +0 -1
  442. package/dist/components/Auth/ChangePasswordForm/index.content.cjs +0 -67
  443. package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +0 -1
  444. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +0 -23
  445. package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +0 -1
  446. package/dist/components/Auth/ChangePasswordForm/index.content.mjs +0 -67
  447. package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +0 -1
  448. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +0 -29
  449. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +0 -1
  450. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -10
  451. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +0 -1
  452. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +0 -29
  453. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +0 -1
  454. package/dist/components/Auth/ResetPasswordForm/index.content.cjs +0 -50
  455. package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +0 -1
  456. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +0 -18
  457. package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +0 -1
  458. package/dist/components/Auth/ResetPasswordForm/index.content.mjs +0 -50
  459. package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +0 -1
  460. package/dist/components/Auth/SignInForm/SignInSchema.cjs +0 -38
  461. package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +0 -1
  462. package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +0 -1
  463. package/dist/components/Auth/SignInForm/SignInSchema.mjs +0 -38
  464. package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +0 -1
  465. package/dist/components/Auth/SignInForm/index.content.cjs +0 -84
  466. package/dist/components/Auth/SignInForm/index.content.cjs.map +0 -1
  467. package/dist/components/Auth/SignInForm/index.content.d.ts +0 -28
  468. package/dist/components/Auth/SignInForm/index.content.d.ts.map +0 -1
  469. package/dist/components/Auth/SignInForm/index.content.mjs +0 -84
  470. package/dist/components/Auth/SignInForm/index.content.mjs.map +0 -1
  471. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +0 -61
  472. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +0 -1
  473. package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +0 -1
  474. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +0 -61
  475. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +0 -1
  476. package/dist/components/Auth/SignUpForm/index.content.cjs +0 -72
  477. package/dist/components/Auth/SignUpForm/index.content.cjs.map +0 -1
  478. package/dist/components/Auth/SignUpForm/index.content.d.ts +0 -24
  479. package/dist/components/Auth/SignUpForm/index.content.d.ts.map +0 -1
  480. package/dist/components/Auth/SignUpForm/index.content.mjs +0 -72
  481. package/dist/components/Auth/SignUpForm/index.content.mjs.map +0 -1
  482. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +0 -40
  483. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +0 -1
  484. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +0 -1
  485. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +0 -40
  486. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +0 -1
  487. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +0 -85
  488. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +0 -1
  489. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +0 -1
  490. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +0 -85
  491. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +0 -1
  492. package/dist/tailwind.js +0 -1
@@ -1,84 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const reactIntlayer = require("react-intlayer");
4
- const getSignInContent = () => ({
5
- forgotPasswordLink: {
6
- ariaLabel: reactIntlayer.t({
7
- en: "Forgot your password?",
8
- fr: "Mot de passe oublié ?",
9
- es: "¿Olvidaste tu contraseña?"
10
- }),
11
- text: reactIntlayer.t({
12
- en: "Forgot password?",
13
- fr: "Mot de passe oublié ?",
14
- es: "¿Olvidaste tu contraseña?"
15
- })
16
- },
17
- emailInput: {
18
- label: reactIntlayer.t({
19
- en: "Email address",
20
- fr: "Adresse e-mail",
21
- es: "Dirección de correo electrónico"
22
- }),
23
- placeholder: reactIntlayer.t({
24
- en: "Enter e-mail address",
25
- fr: "Entrez votre adresse e-mail",
26
- es: "Ingrese su dirección de correo electrónico"
27
- })
28
- },
29
- passwordInput: {
30
- label: reactIntlayer.t({
31
- en: "Password",
32
- fr: "Mot de passe",
33
- es: "Contraseña"
34
- }),
35
- placeholder: reactIntlayer.t({
36
- en: "Enter password",
37
- fr: "Entrez votre mot de passe",
38
- es: "Ingrese su contraseña"
39
- })
40
- },
41
- loginButton: {
42
- text: reactIntlayer.t({
43
- en: "Log in",
44
- fr: "Se connecter",
45
- es: "Iniciar sesión"
46
- }),
47
- ariaLabel: reactIntlayer.t({
48
- en: "Click to log in",
49
- fr: "Cliquez pour vous connecter",
50
- es: "Haga clic para iniciar sesión"
51
- })
52
- },
53
- signInButton: {
54
- text: reactIntlayer.t({
55
- en: "Log in",
56
- fr: "Se connecter",
57
- es: "Iniciar sesión"
58
- }),
59
- ariaLabel: reactIntlayer.t({
60
- en: "Click to log in",
61
- fr: "Cliquez pour vous connecter",
62
- es: "Haga clic para iniciar sesión"
63
- })
64
- },
65
- signUpLink: {
66
- message: reactIntlayer.t({
67
- en: "Don’t have an account?",
68
- fr: "Vous n’avez pas de compte ?",
69
- es: "¿No tienes una cuenta?"
70
- }),
71
- ariaLabel: reactIntlayer.t({
72
- en: "Click to go to create an account page",
73
- fr: "Cliquez pour aller à la page de création de compte",
74
- es: "Haga clic para ir a la página de creación de cuenta"
75
- }),
76
- text: reactIntlayer.t({
77
- en: "Create an account",
78
- fr: "Créer un compte",
79
- es: "Crear una cuenta"
80
- })
81
- }
82
- });
83
- exports.getSignInContent = getSignInContent;
84
- //# sourceMappingURL=index.content.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.cjs","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":["t"],"mappings":";;;AAIO,MAAM,mBAAmB,OAAO;AAAA,EACrC,oBAAoB;AAAA,IAClB,WAAWA,cAAAA,EAAE;AAAA,MACX,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,IACL,CAAA;AAAA,EACH;AAAA,EACA,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,aAAa;AAAA,IACX,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,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,YAAY;AAAA,IACV,SAASA,cAAAA,EAAE;AAAA,MACT,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,IAAA,CACL;AAAA,IACD,MAAMA,cAAAA,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACL,CAAA;AAAA,EAAA;AAEL;;"}
@@ -1,28 +0,0 @@
1
- export declare const getSignInContent: () => {
2
- forgotPasswordLink: {
3
- ariaLabel: any;
4
- text: any;
5
- };
6
- emailInput: {
7
- label: any;
8
- placeholder: any;
9
- };
10
- passwordInput: {
11
- label: any;
12
- placeholder: any;
13
- };
14
- loginButton: {
15
- text: any;
16
- ariaLabel: any;
17
- };
18
- signInButton: {
19
- text: any;
20
- ariaLabel: any;
21
- };
22
- signUpLink: {
23
- message: any;
24
- ariaLabel: any;
25
- text: any;
26
- };
27
- };
28
- //# sourceMappingURL=index.content.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.content.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/SignInForm/index.content.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CA8E3B,CAAC"}
@@ -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,24 +0,0 @@
1
- export declare const getSignUpContent: () => {
2
- emailInput: {
3
- label: any;
4
- placeholder: any;
5
- };
6
- passwordInput: {
7
- label: any;
8
- placeholder: any;
9
- };
10
- passwordConfirmationInput: {
11
- label: any;
12
- placeholder: any;
13
- };
14
- signUpButton: {
15
- text: any;
16
- ariaLabel: any;
17
- };
18
- loginLink: {
19
- message: any;
20
- text: any;
21
- ariaLabel: any;
22
- };
23
- };
24
- //# sourceMappingURL=index.content.d.ts.map
@@ -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