@intlayer/design-system 3.5.5 → 3.5.7

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 (482) hide show
  1. package/dist/.vite/manifest.json +297 -54
  2. package/dist/CodeBlockShiki-BlmZyrr7.cjs +29 -0
  3. package/dist/CodeBlockShiki-BlmZyrr7.cjs.map +1 -0
  4. package/dist/CodeBlockShiki-CcpV9SVi.js +29 -0
  5. package/dist/CodeBlockShiki-CcpV9SVi.js.map +1 -0
  6. package/dist/Form-0D7KBafQ.cjs +311 -0
  7. package/dist/Form-0D7KBafQ.cjs.map +1 -0
  8. package/dist/Form-7BqwvjVI.cjs +320 -0
  9. package/dist/Form-7BqwvjVI.cjs.map +1 -0
  10. package/dist/Form-B2UufQRJ.cjs +319 -0
  11. package/dist/Form-B2UufQRJ.cjs.map +1 -0
  12. package/dist/Form-BB0kpER9.cjs +301 -0
  13. package/dist/Form-BB0kpER9.cjs.map +1 -0
  14. package/dist/Form-BDcoNTLV.cjs.map +1 -1
  15. package/dist/Form-BTogr-fp.js +312 -0
  16. package/dist/Form-BTogr-fp.js.map +1 -0
  17. package/dist/Form-BVkkvSKP.js +312 -0
  18. package/dist/Form-BVkkvSKP.js.map +1 -0
  19. package/dist/Form-Be6Uhb5-.js +312 -0
  20. package/dist/Form-Be6Uhb5-.js.map +1 -0
  21. package/dist/Form-BmQQnl-6.js +312 -0
  22. package/dist/Form-BmQQnl-6.js.map +1 -0
  23. package/dist/Form-Bp_ubH9I.cjs +311 -0
  24. package/dist/Form-Bp_ubH9I.cjs.map +1 -0
  25. package/dist/Form-BtqRbgLu.cjs +311 -0
  26. package/dist/Form-BtqRbgLu.cjs.map +1 -0
  27. package/dist/Form-COVZyto7.cjs +311 -0
  28. package/dist/Form-COVZyto7.cjs.map +1 -0
  29. package/dist/Form-CVD_3nCD.js +312 -0
  30. package/dist/Form-CVD_3nCD.js.map +1 -0
  31. package/dist/Form-Cfklj1_H.js +320 -0
  32. package/dist/Form-Cfklj1_H.js.map +1 -0
  33. package/dist/Form-ClAAiVNm.cjs +311 -0
  34. package/dist/Form-ClAAiVNm.cjs.map +1 -0
  35. package/dist/Form-DGLgTAdY.js +302 -0
  36. package/dist/Form-DGLgTAdY.js.map +1 -0
  37. package/dist/Form-DhsgC7kB.js.map +1 -1
  38. package/dist/Form-OK9zfg6E.js +321 -0
  39. package/dist/Form-OK9zfg6E.js.map +1 -0
  40. package/dist/components/Accordion/Accordion.cjs +7 -15
  41. package/dist/components/Accordion/Accordion.cjs.map +1 -1
  42. package/dist/components/Accordion/Accordion.d.ts +0 -1
  43. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  44. package/dist/components/Accordion/Accordion.mjs +8 -16
  45. package/dist/components/Accordion/Accordion.mjs.map +1 -1
  46. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +1 -1
  47. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +1 -1
  48. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +1 -1
  49. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +1 -1
  50. package/dist/components/Auth/SignInForm/SignInForm.cjs +1 -1
  51. package/dist/components/Auth/SignInForm/SignInForm.mjs +1 -1
  52. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +1 -1
  53. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +1 -1
  54. package/dist/components/Auth/SignUpForm/signUpForm.content.d.ts +11 -11
  55. package/dist/components/Breadcrumb/index.cjs +5 -2
  56. package/dist/components/Breadcrumb/index.cjs.map +1 -1
  57. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  58. package/dist/components/Breadcrumb/index.mjs +5 -2
  59. package/dist/components/Breadcrumb/index.mjs.map +1 -1
  60. package/dist/components/Button/Button.cjs +47 -25
  61. package/dist/components/Button/Button.cjs.map +1 -1
  62. package/dist/components/Button/Button.d.ts +2 -0
  63. package/dist/components/Button/Button.d.ts.map +1 -1
  64. package/dist/components/Button/Button.mjs +47 -25
  65. package/dist/components/Button/Button.mjs.map +1 -1
  66. package/dist/components/ClickOutsideDiv/index.cjs +26 -0
  67. package/dist/components/ClickOutsideDiv/index.cjs.map +1 -0
  68. package/dist/components/ClickOutsideDiv/index.d.ts +6 -0
  69. package/dist/components/ClickOutsideDiv/index.d.ts.map +1 -0
  70. package/dist/components/ClickOutsideDiv/index.mjs +26 -0
  71. package/dist/components/ClickOutsideDiv/index.mjs.map +1 -0
  72. package/dist/components/Container/index.cjs +1 -1
  73. package/dist/components/Container/index.cjs.map +1 -1
  74. package/dist/components/Container/index.mjs +1 -1
  75. package/dist/components/Container/index.mjs.map +1 -1
  76. package/dist/components/ContentEditor/ContentEditorCode.cjs +78 -0
  77. package/dist/components/ContentEditor/ContentEditorCode.cjs.map +1 -0
  78. package/dist/components/ContentEditor/ContentEditorCode.d.ts +11 -0
  79. package/dist/components/ContentEditor/ContentEditorCode.d.ts.map +1 -0
  80. package/dist/components/ContentEditor/ContentEditorCode.mjs +78 -0
  81. package/dist/components/ContentEditor/ContentEditorCode.mjs.map +1 -0
  82. package/dist/components/ContentEditor/ContentEditorTextArea.cjs +30 -26
  83. package/dist/components/ContentEditor/ContentEditorTextArea.cjs.map +1 -1
  84. package/dist/components/ContentEditor/ContentEditorTextArea.d.ts +2 -1
  85. package/dist/components/ContentEditor/ContentEditorTextArea.d.ts.map +1 -1
  86. package/dist/components/ContentEditor/ContentEditorTextArea.mjs +30 -26
  87. package/dist/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -1
  88. package/dist/components/CopyToClipboard/index.cjs +1 -1
  89. package/dist/components/CopyToClipboard/index.cjs.map +1 -1
  90. package/dist/components/CopyToClipboard/index.d.ts.map +1 -1
  91. package/dist/components/CopyToClipboard/index.mjs +1 -1
  92. package/dist/components/CopyToClipboard/index.mjs.map +1 -1
  93. package/dist/components/DictionaryEditor/ItemLayout.cjs +0 -1
  94. package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -1
  95. package/dist/components/DictionaryEditor/ItemLayout.d.ts.map +1 -1
  96. package/dist/components/DictionaryEditor/ItemLayout.mjs +0 -1
  97. package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
  98. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +4 -4
  99. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
  100. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +4 -4
  101. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
  102. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +5 -3
  103. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
  104. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +2 -0
  105. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
  106. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +5 -3
  107. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
  108. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +1 -1
  109. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  110. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +162 -70
  111. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  112. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  113. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +164 -72
  114. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  115. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +123 -0
  116. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  117. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +14 -0
  118. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  119. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +123 -0
  120. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  121. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +9 -2
  122. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
  123. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +15 -0
  124. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -1
  125. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +1 -0
  126. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  127. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +15 -0
  128. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
  129. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +6 -0
  130. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
  131. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +9 -2
  132. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
  133. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +13 -5
  134. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  135. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +2 -0
  136. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  137. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +13 -5
  138. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  139. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +8 -6
  140. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
  141. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts +2 -0
  142. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -1
  143. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +8 -6
  144. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -1
  145. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +129 -66
  146. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
  147. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts +4 -2
  148. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts.map +1 -1
  149. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +128 -65
  150. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
  151. package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +1 -1
  152. package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
  153. package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelector.d.ts +8 -0
  154. package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelector.d.ts.map +1 -0
  155. package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelectorContext.d.ts +13 -0
  156. package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelectorContext.d.ts.map +1 -0
  157. package/dist/components/DictionaryFieldEditor/LocaleSelector/localeSelector.content.d.ts +9 -0
  158. package/dist/components/DictionaryFieldEditor/LocaleSelector/localeSelector.content.d.ts.map +1 -0
  159. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +15 -19
  160. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
  161. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
  162. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +15 -19
  163. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  164. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +24 -11
  165. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
  166. package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts +2 -0
  167. package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
  168. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +24 -11
  169. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
  170. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +2 -2
  171. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
  172. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -2
  173. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
  174. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +3 -5
  175. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  176. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  177. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +4 -6
  178. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  179. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +13 -13
  180. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  181. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +13 -13
  182. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  183. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +73 -0
  184. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -0
  185. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts +7 -0
  186. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts.map +1 -0
  187. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +73 -0
  188. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -0
  189. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +37 -0
  190. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs.map +1 -0
  191. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts +14 -0
  192. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts.map +1 -0
  193. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +37 -0
  194. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs.map +1 -0
  195. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.cjs +8 -0
  196. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.cjs.map +1 -0
  197. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.d.ts +3 -0
  198. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.d.ts.map +1 -0
  199. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.mjs +8 -0
  200. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/index.mjs.map +1 -0
  201. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs +54 -0
  202. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs.map +1 -0
  203. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +10 -0
  204. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -0
  205. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs +55 -0
  206. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs.map +1 -0
  207. package/dist/components/DictionaryFieldEditor/index.cjs +5 -0
  208. package/dist/components/DictionaryFieldEditor/index.cjs.map +1 -1
  209. package/dist/components/DictionaryFieldEditor/index.d.ts +1 -0
  210. package/dist/components/DictionaryFieldEditor/index.d.ts.map +1 -1
  211. package/dist/components/DictionaryFieldEditor/index.mjs +6 -1
  212. package/dist/components/DictionaryFieldEditor/index.mjs.map +1 -1
  213. package/dist/components/EditableField/EditableFieldInput.cjs +5 -1
  214. package/dist/components/EditableField/EditableFieldInput.cjs.map +1 -1
  215. package/dist/components/EditableField/EditableFieldInput.d.ts.map +1 -1
  216. package/dist/components/EditableField/EditableFieldInput.mjs +6 -2
  217. package/dist/components/EditableField/EditableFieldInput.mjs.map +1 -1
  218. package/dist/components/EditableField/EditableFieldTextArea.cjs +2 -8
  219. package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
  220. package/dist/components/EditableField/EditableFieldTextArea.d.ts.map +1 -1
  221. package/dist/components/EditableField/EditableFieldTextArea.mjs +2 -8
  222. package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
  223. package/dist/components/Form/Form.cjs +1 -1
  224. package/dist/components/Form/Form.d.ts +2 -0
  225. package/dist/components/Form/Form.d.ts.map +1 -1
  226. package/dist/components/Form/Form.mjs +1 -1
  227. package/dist/components/Form/FormLabel.cjs +6 -2
  228. package/dist/components/Form/FormLabel.cjs.map +1 -1
  229. package/dist/components/Form/FormLabel.d.ts.map +1 -1
  230. package/dist/components/Form/FormLabel.mjs +6 -2
  231. package/dist/components/Form/FormLabel.mjs.map +1 -1
  232. package/dist/components/Form/elements/AutoSizeTextAreaElement.cjs +7 -0
  233. package/dist/components/Form/elements/AutoSizeTextAreaElement.cjs.map +1 -0
  234. package/dist/components/Form/elements/AutoSizeTextAreaElement.d.ts +9 -0
  235. package/dist/components/Form/elements/AutoSizeTextAreaElement.d.ts.map +1 -0
  236. package/dist/components/Form/elements/AutoSizeTextAreaElement.mjs +7 -0
  237. package/dist/components/Form/elements/AutoSizeTextAreaElement.mjs.map +1 -0
  238. package/dist/components/Form/elements/CheckboxElement.cjs +1 -1
  239. package/dist/components/Form/elements/CheckboxElement.mjs +1 -1
  240. package/dist/components/Form/elements/EditableFieldInputElement.cjs +1 -1
  241. package/dist/components/Form/elements/EditableFieldInputElement.d.ts +1 -1
  242. package/dist/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
  243. package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
  244. package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +1 -1
  245. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +1 -1
  246. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  247. package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
  248. package/dist/components/Form/elements/FormElement.cjs +1 -1
  249. package/dist/components/Form/elements/FormElement.mjs +1 -1
  250. package/dist/components/Form/elements/InputElement.cjs +1 -1
  251. package/dist/components/Form/elements/InputElement.mjs +1 -1
  252. package/dist/components/Form/elements/InputPasswordElement.cjs +1 -1
  253. package/dist/components/Form/elements/InputPasswordElement.mjs +1 -1
  254. package/dist/components/Form/elements/MultiselectElement.cjs +1 -1
  255. package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
  256. package/dist/components/Form/elements/SelectElement.cjs +1 -1
  257. package/dist/components/Form/elements/SelectElement.d.ts.map +1 -1
  258. package/dist/components/Form/elements/SelectElement.mjs +1 -1
  259. package/dist/components/Form/elements/SwitchSelectorElement.cjs +1 -1
  260. package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
  261. package/dist/components/Form/elements/TextAreaElement.cjs +1 -1
  262. package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
  263. package/dist/components/Form/elements/index.cjs +1 -1
  264. package/dist/components/Form/elements/index.mjs +1 -1
  265. package/dist/components/Form/index.cjs +1 -1
  266. package/dist/components/Form/index.mjs +1 -1
  267. package/dist/components/Form/layout/FormItemLayout.cjs +1 -1
  268. package/dist/components/Form/layout/FormItemLayout.d.ts.map +1 -1
  269. package/dist/components/Form/layout/FormItemLayout.mjs +1 -1
  270. package/dist/components/Form/layout/index.cjs +1 -1
  271. package/dist/components/Form/layout/index.mjs +1 -1
  272. package/dist/components/IDE/Code.cjs +77 -0
  273. package/dist/components/IDE/Code.cjs.map +1 -0
  274. package/dist/components/IDE/Code.d.ts +18 -0
  275. package/dist/components/IDE/Code.d.ts.map +1 -0
  276. package/dist/components/IDE/Code.mjs +77 -0
  277. package/dist/components/IDE/Code.mjs.map +1 -0
  278. package/dist/components/IDE/CodeBlock.cjs +54 -0
  279. package/dist/components/IDE/CodeBlock.cjs.map +1 -0
  280. package/dist/components/IDE/CodeBlock.d.ts +12 -0
  281. package/dist/components/IDE/CodeBlock.d.ts.map +1 -0
  282. package/dist/components/IDE/CodeBlock.mjs +54 -0
  283. package/dist/components/IDE/CodeBlock.mjs.map +1 -0
  284. package/dist/components/IDE/CodeBlockClient.cjs +55 -0
  285. package/dist/components/IDE/CodeBlockClient.cjs.map +1 -0
  286. package/dist/components/IDE/CodeBlockClient.mjs +55 -0
  287. package/dist/components/IDE/CodeBlockClient.mjs.map +1 -0
  288. package/dist/components/IDE/CodeBlockLoader.cjs +28 -0
  289. package/dist/components/IDE/CodeBlockLoader.cjs.map +1 -0
  290. package/dist/components/IDE/CodeBlockLoader.d.ts +4 -0
  291. package/dist/components/IDE/CodeBlockLoader.d.ts.map +1 -0
  292. package/dist/components/IDE/CodeBlockLoader.mjs +28 -0
  293. package/dist/components/IDE/CodeBlockLoader.mjs.map +1 -0
  294. package/dist/components/IDE/CodeBlockServer.cjs +53 -0
  295. package/dist/components/IDE/CodeBlockServer.cjs.map +1 -0
  296. package/dist/components/IDE/CodeBlockServer.d.ts +12 -0
  297. package/dist/components/IDE/CodeBlockServer.d.ts.map +1 -0
  298. package/dist/components/IDE/CodeBlockServer.mjs +53 -0
  299. package/dist/components/IDE/CodeBlockServer.mjs.map +1 -0
  300. package/dist/components/IDE/CodeBlockShiki.d.ts +3 -0
  301. package/dist/components/IDE/CodeBlockShiki.d.ts.map +1 -0
  302. package/dist/components/IDE/CodeBlockclient.d.ts +12 -0
  303. package/dist/components/IDE/CodeBlockclient.d.ts.map +1 -0
  304. package/dist/components/IDE/CodeConditionalRenderer.cjs +20 -0
  305. package/dist/components/IDE/CodeConditionalRenderer.cjs.map +1 -0
  306. package/dist/components/IDE/CodeConditionalRenderer.d.ts +4 -0
  307. package/dist/components/IDE/CodeConditionalRenderer.d.ts.map +1 -0
  308. package/dist/components/IDE/CodeConditionalRenderer.mjs +20 -0
  309. package/dist/components/IDE/CodeConditionalRenderer.mjs.map +1 -0
  310. package/dist/components/IDE/CodeContext.cjs +57 -0
  311. package/dist/components/IDE/CodeContext.cjs.map +1 -0
  312. package/dist/components/IDE/CodeContext.d.ts +26 -0
  313. package/dist/components/IDE/CodeContext.d.ts.map +1 -0
  314. package/dist/components/IDE/CodeContext.mjs +57 -0
  315. package/dist/components/IDE/CodeContext.mjs.map +1 -0
  316. package/dist/components/IDE/CodeFormatSelector.cjs +30 -0
  317. package/dist/components/IDE/CodeFormatSelector.cjs.map +1 -0
  318. package/dist/components/IDE/CodeFormatSelector.d.ts +3 -0
  319. package/dist/components/IDE/CodeFormatSelector.d.ts.map +1 -0
  320. package/dist/components/IDE/CodeFormatSelector.mjs +30 -0
  321. package/dist/components/IDE/CodeFormatSelector.mjs.map +1 -0
  322. package/dist/components/IDE/CodeRenderer.cjs +27 -0
  323. package/dist/components/IDE/CodeRenderer.cjs.map +1 -0
  324. package/dist/components/IDE/CodeRenderer.d.ts +5 -0
  325. package/dist/components/IDE/CodeRenderer.d.ts.map +1 -0
  326. package/dist/components/IDE/CodeRenderer.mjs +27 -0
  327. package/dist/components/IDE/CodeRenderer.mjs.map +1 -0
  328. package/dist/components/IDE/ContentDeclarationFormatSelector.cjs +28 -0
  329. package/dist/components/IDE/ContentDeclarationFormatSelector.cjs.map +1 -0
  330. package/dist/components/IDE/ContentDeclarationFormatSelector.d.ts +3 -0
  331. package/dist/components/IDE/ContentDeclarationFormatSelector.d.ts.map +1 -0
  332. package/dist/components/IDE/ContentDeclarationFormatSelector.mjs +28 -0
  333. package/dist/components/IDE/ContentDeclarationFormatSelector.mjs.map +1 -0
  334. package/dist/components/IDE/EditableCodeBlock.d.ts +9 -0
  335. package/dist/components/IDE/EditableCodeBlock.d.ts.map +1 -0
  336. package/dist/components/IDE/MarkDownRender.cjs +2 -3
  337. package/dist/components/IDE/MarkDownRender.cjs.map +1 -1
  338. package/dist/components/IDE/MarkDownRender.d.ts.map +1 -1
  339. package/dist/components/IDE/MarkDownRender.mjs +1 -2
  340. package/dist/components/IDE/MarkDownRender.mjs.map +1 -1
  341. package/dist/components/IDE/PackageManagerSelector.cjs +20 -0
  342. package/dist/components/IDE/PackageManagerSelector.cjs.map +1 -0
  343. package/dist/components/IDE/PackageManagerSelector.d.ts +3 -0
  344. package/dist/components/IDE/PackageManagerSelector.d.ts.map +1 -0
  345. package/dist/components/IDE/PackageManagerSelector.mjs +20 -0
  346. package/dist/components/IDE/PackageManagerSelector.mjs.map +1 -0
  347. package/dist/components/IDE/index.cjs +2 -2
  348. package/dist/components/IDE/index.d.ts +1 -1
  349. package/dist/components/IDE/index.d.ts.map +1 -1
  350. package/dist/components/IDE/index.mjs +1 -1
  351. package/dist/components/Link/Link.cjs +3 -4
  352. package/dist/components/Link/Link.cjs.map +1 -1
  353. package/dist/components/Link/Link.d.ts +1 -1
  354. package/dist/components/Link/Link.d.ts.map +1 -1
  355. package/dist/components/Link/Link.mjs +3 -4
  356. package/dist/components/Link/Link.mjs.map +1 -1
  357. package/dist/components/Loader/index.cjs +6 -1
  358. package/dist/components/Loader/index.cjs.map +1 -1
  359. package/dist/components/Loader/index.content.cjs +23 -0
  360. package/dist/components/Loader/index.content.cjs.map +1 -0
  361. package/dist/components/Loader/index.content.d.ts +8 -0
  362. package/dist/components/Loader/index.content.d.ts.map +1 -0
  363. package/dist/components/Loader/index.content.mjs +23 -0
  364. package/dist/components/Loader/index.content.mjs.map +1 -0
  365. package/dist/components/Loader/index.d.ts +2 -2
  366. package/dist/components/Loader/index.d.ts.map +1 -1
  367. package/dist/components/Loader/index.mjs +6 -1
  368. package/dist/components/Loader/index.mjs.map +1 -1
  369. package/dist/components/LocaleSwitcherContentDropDown/LocaleSelectorContext.d.ts +13 -0
  370. package/dist/components/LocaleSwitcherContentDropDown/LocaleSelectorContext.d.ts.map +1 -0
  371. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +218 -0
  372. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -0
  373. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts +8 -0
  374. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -0
  375. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +218 -0
  376. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -0
  377. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +42 -0
  378. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs.map +1 -0
  379. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.d.ts +15 -0
  380. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.d.ts.map +1 -0
  381. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +42 -0
  382. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs.map +1 -0
  383. package/dist/components/LocaleSwitcherContentDropDown/index.cjs +8 -0
  384. package/dist/components/LocaleSwitcherContentDropDown/index.cjs.map +1 -0
  385. package/dist/components/LocaleSwitcherContentDropDown/index.d.ts +3 -0
  386. package/dist/components/LocaleSwitcherContentDropDown/index.d.ts.map +1 -0
  387. package/dist/components/LocaleSwitcherContentDropDown/index.mjs +8 -0
  388. package/dist/components/LocaleSwitcherContentDropDown/index.mjs.map +1 -0
  389. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs +118 -0
  390. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs.map +1 -0
  391. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +18 -0
  392. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -0
  393. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs +119 -0
  394. package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs.map +1 -0
  395. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +14 -22
  396. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  397. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
  398. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +14 -22
  399. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  400. package/dist/components/MarkDownRender/index.cjs +59 -30
  401. package/dist/components/MarkDownRender/index.cjs.map +1 -1
  402. package/dist/components/MarkDownRender/index.d.ts +2 -0
  403. package/dist/components/MarkDownRender/index.d.ts.map +1 -1
  404. package/dist/components/MarkDownRender/index.mjs +60 -31
  405. package/dist/components/MarkDownRender/index.mjs.map +1 -1
  406. package/dist/components/Modal/Modal.cjs +21 -13
  407. package/dist/components/Modal/Modal.cjs.map +1 -1
  408. package/dist/components/Modal/Modal.d.ts +2 -2
  409. package/dist/components/Modal/Modal.d.ts.map +1 -1
  410. package/dist/components/Modal/Modal.mjs +22 -14
  411. package/dist/components/Modal/Modal.mjs.map +1 -1
  412. package/dist/components/SwitchSelector/index.cjs +4 -0
  413. package/dist/components/SwitchSelector/index.cjs.map +1 -1
  414. package/dist/components/SwitchSelector/index.d.ts.map +1 -1
  415. package/dist/components/SwitchSelector/index.mjs +5 -1
  416. package/dist/components/SwitchSelector/index.mjs.map +1 -1
  417. package/dist/components/index.cjs +17 -5
  418. package/dist/components/index.cjs.map +1 -1
  419. package/dist/components/index.d.ts +3 -1
  420. package/dist/components/index.d.ts.map +1 -1
  421. package/dist/components/index.mjs +16 -4
  422. package/dist/components/index.mjs.map +1 -1
  423. package/dist/hooks/index.cjs +9 -1
  424. package/dist/hooks/index.cjs.map +1 -1
  425. package/dist/hooks/index.mjs +10 -2
  426. package/dist/hooks/intlayerAPIHooks.cjs +82 -5
  427. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  428. package/dist/hooks/intlayerAPIHooks.d.ts +13 -2
  429. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  430. package/dist/hooks/intlayerAPIHooks.mjs +82 -5
  431. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  432. package/dist/hooks/useAsync/useAsync.cjs +81 -78
  433. package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
  434. package/dist/hooks/useAsync/useAsync.d.ts +5 -25
  435. package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
  436. package/dist/hooks/useAsync/useAsync.mjs +81 -78
  437. package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
  438. package/dist/hooks/useAsync/useAsyncStateStore.cjs +3 -7
  439. package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -1
  440. package/dist/hooks/useAsync/useAsyncStateStore.d.ts +1 -1
  441. package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -1
  442. package/dist/hooks/useAsync/useAsyncStateStore.mjs +3 -7
  443. package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -1
  444. package/dist/hooks/useGetAllDictionaries.cjs +5 -3
  445. package/dist/hooks/useGetAllDictionaries.cjs.map +1 -1
  446. package/dist/hooks/useGetAllDictionaries.d.ts +4 -1
  447. package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -1
  448. package/dist/hooks/useGetAllDictionaries.mjs +5 -3
  449. package/dist/hooks/useGetAllDictionaries.mjs.map +1 -1
  450. package/dist/hooks/useIntlayerAPI.d.ts +12 -2
  451. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  452. package/dist/hooks/usePersistedStore.cjs +22 -8
  453. package/dist/hooks/usePersistedStore.cjs.map +1 -1
  454. package/dist/hooks/usePersistedStore.d.ts.map +1 -1
  455. package/dist/hooks/usePersistedStore.mjs +22 -8
  456. package/dist/hooks/usePersistedStore.mjs.map +1 -1
  457. package/dist/libs/intlayer-api/ai.cjs +43 -3
  458. package/dist/libs/intlayer-api/ai.cjs.map +1 -1
  459. package/dist/libs/intlayer-api/ai.d.ts +11 -3
  460. package/dist/libs/intlayer-api/ai.d.ts.map +1 -1
  461. package/dist/libs/intlayer-api/ai.mjs +43 -3
  462. package/dist/libs/intlayer-api/ai.mjs.map +1 -1
  463. package/dist/libs/intlayer-api/dictionary.cjs +2 -2
  464. package/dist/libs/intlayer-api/dictionary.cjs.map +1 -1
  465. package/dist/libs/intlayer-api/dictionary.d.ts +3 -3
  466. package/dist/libs/intlayer-api/dictionary.d.ts.map +1 -1
  467. package/dist/libs/intlayer-api/dictionary.mjs +2 -2
  468. package/dist/libs/intlayer-api/dictionary.mjs.map +1 -1
  469. package/dist/libs/intlayer-api/index.cjs +3 -1
  470. package/dist/libs/intlayer-api/index.cjs.map +1 -1
  471. package/dist/libs/intlayer-api/index.d.ts +24 -4
  472. package/dist/libs/intlayer-api/index.d.ts.map +1 -1
  473. package/dist/libs/intlayer-api/index.mjs +3 -1
  474. package/dist/libs/intlayer-api/index.mjs.map +1 -1
  475. package/dist/libs/intlayer-api/tag.cjs +52 -0
  476. package/dist/libs/intlayer-api/tag.cjs.map +1 -0
  477. package/dist/libs/intlayer-api/tag.d.ts +16 -0
  478. package/dist/libs/intlayer-api/tag.d.ts.map +1 -0
  479. package/dist/libs/intlayer-api/tag.mjs +52 -0
  480. package/dist/libs/intlayer-api/tag.mjs.map +1 -0
  481. package/dist/tailwind.css +1 -1
  482. package/package.json +18 -19
