@intlayer/design-system 3.0.3 → 3.2.0

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 (648) hide show
  1. package/dist/.vite/manifest.json +269 -117
  2. package/dist/Form-2XHQV7F_.cjs +295 -0
  3. package/dist/Form-2XHQV7F_.cjs.map +1 -0
  4. package/dist/Form-BO0i3nT9.js +300 -0
  5. package/dist/Form-BO0i3nT9.js.map +1 -0
  6. package/dist/Form-BaHDK0RZ.cjs +298 -0
  7. package/dist/Form-BaHDK0RZ.cjs.map +1 -0
  8. package/dist/Form-BfZMqK2D.js +300 -0
  9. package/dist/Form-BfZMqK2D.js.map +1 -0
  10. package/dist/Form-C13KWSZs.cjs +299 -0
  11. package/dist/Form-C13KWSZs.cjs.map +1 -0
  12. package/dist/Form-C8K2f8ph.js +300 -0
  13. package/dist/Form-C8K2f8ph.js.map +1 -0
  14. package/dist/Form-CKvCgz8c.cjs +299 -0
  15. package/dist/Form-CKvCgz8c.cjs.map +1 -0
  16. package/dist/Form-Cbk5Lhpd.js +299 -0
  17. package/dist/Form-Cbk5Lhpd.js.map +1 -0
  18. package/dist/Form-CiAgFAPb.cjs +300 -0
  19. package/dist/Form-CiAgFAPb.cjs.map +1 -0
  20. package/dist/Form-CnBKDneQ.js +296 -0
  21. package/dist/Form-CnBKDneQ.js.map +1 -0
  22. package/dist/Form-DERuauvB.cjs +300 -0
  23. package/dist/Form-DERuauvB.cjs.map +1 -0
  24. package/dist/Form-DhlDf3ML.cjs +299 -0
  25. package/dist/Form-DhlDf3ML.cjs.map +1 -0
  26. package/dist/Form-DkAZ0Jdf.cjs +299 -0
  27. package/dist/Form-DkAZ0Jdf.cjs.map +1 -0
  28. package/dist/Form-DqnNP4DA.js +300 -0
  29. package/dist/Form-DqnNP4DA.js.map +1 -0
  30. package/dist/Form-DyFBmVya.js +301 -0
  31. package/dist/Form-DyFBmVya.js.map +1 -0
  32. package/dist/Form-FW4Odjfm.js +301 -0
  33. package/dist/Form-FW4Odjfm.js.map +1 -0
  34. package/dist/TabSelector-BmkzVPXl.js +660 -0
  35. package/dist/TabSelector-BmkzVPXl.js.map +1 -0
  36. package/dist/TabSelector-o_NRBvPQ.cjs +659 -0
  37. package/dist/TabSelector-o_NRBvPQ.cjs.map +1 -0
  38. package/dist/components/Accordion/Accordion.d.ts +0 -1
  39. package/dist/components/Auth/AuthModal/index.cjs +17 -62
  40. package/dist/components/Auth/AuthModal/index.cjs.map +1 -1
  41. package/dist/components/Auth/AuthModal/index.d.ts +0 -1
  42. package/dist/components/Auth/AuthModal/index.d.ts.map +1 -1
  43. package/dist/components/Auth/AuthModal/index.mjs +17 -62
  44. package/dist/components/Auth/AuthModal/index.mjs.map +1 -1
  45. package/dist/components/Auth/AuthProvider/index.cjs +5 -21
  46. package/dist/components/Auth/AuthProvider/index.cjs.map +1 -1
  47. package/dist/components/Auth/AuthProvider/index.d.ts +7 -6
  48. package/dist/components/Auth/AuthProvider/index.d.ts.map +1 -1
  49. package/dist/components/Auth/AuthProvider/index.mjs +6 -22
  50. package/dist/components/Auth/AuthProvider/index.mjs.map +1 -1
  51. package/dist/components/Auth/AuthProvider/useSession.cjs +14 -11
  52. package/dist/components/Auth/AuthProvider/useSession.cjs.map +1 -1
  53. package/dist/components/Auth/AuthProvider/useSession.d.ts +0 -1
  54. package/dist/components/Auth/AuthProvider/useSession.d.ts.map +1 -1
  55. package/dist/components/Auth/AuthProvider/useSession.mjs +14 -11
  56. package/dist/components/Auth/AuthProvider/useSession.mjs.map +1 -1
  57. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs +2 -2
  58. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs.map +1 -1
  59. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.d.ts +0 -1
  60. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs +1 -1
  61. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs.map +1 -1
  62. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.cjs.map +1 -1
  63. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.d.ts +2 -3
  64. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.d.ts.map +1 -1
  65. package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.mjs.map +1 -1
  66. package/dist/components/Auth/AuthenticationBarrier/accessValidation.cjs.map +1 -1
  67. package/dist/components/Auth/AuthenticationBarrier/accessValidation.d.ts +1 -2
  68. package/dist/components/Auth/AuthenticationBarrier/accessValidation.d.ts.map +1 -1
  69. package/dist/components/Auth/AuthenticationBarrier/accessValidation.mjs.map +1 -1
  70. package/dist/components/Auth/AuthenticationBarrier/index.d.ts +3 -4
  71. package/dist/components/Auth/AuthenticationBarrier/index.d.ts.map +1 -1
  72. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +2 -1
  73. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
  74. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +1 -2
  75. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
  76. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +2 -1
  77. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
  78. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +1 -1
  79. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts +0 -1
  80. package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +1 -1
  81. package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +1 -1
  82. package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +1 -1
  83. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +3 -2
  84. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
  85. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts +0 -1
  86. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -1
  87. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +3 -2
  88. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
  89. package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.d.ts +0 -1
  90. package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.d.ts +0 -1
  91. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -1
  92. package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -1
  93. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +2 -1
  94. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -1
  95. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +1 -2
  96. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -1
  97. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +2 -1
  98. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -1
  99. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +1 -1
  100. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +0 -1
  101. package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +1 -1
  102. package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +1 -1
  103. package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +1 -1
  104. package/dist/components/Auth/SignInForm/SignInForm.cjs +5 -4
  105. package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -1
  106. package/dist/components/Auth/SignInForm/SignInForm.d.ts +1 -2
  107. package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -1
  108. package/dist/components/Auth/SignInForm/SignInForm.mjs +5 -4
  109. package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -1
  110. package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +1 -1
  111. package/dist/components/Auth/SignInForm/SignInSchema.d.ts +0 -1
  112. package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +1 -1
  113. package/dist/components/Auth/SignInForm/index.content.cjs.map +1 -1
  114. package/dist/components/Auth/SignInForm/index.content.mjs.map +1 -1
  115. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +4 -4
  116. package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -1
  117. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +1 -2
  118. package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -1
  119. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +4 -4
  120. package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -1
  121. package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +1 -1
  122. package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts +0 -1
  123. package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +1 -1
  124. package/dist/components/Auth/SignUpForm/index.content.cjs.map +1 -1
  125. package/dist/components/Auth/SignUpForm/index.content.mjs.map +1 -1
  126. package/dist/components/Auth/index.cjs +2 -4
  127. package/dist/components/Auth/index.cjs.map +1 -1
  128. package/dist/components/Auth/index.d.ts +1 -1
  129. package/dist/components/Auth/index.d.ts.map +1 -1
  130. package/dist/components/Auth/index.mjs +1 -3
  131. package/dist/components/Auth/useAuth/index.cjs +39 -0
  132. package/dist/components/Auth/useAuth/index.cjs.map +1 -0
  133. package/dist/components/Auth/useAuth/index.d.ts +24 -0
  134. package/dist/components/Auth/useAuth/index.d.ts.map +1 -0
  135. package/dist/components/Auth/useAuth/index.mjs +39 -0
  136. package/dist/components/Auth/useAuth/index.mjs.map +1 -0
  137. package/dist/components/Auth/useAuth/useCSRF.cjs +22 -0
  138. package/dist/components/Auth/useAuth/useCSRF.cjs.map +1 -0
  139. package/dist/components/Auth/useAuth/useCSRF.d.ts +5 -0
  140. package/dist/components/Auth/useAuth/useCSRF.d.ts.map +1 -0
  141. package/dist/components/Auth/useAuth/useCSRF.mjs +22 -0
  142. package/dist/components/Auth/useAuth/useCSRF.mjs.map +1 -0
  143. package/dist/components/Auth/useAuth/useOAuth2.cjs +26 -0
  144. package/dist/components/Auth/useAuth/useOAuth2.cjs.map +1 -0
  145. package/dist/components/Auth/useAuth/useOAuth2.d.ts +4 -0
  146. package/dist/components/Auth/useAuth/useOAuth2.d.ts.map +1 -0
  147. package/dist/components/Auth/useAuth/useOAuth2.mjs +26 -0
  148. package/dist/components/Auth/useAuth/useOAuth2.mjs.map +1 -0
  149. package/dist/components/Auth/useAuth/useSession.cjs +60 -0
  150. package/dist/components/Auth/useAuth/useSession.cjs.map +1 -0
  151. package/dist/components/Auth/useAuth/useSession.d.ts +8 -0
  152. package/dist/components/Auth/useAuth/useSession.d.ts.map +1 -0
  153. package/dist/components/Auth/useAuth/useSession.mjs +60 -0
  154. package/dist/components/Auth/useAuth/useSession.mjs.map +1 -0
  155. package/dist/components/Auth/useUser/index.cjs +3 -3
  156. package/dist/components/Auth/useUser/index.cjs.map +1 -1
  157. package/dist/components/Auth/useUser/index.d.ts.map +1 -1
  158. package/dist/components/Auth/useUser/index.mjs +3 -3
  159. package/dist/components/Auth/useUser/index.mjs.map +1 -1
  160. package/dist/components/Avatar/index.d.ts +0 -1
  161. package/dist/components/Badge/index.d.ts +0 -1
  162. package/dist/components/Breadcrumb/index.d.ts +0 -1
  163. package/dist/components/Button/Button.cjs +1 -0
  164. package/dist/components/Button/Button.cjs.map +1 -1
  165. package/dist/components/Button/Button.d.ts +1 -3
  166. package/dist/components/Button/Button.d.ts.map +1 -1
  167. package/dist/components/Button/Button.mjs +1 -0
  168. package/dist/components/Button/Button.mjs.map +1 -1
  169. package/dist/components/Command/index.d.ts +9 -10
  170. package/dist/components/Command/index.d.ts.map +1 -1
  171. package/dist/components/Container/index.cjs +1 -0
  172. package/dist/components/Container/index.cjs.map +1 -1
  173. package/dist/components/Container/index.d.ts +20 -7
  174. package/dist/components/Container/index.d.ts.map +1 -1
  175. package/dist/components/Container/index.mjs +1 -0
  176. package/dist/components/Container/index.mjs.map +1 -1
  177. package/dist/components/ContentEditor/ContentEditor.d.ts +0 -1
  178. package/dist/components/ContentEditor/ContentEditorTextArea.d.ts +0 -1
  179. package/dist/components/ContentSelector/ContentSelector.d.ts +0 -1
  180. package/dist/components/CopyToClipboard/index.d.ts +0 -1
  181. package/dist/components/DictionaryEditor/DictionaryEditor.cjs +30 -24
  182. package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
  183. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +0 -7
  184. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  185. package/dist/components/DictionaryEditor/DictionaryEditor.mjs +30 -24
  186. package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  187. package/dist/components/DictionaryEditor/ItemLayout.cjs +1 -0
  188. package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -1
  189. package/dist/components/DictionaryEditor/ItemLayout.d.ts +0 -1
  190. package/dist/components/DictionaryEditor/ItemLayout.d.ts.map +1 -1
  191. package/dist/components/DictionaryEditor/ItemLayout.mjs +1 -0
  192. package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
  193. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts +0 -1
  194. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.d.ts +0 -1
  195. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts +0 -1
  196. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +7 -5
  197. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
  198. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts +0 -1
  199. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +7 -5
  200. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
  201. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.d.ts +0 -1
  202. package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts +0 -1
  203. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +98 -19
  204. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
  205. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +1 -5
  206. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
  207. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +99 -20
  208. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
  209. package/dist/components/DictionaryEditor/useEditedContentStore.cjs +18 -20
  210. package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
  211. package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +0 -1
  212. package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -1
  213. package/dist/components/DictionaryEditor/useEditedContentStore.mjs +19 -21
  214. package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
  215. package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +0 -1
  216. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +46 -0
  217. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -0
  218. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts +18 -0
  219. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -0
  220. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +46 -0
  221. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -0
  222. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs +8 -0
  223. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.cjs.map +1 -0
  224. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts +4 -0
  225. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.d.ts.map +1 -0
  226. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs +8 -0
  227. package/dist/components/DictionaryEditor/validDictionaryChangeButtonsSchema.mjs.map +1 -0
  228. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +10 -3
  229. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
  230. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +0 -1
  231. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
  232. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +10 -3
  233. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
  234. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +8 -25
  235. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  236. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts +0 -1
  237. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
  238. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +7 -24
  239. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  240. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +0 -42
  241. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
  242. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +0 -18
  243. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
  244. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +0 -42
  245. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
  246. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +1 -1
  247. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts +0 -1
  248. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +1 -1
  249. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +1 -1
  250. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +5 -37
  251. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  252. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +0 -1
  253. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  254. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +4 -36
  255. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  256. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +1 -1
  257. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts +2 -3
  258. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +1 -1
  259. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +1 -1
  260. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +2 -49
  261. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  262. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +0 -19
  263. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  264. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +2 -49
  265. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  266. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +38 -13
  267. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  268. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +0 -1
  269. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  270. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +38 -13
  271. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  272. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +22 -6
  273. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
  274. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts +0 -1
  275. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -1
  276. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +22 -6
  277. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -1
  278. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +29 -14
  279. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
  280. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts +0 -1
  281. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts.map +1 -1
  282. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +29 -14
  283. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
  284. package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs +1 -0
  285. package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs.map +1 -1
  286. package/dist/components/DictionaryFieldEditor/EnumKeyInput.d.ts +0 -1
  287. package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs +1 -0
  288. package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs.map +1 -1
  289. package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +0 -1
  290. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +18 -2
  291. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
  292. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts +0 -1
  293. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
  294. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +18 -2
  295. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  296. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +18 -2
  297. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
  298. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts +0 -1
  299. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
  300. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +18 -2
  301. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
  302. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +14 -28
  303. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  304. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts +0 -1
  305. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  306. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +14 -28
  307. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  308. package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts +0 -1
  309. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +2 -23
  310. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  311. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +0 -9
  312. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  313. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +2 -23
  314. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  315. package/dist/components/DictionaryFieldEditor/getIsEditableSection.d.ts +0 -1
  316. package/dist/components/DropDown/index.d.ts +0 -1
  317. package/dist/components/DropDown/types.d.ts +0 -1
  318. package/dist/components/EditableField/EditableFieldInput.cjs +12 -5
  319. package/dist/components/EditableField/EditableFieldInput.cjs.map +1 -1
  320. package/dist/components/EditableField/EditableFieldInput.d.ts +2 -4
  321. package/dist/components/EditableField/EditableFieldInput.d.ts.map +1 -1
  322. package/dist/components/EditableField/EditableFieldInput.mjs +13 -6
  323. package/dist/components/EditableField/EditableFieldInput.mjs.map +1 -1
  324. package/dist/components/EditableField/EditableFieldLayout.d.ts +0 -1
  325. package/dist/components/EditableField/EditableFieldTextArea.cjs +17 -4
  326. package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
  327. package/dist/components/EditableField/EditableFieldTextArea.d.ts +6 -3
  328. package/dist/components/EditableField/EditableFieldTextArea.d.ts.map +1 -1
  329. package/dist/components/EditableField/EditableFieldTextArea.mjs +18 -5
  330. package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
  331. package/dist/components/Flags/Flag.d.ts +0 -1
  332. package/dist/components/Footer/index.d.ts +0 -1
  333. package/dist/components/Form/Form.cjs +1 -1
  334. package/dist/components/Form/Form.d.ts +2 -1
  335. package/dist/components/Form/Form.d.ts.map +1 -1
  336. package/dist/components/Form/Form.mjs +1 -1
  337. package/dist/components/Form/FormBase.cjs +4 -1
  338. package/dist/components/Form/FormBase.cjs.map +1 -1
  339. package/dist/components/Form/FormBase.d.ts +1 -2
  340. package/dist/components/Form/FormBase.d.ts.map +1 -1
  341. package/dist/components/Form/FormBase.mjs +4 -1
  342. package/dist/components/Form/FormBase.mjs.map +1 -1
  343. package/dist/components/Form/FormDescription.d.ts +0 -1
  344. package/dist/components/Form/FormField.d.ts +0 -1
  345. package/dist/components/Form/FormItem.d.ts +0 -1
  346. package/dist/components/Form/FormMessage.d.ts +0 -1
  347. package/dist/components/Form/elements/CheckboxElement.cjs +10 -0
  348. package/dist/components/Form/elements/CheckboxElement.cjs.map +1 -0
  349. package/dist/components/Form/elements/CheckboxElement.d.ts +10 -0
  350. package/dist/components/Form/elements/CheckboxElement.d.ts.map +1 -0
  351. package/dist/components/Form/elements/CheckboxElement.mjs +10 -0
  352. package/dist/components/Form/elements/CheckboxElement.mjs.map +1 -0
  353. package/dist/components/Form/elements/EditableFieldInputElement.cjs +1 -1
  354. package/dist/components/Form/elements/EditableFieldInputElement.d.ts +0 -1
  355. package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
  356. package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +1 -1
  357. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +0 -1
  358. package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
  359. package/dist/components/Form/elements/FormElement.cjs +1 -1
  360. package/dist/components/Form/elements/FormElement.d.ts +0 -1
  361. package/dist/components/Form/elements/FormElement.mjs +1 -1
  362. package/dist/components/Form/elements/FormElementWrapper.d.ts +0 -1
  363. package/dist/components/Form/elements/InputElement.cjs +2 -1
  364. package/dist/components/Form/elements/InputElement.cjs.map +1 -1
  365. package/dist/components/Form/elements/InputElement.d.ts +2 -3
  366. package/dist/components/Form/elements/InputElement.d.ts.map +1 -1
  367. package/dist/components/Form/elements/InputElement.mjs +2 -1
  368. package/dist/components/Form/elements/InputElement.mjs.map +1 -1
  369. package/dist/components/Form/elements/InputPasswordElement.cjs +2 -1
  370. package/dist/components/Form/elements/InputPasswordElement.cjs.map +1 -1
  371. package/dist/components/Form/elements/InputPasswordElement.d.ts +2 -3
  372. package/dist/components/Form/elements/InputPasswordElement.d.ts.map +1 -1
  373. package/dist/components/Form/elements/InputPasswordElement.mjs +2 -1
  374. package/dist/components/Form/elements/InputPasswordElement.mjs.map +1 -1
  375. package/dist/components/Form/elements/MultiselectElement.cjs +1 -1
  376. package/dist/components/Form/elements/MultiselectElement.d.ts +0 -1
  377. package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
  378. package/dist/components/Form/elements/SelectElement.cjs +1 -1
  379. package/dist/components/Form/elements/SelectElement.d.ts +0 -1
  380. package/dist/components/Form/elements/SelectElement.mjs +1 -1
  381. package/dist/components/Form/elements/SwitchSelectorElement.cjs +1 -1
  382. package/dist/components/Form/elements/SwitchSelectorElement.d.ts +0 -1
  383. package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
  384. package/dist/components/Form/elements/TextAreaElement.cjs +1 -1
  385. package/dist/components/Form/elements/TextAreaElement.d.ts +0 -1
  386. package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
  387. package/dist/components/Form/elements/index.cjs +1 -1
  388. package/dist/components/Form/elements/index.mjs +1 -1
  389. package/dist/components/Form/index.cjs +1 -1
  390. package/dist/components/Form/index.mjs +1 -1
  391. package/dist/components/Form/layout/FormItemLayout.cjs +1 -1
  392. package/dist/components/Form/layout/FormItemLayout.d.ts +1 -2
  393. package/dist/components/Form/layout/FormItemLayout.d.ts.map +1 -1
  394. package/dist/components/Form/layout/FormItemLayout.mjs +1 -1
  395. package/dist/components/Form/layout/FormLabelLayout.d.ts +0 -1
  396. package/dist/components/Form/layout/RequiredStar.d.ts +0 -1
  397. package/dist/components/Form/layout/index.cjs +1 -1
  398. package/dist/components/Form/layout/index.mjs +1 -1
  399. package/dist/components/Headers/index.d.ts +0 -1
  400. package/dist/components/IDE/CodeRender.cjs.map +1 -1
  401. package/dist/components/IDE/CodeRender.d.ts +0 -1
  402. package/dist/components/IDE/CodeRender.mjs.map +1 -1
  403. package/dist/components/IDE/FileList.d.ts +0 -1
  404. package/dist/components/IDE/FileTree.d.ts +0 -1
  405. package/dist/components/IDE/IDE.d.ts +0 -1
  406. package/dist/components/IDE/MarkDownRender.d.ts +0 -1
  407. package/dist/components/InformationTag/index.d.ts +0 -1
  408. package/dist/components/Input/Checkbox.cjs +80 -0
  409. package/dist/components/Input/Checkbox.cjs.map +1 -0
  410. package/dist/components/Input/Checkbox.d.ts +14 -0
  411. package/dist/components/Input/Checkbox.d.ts.map +1 -0
  412. package/dist/components/Input/Checkbox.mjs +80 -0
  413. package/dist/components/Input/Checkbox.mjs.map +1 -0
  414. package/dist/components/Input/Input.cjs +8 -2
  415. package/dist/components/Input/Input.cjs.map +1 -1
  416. package/dist/components/Input/Input.d.ts +1 -1
  417. package/dist/components/Input/Input.d.ts.map +1 -1
  418. package/dist/components/Input/Input.mjs +8 -2
  419. package/dist/components/Input/Input.mjs.map +1 -1
  420. package/dist/components/Input/InputPassword.d.ts +0 -1
  421. package/dist/components/Input/index.cjs +3 -0
  422. package/dist/components/Input/index.cjs.map +1 -1
  423. package/dist/components/Input/index.d.ts +1 -0
  424. package/dist/components/Input/index.d.ts.map +1 -1
  425. package/dist/components/Input/index.mjs +3 -0
  426. package/dist/components/Input/index.mjs.map +1 -1
  427. package/dist/components/Label/index.d.ts +0 -1
  428. package/dist/components/Link/Link.cjs +7 -2
  429. package/dist/components/Link/Link.cjs.map +1 -1
  430. package/dist/components/Link/Link.d.ts +2 -2
  431. package/dist/components/Link/Link.d.ts.map +1 -1
  432. package/dist/components/Link/Link.mjs +7 -2
  433. package/dist/components/Link/Link.mjs.map +1 -1
  434. package/dist/components/Loader/index.d.ts +0 -1
  435. package/dist/components/Loader/spinner.d.ts +0 -1
  436. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +0 -1
  437. package/dist/components/Logo/LogoCircle.d.ts +0 -1
  438. package/dist/components/Logo/LogoNoFrame.d.ts +0 -1
  439. package/dist/components/Logo/LogoSquare.d.ts +0 -1
  440. package/dist/components/Logo/LogoSquircle.d.ts +0 -1
  441. package/dist/components/Logo/LogoTextOnly.d.ts +0 -1
  442. package/dist/components/Logo/LogoWithTextBelowCircle.d.ts +0 -1
  443. package/dist/components/Logo/LogoWithTextBelowNoFrame.d.ts +0 -1
  444. package/dist/components/Logo/LogoWithTextBelowSquircle.d.ts +0 -1
  445. package/dist/components/Logo/LogoWithTextCircle.d.ts +0 -1
  446. package/dist/components/Logo/LogoWithTextNoFrame.d.ts +0 -1
  447. package/dist/components/Logo/LogoWithTextSquircle.d.ts +0 -1
  448. package/dist/components/Logo/index.d.ts +0 -1
  449. package/dist/components/MarkDownRender/index.d.ts +0 -1
  450. package/dist/components/MaxHeightSmoother/index.d.ts +0 -1
  451. package/dist/components/MaxWidthSmoother/index.d.ts +0 -1
  452. package/dist/components/Modal/Modal.cjs +22 -16
  453. package/dist/components/Modal/Modal.cjs.map +1 -1
  454. package/dist/components/Modal/Modal.d.ts +3 -3
  455. package/dist/components/Modal/Modal.d.ts.map +1 -1
  456. package/dist/components/Modal/Modal.mjs +22 -16
  457. package/dist/components/Modal/Modal.mjs.map +1 -1
  458. package/dist/components/Navbar/Burger.d.ts +0 -1
  459. package/dist/components/Navbar/DesktopNavbar.cjs +10 -26
  460. package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
  461. package/dist/components/Navbar/DesktopNavbar.d.ts +6 -6
  462. package/dist/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  463. package/dist/components/Navbar/DesktopNavbar.mjs +10 -26
  464. package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
  465. package/dist/components/Navbar/MobileNavbar.cjs +6 -58
  466. package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
  467. package/dist/components/Navbar/MobileNavbar.d.ts +6 -7
  468. package/dist/components/Navbar/MobileNavbar.d.ts.map +1 -1
  469. package/dist/components/Navbar/MobileNavbar.mjs +6 -58
  470. package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
  471. package/dist/components/Navbar/index.cjs +7 -3
  472. package/dist/components/Navbar/index.cjs.map +1 -1
  473. package/dist/components/Navbar/index.d.ts +9 -15
  474. package/dist/components/Navbar/index.d.ts.map +1 -1
  475. package/dist/components/Navbar/index.mjs +7 -3
  476. package/dist/components/Navbar/index.mjs.map +1 -1
  477. package/dist/components/Pattern/DotPattern.d.ts +0 -1
  478. package/dist/components/Pattern/GridPattern.d.ts +0 -1
  479. package/dist/components/Pattern/SpotLight.d.ts +0 -1
  480. package/dist/components/Popover/index.d.ts +0 -1
  481. package/dist/components/PressableSpan/PressableSpan.d.ts +0 -1
  482. package/dist/components/ProfileDropDown/index.d.ts +0 -1
  483. package/dist/components/RightDrawer/RightDrawer.d.ts +0 -1
  484. package/dist/components/Select/Multiselect.d.ts +2 -3
  485. package/dist/components/Select/Multiselect.d.ts.map +1 -1
  486. package/dist/components/SwitchSelector/index.cjs +3 -1
  487. package/dist/components/SwitchSelector/index.cjs.map +1 -1
  488. package/dist/components/SwitchSelector/index.d.ts +0 -1
  489. package/dist/components/SwitchSelector/index.mjs +3 -1
  490. package/dist/components/SwitchSelector/index.mjs.map +1 -1
  491. package/dist/components/TabSelector/TabSelector.cjs +15 -10
  492. package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
  493. package/dist/components/TabSelector/TabSelector.d.ts +1 -2
  494. package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
  495. package/dist/components/TabSelector/TabSelector.mjs +15 -10
  496. package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
  497. package/dist/components/Tag/index.cjs +79 -0
  498. package/dist/components/Tag/index.cjs.map +1 -0
  499. package/dist/components/Tag/index.d.ts +12 -0
  500. package/dist/components/Tag/index.d.ts.map +1 -0
  501. package/dist/components/Tag/index.mjs +79 -0
  502. package/dist/components/Tag/index.mjs.map +1 -0
  503. package/dist/components/TextArea/AutoSizeTextArea.d.ts +0 -1
  504. package/dist/components/TextArea/TextArea.cjs +1 -0
  505. package/dist/components/TextArea/TextArea.cjs.map +1 -1
  506. package/dist/components/TextArea/TextArea.d.ts +0 -1
  507. package/dist/components/TextArea/TextArea.mjs +1 -0
  508. package/dist/components/TextArea/TextArea.mjs.map +1 -1
  509. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +0 -1
  510. package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +0 -1
  511. package/dist/components/Toaster/useToast.d.ts +0 -1
  512. package/dist/components/WithResizer/index.d.ts +0 -1
  513. package/dist/components/index.cjs +8 -7
  514. package/dist/components/index.cjs.map +1 -1
  515. package/dist/components/index.d.ts +1 -1
  516. package/dist/components/index.d.ts.map +1 -1
  517. package/dist/components/index.mjs +7 -6
  518. package/dist/components/index.mjs.map +1 -1
  519. package/dist/hooks/index.cjs +4 -1
  520. package/dist/hooks/index.cjs.map +1 -1
  521. package/dist/hooks/index.d.ts +1 -0
  522. package/dist/hooks/index.d.ts.map +1 -1
  523. package/dist/hooks/index.mjs +5 -2
  524. package/dist/hooks/index.mjs.map +1 -1
  525. package/dist/hooks/intlayerAPIHooks.cjs +258 -114
  526. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  527. package/dist/hooks/intlayerAPIHooks.d.ts +43 -39
  528. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  529. package/dist/hooks/intlayerAPIHooks.mjs +259 -115
  530. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  531. package/dist/hooks/useAsync/useAsync.cjs +142 -108
  532. package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
  533. package/dist/hooks/useAsync/useAsync.d.ts +0 -2
  534. package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
  535. package/dist/hooks/useAsync/useAsync.mjs +143 -109
  536. package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
  537. package/dist/hooks/useAsync/useAsyncStateStore.cjs +50 -112
  538. package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
  539. package/dist/hooks/useAsync/useAsyncStateStore.d.ts +3 -9
  540. package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
  541. package/dist/hooks/useAsync/useAsyncStateStore.mjs +50 -112
  542. package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
  543. package/dist/hooks/useAsync/useAsyncWrapper.d.ts +0 -1
  544. package/dist/hooks/useAsync/useProxyState.d.ts +3 -0
  545. package/dist/hooks/useAsync/useProxyState.d.ts.map +1 -0
  546. package/dist/hooks/useGetAllDictionaries.d.ts +0 -1
  547. package/dist/hooks/useIntlayerAPI.cjs +6 -5
  548. package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
  549. package/dist/hooks/useIntlayerAPI.d.ts +51 -45
  550. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  551. package/dist/hooks/useIntlayerAPI.mjs +5 -4
  552. package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
  553. package/dist/hooks/useItemSelector.cjs +11 -2
  554. package/dist/hooks/useItemSelector.cjs.map +1 -1
  555. package/dist/hooks/useItemSelector.d.ts +3 -3
  556. package/dist/hooks/useItemSelector.d.ts.map +1 -1
  557. package/dist/hooks/useItemSelector.mjs +11 -2
  558. package/dist/hooks/useItemSelector.mjs.map +1 -1
  559. package/dist/hooks/usePersistedStore.cjs +22 -0
  560. package/dist/hooks/usePersistedStore.cjs.map +1 -0
  561. package/dist/hooks/usePersistedStore.d.ts +2 -0
  562. package/dist/hooks/usePersistedStore.d.ts.map +1 -0
  563. package/dist/hooks/usePersistedStore.mjs +22 -0
  564. package/dist/hooks/usePersistedStore.mjs.map +1 -0
  565. package/dist/hooks/usePersistenceStore.cjs +22 -0
  566. package/dist/hooks/usePersistenceStore.cjs.map +1 -0
  567. package/dist/hooks/usePersistenceStore.d.ts +2 -0
  568. package/dist/hooks/usePersistenceStore.d.ts.map +1 -0
  569. package/dist/hooks/usePersistenceStore.mjs +22 -0
  570. package/dist/hooks/usePersistenceStore.mjs.map +1 -0
  571. package/dist/index-BUDsCMdX.cjs +204 -0
  572. package/dist/index-BUDsCMdX.cjs.map +1 -0
  573. package/dist/index-C09rI9kw.js +205 -0
  574. package/dist/index-C09rI9kw.js.map +1 -0
  575. package/dist/libs/intlayer-api/auth.cjs +14 -2
  576. package/dist/libs/intlayer-api/auth.cjs.map +1 -1
  577. package/dist/libs/intlayer-api/auth.d.ts +7 -4
  578. package/dist/libs/intlayer-api/auth.d.ts.map +1 -1
  579. package/dist/libs/intlayer-api/auth.mjs +14 -2
  580. package/dist/libs/intlayer-api/auth.mjs.map +1 -1
  581. package/dist/libs/intlayer-api/dictionary.d.ts +0 -1
  582. package/dist/libs/intlayer-api/fetcher.cjs +4 -3
  583. package/dist/libs/intlayer-api/fetcher.cjs.map +1 -1
  584. package/dist/libs/intlayer-api/fetcher.d.ts.map +1 -1
  585. package/dist/libs/intlayer-api/fetcher.mjs +4 -3
  586. package/dist/libs/intlayer-api/fetcher.mjs.map +1 -1
  587. package/dist/libs/intlayer-api/index.cjs +3 -1
  588. package/dist/libs/intlayer-api/index.cjs.map +1 -1
  589. package/dist/libs/intlayer-api/index.d.ts +12 -3
  590. package/dist/libs/intlayer-api/index.d.ts.map +1 -1
  591. package/dist/libs/intlayer-api/index.mjs +3 -1
  592. package/dist/libs/intlayer-api/index.mjs.map +1 -1
  593. package/dist/libs/intlayer-api/organization.d.ts +0 -1
  594. package/dist/libs/intlayer-api/project.d.ts +0 -1
  595. package/dist/libs/intlayer-api/stripe.cjs +22 -0
  596. package/dist/libs/intlayer-api/stripe.cjs.map +1 -0
  597. package/dist/libs/intlayer-api/stripe.d.ts +6 -0
  598. package/dist/libs/intlayer-api/stripe.d.ts.map +1 -0
  599. package/dist/libs/intlayer-api/stripe.mjs +22 -0
  600. package/dist/libs/intlayer-api/stripe.mjs.map +1 -0
  601. package/dist/libs/intlayer-api/user.d.ts +0 -1
  602. package/dist/stripe-BsI0lJWz.js +22 -0
  603. package/dist/stripe-BsI0lJWz.js.map +1 -0
  604. package/dist/stripe-C-u5RvGh.js +22 -0
  605. package/dist/stripe-C-u5RvGh.js.map +1 -0
  606. package/dist/stripe-CF_E65Vu.js +22 -0
  607. package/dist/stripe-CF_E65Vu.js.map +1 -0
  608. package/dist/stripe-CpGvfq6T.cjs +21 -0
  609. package/dist/stripe-CpGvfq6T.cjs.map +1 -0
  610. package/dist/stripe-DEv4DjAL.cjs +21 -0
  611. package/dist/stripe-DEv4DjAL.cjs.map +1 -0
  612. package/dist/stripe-DuG0uaEn.cjs +21 -0
  613. package/dist/stripe-DuG0uaEn.cjs.map +1 -0
  614. package/dist/tailwind.css +1 -1
  615. package/dist/useProxyState-D5GLrY2y.js +20 -0
  616. package/dist/useProxyState-D5GLrY2y.js.map +1 -0
  617. package/dist/useProxyState-DewdF3no.cjs +19 -0
  618. package/dist/useProxyState-DewdF3no.cjs.map +1 -0
  619. package/dist/utils/cn.d.ts +0 -1
  620. package/dist/utils/dictionary.cjs +37 -1
  621. package/dist/utils/dictionary.cjs.map +1 -1
  622. package/dist/utils/dictionary.d.ts +1 -1
  623. package/dist/utils/dictionary.d.ts.map +1 -1
  624. package/dist/utils/dictionary.mjs +38 -2
  625. package/dist/utils/dictionary.mjs.map +1 -1
  626. package/dist/validDictionaryChangeButtons.content-BK9QaXPm.cjs +66 -0
  627. package/dist/validDictionaryChangeButtons.content-BK9QaXPm.cjs.map +1 -0
  628. package/dist/validDictionaryChangeButtons.content-CAAscqJI.cjs +66 -0
  629. package/dist/validDictionaryChangeButtons.content-CAAscqJI.cjs.map +1 -0
  630. package/dist/validDictionaryChangeButtons.content-D7AvoBdl.js +67 -0
  631. package/dist/validDictionaryChangeButtons.content-D7AvoBdl.js.map +1 -0
  632. package/dist/validDictionaryChangeButtons.content-DQwoUNCC.cjs +45 -0
  633. package/dist/validDictionaryChangeButtons.content-DQwoUNCC.cjs.map +1 -0
  634. package/dist/validDictionaryChangeButtons.content-DQxPoIe6.js +67 -0
  635. package/dist/validDictionaryChangeButtons.content-DQxPoIe6.js.map +1 -0
  636. package/dist/validDictionaryChangeButtons.content-JUcjGdBx.cjs +66 -0
  637. package/dist/validDictionaryChangeButtons.content-JUcjGdBx.cjs.map +1 -0
  638. package/dist/validDictionaryChangeButtons.content-ejY3-sbG.js +67 -0
  639. package/dist/validDictionaryChangeButtons.content-ejY3-sbG.js.map +1 -0
  640. package/dist/validDictionaryChangeButtons.content-iyT0lKy7.js +46 -0
  641. package/dist/validDictionaryChangeButtons.content-iyT0lKy7.js.map +1 -0
  642. package/dist/validDictionaryChangeButtons.content-u4qShrQh.cjs +66 -0
  643. package/dist/validDictionaryChangeButtons.content-u4qShrQh.cjs.map +1 -0
  644. package/dist/validDictionaryChangeButtons.content-y4up9NU8.js +67 -0
  645. package/dist/validDictionaryChangeButtons.content-y4up9NU8.js.map +1 -0
  646. package/dist/zod-BV4nCGJE.js.map +1 -1
  647. package/dist/zod-DSrtTSD_.cjs.map +1 -1
  648. package/package.json +87 -56