@@ -12,8 +12,9 @@ const components_DictionaryEditor_DictionaryEditor = require("./DictionaryEditor
12
12
  const components_DictionaryFieldEditor_DictionariesSelector_DictionariesSelector = require("./DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs");
13
13
  const components_DictionaryFieldEditor_DictionaryCreationForm_DictionaryCreationForm = require("./DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs");
14
14
  const components_DictionaryFieldEditor_DictionaryFieldEditor = require("./DictionaryFieldEditor/DictionaryFieldEditor.cjs");
15
+ const components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcher = require("./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs");
16
+ const components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcherContext = require("./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs");
15
17
  const components_DropDown_index = require("./DropDown/index.cjs");
16
- const components_LocaleSwitcherDropDown_LocaleSwitcher = require("./LocaleSwitcherDropDown/LocaleSwitcher.cjs");
17
18
  const components_ThemeSwitcherDropDown_DesktopThemeSwitcher = require("./ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs");
18
19
  const components_ThemeSwitcherDropDown_MobileThemeSwitcher = require("./ThemeSwitcherDropDown/MobileThemeSwitcher.cjs");
19
20
  const components_ThemeSwitcherDropDown_types = require("./ThemeSwitcherDropDown/types.cjs");
@@ -24,7 +25,7 @@ const components_Navbar_index = require("./Navbar/index.cjs");
24
25
  const components_ProfileDropDown_index = require("./ProfileDropDown/index.cjs");
25
26
  const components_Avatar_index = require("./Avatar/index.cjs");
26
27
  const components_Logo_index = require("./Logo/index.cjs");
27
- const components_IDE_CodeRender = require("./IDE/CodeRender.cjs");
28
+ const components_IDE_Code = require("./IDE/Code.cjs");
28
29
  const components_IDE_IDE = require("./IDE/IDE.cjs");
29
30
  const components_IDE_FileList = require("./IDE/FileList.cjs");
30
31
  const components_Popover_index = require("./Popover/index.cjs");
@@ -39,7 +40,7 @@ const components_Flags_Flag = require("./Flags/Flag.cjs");
39
40
  const components_InformationTag_index = require("./InformationTag/index.cjs");
40
41
  const components_Form_FormBase = require("./Form/FormBase.cjs");
41
42
  const components_Form_FormField = require("./Form/FormField.cjs");
42
- const components_Form_layout_FormItemLayout = require("../Form-BDcoNTLV.cjs");
43
+ const components_Form_layout_FormItemLayout = require("../Form-7BqwvjVI.cjs");
43
44
  const components_Label_index = require("./Label/index.cjs");
44
45
  const components_Input_Input = require("./Input/Input.cjs");
45
46
  const components_Input_InputPassword = require("./Input/InputPassword.cjs");
@@ -75,6 +76,10 @@ const components_EditableField_EditableFieldInput = require("./EditableField/Edi
75
76
  const components_EditableField_EditableFieldTextArea = require("./EditableField/EditableFieldTextArea.cjs");
76
77
  const components_Tag_index = require("./Tag/index.cjs");
77
78
  const components_Accordion_Accordion = require("./Accordion/Accordion.cjs");
79
+ const components_LocaleSwitcherDropDown_LocaleSwitcher = require("./LocaleSwitcherDropDown/LocaleSwitcher.cjs");
80
+ const components_LocaleSwitcherContentDropDown_LocaleSwitcherContent = require("./LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs");
81
+ const components_LocaleSwitcherContentDropDown_LocaleSwitcherContentContext = require("./LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs");
82
+ const components_ClickOutsideDiv_index = require("./ClickOutsideDiv/index.cjs");
78
83
  const utils_dictionary = require("../utils/dictionary.cjs");
79
84
  exports.MaxHeightSmoother = components_MaxHeightSmoother_index.MaxHeightSmoother;
80
85
  exports.MaxWidthSmoother = components_MaxWidthSmoother_index.MaxWidthSmoother;
@@ -88,8 +93,10 @@ exports.DictionaryEditor = components_DictionaryEditor_DictionaryEditor.Dictiona
88
93
  exports.DictionariesSelector = components_DictionaryFieldEditor_DictionariesSelector_DictionariesSelector.DictionariesSelector;
89
94
  exports.DictionaryCreationForm = components_DictionaryFieldEditor_DictionaryCreationForm_DictionaryCreationForm.DictionaryCreationForm;
90
95
  exports.DictionaryFieldEditor = components_DictionaryFieldEditor_DictionaryFieldEditor.DictionaryFieldEditor;
96
+ exports.VersionSwitcher = components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcher.VersionSwitcher;
97
+ exports.VersionSwitcherProvider = components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcherContext.VersionSwitcherProvider;
98
+ exports.useVersionSwitcher = components_DictionaryFieldEditor_VersionSwitcherDropDown_VersionSwitcherContext.useVersionSwitcher;
91
99
  exports.DropDown = components_DropDown_index.DropDown;
92
- exports.LocaleSwitcher = components_LocaleSwitcherDropDown_LocaleSwitcher.LocaleSwitcher;
93
100
  exports.DesktopThemeSwitcher = components_ThemeSwitcherDropDown_DesktopThemeSwitcher.DesktopThemeSwitcher;
94
101
  exports.MobileThemeSwitcher = components_ThemeSwitcherDropDown_MobileThemeSwitcher.MobileThemeSwitcher;
95
102
  exports.Modes = components_ThemeSwitcherDropDown_types.Modes;
@@ -100,7 +107,7 @@ exports.Navbar = components_Navbar_index.Navbar;
100
107
  exports.ProfileDropDown = components_ProfileDropDown_index.ProfileDropDown;
101
108
  exports.Avatar = components_Avatar_index.Avatar;
102
109
  exports.Logo = components_Logo_index.Logo;
103
- exports.Code = components_IDE_CodeRender.Code;
110
+ exports.Code = components_IDE_Code.Code;
104
111
  exports.IDE = components_IDE_IDE.IDE;
105
112
  exports.FileList = components_IDE_FileList.FileList;
106
113
  exports.Popover = components_Popover_index.Popover;
@@ -173,6 +180,11 @@ exports.EditableFieldInput = components_EditableField_EditableFieldInput.Editabl
173
180
  exports.EditableFieldTextArea = components_EditableField_EditableFieldTextArea.EditableFieldTextArea;
174
181
  exports.Tag = components_Tag_index.Tag;
175
182
  exports.Accordion = components_Accordion_Accordion.Accordion;
183
+ exports.LocaleSwitcher = components_LocaleSwitcherDropDown_LocaleSwitcher.LocaleSwitcher;
184
+ exports.LocaleSwitcherContent = components_LocaleSwitcherContentDropDown_LocaleSwitcherContent.LocaleSwitcherContent;
185
+ exports.LocaleSwitcherContentProvider = components_LocaleSwitcherContentDropDown_LocaleSwitcherContentContext.LocaleSwitcherContentProvider;
186
+ exports.useLocaleSwitcherContent = components_LocaleSwitcherContentDropDown_LocaleSwitcherContentContext.useLocaleSwitcherContent;
187
+ exports.ClickOutsideDiv = components_ClickOutsideDiv_index.ClickOutsideDiv;
176
188
  exports.editDictionaryByKeyPath = utils_dictionary.editDictionaryByKeyPath;
177
189
  exports.getDictionaryValueByKeyPath = utils_dictionary.getDictionaryValueByKeyPath;
178
190
  exports.renameDictionaryValueByKeyPath = utils_dictionary.renameDictionaryValueByKeyPath;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,7 +6,6 @@ export * from './ContentSelector';
6
6
  export * from './DictionaryEditor';
7
7
  export * from './DictionaryFieldEditor';
8
8
  export * from './DropDown';
9
- export * from './LocaleSwitcherDropDown';
10
9
  export * from './ThemeSwitcherDropDown';
11
10
  export * from './Button';
12
11
  export * from './Container';
@@ -41,4 +40,7 @@ export * from './CopyToClipboard';
41
40
  export * from './EditableField';
42
41
  export * from './Tag';
43
42
  export * from './Accordion';
43
+ export * from './LocaleSwitcherDropDown';
44
+ export * from './LocaleSwitcherContentDropDown';
45
+ export * from './ClickOutsideDiv';
44
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,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cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC"}
@@ -10,8 +10,9 @@ import { DictionaryEditor } from "./DictionaryEditor/DictionaryEditor.mjs";
10
10
  import { DictionariesSelector } from "./DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs";
11
11
  import { DictionaryCreationForm } from "./DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs";
12
12
  import { DictionaryFieldEditor } from "./DictionaryFieldEditor/DictionaryFieldEditor.mjs";
13
+ import { VersionSwitcher } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs";
14
+ import { VersionSwitcherProvider, useVersionSwitcher } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs";
13
15
  import { DropDown } from "./DropDown/index.mjs";
14
- import { LocaleSwitcher } from "./LocaleSwitcherDropDown/LocaleSwitcher.mjs";
15
16
  import { DesktopThemeSwitcher } from "./ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs";
16
17
  import { MobileThemeSwitcher } from "./ThemeSwitcherDropDown/MobileThemeSwitcher.mjs";
17
18
  import { Modes } from "./ThemeSwitcherDropDown/types.mjs";
@@ -22,7 +23,7 @@ import { Navbar } from "./Navbar/index.mjs";
22
23
  import { ProfileDropDown } from "./ProfileDropDown/index.mjs";
23
24
  import { Avatar } from "./Avatar/index.mjs";
24
25
  import { Logo } from "./Logo/index.mjs";
25
- import { Code } from "./IDE/CodeRender.mjs";
26
+ import { Code } from "./IDE/Code.mjs";
26
27
  import { IDE } from "./IDE/IDE.mjs";
27
28
  import { FileList } from "./IDE/FileList.mjs";
28
29
  import { Popover } from "./Popover/index.mjs";
@@ -37,7 +38,7 @@ import { Flag } from "./Flags/Flag.mjs";
37
38
  import { InformationTag } from "./InformationTag/index.mjs";
38
39
  import { useForm } from "./Form/FormBase.mjs";
39
40
  import { useFormField } from "./Form/FormField.mjs";
40
- import { F } from "../Form-DhsgC7kB.js";
41
+ import { F } from "../Form-OK9zfg6E.js";
41
42
  import { Label } from "./Label/index.mjs";
42
43
  import { Input, inputVariants } from "./Input/Input.mjs";
43
44
  import { InputPassword } from "./Input/InputPassword.mjs";
@@ -73,6 +74,10 @@ import { EditableFieldInput } from "./EditableField/EditableFieldInput.mjs";
73
74
  import { EditableFieldTextArea } from "./EditableField/EditableFieldTextArea.mjs";
74
75
  import { Tag } from "./Tag/index.mjs";
75
76
  import { Accordion } from "./Accordion/Accordion.mjs";
77
+ import { LocaleSwitcher } from "./LocaleSwitcherDropDown/LocaleSwitcher.mjs";
78
+ import { LocaleSwitcherContent } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs";
79
+ import { LocaleSwitcherContentProvider, useLocaleSwitcherContent } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs";
80
+ import { ClickOutsideDiv } from "./ClickOutsideDiv/index.mjs";
76
81
  import { editDictionaryByKeyPath, getDictionaryValueByKeyPath, renameDictionaryValueByKeyPath } from "../utils/dictionary.mjs";
77
82
  export {
78
83
  Accordion,
@@ -85,6 +90,7 @@ export {
85
90
  Button,
86
91
  ChangePasswordForm,
87
92
  Checkbox,
93
+ ClickOutsideDiv,
88
94
  Code,
89
95
  Command,
90
96
  CommandRoot,
@@ -121,6 +127,8 @@ export {
121
127
  Link,
122
128
  Loader,
123
129
  LocaleSwitcher,
130
+ LocaleSwitcherContent,
131
+ LocaleSwitcherContentProvider,
124
132
  Logo,
125
133
  MarkdownRenderer,
126
134
  MaxHeightSmoother,
@@ -153,6 +161,8 @@ export {
153
161
  ToastTitle,
154
162
  ToastViewport,
155
163
  Toaster,
164
+ VersionSwitcher,
165
+ VersionSwitcherProvider,
156
166
  WithResizer,
157
167
  badgeVariants,
158
168
  checkIsExternalLink,
@@ -169,11 +179,13 @@ export {
169
179
  useEditionPanelStore,
170
180
  useForm,
171
181
  useFormField,
182
+ useLocaleSwitcherContent,
172
183
  useResetPasswordSchema,
173
184
  useRightDrawerStore,
174
185
  useSignInSchema,
175
186
  useSignUpSchema,
176
187
  useToast,
177
- useUser
188
+ useUser,
189
+ useVersionSwitcher
178
190
  };
179
191
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -25,8 +25,13 @@ exports.useAddNewAccessKey = hooks_intlayerAPIHooks.useAddNewAccessKey;
25
25
  exports.useAddOrganization = hooks_intlayerAPIHooks.useAddOrganization;
26
26
  exports.useAddOrganizationMember = hooks_intlayerAPIHooks.useAddOrganizationMember;
27
27
  exports.useAddProject = hooks_intlayerAPIHooks.useAddProject;
28
+ exports.useAddTag = hooks_intlayerAPIHooks.useAddTag;
29
+ exports.useAskDocQuestion = hooks_intlayerAPIHooks.useAskDocQuestion;
28
30
  exports.useAskResetPassword = hooks_intlayerAPIHooks.useAskResetPassword;
29
- exports.useAuditFile = hooks_intlayerAPIHooks.useAuditFile;
31
+ exports.useAuditContentDeclaration = hooks_intlayerAPIHooks.useAuditContentDeclaration;
32
+ exports.useAuditContentDeclarationField = hooks_intlayerAPIHooks.useAuditContentDeclarationField;
33
+ exports.useAuditContentDeclarationMetadata = hooks_intlayerAPIHooks.useAuditContentDeclarationMetadata;
34
+ exports.useAuditTag = hooks_intlayerAPIHooks.useAuditTag;
30
35
  exports.useCancelSubscription = hooks_intlayerAPIHooks.useCancelSubscription;
31
36
  exports.useChangePassword = hooks_intlayerAPIHooks.useChangePassword;
32
37
  exports.useCheckIfUserHasPassword = hooks_intlayerAPIHooks.useCheckIfUserHasPassword;
@@ -35,6 +40,7 @@ exports.useDeleteAccessKey = hooks_intlayerAPIHooks.useDeleteAccessKey;
35
40
  exports.useDeleteDictionary = hooks_intlayerAPIHooks.useDeleteDictionary;
36
41
  exports.useDeleteOrganization = hooks_intlayerAPIHooks.useDeleteOrganization;
37
42
  exports.useDeleteProject = hooks_intlayerAPIHooks.useDeleteProject;
43
+ exports.useDeleteTag = hooks_intlayerAPIHooks.useDeleteTag;
38
44
  exports.useDeleteUser = hooks_intlayerAPIHooks.useDeleteUser;
39
45
  exports.useGetDictionaries = hooks_intlayerAPIHooks.useGetDictionaries;
40
46
  exports.useGetDictionariesKeys = hooks_intlayerAPIHooks.useGetDictionariesKeys;
@@ -42,6 +48,7 @@ exports.useGetDictionary = hooks_intlayerAPIHooks.useGetDictionary;
42
48
  exports.useGetOrganizations = hooks_intlayerAPIHooks.useGetOrganizations;
43
49
  exports.useGetProjects = hooks_intlayerAPIHooks.useGetProjects;
44
50
  exports.useGetSubscription = hooks_intlayerAPIHooks.useGetSubscription;
51
+ exports.useGetTags = hooks_intlayerAPIHooks.useGetTags;
45
52
  exports.useGetUserByAccount = hooks_intlayerAPIHooks.useGetUserByAccount;
46
53
  exports.useGetUsers = hooks_intlayerAPIHooks.useGetUsers;
47
54
  exports.useLogin = hooks_intlayerAPIHooks.useLogin;
@@ -59,6 +66,7 @@ exports.useUpdateOrganization = hooks_intlayerAPIHooks.useUpdateOrganization;
59
66
  exports.useUpdateOrganizationMembers = hooks_intlayerAPIHooks.useUpdateOrganizationMembers;
60
67
  exports.useUpdateProject = hooks_intlayerAPIHooks.useUpdateProject;
61
68
  exports.useUpdateProjectMembers = hooks_intlayerAPIHooks.useUpdateProjectMembers;
69
+ exports.useUpdateTag = hooks_intlayerAPIHooks.useUpdateTag;
62
70
  exports.useUpdateUser = hooks_intlayerAPIHooks.useUpdateUser;
63
71
  exports.useVerifyEmail = hooks_intlayerAPIHooks.useVerifyEmail;
64
72
  exports.useItemSelector = hooks_useItemSelector.useItemSelector;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@ import { useIsMounted } from "./useIsMounted.mjs";
5
5
  import { useScrollDetection } from "./useScrollDetection.mjs";
6
6
  import { useAsync } from "./useAsync/useAsync.mjs";
7
7
  import { AsyncStateProvider, useAsyncState } from "./useAsync/useAsyncStateStore.mjs";
8
- import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddProject, useAskResetPassword, useAuditFile, useCancelSubscription, useChangePassword, useCheckIfUserHasPassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeleteProject, useDeleteUser, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetOrganizations, useGetProjects, useGetSubscription, useGetUserByAccount, useGetUsers, useLogin, useLogout, usePushDictionaries, useRefreshAccessKey, useRegister, useResetPassword, useSelectOrganization, useSelectProject, useUnselectOrganization, useUnselectProject, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateProject, useUpdateProjectMembers, useUpdateUser, useVerifyEmail } from "./intlayerAPIHooks.mjs";
8
+ import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddProject, useAddTag, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useCancelSubscription, useChangePassword, useCheckIfUserHasPassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeleteProject, useDeleteTag, useDeleteUser, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetOrganizations, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUsers, useLogin, useLogout, usePushDictionaries, useRefreshAccessKey, useRegister, useResetPassword, useSelectOrganization, useSelectProject, useUnselectOrganization, useUnselectProject, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useVerifyEmail } from "./intlayerAPIHooks.mjs";
9
9
  import { useItemSelector } from "./useItemSelector.mjs";
10
10
  import { useGetAllDictionaries } from "./useGetAllDictionaries.mjs";
11
11
  import { usePersistedStore } from "./usePersistedStore.mjs";
@@ -17,10 +17,15 @@ export {
17
17
  useAddOrganization,
18
18
  useAddOrganizationMember,
19
19
  useAddProject,
20
+ useAddTag,
21
+ useAskDocQuestion,
20
22
  useAskResetPassword,
21
23
  useAsync,
22
24
  useAsyncState,
23
- useAuditFile,
25
+ useAuditContentDeclaration,
26
+ useAuditContentDeclarationField,
27
+ useAuditContentDeclarationMetadata,
28
+ useAuditTag,
24
29
  useCancelSubscription,
25
30
  useChangePassword,
26
31
  useCheckIfUserHasPassword,
@@ -29,6 +34,7 @@ export {
29
34
  useDeleteDictionary,
30
35
  useDeleteOrganization,
31
36
  useDeleteProject,
37
+ useDeleteTag,
32
38
  useDeleteUser,
33
39
  useDevice,
34
40
  useGetAllDictionaries,
@@ -39,6 +45,7 @@ export {
39
45
  useGetOrganizations,
40
46
  useGetProjects,
41
47
  useGetSubscription,
48
+ useGetTags,
42
49
  useGetUserByAccount,
43
50
  useGetUsers,
44
51
  useIsDarkMode,
@@ -62,6 +69,7 @@ export {
62
69
  useUpdateOrganizationMembers,
63
70
  useUpdateProject,
64
71
  useUpdateProjectMembers,
72
+ useUpdateTag,
65
73
  useUpdateUser,
66
74
  useVerifyEmail
67
75
  };
@@ -318,7 +318,11 @@ const usePushDictionaries = (args) => useAppAsync(
318
318
  "pushDictionaries",
319
319
  hooks_useIntlayerAPI.useIntlayerAuth().dictionary.pushDictionaries,
320
320
  {
321
- invalidateQueries: ["getDictionaries", "getDictionariesKeys"],
321
+ invalidateQueries: [
322
+ "getDictionaries",
323
+ "getDictionary",
324
+ "getDictionariesKeys"
325
+ ],
322
326
  ...args
323
327
  }
324
328
  );
@@ -326,7 +330,7 @@ const useUpdateDictionary = (args) => useAppAsync(
326
330
  "updateDictionary",
327
331
  hooks_useIntlayerAPI.useIntlayerAuth().dictionary.updateDictionary,
328
332
  {
329
- invalidateQueries: ["getDictionaries"],
333
+ invalidateQueries: ["getDictionaries", "getDictionary"],
330
334
  ...args
331
335
  }
332
336
  );
@@ -334,10 +338,44 @@ const useDeleteDictionary = (args) => useAppAsync(
334
338
  "deleteDictionary",
335
339
  hooks_useIntlayerAPI.useIntlayerAuth().dictionary.deleteDictionary,
336
340
  {
337
- invalidateQueries: ["getDictionaries", "getDictionariesKeys"],
341
+ invalidateQueries: [
342
+ "getDictionaries",
343
+ "getDictionary",
344
+ "getDictionariesKeys"
345
+ ],
338
346
  ...args
339
347
  }
340
348
  );
349
+ const useGetTags = (args) => useAppAsync(
350
+ "getTags",
351
+ hooks_useIntlayerAPI.useIntlayerAuth().tag.getTags,
352
+ {
353
+ cache: true,
354
+ store: true,
355
+ retryLimit: 3,
356
+ autoFetch: true,
357
+ revalidation: true,
358
+ revalidateTime: 5 * 60 * 1e3,
359
+ // 5 minutes
360
+ ...args
361
+ },
362
+ {
363
+ requireUser: true,
364
+ requireOrganization: true
365
+ }
366
+ );
367
+ const useAddTag = (args) => useAppAsync("addTag", hooks_useIntlayerAPI.useIntlayerAuth().tag.addTag, {
368
+ invalidateQueries: ["getTags"],
369
+ ...args
370
+ });
371
+ const useUpdateTag = (args) => useAppAsync("updateTag", hooks_useIntlayerAPI.useIntlayerAuth().tag.updateTag, {
372
+ invalidateQueries: ["getTags"],
373
+ ...args
374
+ });
375
+ const useDeleteTag = (args) => useAppAsync("deleteTag", hooks_useIntlayerAPI.useIntlayerAuth().tag.deleteTag, {
376
+ invalidateQueries: ["getTags"],
377
+ ...args
378
+ });
341
379
  const useGetSubscription = (args) => useAppAsync(
342
380
  "getSubscription",
343
381
  hooks_useIntlayerAPI.useIntlayerAuth().stripe.getSubscription,
@@ -356,18 +394,54 @@ const useCancelSubscription = (args) => useAppAsync(
356
394
  requireOrganization: true
357
395
  }
358
396
  );
359
- const useAuditFile = (args) => useAppAsync("auditFile", hooks_useIntlayerAPI.useIntlayerAuth().ai.auditFile, args, {
397
+ const useAuditContentDeclaration = (args) => useAppAsync(
398
+ "auditContentDeclaration",
399
+ hooks_useIntlayerAPI.useIntlayerAuth().ai.auditContentDeclaration,
400
+ args,
401
+ {
402
+ requireUser: true,
403
+ requireOrganization: true,
404
+ requireProject: true
405
+ }
406
+ );
407
+ const useAuditContentDeclarationMetadata = (args) => useAppAsync(
408
+ "auditContentDeclaration",
409
+ hooks_useIntlayerAPI.useIntlayerAuth().ai.auditContentDeclarationMetadata,
410
+ args,
411
+ {
412
+ requireUser: true,
413
+ requireOrganization: true,
414
+ requireProject: true
415
+ }
416
+ );
417
+ const useAuditContentDeclarationField = (args) => useAppAsync(
418
+ "auditContentDeclarationField",
419
+ hooks_useIntlayerAPI.useIntlayerAuth().ai.auditContentDeclarationField,
420
+ args,
421
+ {
422
+ requireUser: true,
423
+ requireOrganization: true,
424
+ requireProject: true
425
+ }
426
+ );
427
+ const useAuditTag = (args) => useAppAsync("auditTag", hooks_useIntlayerAPI.useIntlayerAuth().ai.auditTag, args, {
360
428
  requireUser: true,
361
429
  requireOrganization: true,
362
430
  requireProject: true
363
431
  });
432
+ const useAskDocQuestion = (args) => useAppAsync("askDocQuestion", hooks_useIntlayerAPI.useIntlayerAuth().ai.askDocQuestion, args);
364
433
  exports.useAddDictionary = useAddDictionary;
365
434
  exports.useAddNewAccessKey = useAddNewAccessKey;
366
435
  exports.useAddOrganization = useAddOrganization;
367
436
  exports.useAddOrganizationMember = useAddOrganizationMember;
368
437
  exports.useAddProject = useAddProject;
438
+ exports.useAddTag = useAddTag;
439
+ exports.useAskDocQuestion = useAskDocQuestion;
369
440
  exports.useAskResetPassword = useAskResetPassword;
370
- exports.useAuditFile = useAuditFile;
441
+ exports.useAuditContentDeclaration = useAuditContentDeclaration;
442
+ exports.useAuditContentDeclarationField = useAuditContentDeclarationField;
443
+ exports.useAuditContentDeclarationMetadata = useAuditContentDeclarationMetadata;
444
+ exports.useAuditTag = useAuditTag;
371
445
  exports.useCancelSubscription = useCancelSubscription;
372
446
  exports.useChangePassword = useChangePassword;
373
447
  exports.useCheckIfUserHasPassword = useCheckIfUserHasPassword;
@@ -376,6 +450,7 @@ exports.useDeleteAccessKey = useDeleteAccessKey;
376
450
  exports.useDeleteDictionary = useDeleteDictionary;
377
451
  exports.useDeleteOrganization = useDeleteOrganization;
378
452
  exports.useDeleteProject = useDeleteProject;
453
+ exports.useDeleteTag = useDeleteTag;
379
454
  exports.useDeleteUser = useDeleteUser;
380
455
  exports.useGetDictionaries = useGetDictionaries;
381
456
  exports.useGetDictionariesKeys = useGetDictionariesKeys;
@@ -383,6 +458,7 @@ exports.useGetDictionary = useGetDictionary;
383
458
  exports.useGetOrganizations = useGetOrganizations;
384
459
  exports.useGetProjects = useGetProjects;
385
460
  exports.useGetSubscription = useGetSubscription;
461
+ exports.useGetTags = useGetTags;
386
462
  exports.useGetUserByAccount = useGetUserByAccount;
387
463
  exports.useGetUsers = useGetUsers;
388
464
  exports.useLogin = useLogin;
@@ -400,6 +476,7 @@ exports.useUpdateOrganization = useUpdateOrganization;
400
476
  exports.useUpdateOrganizationMembers = useUpdateOrganizationMembers;
401
477
  exports.useUpdateProject = useUpdateProject;
402
478
  exports.useUpdateProjectMembers = useUpdateProjectMembers;
479
+ exports.useUpdateTag = useUpdateTag;
403
480
  exports.useUpdateUser = useUpdateUser;
404
481
  exports.useVerifyEmail = useVerifyEmail;
405
482
  //# sourceMappingURL=intlayerAPIHooks.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"intlayerAPIHooks.cjs","sources":["../../__vite-browser-external","../../src/hooks/intlayerAPIHooks.ts"],"sourcesContent":["export default {}","/* eslint-disable @typescript-eslint/no-explicit-any */\n'use client';\n\nimport process from 'process';\nimport { intlayerAPI } from 'src/libs';\nimport { useAuth } from '../components/Auth/useAuth/index';\nimport { useToast } from '../components/Toaster';\nimport { useAsync, UseAsyncOptions } from './useAsync/useAsync';\nimport { useIntlayerAuth } from './useIntlayerAPI';\n\n/**\n * Hook to handle error logging and toast notifications\n */\nconst useErrorHandling = <T extends UseAsyncOptions<any>>(options: T): T => {\n const { toast } = useToast();\n\n return {\n ...options,\n onError: (errorMessage) => {\n let error;\n\n // If json is valid, parse it\n try {\n error = JSON.parse(errorMessage);\n } catch (e) {\n console.error(e);\n // If json is not valid, set error to the original errorMessage\n\n error = errorMessage;\n }\n\n // render toast for each error if there is more than one\n // otherwise render the toast with the error message\n [error]\n .flatMap((error) => error)\n .forEach((error) =>\n toast({\n title:\n (process.env.NODE_ENV === 'production'\n ? error.title\n : error.code) ?? 'Error',\n description: error.message ?? errorMessage ?? 'An error occurred',\n variant: 'error',\n })\n );\n options.onError?.(errorMessage);\n },\n onSuccess: (data) => {\n if (data.message)\n toast({\n title: data.message,\n description: data.description,\n variant: 'success',\n });\n options.onSuccess?.(data);\n },\n };\n};\n\ntype AuthEnableOptions = {\n requireUser?: boolean;\n requireProject?: boolean;\n requireOrganization?: boolean;\n};\n\n/**\n * Hook to enable authentication\n */\nconst useAuthEnable = <T extends UseAsyncOptions<any>>(\n options: T,\n { requireUser, requireProject, requireOrganization }: AuthEnableOptions = {}\n): T => {\n const { csrfToken, oAuth2AccessToken, session } = useAuth();\n\n const isEnabledOption = options?.enable ?? true;\n const user = session ? session.user : oAuth2AccessToken?.user;\n\n const organization = session\n ? session.organization\n : oAuth2AccessToken?.organization;\n\n const project = session ? session.project : oAuth2AccessToken?.project;\n\n const isUserEnabled = requireUser ? Boolean(user) : true;\n\n const isProjectEnabled = requireProject ? Boolean(project) : true;\n\n const isOrganizationEnabled = requireOrganization\n ? Boolean(organization)\n : true;\n\n const isCSRFEnabled =\n Boolean(csrfToken) ||\n // If auth using session, csrf token is not required\n (!session && Boolean(oAuth2AccessToken));\n\n const isEnabled =\n isEnabledOption &&\n isUserEnabled &&\n isProjectEnabled &&\n isOrganizationEnabled &&\n isCSRFEnabled;\n\n return {\n ...options,\n enable: isEnabled,\n };\n};\n\nconst useAppAsync = <\n U extends string,\n T extends (...args: any[]) => Promise<any>,\n>(\n key: U,\n asyncFunction: T,\n options?: UseAsyncOptions<T>,\n authOptions?: AuthEnableOptions\n) => {\n // Enhance options using custom hooks\n const optionsWithAuth = useAuthEnable(options ?? {}, authOptions);\n\n const optionsWithErrorHandling = useErrorHandling(optionsWithAuth);\n\n // Call the main useAsync hook with enhanced options\n return useAsync(key, asyncFunction, optionsWithErrorHandling);\n};\n\n/**\n * Auth\n */\n\nexport const useLogin = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.login>\n) =>\n useAppAsync('login', useIntlayerAuth().auth.login, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useRegister = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.register>\n) =>\n useAppAsync('register', useIntlayerAuth().auth.register, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useLogout = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.logout>\n) =>\n useAppAsync('logout', useIntlayerAuth().auth.logout, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useChangePassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>\n) => useAppAsync('changePassword', useIntlayerAuth().auth.changePassword, args);\nexport const useAskResetPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>\n) =>\n useAppAsync(\n 'askResetPassword',\n useIntlayerAuth().auth.askResetPassword,\n args\n );\nexport const useResetPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>\n) => useAppAsync('resetPassword', useIntlayerAuth().auth.resetPassword, args);\nexport const useCheckIfUserHasPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>\n) =>\n useAppAsync(\n 'checkIfUserHasPassword',\n useIntlayerAuth().auth.checkIfUserHasPassword,\n args,\n {\n requireUser: true,\n }\n );\nexport const useVerifyEmail = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>\n) => useAppAsync('verifyEmail', useIntlayerAuth().auth.verifyEmail, args);\n\nexport const useGetUserByAccount = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>\n) =>\n useAppAsync(\n 'getUserByAccount',\n useIntlayerAuth().user.getUserByAccount,\n args\n );\n\n/**\n * User\n */\n\nexport const useGetUsers = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>\n) =>\n useAppAsync(\n 'getUsers',\n useIntlayerAuth().user.getUsers,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n }\n );\nexport const useCreateUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>\n) =>\n useAppAsync('createUser', useIntlayerAuth().user.createUser, {\n invalidateQueries: ['getUsers'],\n ...args,\n });\nexport const useUpdateUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>\n) =>\n useAppAsync('updateUser', useIntlayerAuth().user.updateUser, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useDeleteUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>\n) =>\n useAppAsync('deleteUser', useIntlayerAuth().user.deleteUser, {\n invalidateQueries: ['getUsers'],\n ...args,\n });\n\n/**\n * Organization\n */\n\nexport const useGetOrganizations = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>\n) =>\n useAppAsync(\n 'getOrganizations',\n useIntlayerAuth().organization.getOrganizations,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n }\n );\n\nexport const useAddOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>\n) =>\n useAppAsync(\n 'addOrganization',\n useIntlayerAuth().organization.addOrganization,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useUpdateOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>\n) =>\n useAppAsync(\n 'updateOrganization',\n useIntlayerAuth().organization.updateOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useUpdateOrganizationMembers = (\n args?: UseAsyncOptions<\n typeof intlayerAPI.organization.updateOrganizationMembers\n >\n) =>\n useAppAsync(\n 'updateOrganizationMembers',\n useIntlayerAuth().organization.updateOrganizationMembers,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useAddOrganizationMember = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>\n) =>\n useAppAsync(\n 'addOrganizationMember',\n useIntlayerAuth().organization.addOrganizationMember,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useDeleteOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>\n) =>\n useAppAsync(\n 'deleteOrganization',\n useIntlayerAuth().organization.deleteOrganization,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useSelectOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>\n) =>\n useAppAsync(\n 'selectOrganization',\n useIntlayerAuth().organization.selectOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useUnselectOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>\n) =>\n useAppAsync(\n 'unselectOrganization',\n useIntlayerAuth().organization.unselectOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\n\n/**\n * Project\n */\n\nexport const useGetProjects = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>\n) =>\n useAppAsync(\n 'getProjects',\n useIntlayerAuth().project.getProjects,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\nexport const useAddProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>\n) =>\n useAppAsync('addProject', useIntlayerAuth().project.addProject, {\n invalidateQueries: ['getProjects'],\n ...args,\n });\nexport const useUpdateProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>\n) =>\n useAppAsync('updateProject', useIntlayerAuth().project.updateProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useUpdateProjectMembers = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>\n) =>\n useAppAsync(\n 'updateProjectMembers',\n useIntlayerAuth().project.updateProjectMembers,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useDeleteProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>\n) =>\n useAppAsync('deleteProject', useIntlayerAuth().project.deleteProject, {\n invalidateQueries: ['getProjects'],\n ...args,\n });\nexport const useSelectProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>\n) =>\n useAppAsync('selectProject', useIntlayerAuth().project.selectProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useUnselectProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>\n) =>\n useAppAsync('unselectProject', useIntlayerAuth().project.unselectProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useAddNewAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>\n) =>\n useAppAsync('addNewAccessKey', useIntlayerAuth().project.addNewAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useDeleteAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>\n) =>\n useAppAsync('deleteAccessKey', useIntlayerAuth().project.deleteAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useRefreshAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>\n) =>\n useAppAsync('refreshAccessKey', useIntlayerAuth().project.refreshAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\n\n/**\n * Dictionary\n */\n\nexport const useGetDictionaries = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>\n) =>\n useAppAsync(\n 'getDictionaries',\n useIntlayerAuth().dictionary.getDictionaries,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useGetDictionariesKeys = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>\n) =>\n useAppAsync(\n 'getDictionariesKeys',\n useIntlayerAuth().dictionary.getDictionariesKeys,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useGetDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>\n) =>\n useAppAsync(\n 'getDictionary',\n useIntlayerAuth().dictionary.getDictionary,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\nexport const useAddDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>\n) =>\n useAppAsync('addDictionary', useIntlayerAuth().dictionary.addDictionary, {\n invalidateQueries: ['getDictionaries', 'getDictionariesKeys'],\n ...args,\n });\n\nexport const usePushDictionaries = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>\n) =>\n useAppAsync(\n 'pushDictionaries',\n useIntlayerAuth().dictionary.pushDictionaries,\n {\n invalidateQueries: ['getDictionaries', 'getDictionariesKeys'],\n ...args,\n }\n );\nexport const useUpdateDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>\n) =>\n useAppAsync(\n 'updateDictionary',\n useIntlayerAuth().dictionary.updateDictionary,\n {\n invalidateQueries: ['getDictionaries'],\n ...args,\n }\n );\nexport const useDeleteDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>\n) =>\n useAppAsync(\n 'deleteDictionary',\n useIntlayerAuth().dictionary.deleteDictionary,\n {\n invalidateQueries: ['getDictionaries', 'getDictionariesKeys'],\n ...args,\n }\n );\n\n/**\n * Stripe\n */\n\nexport const useGetSubscription = (\n args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>\n) =>\n useAppAsync(\n 'getSubscription',\n useIntlayerAuth().stripe.getSubscription,\n args,\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\n\nexport const useCancelSubscription = (\n args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>\n) =>\n useAppAsync(\n 'cancelSubscription',\n useIntlayerAuth().stripe.cancelSubscription,\n { invalidateQueries: ['getSession'], ...args },\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\n\n/**\n * AI\n */\n\nexport const useAuditFile = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.auditFile>\n) =>\n useAppAsync('auditFile', useIntlayerAuth().ai.auditFile, args, {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n });\n"],"names":["useToast","error","useAuth","useAsync","useIntlayerAuth"],"mappings":";;;;;;;;;AAAA,MAAe,UAAA,CAAA;ACaf,MAAM,mBAAmB,CAAiC,YAAkB;AACpE,QAAA,EAAE,MAAM,IAAIA,qCAAS;AAEpB,SAAA;AAAA,IACL,GAAG;AAAA,IACH,SAAS,CAAC,iBAAiB;AACrB,UAAA;AAGA,UAAA;AACM,gBAAA,KAAK,MAAM,YAAY;AAAA,eACxB,GAAG;AACV,gBAAQ,MAAM,CAAC;AAGP,gBAAA;AAAA,MAAA;AAKV,OAAC,KAAK,EACH,QAAQ,CAACC,WAAUA,MAAK,EACxB;AAAA,QAAQ,CAACA,WACR,MAAM;AAAA,UACJ,QACG,QAAQ,IAAI,aAAa,eACtBA,OAAM,QACNA,OAAM,SAAS;AAAA,UACrB,aAAaA,OAAM,WAAW,gBAAgB;AAAA,UAC9C,SAAS;AAAA,QACV,CAAA;AAAA,MACH;AACF,cAAQ,UAAU,YAAY;AAAA,IAChC;AAAA,IACA,WAAW,CAAC,SAAS;AACnB,UAAI,KAAK;AACD,cAAA;AAAA,UACJ,OAAO,KAAK;AAAA,UACZ,aAAa,KAAK;AAAA,UAClB,SAAS;AAAA,QAAA,CACV;AACH,cAAQ,YAAY,IAAI;AAAA,IAAA;AAAA,EAE5B;AACF;AAWA,MAAM,gBAAgB,CACpB,SACA,EAAE,aAAa,gBAAgB,oBAA2C,IAAA,OACpE;AACN,QAAM,EAAE,WAAW,mBAAmB,QAAA,IAAYC,8BAAAA,QAAQ;AAEpD,QAAA,kBAAkB,SAAS,UAAU;AAC3C,QAAM,OAAO,UAAU,QAAQ,OA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AAM;AAAA,EAC7D,aAAa;AAAA,EACb,qBAAqB;AAAA,EACrB,gBAAgB;AAClB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"intlayerAPIHooks.cjs","sources":["../../__vite-browser-external","../../src/hooks/intlayerAPIHooks.ts"],"sourcesContent":["export default {}","/* eslint-disable @typescript-eslint/no-explicit-any */\n'use client';\n\nimport process from 'process';\nimport { intlayerAPI } from 'src/libs';\nimport { useAuth } from '../components/Auth/useAuth/index';\nimport { useToast } from '../components/Toaster';\nimport { useAsync, UseAsyncOptions } from './useAsync/useAsync';\nimport { useIntlayerAuth } from './useIntlayerAPI';\n\n/**\n * Hook to handle error logging and toast notifications\n */\nconst useErrorHandling = <T extends UseAsyncOptions<any>>(options: T): T => {\n const { toast } = useToast();\n\n return {\n ...options,\n onError: (errorMessage) => {\n let error;\n\n // If json is valid, parse it\n try {\n error = JSON.parse(errorMessage);\n } catch (e) {\n console.error(e);\n // If json is not valid, set error to the original errorMessage\n\n error = errorMessage;\n }\n\n // render toast for each error if there is more than one\n // otherwise render the toast with the error message\n [error]\n .flatMap((error) => error)\n .forEach((error) =>\n toast({\n title:\n (process.env.NODE_ENV === 'production'\n ? error.title\n : error.code) ?? 'Error',\n description: error.message ?? errorMessage ?? 'An error occurred',\n variant: 'error',\n })\n );\n options.onError?.(errorMessage);\n },\n onSuccess: (data) => {\n if (data.message)\n toast({\n title: data.message,\n description: data.description,\n variant: 'success',\n });\n options.onSuccess?.(data);\n },\n };\n};\n\ntype AuthEnableOptions = {\n requireUser?: boolean;\n requireProject?: boolean;\n requireOrganization?: boolean;\n};\n\n/**\n * Hook to enable authentication\n */\nconst useAuthEnable = <T extends UseAsyncOptions<any>>(\n options: T,\n { requireUser, requireProject, requireOrganization }: AuthEnableOptions = {}\n): T => {\n const { csrfToken, oAuth2AccessToken, session } = useAuth();\n\n const isEnabledOption = options?.enable ?? true;\n const user = session ? session.user : oAuth2AccessToken?.user;\n\n const organization = session\n ? session.organization\n : oAuth2AccessToken?.organization;\n\n const project = session ? session.project : oAuth2AccessToken?.project;\n\n const isUserEnabled = requireUser ? Boolean(user) : true;\n\n const isProjectEnabled = requireProject ? Boolean(project) : true;\n\n const isOrganizationEnabled = requireOrganization\n ? Boolean(organization)\n : true;\n\n const isCSRFEnabled =\n Boolean(csrfToken) ||\n // If auth using session, csrf token is not required\n (!session && Boolean(oAuth2AccessToken));\n\n const isEnabled =\n isEnabledOption &&\n isUserEnabled &&\n isProjectEnabled &&\n isOrganizationEnabled &&\n isCSRFEnabled;\n\n return {\n ...options,\n enable: isEnabled,\n };\n};\n\nconst useAppAsync = <\n U extends string,\n T extends (...args: any[]) => Promise<any>,\n>(\n key: U,\n asyncFunction: T,\n options?: UseAsyncOptions<T>,\n authOptions?: AuthEnableOptions\n) => {\n // Enhance options using custom hooks\n const optionsWithAuth = useAuthEnable(options ?? {}, authOptions);\n\n const optionsWithErrorHandling = useErrorHandling(optionsWithAuth);\n\n // Call the main useAsync hook with enhanced options\n return useAsync(key, asyncFunction, optionsWithErrorHandling);\n};\n\n/**\n * Auth\n */\n\nexport const useLogin = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.login>\n) =>\n useAppAsync('login', useIntlayerAuth().auth.login, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useRegister = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.register>\n) =>\n useAppAsync('register', useIntlayerAuth().auth.register, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useLogout = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.logout>\n) =>\n useAppAsync('logout', useIntlayerAuth().auth.logout, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useChangePassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>\n) => useAppAsync('changePassword', useIntlayerAuth().auth.changePassword, args);\nexport const useAskResetPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>\n) =>\n useAppAsync(\n 'askResetPassword',\n useIntlayerAuth().auth.askResetPassword,\n args\n );\nexport const useResetPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>\n) => useAppAsync('resetPassword', useIntlayerAuth().auth.resetPassword, args);\nexport const useCheckIfUserHasPassword = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>\n) =>\n useAppAsync(\n 'checkIfUserHasPassword',\n useIntlayerAuth().auth.checkIfUserHasPassword,\n args,\n {\n requireUser: true,\n }\n );\nexport const useVerifyEmail = (\n args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>\n) => useAppAsync('verifyEmail', useIntlayerAuth().auth.verifyEmail, args);\n\nexport const useGetUserByAccount = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>\n) =>\n useAppAsync(\n 'getUserByAccount',\n useIntlayerAuth().user.getUserByAccount,\n args\n );\n\n/**\n * User\n */\n\nexport const useGetUsers = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>\n) =>\n useAppAsync(\n 'getUsers',\n useIntlayerAuth().user.getUsers,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n }\n );\nexport const useCreateUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>\n) =>\n useAppAsync('createUser', useIntlayerAuth().user.createUser, {\n invalidateQueries: ['getUsers'],\n ...args,\n });\nexport const useUpdateUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>\n) =>\n useAppAsync('updateUser', useIntlayerAuth().user.updateUser, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useDeleteUser = (\n args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>\n) =>\n useAppAsync('deleteUser', useIntlayerAuth().user.deleteUser, {\n invalidateQueries: ['getUsers'],\n ...args,\n });\n\n/**\n * Organization\n */\n\nexport const useGetOrganizations = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>\n) =>\n useAppAsync(\n 'getOrganizations',\n useIntlayerAuth().organization.getOrganizations,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n }\n );\n\nexport const useAddOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>\n) =>\n useAppAsync(\n 'addOrganization',\n useIntlayerAuth().organization.addOrganization,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useUpdateOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>\n) =>\n useAppAsync(\n 'updateOrganization',\n useIntlayerAuth().organization.updateOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useUpdateOrganizationMembers = (\n args?: UseAsyncOptions<\n typeof intlayerAPI.organization.updateOrganizationMembers\n >\n) =>\n useAppAsync(\n 'updateOrganizationMembers',\n useIntlayerAuth().organization.updateOrganizationMembers,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useAddOrganizationMember = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>\n) =>\n useAppAsync(\n 'addOrganizationMember',\n useIntlayerAuth().organization.addOrganizationMember,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useDeleteOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>\n) =>\n useAppAsync(\n 'deleteOrganization',\n useIntlayerAuth().organization.deleteOrganization,\n {\n invalidateQueries: ['getOrganizations'],\n ...args,\n }\n );\nexport const useSelectOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>\n) =>\n useAppAsync(\n 'selectOrganization',\n useIntlayerAuth().organization.selectOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useUnselectOrganization = (\n args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>\n) =>\n useAppAsync(\n 'unselectOrganization',\n useIntlayerAuth().organization.unselectOrganization,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\n\n/**\n * Project\n */\n\nexport const useGetProjects = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>\n) =>\n useAppAsync(\n 'getProjects',\n useIntlayerAuth().project.getProjects,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\nexport const useAddProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>\n) =>\n useAppAsync('addProject', useIntlayerAuth().project.addProject, {\n invalidateQueries: ['getProjects'],\n ...args,\n });\nexport const useUpdateProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>\n) =>\n useAppAsync('updateProject', useIntlayerAuth().project.updateProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useUpdateProjectMembers = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>\n) =>\n useAppAsync(\n 'updateProjectMembers',\n useIntlayerAuth().project.updateProjectMembers,\n {\n invalidateQueries: ['getSession'],\n ...args,\n }\n );\nexport const useDeleteProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>\n) =>\n useAppAsync('deleteProject', useIntlayerAuth().project.deleteProject, {\n invalidateQueries: ['getProjects'],\n ...args,\n });\nexport const useSelectProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>\n) =>\n useAppAsync('selectProject', useIntlayerAuth().project.selectProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useUnselectProject = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>\n) =>\n useAppAsync('unselectProject', useIntlayerAuth().project.unselectProject, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useAddNewAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>\n) =>\n useAppAsync('addNewAccessKey', useIntlayerAuth().project.addNewAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useDeleteAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>\n) =>\n useAppAsync('deleteAccessKey', useIntlayerAuth().project.deleteAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\nexport const useRefreshAccessKey = (\n args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>\n) =>\n useAppAsync('refreshAccessKey', useIntlayerAuth().project.refreshAccessKey, {\n invalidateQueries: ['getSession'],\n ...args,\n });\n\n/**\n * Dictionary\n */\n\nexport const useGetDictionaries = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>\n) =>\n useAppAsync(\n 'getDictionaries',\n useIntlayerAuth().dictionary.getDictionaries,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useGetDictionariesKeys = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>\n) =>\n useAppAsync(\n 'getDictionariesKeys',\n useIntlayerAuth().dictionary.getDictionariesKeys,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useGetDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>\n) =>\n useAppAsync(\n 'getDictionary',\n useIntlayerAuth().dictionary.getDictionary,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\nexport const useAddDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>\n) =>\n useAppAsync('addDictionary', useIntlayerAuth().dictionary.addDictionary, {\n invalidateQueries: ['getDictionaries', 'getDictionariesKeys'],\n ...args,\n });\n\nexport const usePushDictionaries = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>\n) =>\n useAppAsync(\n 'pushDictionaries',\n useIntlayerAuth().dictionary.pushDictionaries,\n {\n invalidateQueries: [\n 'getDictionaries',\n 'getDictionary',\n 'getDictionariesKeys',\n ],\n ...args,\n }\n );\nexport const useUpdateDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>\n) =>\n useAppAsync(\n 'updateDictionary',\n useIntlayerAuth().dictionary.updateDictionary,\n {\n invalidateQueries: ['getDictionaries', 'getDictionary'],\n ...args,\n }\n );\nexport const useDeleteDictionary = (\n args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>\n) =>\n useAppAsync(\n 'deleteDictionary',\n useIntlayerAuth().dictionary.deleteDictionary,\n {\n invalidateQueries: [\n 'getDictionaries',\n 'getDictionary',\n 'getDictionariesKeys',\n ],\n ...args,\n }\n );\n\n/**\n * Tag\n */\n\nexport const useGetTags = (\n args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>\n) =>\n useAppAsync(\n 'getTags',\n useIntlayerAuth().tag.getTags,\n {\n cache: true,\n store: true,\n retryLimit: 3,\n autoFetch: true,\n revalidation: true,\n revalidateTime: 5 * 60 * 1000, // 5 minutes\n ...args,\n },\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\nexport const useAddTag = (\n args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>\n) =>\n useAppAsync('addTag', useIntlayerAuth().tag.addTag, {\n invalidateQueries: ['getTags'],\n ...args,\n });\nexport const useUpdateTag = (\n args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>\n) =>\n useAppAsync('updateTag', useIntlayerAuth().tag.updateTag, {\n invalidateQueries: ['getTags'],\n ...args,\n });\nexport const useDeleteTag = (\n args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>\n) =>\n useAppAsync('deleteTag', useIntlayerAuth().tag.deleteTag, {\n invalidateQueries: ['getTags'],\n ...args,\n });\n\n/**\n * Stripe\n */\n\nexport const useGetSubscription = (\n args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>\n) =>\n useAppAsync(\n 'getSubscription',\n useIntlayerAuth().stripe.getSubscription,\n args,\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\n\nexport const useCancelSubscription = (\n args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>\n) =>\n useAppAsync(\n 'cancelSubscription',\n useIntlayerAuth().stripe.cancelSubscription,\n { invalidateQueries: ['getSession'], ...args },\n {\n requireUser: true,\n requireOrganization: true,\n }\n );\n\n/**\n * AI\n */\n\nexport const useAuditContentDeclaration = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>\n) =>\n useAppAsync(\n 'auditContentDeclaration',\n useIntlayerAuth().ai.auditContentDeclaration,\n args,\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useAuditContentDeclarationMetadata = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>\n) =>\n useAppAsync(\n 'auditContentDeclaration',\n useIntlayerAuth().ai.auditContentDeclarationMetadata,\n args,\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useAuditContentDeclarationField = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>\n) =>\n useAppAsync(\n 'auditContentDeclarationField',\n useIntlayerAuth().ai.auditContentDeclarationField,\n args,\n {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n }\n );\n\nexport const useAuditTag = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>\n) =>\n useAppAsync('auditTag', useIntlayerAuth().ai.auditTag, args, {\n requireUser: true,\n requireOrganization: true,\n requireProject: true,\n });\n\nexport const useAskDocQuestion = (\n args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>\n) => useAppAsync('askDocQuestion', useIntlayerAuth().ai.askDocQuestion, args);\n"],"names":["useToast","error","useAuth","useAsync","useIntlayerAuth"],"mappings":";;;;;;;;;AAAA,MAAe,UAAA,CAAA;ACaf,MAAM,mBAAmB,CAAiC,YAAkB;AACpE,QAAA,EAAE,MAAM,IAAIA,qCAAS;AAEpB,SAAA;AAAA,IACL,GAAG;AAAA,IACH,SAAS,CAAC,iBAAiB;AACrB,UAAA;AAGA,UAAA;AACM,gBAAA,KAAK,MAAM,YAAY;AAAA,eACxB,GAAG;AACV,gBAAQ,MAAM,CAAC;AAGP,gBAAA;AAAA,MAAA;AAKV,OAAC,KAAK,EACH,QAAQ,CAACC,WAAUA,MAAK,EACxB;AAAA,QAAQ,CAACA,WACR,MAAM;AAAA,UACJ,QACG,QAAQ,IAAI,aAAa,eACtBA,OAAM,QACNA,OAAM,SAAS;AAAA,UACrB,aAAaA,OAAM,WAAW,gBAAgB;AAAA,UAC9C,SAAS;AAAA,QACV,CAAA;AAAA,MACH;AACF,cAAQ,UAAU,YAAY;AAAA,IAChC;AAAA,IACA,WAAW,CAAC,SAAS;AACnB,UAAI,KAAK;AACD,cAAA;AAAA,UACJ,OAAO,KAAK;AAAA,UACZ,aAAa,KAAK;AAAA,UAClB,SAAS;AAAA,QAAA,CACV;AACH,cAAQ,YAAY,IAAI;AAAA,IAAA;AAAA,EAE5B;AACF;AAWA,MAAM,gBAAgB,CACpB,SACA,EAAE,aAAa,gBAAgB,oBAA2C,IAAA,OACpE;AACN,QAAM,EAAE,WAAW,mBAAmB,QAAA,IAAYC,8BAAAA,QAAQ;AAEpD,QAAA,kBAAkB,SAAS,UAAU;AAC3C,QAAM,OAAO,UAAU,QA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AEW,MAAA,cAAc,CACzB,SAEA,YAAY,YAAYA,qBAAAA,kBAAkB,GAAG,UAAU,MAAM;AAAA,EAC3D,aAAa;AAAA,EACb,qBAAqB;AAAA,EACrB,gBAAgB;AAClB,CAAC;AAEU,MAAA,oBAAoB,CAC/B,SACG,YAAY,kBAAkBA,qBAAAA,kBAAkB,GAAG,gBAAgB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -51,8 +51,15 @@ export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<typeof intl
51
51
  export declare const useGetDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: import('@intlayer/backend').GetDictionaryParams["dictionaryKey"], version?: import('@intlayer/backend').GetDictionaryQuery["version"], otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionaryResult>>;
52
52
  export declare const useAddDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>) => import('./useAsync').UseAsyncResult<"addDictionary", (dictionary: import('@intlayer/backend').AddDictionaryBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddDictionaryResult>>;
53
53
  export declare const usePushDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: import('@intlayer/backend').PushDictionariesBody["dictionaries"], otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').PushDictionariesResult>>;
54
- export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>>;
54
+ export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: import('@intlayer/backend').UpdateDictionaryParam["dictionaryId"], dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>>;
55
55
  export declare const useDeleteDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: import('@intlayer/backend').DeleteDictionaryParam["dictionaryId"], otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteDictionaryResult>>;
56
+ /**
57
+ * Tag
58
+ */
59
+ export declare const useGetTags: (args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: import('@intlayer/backend').GetTagsParams, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetTagsResult>>;
60
+ export declare const useAddTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>) => import('./useAsync').UseAsyncResult<"addTag", (tag: import('@intlayer/backend').AddTagBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddTagResult>>;
61
+ export declare const useUpdateTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: import('@intlayer/backend').UpdateTagParams["tagId"], tag: import('@intlayer/backend').UpdateTagBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateTagResult>>;
62
+ export declare const useDeleteTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: import('@intlayer/backend').DeleteTagParams["tagId"], otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteTagResult>>;
56
63
  /**
57
64
  * Stripe
58
65
  */
@@ -61,5 +68,9 @@ export declare const useCancelSubscription: (args?: UseAsyncOptions<typeof intla
61
68
  /**
62
69
  * AI
63
70
  */
64
- export declare const useAuditFile: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditFile>) => import('./useAsync').UseAsyncResult<"auditFile", (body?: import('@intlayer/backend').AuditFileBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditFileResult>>;
71
+ export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationResult>>;
72
+ export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationMetadataBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationMetadataResult>>;
73
+ export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: import('@intlayer/backend').AuditContentDeclarationFieldBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationFieldResult>>;
74
+ export declare const useAuditTag: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: import('@intlayer/backend').AuditTagBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditTagResult>>;
75
+ export declare const useAskDocQuestion: (args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: import('@intlayer/backend').AskDocQuestionBody, otherOptions?: import('../libs/intlayer-api/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AskDocQuestionResult>>;
65
76
  //# sourceMappingURL=intlayerAPIHooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,OAAO,EAAY,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAwHhE;;GAEG;AAEH,eAAO,MAAM,QAAQ,UACZ,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,0NAKnD,CAAC;AACL,eAAO,MAAM,WAAW,UACf,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,sRAKtD,CAAC;AACL,eAAO,MAAM,SAAS,UACb,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,2IAKpD,CAAC;AACL,eAAO,MAAM,iBAAiB,UACrB,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,qPACe,CAAC;AAChF,eAAO,MAAM,mBAAmB,UACvB,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,qQAM/D,CAAC;AACJ,eAAO,MAAM,gBAAgB,UACpB,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,sPACc,CAAC;AAC9E,eAAO,MAAM,yBAAyB,UAC7B,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,sBAAsB,CAAC,+MASrE,CAAC;AACJ,eAAO,MAAM,cAAc,UAClB,eAAe,CAAC,OAAO,WA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