@@ -23,7 +23,10 @@ const Form = require$$0.forwardRef(
23
23
  ...props
24
24
  }, ref) => {
25
25
  const onSubmit = async (values) => {
26
- const parsedValues = schema.safeParse(values);
26
+ const parsedValues = schema?.safeParse(values) ?? {
27
+ success: true,
28
+ data: void 0
29
+ };
27
30
  await awaitFunction(onSubmitProp?.(values));
28
31
  if (parsedValues.success) {
29
32
  await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));
@@ -1 +1 @@
1
- {"version":3,"file":"FormBase.cjs","sources":["../../../src/components/Form/FormBase.tsx"],"sourcesContent":["'use client';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { forwardRef, type Ref, type HTMLAttributes } from 'react';\nimport {\n FormProvider,\n type FormProviderProps,\n useForm as useFormReactHookForm,\n type UseFormProps,\n} from 'react-hook-form';\nimport type { ZodType, z } from 'zod';\nimport { cn } from '../../utils/cn';\n\ntype FormProps<T extends ZodType> = HTMLAttributes<HTMLFormElement> &\n FormProviderProps<z.infer<T>> & {\n schema: T;\n onSubmit?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitSuccess?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitError?: (error: Error) => void | Promise<void>;\n autoComplete?: boolean;\n };\n\nconst awaitFunction = async (fn: any) => {\n // Check if result is a Promise (Thenable)\n\n if (fn && typeof fn.then === 'function') {\n // It's a Promise, so wait for it to resolve\n await fn;\n }\n // If not a Promise, it will just execute without awaiting\n};\n\nexport const Form = forwardRef(\n <T extends ZodType>(\n {\n schema,\n onSubmit: onSubmitProp,\n onSubmitSuccess: onSubmitSuccessProp,\n onSubmitError: onSubmitErrorProp,\n className,\n children,\n autoComplete,\n ...props\n }: FormProps<T>,\n ref: Ref<HTMLFormElement>\n ) => {\n const onSubmit = async (values: T) => {\n const parsedValues = schema.safeParse(values);\n\n // onSubmitProp?.(values);\n await awaitFunction(onSubmitProp?.(values));\n\n if (parsedValues.success) {\n await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));\n } else {\n await awaitFunction(\n onSubmitErrorProp?.(\n new Error(\n parsedValues.error.errors.map((error) => error.message).join(', ')\n )\n )\n );\n }\n };\n\n return (\n <FormProvider {...props}>\n <form\n className={cn('flex size-full flex-col gap-y-6', className)}\n // eslint-disable-next-line sonarjs/no-misused-promises\n onSubmit={props.handleSubmit(onSubmit)}\n autoComplete={autoComplete ? 'on' : 'off'}\n ref={ref}\n >\n {children}\n </form>\n </FormProvider>\n );\n }\n);\n\nForm.displayName = 'Form';\n\nexport const useForm = <T extends ZodType>(\n schema: T,\n props?: UseFormProps<z.infer<T>>\n) => {\n const form = useFormReactHookForm<z.infer<T>>({\n resolver: zodResolver(schema),\n ...props,\n });\n\n const isSubmitting = form.formState.isSubmitting;\n const isSubmitted = form.formState.isSubmitted;\n const isLoading = form.formState.isLoading;\n const isValid = form.formState.isValid;\n\n return {\n form,\n isSubmitting,\n isSubmitted,\n isLoading,\n isValid,\n };\n};\n"],"names":["forwardRef","jsx","FormProvider","cn","useFormReactHookForm","zodResolver"],"mappings":";;;;;;;;AAuBA,MAAM,gBAAgB,OAAO,OAAY;AAGvC,MAAI,MAAM,OAAO,GAAG,SAAS,YAAY;AAEjC,UAAA;AAAA,EACR;AAEF;AAEO,MAAM,OAAOA,WAAA;AAAA,EAClB,CACE;AAAA,IACE;AAAA,IACA,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACG,UAAA,WAAW,OAAO,WAAc;AAC9B,YAAA,eAAe,OAAO,UAAU,MAAM;AAGtC,YAAA,cAAc,eAAe,MAAM,CAAC;AAE1C,UAAI,aAAa,SAAS;AACxB,cAAM,cAAc,sBAAsB,aAAa,IAAI,CAAC;AAAA,MAAA,OACvD;AACC,cAAA;AAAA,UACJ;AAAA,YACE,IAAI;AAAA,cACF,aAAa,MAAM,OAAO,IAAI,CAAC,UAAU,MAAM,OAAO,EAAE,KAAK,IAAI;AAAA,YACnE;AAAA,UACF;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAIA,WAAAC,2BAAA,kBAAA,IAACC,cAAc,cAAA,EAAA,GAAG,OAChB,UAAAD,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWE,SAAAA,GAAG,mCAAmC,SAAS;AAAA,QAE1D,UAAU,MAAM,aAAa,QAAQ;AAAA,QACrC,cAAc,eAAe,OAAO;AAAA,QACpC;AAAA,QAEC;AAAA,MAAA;AAAA,IAEL,EAAA,CAAA;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;AAEN,MAAA,UAAU,CACrB,QACA,UACG;AACH,QAAM,OAAOC,cAAAA,QAAiC;AAAA,IAC5C,UAAUC,MAAY,MAAM;AAAA,IAC5B,GAAG;AAAA,EAAA,CACJ;AAEK,QAAA,eAAe,KAAK,UAAU;AAC9B,QAAA,cAAc,KAAK,UAAU;AAC7B,QAAA,YAAY,KAAK,UAAU;AAC3B,QAAA,UAAU,KAAK,UAAU;AAExB,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;;;"}
1
+ {"version":3,"file":"FormBase.cjs","sources":["../../../src/components/Form/FormBase.tsx"],"sourcesContent":["'use client';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { forwardRef, type Ref, type HTMLAttributes } from 'react';\nimport {\n FormProvider,\n type FormProviderProps,\n useForm as useFormReactHookForm,\n type UseFormProps,\n} from 'react-hook-form';\nimport type { ZodType, z } from 'zod';\nimport { cn } from '../../utils/cn';\n\ntype FormProps<T extends ZodType> = HTMLAttributes<HTMLFormElement> &\n FormProviderProps<z.infer<T>> & {\n schema?: T;\n onSubmit?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitSuccess?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitError?: (error: Error) => void | Promise<void>;\n autoComplete?: boolean;\n };\n\nconst awaitFunction = async (fn: any) => {\n // Check if result is a Promise (Thenable)\n\n if (fn && typeof fn.then === 'function') {\n // It's a Promise, so wait for it to resolve\n await fn;\n }\n // If not a Promise, it will just execute without awaiting\n};\n\nexport const Form = forwardRef(\n <T extends ZodType>(\n {\n schema,\n onSubmit: onSubmitProp,\n onSubmitSuccess: onSubmitSuccessProp,\n onSubmitError: onSubmitErrorProp,\n className,\n children,\n autoComplete,\n ...props\n }: FormProps<T>,\n ref: Ref<HTMLFormElement>\n ) => {\n const onSubmit = async (values: T) => {\n const parsedValues = schema?.safeParse(values) ?? {\n success: true,\n data: undefined,\n };\n\n // onSubmitProp?.(values);\n await awaitFunction(onSubmitProp?.(values));\n\n if (parsedValues.success) {\n await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));\n } else {\n await awaitFunction(\n onSubmitErrorProp?.(\n new Error(\n parsedValues.error.errors.map((error) => error.message).join(', ')\n )\n )\n );\n }\n };\n\n return (\n <FormProvider {...props}>\n <form\n className={cn('flex size-full flex-col gap-y-6', className)}\n onSubmit={props.handleSubmit(onSubmit)}\n autoComplete={autoComplete ? 'on' : 'off'}\n ref={ref}\n >\n {children}\n </form>\n </FormProvider>\n );\n }\n);\n\nForm.displayName = 'Form';\n\nexport const useForm = <T extends ZodType>(\n schema: T,\n props?: UseFormProps<z.infer<T>>\n) => {\n const form = useFormReactHookForm<z.infer<T>>({\n resolver: zodResolver(schema),\n ...props,\n });\n\n const isSubmitting = form.formState.isSubmitting;\n const isSubmitted = form.formState.isSubmitted;\n const isLoading = form.formState.isLoading;\n const isValid = form.formState.isValid;\n\n return {\n form,\n isSubmitting,\n isSubmitted,\n isLoading,\n isValid,\n };\n};\n"],"names":["forwardRef","jsx","FormProvider","cn","useFormReactHookForm","zodResolver"],"mappings":";;;;;;;;AAuBA,MAAM,gBAAgB,OAAO,OAAY;AAGvC,MAAI,MAAM,OAAO,GAAG,SAAS,YAAY;AAEjC,UAAA;AAAA,EACR;AAEF;AAEO,MAAM,OAAOA,WAAA;AAAA,EAClB,CACE;AAAA,IACE;AAAA,IACA,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACG,UAAA,WAAW,OAAO,WAAc;AACpC,YAAM,eAAe,QAAQ,UAAU,MAAM,KAAK;AAAA,QAChD,SAAS;AAAA,QACT,MAAM;AAAA,MAAA;AAIF,YAAA,cAAc,eAAe,MAAM,CAAC;AAE1C,UAAI,aAAa,SAAS;AACxB,cAAM,cAAc,sBAAsB,aAAa,IAAI,CAAC;AAAA,MAAA,OACvD;AACC,cAAA;AAAA,UACJ;AAAA,YACE,IAAI;AAAA,cACF,aAAa,MAAM,OAAO,IAAI,CAAC,UAAU,MAAM,OAAO,EAAE,KAAK,IAAI;AAAA,YACnE;AAAA,UACF;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAIA,WAAAC,2BAAA,kBAAA,IAACC,cAAc,cAAA,EAAA,GAAG,OAChB,UAAAD,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAWE,SAAAA,GAAG,mCAAmC,SAAS;AAAA,QAC1D,UAAU,MAAM,aAAa,QAAQ;AAAA,QACrC,cAAc,eAAe,OAAO;AAAA,QACpC;AAAA,QAEC;AAAA,MAAA;AAAA,IAEL,EAAA,CAAA;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;AAEN,MAAA,UAAU,CACrB,QACA,UACG;AACH,QAAM,OAAOC,cAAAA,QAAiC;AAAA,IAC5C,UAAUC,MAAY,MAAM;AAAA,IAC5B,GAAG;AAAA,EAAA,CACJ;AAEK,QAAA,eAAe,KAAK,UAAU;AAC9B,QAAA,cAAc,KAAK,UAAU;AAC7B,QAAA,YAAY,KAAK,UAAU;AAC3B,QAAA,UAAU,KAAK,UAAU;AAExB,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;;;"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { UseFormProps } from 'react-hook-form';
3
3
  import { ZodType, z } from 'zod';
4
-
5
4
  export declare const Form: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLFormElement> & {
6
5
  children: React.ReactNode | React.ReactNode[];
7
6
  } & import('react-hook-form').UseFormReturn<any, any, undefined> & {
8
- schema: ZodType<any, z.ZodTypeDef, any>;
7
+ schema?: ZodType<any, z.ZodTypeDef, any> | undefined;
9
8
  onSubmit?: ((data: any) => void | Promise<void>) | undefined;
10
9
  onSubmitSuccess?: ((data: any) => void | Promise<void>) | undefined;
11
10
  onSubmitError?: (error: Error) => void | Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"FormBase.d.ts","sourceRoot":"","sources":["../../../src/components/Form/FormBase.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBtC,eAAO,MAAM,IAAI;oBAyEk+uB,SAAS,SAAS,SAAS;;;+BAzFz+uB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;sCACb,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;oBAC5C,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;mBACvC,OAAO;mDA4DzB,CAAC;AAIF,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,OAAO,UAC/B,CAAC,UACD,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;;;;;;CAmBjC,CAAC"}
1
+ {"version":3,"file":"FormBase.d.ts","sourceRoot":"","sources":["../../../src/components/Form/FormBase.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBtC,eAAO,MAAM,IAAI;oBA2Eo+uB,SAAS,SAAS,SAAS;;;+BA3F3+uB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;sCACb,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;oBAC5C,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;mBACvC,OAAO;mDA8DzB,CAAC;AAIF,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,OAAO,UAC/B,CAAC,UACD,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;;;;;;CAmBjC,CAAC"}
@@ -21,7 +21,10 @@ const Form = forwardRef(
21
21
  ...props
22
22
  }, ref) => {
23
23
  const onSubmit = async (values) => {
24
- const parsedValues = schema.safeParse(values);
24
+ const parsedValues = schema?.safeParse(values) ?? {
25
+ success: true,
26
+ data: void 0
27
+ };
25
28
  await awaitFunction(onSubmitProp?.(values));
26
29
  if (parsedValues.success) {
27
30
  await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));
@@ -1 +1 @@
1
- {"version":3,"file":"FormBase.mjs","sources":["../../../src/components/Form/FormBase.tsx"],"sourcesContent":["'use client';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { forwardRef, type Ref, type HTMLAttributes } from 'react';\nimport {\n FormProvider,\n type FormProviderProps,\n useForm as useFormReactHookForm,\n type UseFormProps,\n} from 'react-hook-form';\nimport type { ZodType, z } from 'zod';\nimport { cn } from '../../utils/cn';\n\ntype FormProps<T extends ZodType> = HTMLAttributes<HTMLFormElement> &\n FormProviderProps<z.infer<T>> & {\n schema: T;\n onSubmit?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitSuccess?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitError?: (error: Error) => void | Promise<void>;\n autoComplete?: boolean;\n };\n\nconst awaitFunction = async (fn: any) => {\n // Check if result is a Promise (Thenable)\n\n if (fn && typeof fn.then === 'function') {\n // It's a Promise, so wait for it to resolve\n await fn;\n }\n // If not a Promise, it will just execute without awaiting\n};\n\nexport const Form = forwardRef(\n <T extends ZodType>(\n {\n schema,\n onSubmit: onSubmitProp,\n onSubmitSuccess: onSubmitSuccessProp,\n onSubmitError: onSubmitErrorProp,\n className,\n children,\n autoComplete,\n ...props\n }: FormProps<T>,\n ref: Ref<HTMLFormElement>\n ) => {\n const onSubmit = async (values: T) => {\n const parsedValues = schema.safeParse(values);\n\n // onSubmitProp?.(values);\n await awaitFunction(onSubmitProp?.(values));\n\n if (parsedValues.success) {\n await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));\n } else {\n await awaitFunction(\n onSubmitErrorProp?.(\n new Error(\n parsedValues.error.errors.map((error) => error.message).join(', ')\n )\n )\n );\n }\n };\n\n return (\n <FormProvider {...props}>\n <form\n className={cn('flex size-full flex-col gap-y-6', className)}\n // eslint-disable-next-line sonarjs/no-misused-promises\n onSubmit={props.handleSubmit(onSubmit)}\n autoComplete={autoComplete ? 'on' : 'off'}\n ref={ref}\n >\n {children}\n </form>\n </FormProvider>\n );\n }\n);\n\nForm.displayName = 'Form';\n\nexport const useForm = <T extends ZodType>(\n schema: T,\n props?: UseFormProps<z.infer<T>>\n) => {\n const form = useFormReactHookForm<z.infer<T>>({\n resolver: zodResolver(schema),\n ...props,\n });\n\n const isSubmitting = form.formState.isSubmitting;\n const isSubmitted = form.formState.isSubmitted;\n const isLoading = form.formState.isLoading;\n const isValid = form.formState.isValid;\n\n return {\n form,\n isSubmitting,\n isSubmitted,\n isLoading,\n isValid,\n };\n};\n"],"names":["jsx","useFormReactHookForm","zodResolver"],"mappings":";;;;;;AAuBA,MAAM,gBAAgB,OAAO,OAAY;AAGvC,MAAI,MAAM,OAAO,GAAG,SAAS,YAAY;AAEjC,UAAA;AAAA,EACR;AAEF;AAEO,MAAM,OAAO;AAAA,EAClB,CACE;AAAA,IACE;AAAA,IACA,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACG,UAAA,WAAW,OAAO,WAAc;AAC9B,YAAA,eAAe,OAAO,UAAU,MAAM;AAGtC,YAAA,cAAc,eAAe,MAAM,CAAC;AAE1C,UAAI,aAAa,SAAS;AACxB,cAAM,cAAc,sBAAsB,aAAa,IAAI,CAAC;AAAA,MAAA,OACvD;AACC,cAAA;AAAA,UACJ;AAAA,YACE,IAAI;AAAA,cACF,aAAa,MAAM,OAAO,IAAI,CAAC,UAAU,MAAM,OAAO,EAAE,KAAK,IAAI;AAAA,YACnE;AAAA,UACF;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAIA,WAAAA,kCAAA,IAAC,cAAc,EAAA,GAAG,OAChB,UAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,GAAG,mCAAmC,SAAS;AAAA,QAE1D,UAAU,MAAM,aAAa,QAAQ;AAAA,QACrC,cAAc,eAAe,OAAO;AAAA,QACpC;AAAA,QAEC;AAAA,MAAA;AAAA,IAEL,EAAA,CAAA;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;AAEN,MAAA,UAAU,CACrB,QACA,UACG;AACH,QAAM,OAAOC,UAAiC;AAAA,IAC5C,UAAUC,EAAY,MAAM;AAAA,IAC5B,GAAG;AAAA,EAAA,CACJ;AAEK,QAAA,eAAe,KAAK,UAAU;AAC9B,QAAA,cAAc,KAAK,UAAU;AAC7B,QAAA,YAAY,KAAK,UAAU;AAC3B,QAAA,UAAU,KAAK,UAAU;AAExB,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"FormBase.mjs","sources":["../../../src/components/Form/FormBase.tsx"],"sourcesContent":["'use client';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { forwardRef, type Ref, type HTMLAttributes } from 'react';\nimport {\n FormProvider,\n type FormProviderProps,\n useForm as useFormReactHookForm,\n type UseFormProps,\n} from 'react-hook-form';\nimport type { ZodType, z } from 'zod';\nimport { cn } from '../../utils/cn';\n\ntype FormProps<T extends ZodType> = HTMLAttributes<HTMLFormElement> &\n FormProviderProps<z.infer<T>> & {\n schema?: T;\n onSubmit?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitSuccess?: (data: z.infer<T>) => void | Promise<void>;\n onSubmitError?: (error: Error) => void | Promise<void>;\n autoComplete?: boolean;\n };\n\nconst awaitFunction = async (fn: any) => {\n // Check if result is a Promise (Thenable)\n\n if (fn && typeof fn.then === 'function') {\n // It's a Promise, so wait for it to resolve\n await fn;\n }\n // If not a Promise, it will just execute without awaiting\n};\n\nexport const Form = forwardRef(\n <T extends ZodType>(\n {\n schema,\n onSubmit: onSubmitProp,\n onSubmitSuccess: onSubmitSuccessProp,\n onSubmitError: onSubmitErrorProp,\n className,\n children,\n autoComplete,\n ...props\n }: FormProps<T>,\n ref: Ref<HTMLFormElement>\n ) => {\n const onSubmit = async (values: T) => {\n const parsedValues = schema?.safeParse(values) ?? {\n success: true,\n data: undefined,\n };\n\n // onSubmitProp?.(values);\n await awaitFunction(onSubmitProp?.(values));\n\n if (parsedValues.success) {\n await awaitFunction(onSubmitSuccessProp?.(parsedValues.data));\n } else {\n await awaitFunction(\n onSubmitErrorProp?.(\n new Error(\n parsedValues.error.errors.map((error) => error.message).join(', ')\n )\n )\n );\n }\n };\n\n return (\n <FormProvider {...props}>\n <form\n className={cn('flex size-full flex-col gap-y-6', className)}\n onSubmit={props.handleSubmit(onSubmit)}\n autoComplete={autoComplete ? 'on' : 'off'}\n ref={ref}\n >\n {children}\n </form>\n </FormProvider>\n );\n }\n);\n\nForm.displayName = 'Form';\n\nexport const useForm = <T extends ZodType>(\n schema: T,\n props?: UseFormProps<z.infer<T>>\n) => {\n const form = useFormReactHookForm<z.infer<T>>({\n resolver: zodResolver(schema),\n ...props,\n });\n\n const isSubmitting = form.formState.isSubmitting;\n const isSubmitted = form.formState.isSubmitted;\n const isLoading = form.formState.isLoading;\n const isValid = form.formState.isValid;\n\n return {\n form,\n isSubmitting,\n isSubmitted,\n isLoading,\n isValid,\n };\n};\n"],"names":["jsx","useFormReactHookForm","zodResolver"],"mappings":";;;;;;AAuBA,MAAM,gBAAgB,OAAO,OAAY;AAGvC,MAAI,MAAM,OAAO,GAAG,SAAS,YAAY;AAEjC,UAAA;AAAA,EACR;AAEF;AAEO,MAAM,OAAO;AAAA,EAClB,CACE;AAAA,IACE;AAAA,IACA,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AACG,UAAA,WAAW,OAAO,WAAc;AACpC,YAAM,eAAe,QAAQ,UAAU,MAAM,KAAK;AAAA,QAChD,SAAS;AAAA,QACT,MAAM;AAAA,MAAA;AAIF,YAAA,cAAc,eAAe,MAAM,CAAC;AAE1C,UAAI,aAAa,SAAS;AACxB,cAAM,cAAc,sBAAsB,aAAa,IAAI,CAAC;AAAA,MAAA,OACvD;AACC,cAAA;AAAA,UACJ;AAAA,YACE,IAAI;AAAA,cACF,aAAa,MAAM,OAAO,IAAI,CAAC,UAAU,MAAM,OAAO,EAAE,KAAK,IAAI;AAAA,YACnE;AAAA,UACF;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAIA,WAAAA,kCAAA,IAAC,cAAc,EAAA,GAAG,OAChB,UAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,GAAG,mCAAmC,SAAS;AAAA,QAC1D,UAAU,MAAM,aAAa,QAAQ;AAAA,QACrC,cAAc,eAAe,OAAO;AAAA,QACpC;AAAA,QAEC;AAAA,MAAA;AAAA,IAEL,EAAA,CAAA;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;AAEN,MAAA,UAAU,CACrB,QACA,UACG;AACH,QAAM,OAAOC,UAAiC;AAAA,IAC5C,UAAUC,EAAY,MAAM;AAAA,IAC5B,GAAG;AAAA,EAAA,CACJ;AAEK,QAAA,eAAe,KAAK,UAAU;AAC9B,QAAA,cAAc,KAAK,UAAU;AAC7B,QAAA,YAAY,KAAK,UAAU;AAC3B,QAAA,UAAU,KAAK,UAAU;AAExB,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;"}
@@ -1,4 +1,3 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export declare const FormDescription: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
4
3
  //# sourceMappingURL=FormDescription.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
2
-
3
2
  export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
4
3
  export declare const useFormField: () => {
5
4
  invalid: boolean;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export declare const FormItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
4
3
  type FormItemContextValue = {
5
4
  id: string;
@@ -1,4 +1,3 @@
1
1
  import { FC, HTMLAttributes } from 'react';
2
-
3
2
  export declare const FormMessage: FC<HTMLAttributes<HTMLParagraphElement>>;
4
3
  //# sourceMappingURL=FormMessage.d.ts.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ require("../../../jsx-runtime-DvCoRj5u.cjs");
4
+ require("react");
5
+ require("../../Input/Input.cjs");
6
+ require("../../Input/InputPassword.cjs");
7
+ require("../../Input/Checkbox.cjs");
8
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
9
+ exports.CheckboxElement = components_Form_layout_FormItemLayout.CheckboxElement;
10
+ //# sourceMappingURL=CheckboxElement.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxElement.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,10 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Checkbox } from '../../Input';
3
+ import { FormElementProps } from './FormElement';
4
+ type CheckboxElementProps = Omit<FormElementProps<typeof Checkbox>, 'Element'> & ComponentProps<typeof Checkbox> & {
5
+ name: string;
6
+ inputLabel?: string;
7
+ };
8
+ export declare const CheckboxElement: FC<CheckboxElementProps>;
9
+ export {};
10
+ //# sourceMappingURL=CheckboxElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/CheckboxElement.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAE9D,KAAK,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,QAAQ,CAAC,EAAE,SAAS,CAAC,GAC5E,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAcJ,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAapD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import "../../../jsx-runtime-BgSF1HG2.js";
2
+ import "react";
3
+ import "../../Input/Input.mjs";
4
+ import "../../Input/InputPassword.mjs";
5
+ import "../../Input/Checkbox.mjs";
6
+ import { C } from "../../../Form-DyFBmVya.js";
7
+ export {
8
+ C as CheckboxElement
9
+ };
10
+ //# sourceMappingURL=CheckboxElement.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxElement.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("../../EditableField/EditableFieldInput.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
6
6
  exports.EditableFieldInputElement = components_Form_layout_FormItemLayout.EditableFieldInputElement;
7
7
  //# sourceMappingURL=EditableFieldInputElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { EditableFieldInput } from '../../EditableField/EditableFieldInput';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type EditableFieldInputElementProps = Omit<FormElementProps<typeof EditableFieldInput>, 'Element'> & Omit<ComponentProps<typeof EditableFieldInput>, 'onChange'> & {
6
5
  name: string;
7
6
  description?: string;
@@ -1,6 +1,6 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "../../EditableField/EditableFieldInput.mjs";
3
- import { E } from "../../../Form-Cbu7ff1e.js";
3
+ import { E } from "../../../Form-DyFBmVya.js";
4
4
  export {
5
5
  E as EditableFieldInputElement
6
6
  };
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("../../EditableField/EditableFieldTextArea.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
6
6
  exports.EditableFieldTextAreaElement = components_Form_layout_FormItemLayout.EditableFieldTextAreaElement;
7
7
  //# sourceMappingURL=EditableFieldTextAreaElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { EditableFieldTextArea } from '../../EditableField/EditableFieldTextArea';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type EditableFieldTextAreaElementProps = Omit<FormElementProps<typeof EditableFieldTextArea>, 'Element'> & Omit<ComponentProps<typeof EditableFieldTextArea>, 'onChange'> & {
6
5
  name: string;
7
6
  description?: string;
@@ -1,6 +1,6 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "../../EditableField/EditableFieldTextArea.mjs";
3
- import { d } from "../../../Form-Cbu7ff1e.js";
3
+ import { d } from "../../../Form-DyFBmVya.js";
4
4
  export {
5
5
  d as EditableFieldTextAreaElement
6
6
  };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("react-hook-form");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
6
6
  require("../FormField.cjs");
7
7
  require("clsx");
8
8
  require("tailwind-merge");
@@ -1,6 +1,5 @@
1
1
  import { ComponentProps, ElementType, ReactNode } from 'react';
2
2
  import { FormItemLayoutProps } from '../layout';
3
-
4
3
  export type FormElementProps<T extends ElementType> = {
5
4
  name: string;
6
5
  Element: T;
@@ -1,6 +1,6 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "react-hook-form";
3
- import { b } from "../../../Form-Cbu7ff1e.js";
3
+ import { b } from "../../../Form-DyFBmVya.js";
4
4
  import "../FormField.mjs";
5
5
  import "clsx";
6
6
  import "tailwind-merge";
@@ -1,6 +1,5 @@
1
1
  import { FC, HTMLProps } from 'react';
2
2
  import { z } from 'zod';
3
-
4
3
  type FormElementWrapperProps = HTMLProps<HTMLFormElement> & {
5
4
  schema?: z.AnyZodObject;
6
5
  values?: z.infer<z.AnyZodObject>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("../../Input/Input.cjs");
5
5
  require("../../Input/InputPassword.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
6
+ require("../../Input/Checkbox.cjs");
7
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
7
8
  exports.InputElement = components_Form_layout_FormItemLayout.InputElement;
8
9
  //# sourceMappingURL=InputElement.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"InputElement.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,10 +1,9 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { Input } from '../../../components/Input';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
- type InputElementsProps = Omit<FormElementProps<typeof Input>, 'Element'> & ComponentProps<typeof Input> & {
4
+ type InputElementProps = Omit<FormElementProps<typeof Input>, 'Element'> & ComponentProps<typeof Input> & {
6
5
  name: string;
7
6
  };
8
- export declare const InputElement: FC<InputElementsProps>;
7
+ export declare const InputElement: FC<InputElementProps>;
9
8
  export {};
10
9
  //# sourceMappingURL=InputElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputElement.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAE9D,KAAK,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,EAAE,SAAS,CAAC,GACvE,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,kBAAkB,CAO/C,CAAC"}
1
+ {"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputElement.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAE9D,KAAK,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,EAAE,SAAS,CAAC,GACtE,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAO9C,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "../../Input/Input.mjs";
3
3
  import "../../Input/InputPassword.mjs";
4
- import { I } from "../../../Form-Cbu7ff1e.js";
4
+ import "../../Input/Checkbox.mjs";
5
+ import { I } from "../../../Form-DyFBmVya.js";
5
6
  export {
6
7
  I as InputElement
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"InputElement.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("../../Input/Input.cjs");
5
5
  require("../../Input/InputPassword.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
6
+ require("../../Input/Checkbox.cjs");
7
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
7
8
  exports.InputPasswordElement = components_Form_layout_FormItemLayout.InputPasswordElement;
8
9
  //# sourceMappingURL=InputPasswordElement.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputPasswordElement.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"InputPasswordElement.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,11 +1,10 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { InputPassword } from '../../Input';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
- type InputPasswordElementsProps = Omit<FormElementProps<typeof InputPassword>, 'Element'> & ComponentProps<typeof InputPassword> & {
4
+ type InputPasswordElementProps = Omit<FormElementProps<typeof InputPassword>, 'Element'> & ComponentProps<typeof InputPassword> & {
6
5
  name: string;
7
6
  autoComplete: 'current-password' | 'new-password';
8
7
  };
9
- export declare const InputPasswordElement: FC<InputPasswordElementsProps>;
8
+ export declare const InputPasswordElement: FC<InputPasswordElementProps>;
10
9
  export {};
11
10
  //# sourceMappingURL=InputPasswordElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputPasswordElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputPasswordElement.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAE9D,KAAK,0BAA0B,GAAG,IAAI,CACpC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EACtC,SAAS,CACV,GACC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,kBAAkB,GAAG,cAAc,CAAC;CACnD,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,0BAA0B,CAa/D,CAAC"}
1
+ {"version":3,"file":"InputPasswordElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputPasswordElement.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAE9D,KAAK,yBAAyB,GAAG,IAAI,CACnC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EACtC,SAAS,CACV,GACC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,kBAAkB,GAAG,cAAc,CAAC;CACnD,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAa9D,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "../../Input/Input.mjs";
3
3
  import "../../Input/InputPassword.mjs";
4
- import { c } from "../../../Form-Cbu7ff1e.js";
4
+ import "../../Input/Checkbox.mjs";
5
+ import { c } from "../../../Form-DyFBmVya.js";
5
6
  export {
6
7
  c as InputPasswordElement
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"InputPasswordElement.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"InputPasswordElement.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("react-hook-form");
5
5
  require("../../Select/Multiselect.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.MultiSelectElement = components_Form_layout_FormItemLayout.MultiSelectElement;
9
9
  //# sourceMappingURL=MultiselectElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { MultiSelect } from '../../Select/Multiselect';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type SelectElementsProps = Omit<FormElementProps<typeof MultiSelect>, 'Element'> & ComponentProps<typeof MultiSelect> & {
6
5
  name: string;
7
6
  description?: string;
@@ -1,7 +1,7 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "react-hook-form";
3
3
  import "../../Select/Multiselect.mjs";
4
- import { M } from "../../../Form-Cbu7ff1e.js";
4
+ import { M } from "../../../Form-DyFBmVya.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  M as MultiSelectElement
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("react-hook-form");
5
5
  require("../../Select/Select.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.SelectElement = components_Form_layout_FormItemLayout.SelectElement;
9
9
  //# sourceMappingURL=SelectElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { Select } from '../../Select/Select';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type SelectElementsProps = Omit<FormElementProps<typeof Select>, 'Element'> & ComponentProps<typeof Select> & {
6
5
  name: string;
7
6
  description?: string;
@@ -1,7 +1,7 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "react-hook-form";
3
3
  import "../../Select/Select.mjs";
4
- import { S } from "../../../Form-Cbu7ff1e.js";
4
+ import { S } from "../../../Form-DyFBmVya.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  S as SelectElement
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("react-hook-form");
5
5
  require("../../SwitchSelector/index.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.SwitchSelectorElement = components_Form_layout_FormItemLayout.SwitchSelectorElement;
9
9
  //# sourceMappingURL=SwitchSelectorElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { SwitchSelector } from '../../SwitchSelector';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type SwitchSelectorElementProps = Omit<FormElementProps<typeof SwitchSelector>, 'Element'> & ComponentProps<typeof SwitchSelector> & {
6
5
  name: string;
7
6
  description?: string;
@@ -1,7 +1,7 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "react-hook-form";
3
3
  import "../../SwitchSelector/index.mjs";
4
- import { e } from "../../../Form-Cbu7ff1e.js";
4
+ import { e } from "../../../Form-DyFBmVya.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  e as SwitchSelectorElement
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
4
  require("../../TextArea/TextArea.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
6
6
  exports.TextAreaElement = components_Form_layout_FormItemLayout.TextAreaElement;
7
7
  //# sourceMappingURL=TextAreaElement.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { TextArea } from '../../TextArea/TextArea';
3
3
  import { FormElementProps } from './FormElement';
4
-
5
4
  type TextAreaElementsProps = Omit<FormElementProps<typeof TextArea>, 'Element'> & React.ComponentProps<typeof TextArea> & {
6
5
  name: string;
7
6
  };
@@ -1,6 +1,6 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
2
  import "../../TextArea/TextArea.mjs";
3
- import { T } from "../../../Form-Cbu7ff1e.js";
3
+ import { T } from "../../../Form-DyFBmVya.js";
4
4
  export {
5
5
  T as TextAreaElement
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
3
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
4
4
  exports.EditableFieldInputElement = components_Form_layout_FormItemLayout.EditableFieldInputElement;
5
5
  exports.EditableFieldTextAreaElement = components_Form_layout_FormItemLayout.EditableFieldTextAreaElement;
6
6
  exports.FormElement = components_Form_layout_FormItemLayout.FormElement;
@@ -1,4 +1,4 @@
1
- import { E, d, b, I, c, T } from "../../../Form-Cbu7ff1e.js";
1
+ import { E, d, b, I, c, T } from "../../../Form-DyFBmVya.js";
2
2
  export {
3
3
  E as EditableFieldInputElement,
4
4
  d as EditableFieldTextAreaElement,
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const components_Form_FormBase = require("./FormBase.cjs");
4
4
  const components_Form_FormField = require("./FormField.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../Form-wWTTkxTp.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../Form-DERuauvB.cjs");
6
6
  exports.useForm = components_Form_FormBase.useForm;
7
7
  exports.useFormField = components_Form_FormField.useFormField;
8
8
  exports.Form = components_Form_layout_FormItemLayout.Form;
@@ -1,6 +1,6 @@
1
1
  import { useForm } from "./FormBase.mjs";
2
2
  import { useFormField } from "./FormField.mjs";
3
- import { F } from "../../Form-Cbu7ff1e.js";
3
+ import { F } from "../../Form-DyFBmVya.js";
4
4
  export {
5
5
  F as Form,
6
6
  useForm,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../../../jsx-runtime-DvCoRj5u.cjs");
4
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
4
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
5
5
  require("./FormLabelLayout.cjs");
6
6
  exports.FormItemLayout = components_Form_layout_FormItemLayout.FormItemLayout;
7
7
  //# sourceMappingURL=FormItemLayout.cjs.map
@@ -1,8 +1,7 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { FormLabelLayoutProps } from './FormLabelLayout';
3
-
4
3
  export type FormItemLayoutProps = Omit<FormLabelLayoutProps, 'children'> & {
5
- label: ReactNode;
4
+ label?: ReactNode;
6
5
  description?: ReactNode;
7
6
  children: ReactNode;
8
7
  showErrorMessage?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"FormItemLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/layout/FormItemLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,GAAG;IACzE,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAoBlD,CAAC"}
1
+ {"version":3,"file":"FormItemLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/layout/FormItemLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,GAAG;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAoBlD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import "../../../jsx-runtime-BgSF1HG2.js";
2
- import { a } from "../../../Form-Cbu7ff1e.js";
2
+ import { a } from "../../../Form-DyFBmVya.js";
3
3
  import "./FormLabelLayout.mjs";
4
4
  export {
5
5
  a as FormItemLayout
@@ -1,5 +1,4 @@
1
1
  import { FC, ReactNode } from 'react';
2
-
3
2
  export type FormLabelLayoutProps = {
4
3
  children?: ReactNode;
5
4
  isRequired?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
-
3
2
  type RequiredStarProps = {
4
3
  isRequired?: boolean;
5
4
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_Form_layout_FormItemLayout = require("../../../Form-wWTTkxTp.cjs");
3
+ const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
4
4
  const components_Form_layout_FormLabelLayout = require("./FormLabelLayout.cjs");
5
5
  exports.FormItemLayout = components_Form_layout_FormItemLayout.FormItemLayout;
6
6
  exports.FormLabelLayout = components_Form_layout_FormLabelLayout.FormLabelLayout;
@@ -1,4 +1,4 @@
1
- import { a } from "../../../Form-Cbu7ff1e.js";
1
+ import { a } from "../../../Form-DyFBmVya.js";
2
2
  import { FormLabelLayout } from "./FormLabelLayout.mjs";
3
3
  export {
4
4
  a as FormItemLayout,
@@ -1,5 +1,4 @@
1
1
  import { FC, HTMLAttributes } from 'react';
2
-
3
2
  type HeadingProps = HTMLAttributes<HTMLHeadingElement> & {
4
3
  isClickable?: boolean;
5
4
  };