@intlayer/design-system 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/.vite/manifest.json +34 -43
  2. package/dist/components/Auth/AuthModal/index.cjs +1 -1
  3. package/dist/components/Auth/AuthModal/index.mjs +1 -1
  4. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +2 -1
  5. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -1
  6. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +2 -1
  7. package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -1
  8. package/dist/components/Auth/useAuth/index.cjs +8 -4
  9. package/dist/components/Auth/useAuth/index.cjs.map +1 -1
  10. package/dist/components/Auth/useAuth/index.d.ts +3 -1
  11. package/dist/components/Auth/useAuth/index.d.ts.map +1 -1
  12. package/dist/components/Auth/useAuth/index.mjs +8 -4
  13. package/dist/components/Auth/useAuth/index.mjs.map +1 -1
  14. package/dist/components/Auth/useAuth/useCSRF.cjs +6 -3
  15. package/dist/components/Auth/useAuth/useCSRF.cjs.map +1 -1
  16. package/dist/components/Auth/useAuth/useCSRF.d.ts +2 -1
  17. package/dist/components/Auth/useAuth/useCSRF.d.ts.map +1 -1
  18. package/dist/components/Auth/useAuth/useCSRF.mjs +5 -2
  19. package/dist/components/Auth/useAuth/useCSRF.mjs.map +1 -1
  20. package/dist/components/Auth/useAuth/useOAuth2.cjs +6 -5
  21. package/dist/components/Auth/useAuth/useOAuth2.cjs.map +1 -1
  22. package/dist/components/Auth/useAuth/useOAuth2.d.ts +2 -1
  23. package/dist/components/Auth/useAuth/useOAuth2.d.ts.map +1 -1
  24. package/dist/components/Auth/useAuth/useOAuth2.mjs +5 -4
  25. package/dist/components/Auth/useAuth/useOAuth2.mjs.map +1 -1
  26. package/dist/components/Auth/useAuth/useSession.cjs +6 -3
  27. package/dist/components/Auth/useAuth/useSession.cjs.map +1 -1
  28. package/dist/components/Auth/useAuth/useSession.d.ts +2 -1
  29. package/dist/components/Auth/useAuth/useSession.d.ts.map +1 -1
  30. package/dist/components/Auth/useAuth/useSession.mjs +6 -3
  31. package/dist/components/Auth/useAuth/useSession.mjs.map +1 -1
  32. package/dist/components/Auth/useUser/index.cjs +1 -1
  33. package/dist/components/Auth/useUser/index.mjs +1 -1
  34. package/dist/components/Button/Button.cjs +9 -9
  35. package/dist/components/Button/Button.cjs.map +1 -1
  36. package/dist/components/Button/Button.mjs +9 -9
  37. package/dist/components/Button/Button.mjs.map +1 -1
  38. package/dist/components/Container/index.d.ts +2 -2
  39. package/dist/components/DictionaryEditor/DictionaryEditor.cjs +5 -4
  40. package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
  41. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +1 -0
  42. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  43. package/dist/components/DictionaryEditor/DictionaryEditor.mjs +5 -4
  44. package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  45. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs +2 -1
  46. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs.map +1 -1
  47. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts.map +1 -1
  48. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs +2 -1
  49. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs.map +1 -1
  50. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs +1 -1
  51. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs +1 -1
  52. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs +2 -1
  53. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs.map +1 -1
  54. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts.map +1 -1
  55. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +2 -1
  56. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs.map +1 -1
  57. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +3 -3
  58. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
  59. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +2 -2
  60. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
  61. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs +1 -1
  62. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs +1 -1
  63. package/dist/components/DictionaryEditor/NodeWrapper/index.cjs +1 -1
  64. package/dist/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  65. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +29 -12
  66. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
  67. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +1 -0
  68. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
  69. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +31 -14
  70. package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
  71. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs +32 -0
  72. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.cjs.map +1 -1
  73. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts +4 -0
  74. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.d.ts.map +1 -1
  75. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs +32 -0
  76. package/dist/components/DictionaryEditor/validDictionaryChangeButtons.content.mjs.map +1 -1
  77. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +5 -3
  78. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -1
  79. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +1 -0
  80. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -1
  81. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +5 -3
  82. package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -1
  83. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +4 -2
  84. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  85. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +4 -2
  86. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  87. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +45 -14
  88. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  89. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +1 -0
  90. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  91. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +48 -17
  92. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  93. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +32 -0
  94. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  95. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +4 -0
  96. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  97. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +32 -0
  98. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  99. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +7 -15
  100. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  101. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
  102. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  103. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +8 -16
  104. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  105. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +8 -5
  106. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -1
  107. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -1
  108. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +7 -4
  109. package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -1
  110. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
  111. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -1
  112. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts.map +1 -1
  113. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
  114. package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -1
  115. package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +1 -1
  116. package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
  117. package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
  118. package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
  119. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +6 -5
  120. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
  121. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
  122. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -1
  123. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  124. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +1 -9
  125. package/dist/components/DictionaryFieldEditor/NodeEditor.cjs.map +1 -1
  126. package/dist/components/DictionaryFieldEditor/NodeEditor.d.ts.map +1 -1
  127. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +2 -10
  128. package/dist/components/DictionaryFieldEditor/NodeEditor.mjs.map +1 -1
  129. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +2 -1
  130. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
  131. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
  132. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -1
  133. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
  134. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +51 -22
  135. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  136. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts +1 -0
  137. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  138. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +52 -23
  139. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  140. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +32 -0
  141. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  142. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +4 -0
  143. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  144. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +32 -0
  145. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  146. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +2 -2
  147. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +2 -2
  148. package/dist/components/EditableField/EditableFieldLayout.cjs +8 -4
  149. package/dist/components/EditableField/EditableFieldLayout.cjs.map +1 -1
  150. package/dist/components/EditableField/EditableFieldLayout.d.ts.map +1 -1
  151. package/dist/components/EditableField/EditableFieldLayout.mjs +8 -4
  152. package/dist/components/EditableField/EditableFieldLayout.mjs.map +1 -1
  153. package/dist/components/IDE/CodeContext.cjs +2 -2
  154. package/dist/components/IDE/CodeContext.mjs +2 -2
  155. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +4 -4
  156. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
  157. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +4 -4
  158. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
  159. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +2 -2
  160. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +2 -2
  161. package/dist/components/Modal/Modal.cjs +11 -7
  162. package/dist/components/Modal/Modal.cjs.map +1 -1
  163. package/dist/components/Modal/Modal.d.ts.map +1 -1
  164. package/dist/components/Modal/Modal.mjs +11 -7
  165. package/dist/components/Modal/Modal.mjs.map +1 -1
  166. package/dist/components/Navbar/MobileNavbar.cjs +2 -2
  167. package/dist/components/Navbar/MobileNavbar.mjs +2 -2
  168. package/dist/components/Navbar/index.cjs +2 -2
  169. package/dist/components/Navbar/index.mjs +2 -2
  170. package/dist/components/RightDrawer/RightDrawer.cjs +32 -15
  171. package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -1
  172. package/dist/components/RightDrawer/RightDrawer.d.ts.map +1 -1
  173. package/dist/components/RightDrawer/RightDrawer.mjs +32 -15
  174. package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -1
  175. package/dist/components/SwitchSelector/index.cjs +2 -2
  176. package/dist/components/SwitchSelector/index.mjs +2 -2
  177. package/dist/components/TabSelector/TabSelector.cjs +2 -2
  178. package/dist/components/TabSelector/TabSelector.mjs +2 -2
  179. package/dist/hooks/index.cjs +1 -0
  180. package/dist/hooks/index.cjs.map +1 -1
  181. package/dist/hooks/index.mjs +3 -2
  182. package/dist/hooks/intlayerAPIHooks.cjs +15 -1
  183. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  184. package/dist/hooks/intlayerAPIHooks.d.ts +53 -49
  185. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  186. package/dist/hooks/intlayerAPIHooks.mjs +16 -2
  187. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  188. package/dist/hooks/useAsync/useAsync.cjs +14 -0
  189. package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
  190. package/dist/hooks/useAsync/useAsync.d.ts.map +1 -1
  191. package/dist/hooks/useAsync/useAsync.mjs +14 -0
  192. package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
  193. package/dist/hooks/useGetAllDictionaries.cjs +3 -2
  194. package/dist/hooks/useGetAllDictionaries.cjs.map +1 -1
  195. package/dist/hooks/useGetAllDictionaries.d.ts +2 -2
  196. package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -1
  197. package/dist/hooks/useGetAllDictionaries.mjs +3 -2
  198. package/dist/hooks/useGetAllDictionaries.mjs.map +1 -1
  199. package/dist/hooks/useIntlayerAPI.cjs +10 -7
  200. package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
  201. package/dist/hooks/useIntlayerAPI.d.ts +11 -2
  202. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  203. package/dist/hooks/useIntlayerAPI.mjs +10 -7
  204. package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
  205. package/dist/hooks/usePersistedStore.cjs +25 -18
  206. package/dist/hooks/usePersistedStore.cjs.map +1 -1
  207. package/dist/hooks/usePersistedStore.d.ts +2 -2
  208. package/dist/hooks/usePersistedStore.d.ts.map +1 -1
  209. package/dist/hooks/usePersistedStore.mjs +26 -19
  210. package/dist/hooks/usePersistedStore.mjs.map +1 -1
  211. package/dist/index-B-VAyQ9R.js +673 -0
  212. package/dist/index-B-VAyQ9R.js.map +1 -0
  213. package/dist/index-B-adg6xa.js +206 -0
  214. package/dist/index-B-adg6xa.js.map +1 -0
  215. package/dist/index-B1nU1-65.cjs +690 -0
  216. package/dist/index-B1nU1-65.cjs.map +1 -0
  217. package/dist/index-BIV0x_z2.js +206 -0
  218. package/dist/index-BIV0x_z2.js.map +1 -0
  219. package/dist/index-BIyA5LAs.js +691 -0
  220. package/dist/index-BIyA5LAs.js.map +1 -0
  221. package/dist/index-BNH9wXVj.cjs +205 -0
  222. package/dist/index-BNH9wXVj.cjs.map +1 -0
  223. package/dist/index-BqZwP4Lr.js +691 -0
  224. package/dist/index-BqZwP4Lr.js.map +1 -0
  225. package/dist/index-Buecpjbh.cjs +690 -0
  226. package/dist/index-Buecpjbh.cjs.map +1 -0
  227. package/dist/index-CDEJjmId.js +694 -0
  228. package/dist/index-CDEJjmId.js.map +1 -0
  229. package/dist/index-CTAyk6RY.cjs +693 -0
  230. package/dist/index-CTAyk6RY.cjs.map +1 -0
  231. package/dist/index-CVC2sfEj.js +693 -0
  232. package/dist/index-CVC2sfEj.js.map +1 -0
  233. package/dist/index-CVz0RdK6.js +691 -0
  234. package/dist/index-CVz0RdK6.js.map +1 -0
  235. package/dist/index-CjF2ksU7.cjs +693 -0
  236. package/dist/index-CjF2ksU7.cjs.map +1 -0
  237. package/dist/index-CuQs5759.cjs +692 -0
  238. package/dist/index-CuQs5759.cjs.map +1 -0
  239. package/dist/index-D69JRZcQ.js +206 -0
  240. package/dist/index-D69JRZcQ.js.map +1 -0
  241. package/dist/index-DAsui9u9.cjs +205 -0
  242. package/dist/index-DAsui9u9.cjs.map +1 -0
  243. package/dist/index-D_MDocy7.cjs +690 -0
  244. package/dist/index-D_MDocy7.cjs.map +1 -0
  245. package/dist/index-Djo2Jnua.cjs +693 -0
  246. package/dist/index-Djo2Jnua.cjs.map +1 -0
  247. package/dist/index-LFTthFne.js +694 -0
  248. package/dist/index-LFTthFne.js.map +1 -0
  249. package/dist/index-SOIahRpS.cjs +205 -0
  250. package/dist/index-SOIahRpS.cjs.map +1 -0
  251. package/dist/index-T-TjVQoD.js +671 -0
  252. package/dist/index-T-TjVQoD.js.map +1 -0
  253. package/dist/index-f8_VC6c8.cjs +672 -0
  254. package/dist/index-f8_VC6c8.cjs.map +1 -0
  255. package/dist/index-llGIfxqV.cjs +670 -0
  256. package/dist/index-llGIfxqV.cjs.map +1 -0
  257. package/dist/index-xZoGTokf.js +694 -0
  258. package/dist/index-xZoGTokf.js.map +1 -0
  259. package/dist/tailwind.config.cjs.map +1 -1
  260. package/dist/tailwind.config.mjs.map +1 -1
  261. package/dist/tailwind.css +1 -1
  262. package/dist/useGetAllDictionaries-B1sqs2IB.cjs +34 -0
  263. package/dist/useGetAllDictionaries-B1sqs2IB.cjs.map +1 -0
  264. package/dist/useGetAllDictionaries-BbH8vTkY.js +35 -0
  265. package/dist/useGetAllDictionaries-BbH8vTkY.js.map +1 -0
  266. package/dist/useGetAllDictionaries-Bgkytpa2.cjs +34 -0
  267. package/dist/useGetAllDictionaries-Bgkytpa2.cjs.map +1 -0
  268. package/dist/useGetAllDictionaries-D8ma3h41.cjs +33 -0
  269. package/dist/useGetAllDictionaries-D8ma3h41.cjs.map +1 -0
  270. package/dist/useGetAllDictionaries-DHgHEbD5.js +34 -0
  271. package/dist/useGetAllDictionaries-DHgHEbD5.js.map +1 -0
  272. package/dist/useGetAllDictionaries-DUzm0rIa.js +35 -0
  273. package/dist/useGetAllDictionaries-DUzm0rIa.js.map +1 -0
  274. package/package.json +21 -16
@@ -0,0 +1,690 @@
1
+ "use strict";
2
+ const client = require("@intlayer/config/client");
3
+ const fetcherOptions = {
4
+ method: "GET",
5
+ // Default HTTP method
6
+ headers: {
7
+ "Content-Type": "application/json"
8
+ // Default content type
9
+ },
10
+ credentials: "include"
11
+ // Include cookies in the request
12
+ };
13
+ const removeUndefined = (obj) => {
14
+ Object.keys(obj).forEach((key) => {
15
+ if (obj[key] === void 0) {
16
+ delete obj[key];
17
+ }
18
+ });
19
+ return obj;
20
+ };
21
+ const deepMerge = (objects) => objects.reduce((acc, obj) => {
22
+ const acc1 = acc ?? {};
23
+ const obj1 = removeUndefined(obj ?? {});
24
+ if (typeof acc1 === "object" && typeof obj1 === "object") {
25
+ return { ...acc1, ...obj1 };
26
+ }
27
+ return obj1 ?? acc1;
28
+ }, {});
29
+ const fetcher = async (url, ...options) => {
30
+ const { signal } = new AbortController();
31
+ let paramsString = "";
32
+ let bodyString = void 0;
33
+ const otherOptions = options.map(
34
+ ({ body, params: params2, headers, ...otherOptions2 }) => otherOptions2
35
+ );
36
+ const mergedOptions = deepMerge([fetcherOptions, ...otherOptions]);
37
+ const mergedHeaders = deepMerge([
38
+ fetcherOptions.headers,
39
+ ...options.map((option) => option.headers)
40
+ ]);
41
+ const params = deepMerge(options.map((option) => option.params));
42
+ const method = mergedOptions.method;
43
+ if (method !== "GET" && method !== "HEAD") {
44
+ const body = deepMerge(options.map((option) => option.body));
45
+ if (mergedHeaders?.["Content-Type"] === "application/x-www-form-urlencoded") {
46
+ bodyString = new URLSearchParams(
47
+ body
48
+ ).toString();
49
+ } else {
50
+ bodyString = JSON.stringify(body);
51
+ }
52
+ }
53
+ if (Object.entries(params).length > 0) {
54
+ paramsString = `?${new URLSearchParams(
55
+ params
56
+ ).toString()}`;
57
+ }
58
+ const formattedOptions = {
59
+ ...mergedOptions,
60
+ headers: mergedHeaders,
61
+ body: bodyString,
62
+ signal
63
+ };
64
+ const urlResult = `${url}${paramsString}`;
65
+ const response = await fetch(urlResult, formattedOptions);
66
+ if (!response.ok) {
67
+ const result = await response.json();
68
+ console.error(result);
69
+ throw new Error(JSON.stringify(result.error) ?? "An error occurred");
70
+ }
71
+ return await response.json();
72
+ };
73
+ const getAiAPI = (authAPIOptions = {}, intlayerConfig) => {
74
+ const { backendURL } = client.getConfiguration().editor;
75
+ const AI_API_ROUTE = `${backendURL}/api/ai`;
76
+ const auditContentDeclaration = async (body, otherOptions = {}) => await fetcher(
77
+ `${AI_API_ROUTE}/audit/content-declaration`,
78
+ authAPIOptions,
79
+ otherOptions,
80
+ {
81
+ method: "POST",
82
+ body
83
+ }
84
+ );
85
+ const auditContentDeclarationField = async (body, otherOptions = {}) => await fetcher(
86
+ `${AI_API_ROUTE}/audit/content-declaration/field`,
87
+ authAPIOptions,
88
+ otherOptions,
89
+ {
90
+ method: "POST",
91
+ body
92
+ }
93
+ );
94
+ const auditContentDeclarationMetadata = async (body, otherOptions = {}) => await fetcher(
95
+ `${AI_API_ROUTE}/audit/content-declaration/metadata`,
96
+ authAPIOptions,
97
+ otherOptions,
98
+ {
99
+ method: "POST",
100
+ body
101
+ }
102
+ );
103
+ const auditTag = async (body, otherOptions = {}) => await fetcher(
104
+ `${AI_API_ROUTE}/audit/tag`,
105
+ authAPIOptions,
106
+ otherOptions,
107
+ {
108
+ method: "POST",
109
+ body
110
+ }
111
+ );
112
+ const askDocQuestion = async (body, otherOptions = {}) => await fetcher(
113
+ `${AI_API_ROUTE}/ask`,
114
+ authAPIOptions,
115
+ otherOptions,
116
+ {
117
+ method: "POST",
118
+ body
119
+ }
120
+ );
121
+ return {
122
+ auditContentDeclaration,
123
+ auditContentDeclarationField,
124
+ auditContentDeclarationMetadata,
125
+ auditTag,
126
+ askDocQuestion
127
+ };
128
+ };
129
+ getAiAPI();
130
+ const getAuthAPI = (authAPIOptions = {}, intlayerConfig) => {
131
+ const { backendURL, clientId, clientSecret } = client.getConfiguration().editor;
132
+ const AUTH_API_ROUTE = `${backendURL}/api/auth`;
133
+ const login = async (user, otherOptions = {}) => await fetcher(
134
+ `${AUTH_API_ROUTE}/login`,
135
+ authAPIOptions,
136
+ otherOptions,
137
+ {
138
+ method: "POST",
139
+ body: user
140
+ }
141
+ );
142
+ const getLoginWithGitHubURL = (params) => {
143
+ const searchParams = new URLSearchParams(params);
144
+ return `${AUTH_API_ROUTE}/login/github?${searchParams.toString()}`;
145
+ };
146
+ const getLoginWithGoogleURL = (params) => {
147
+ const searchParams = new URLSearchParams(params);
148
+ return `${AUTH_API_ROUTE}/login/google?${searchParams.toString()}`;
149
+ };
150
+ const register = async (user, query = {}, otherOptions = {}) => await fetcher(
151
+ `${AUTH_API_ROUTE}/register`,
152
+ authAPIOptions,
153
+ otherOptions,
154
+ {
155
+ method: "POST",
156
+ body: user,
157
+ params: query
158
+ }
159
+ );
160
+ const logout = async (otherOptions = {}) => await fetcher(
161
+ `${AUTH_API_ROUTE}/logout`,
162
+ authAPIOptions,
163
+ otherOptions,
164
+ {
165
+ method: "POST"
166
+ }
167
+ );
168
+ const askResetPassword = async (email, otherOptions = {}) => await fetcher(
169
+ `${AUTH_API_ROUTE}/password/reset`,
170
+ authAPIOptions,
171
+ otherOptions,
172
+ {
173
+ method: "POST",
174
+ body: { email }
175
+ }
176
+ );
177
+ const resetPassword = async (params, otherOptions = {}) => await fetcher(
178
+ `${AUTH_API_ROUTE}/password/reset`,
179
+ authAPIOptions,
180
+ otherOptions,
181
+ { params, method: "POST" }
182
+ );
183
+ const changePassword = async (data, otherOptions = {}) => await fetcher(
184
+ `${AUTH_API_ROUTE}/password`,
185
+ authAPIOptions,
186
+ otherOptions,
187
+ {
188
+ method: "PUT",
189
+ body: data
190
+ }
191
+ );
192
+ const checkIfUserHasPassword = async (otherOptions = {}) => await fetcher(
193
+ `${AUTH_API_ROUTE}/password/has`,
194
+ authAPIOptions,
195
+ otherOptions,
196
+ {
197
+ method: "GET"
198
+ }
199
+ );
200
+ const verifyEmail = async ({ userId, secret }, otherOptions = {}) => await fetcher(
201
+ `${AUTH_API_ROUTE}/active/${userId}/${secret}`,
202
+ authAPIOptions,
203
+ otherOptions,
204
+ {
205
+ method: "PUT"
206
+ }
207
+ );
208
+ const getVerifyEmailStatusURL = (userId) => `${AUTH_API_ROUTE}/verify-email-status/${String(userId)}`;
209
+ const createSession = async (data, otherOptions = {}) => await fetcher(
210
+ `${AUTH_API_ROUTE}/session`,
211
+ authAPIOptions,
212
+ otherOptions,
213
+ {
214
+ method: "POST",
215
+ body: data
216
+ }
217
+ );
218
+ const getSession = async (sessionToken, otherOptions = {}) => await fetcher(
219
+ `${backendURL}/session`,
220
+ authAPIOptions,
221
+ otherOptions,
222
+ { params: { session_token: sessionToken } }
223
+ );
224
+ const getCSRFToken = async (otherOptions = {}) => await fetcher(
225
+ `${backendURL}/csrf-token`,
226
+ authAPIOptions,
227
+ otherOptions
228
+ );
229
+ const getOAuth2AccessToken = async (otherOptions = {}) => await fetcher(
230
+ `${backendURL}/oauth2/token`,
231
+ authAPIOptions,
232
+ otherOptions,
233
+ {
234
+ method: "POST",
235
+ headers: {
236
+ "Content-Type": "application/x-www-form-urlencoded"
237
+ },
238
+ body: {
239
+ grant_type: "client_credentials",
240
+ client_id: clientId,
241
+ client_secret: clientSecret
242
+ }
243
+ }
244
+ );
245
+ return {
246
+ login,
247
+ getLoginWithGitHubURL,
248
+ getLoginWithGoogleURL,
249
+ register,
250
+ logout,
251
+ resetPassword,
252
+ askResetPassword,
253
+ checkIfUserHasPassword,
254
+ verifyEmail,
255
+ getVerifyEmailStatusURL,
256
+ changePassword,
257
+ createSession,
258
+ getSession,
259
+ getCSRFToken,
260
+ getOAuth2AccessToken
261
+ };
262
+ };
263
+ getAuthAPI();
264
+ const getDictionaryAPI = (authAPIOptions = {}, intlayerConfig) => {
265
+ const { backendURL } = client.getConfiguration().editor;
266
+ const PROJECT_API_ROUTE = `${backendURL}/api/dictionary`;
267
+ const getDictionaries = async (filters, otherOptions = {}) => await fetcher(
268
+ PROJECT_API_ROUTE,
269
+ authAPIOptions,
270
+ otherOptions,
271
+ {
272
+ params: filters
273
+ }
274
+ );
275
+ const getDictionariesKeys = async (otherOptions = {}) => await fetcher(
276
+ `${PROJECT_API_ROUTE}/keys`,
277
+ authAPIOptions,
278
+ otherOptions
279
+ );
280
+ const getDictionary = async (dictionaryKey, version, otherOptions = {}) => await fetcher(
281
+ `${PROJECT_API_ROUTE}/${dictionaryKey}`,
282
+ authAPIOptions,
283
+ otherOptions,
284
+ {
285
+ params: version ? { version: version.toString() } : void 0
286
+ }
287
+ );
288
+ const addDictionary = async (dictionary, otherOptions = {}) => await fetcher(
289
+ `${PROJECT_API_ROUTE}`,
290
+ authAPIOptions,
291
+ otherOptions,
292
+ {
293
+ method: "POST",
294
+ body: dictionary
295
+ }
296
+ );
297
+ const pushDictionaries = async (dictionaries, otherOptions = {}) => await fetcher(
298
+ `${PROJECT_API_ROUTE}`,
299
+ authAPIOptions,
300
+ otherOptions,
301
+ {
302
+ method: "PATCH",
303
+ body: { dictionaries }
304
+ }
305
+ );
306
+ const updateDictionary = async (dictionaryId, dictionary, otherOptions = {}) => await fetcher(
307
+ `${PROJECT_API_ROUTE}/${dictionaryId}`,
308
+ authAPIOptions,
309
+ otherOptions,
310
+ {
311
+ method: "PUT",
312
+ body: dictionary
313
+ }
314
+ );
315
+ const deleteDictionary = async (id, otherOptions = {}) => await fetcher(
316
+ `${PROJECT_API_ROUTE}`,
317
+ authAPIOptions,
318
+ otherOptions,
319
+ {
320
+ method: "DELETE",
321
+ body: { id }
322
+ }
323
+ );
324
+ return {
325
+ getDictionaries,
326
+ getDictionariesKeys,
327
+ getDictionary,
328
+ pushDictionaries,
329
+ addDictionary,
330
+ updateDictionary,
331
+ deleteDictionary
332
+ };
333
+ };
334
+ getDictionaryAPI();
335
+ const getEditorAPI = (authAPIOptions = {}, intlayerConfig) => {
336
+ const { editorURL } = client.getConfiguration().editor;
337
+ const EDITOR_API_ROUTE = `${editorURL}/api`;
338
+ const writeDictionary = async (dictionary, otherOptions = {}) => await fetcher(
339
+ `${EDITOR_API_ROUTE}/dictionary`,
340
+ authAPIOptions,
341
+ otherOptions,
342
+ {
343
+ method: "POST",
344
+ body: dictionary
345
+ }
346
+ );
347
+ return {
348
+ writeDictionary
349
+ };
350
+ };
351
+ getEditorAPI();
352
+ const getOrganizationAPI = (authAPIOptions = {}, intlayerConfig) => {
353
+ const { backendURL } = client.getConfiguration().editor;
354
+ const ORGANIZATION_API_ROUTE = `${backendURL}/api/organization`;
355
+ const getOrganizations = async (filters, otherOptions = {}) => await fetcher(
356
+ ORGANIZATION_API_ROUTE,
357
+ authAPIOptions,
358
+ otherOptions,
359
+ {
360
+ params: filters
361
+ }
362
+ );
363
+ const getOrganization = async (organizationId, otherOptions = {}) => await fetcher(
364
+ `${ORGANIZATION_API_ROUTE}/${String(organizationId)}`,
365
+ authAPIOptions,
366
+ otherOptions
367
+ );
368
+ const addOrganization = async (organization, otherOptions = {}) => await fetcher(
369
+ ORGANIZATION_API_ROUTE,
370
+ authAPIOptions,
371
+ otherOptions,
372
+ {
373
+ method: "POST",
374
+ body: organization
375
+ }
376
+ );
377
+ const updateOrganization = async (organization, otherOptions = {}) => fetcher(
378
+ ORGANIZATION_API_ROUTE,
379
+ authAPIOptions,
380
+ otherOptions,
381
+ {
382
+ method: "PUT",
383
+ body: organization
384
+ }
385
+ );
386
+ const updateOrganizationMembers = async (body, otherOptions = {}) => fetcher(
387
+ `${ORGANIZATION_API_ROUTE}/members`,
388
+ authAPIOptions,
389
+ otherOptions,
390
+ {
391
+ method: "PUT",
392
+ body
393
+ }
394
+ );
395
+ const addOrganizationMember = async (body, otherOptions = {}) => fetcher(
396
+ `${ORGANIZATION_API_ROUTE}/member`,
397
+ authAPIOptions,
398
+ otherOptions,
399
+ {
400
+ method: "POST",
401
+ body
402
+ }
403
+ );
404
+ const deleteOrganization = async (otherOptions = {}) => await fetcher(
405
+ ORGANIZATION_API_ROUTE,
406
+ authAPIOptions,
407
+ otherOptions,
408
+ {
409
+ method: "DELETE"
410
+ }
411
+ );
412
+ const selectOrganization = async (organizationId, otherOptions = {}) => await fetcher(
413
+ `${ORGANIZATION_API_ROUTE}/${String(organizationId)}`,
414
+ authAPIOptions,
415
+ otherOptions,
416
+ {
417
+ method: "PUT"
418
+ }
419
+ );
420
+ const unselectOrganization = async (otherOptions = {}) => await fetcher(
421
+ `${ORGANIZATION_API_ROUTE}/logout`,
422
+ authAPIOptions,
423
+ otherOptions,
424
+ {
425
+ method: "POST"
426
+ }
427
+ );
428
+ return {
429
+ getOrganizations,
430
+ getOrganization,
431
+ addOrganization,
432
+ addOrganizationMember,
433
+ updateOrganization,
434
+ updateOrganizationMembers,
435
+ deleteOrganization,
436
+ selectOrganization,
437
+ unselectOrganization
438
+ };
439
+ };
440
+ getOrganizationAPI();
441
+ const getProjectAPI = (authAPIOptions = {}, intlayerConfig) => {
442
+ const { backendURL } = client.getConfiguration().editor;
443
+ const PROJECT_API_ROUTE = `${backendURL}/api/project`;
444
+ const getProjects = async (filters, otherOptions = {}) => await fetcher(
445
+ PROJECT_API_ROUTE,
446
+ authAPIOptions,
447
+ otherOptions,
448
+ {
449
+ params: filters
450
+ }
451
+ );
452
+ const addProject = async (project, otherOptions = {}) => await fetcher(
453
+ `${PROJECT_API_ROUTE}`,
454
+ authAPIOptions,
455
+ otherOptions,
456
+ {
457
+ method: "POST",
458
+ body: project
459
+ }
460
+ );
461
+ const updateProject = async (project, otherOptions = {}) => await fetcher(
462
+ `${PROJECT_API_ROUTE}`,
463
+ authAPIOptions,
464
+ otherOptions,
465
+ {
466
+ method: "PUT",
467
+ body: project
468
+ }
469
+ );
470
+ const updateProjectMembers = async (body, otherOptions = {}) => await fetcher(
471
+ `${PROJECT_API_ROUTE}/members`,
472
+ authAPIOptions,
473
+ otherOptions,
474
+ {
475
+ method: "PUT",
476
+ body
477
+ }
478
+ );
479
+ const deleteProject = async (otherOptions = {}) => await fetcher(
480
+ `${PROJECT_API_ROUTE}`,
481
+ authAPIOptions,
482
+ otherOptions,
483
+ {
484
+ method: "DELETE"
485
+ }
486
+ );
487
+ const selectProject = async (projectId, otherOptions = {}) => await fetcher(
488
+ `${PROJECT_API_ROUTE}/${String(projectId)}`,
489
+ authAPIOptions,
490
+ otherOptions,
491
+ {
492
+ method: "PUT"
493
+ }
494
+ );
495
+ const unselectProject = async (otherOptions = {}) => await fetcher(
496
+ `${PROJECT_API_ROUTE}/logout`,
497
+ authAPIOptions,
498
+ otherOptions,
499
+ {
500
+ method: "POST"
501
+ }
502
+ );
503
+ const addNewAccessKey = async (accessKey, otherOptions = {}) => await fetcher(
504
+ `${PROJECT_API_ROUTE}/access_key`,
505
+ authAPIOptions,
506
+ otherOptions,
507
+ {
508
+ method: "POST",
509
+ body: accessKey
510
+ }
511
+ );
512
+ const deleteAccessKey = async (clientId, otherOptions = {}) => await fetcher(
513
+ `${PROJECT_API_ROUTE}/access_key`,
514
+ authAPIOptions,
515
+ otherOptions,
516
+ {
517
+ method: "DELETE",
518
+ body: { clientId }
519
+ }
520
+ );
521
+ const refreshAccessKey = async (clientId, otherOptions = {}) => await fetcher(
522
+ `${PROJECT_API_ROUTE}/access_key`,
523
+ authAPIOptions,
524
+ otherOptions,
525
+ {
526
+ method: "PATCH",
527
+ body: { clientId }
528
+ }
529
+ );
530
+ return {
531
+ getProjects,
532
+ addProject,
533
+ updateProject,
534
+ updateProjectMembers,
535
+ deleteProject,
536
+ selectProject,
537
+ unselectProject,
538
+ addNewAccessKey,
539
+ deleteAccessKey,
540
+ refreshAccessKey
541
+ };
542
+ };
543
+ getProjectAPI();
544
+ const getStripeAPI = (authAPIOptions = {}, intlayerConfig) => {
545
+ const backendURL = client.getConfiguration().editor.backendURL;
546
+ const STRIPE_API_ROUTE = `${backendURL}/api/stripe`;
547
+ const getSubscription = async (body, otherOptions = {}) => await fetcher(
548
+ `${STRIPE_API_ROUTE}/create-subscription`,
549
+ authAPIOptions,
550
+ otherOptions,
551
+ {
552
+ method: "POST",
553
+ body
554
+ }
555
+ );
556
+ const cancelSubscription = async (otherOptions = {}) => await fetcher(
557
+ `${STRIPE_API_ROUTE}/cancel-subscription`,
558
+ authAPIOptions,
559
+ otherOptions,
560
+ {
561
+ method: "POST"
562
+ }
563
+ );
564
+ return {
565
+ getSubscription,
566
+ cancelSubscription
567
+ };
568
+ };
569
+ const getTagAPI = (authAPIOptions = {}, intlayerConfig) => {
570
+ const { backendURL } = client.getConfiguration().editor;
571
+ const PROJECT_API_ROUTE = `${backendURL}/api/tag`;
572
+ const getTags = async (filters, otherOptions = {}) => await fetcher(
573
+ PROJECT_API_ROUTE,
574
+ authAPIOptions,
575
+ otherOptions,
576
+ {
577
+ params: filters
578
+ }
579
+ );
580
+ const addTag = async (tag, otherOptions = {}) => await fetcher(
581
+ `${PROJECT_API_ROUTE}`,
582
+ authAPIOptions,
583
+ otherOptions,
584
+ {
585
+ method: "POST",
586
+ body: tag
587
+ }
588
+ );
589
+ const updateTag = async (tagId, tag, otherOptions = {}) => await fetcher(
590
+ `${PROJECT_API_ROUTE}/${tagId}`,
591
+ authAPIOptions,
592
+ otherOptions,
593
+ {
594
+ method: "PUT",
595
+ body: tag
596
+ }
597
+ );
598
+ const deleteTag = async (tagId, otherOptions = {}) => await fetcher(
599
+ `${PROJECT_API_ROUTE}/${tagId}`,
600
+ authAPIOptions,
601
+ otherOptions,
602
+ {
603
+ method: "DELETE"
604
+ }
605
+ );
606
+ return {
607
+ getTags,
608
+ addTag,
609
+ updateTag,
610
+ deleteTag
611
+ };
612
+ };
613
+ getTagAPI();
614
+ const getUserAPI = (authAPIOptions = {}, intlayerConfig) => {
615
+ const { backendURL } = client.getConfiguration().editor;
616
+ const USER_API_ROUTE = `${backendURL}/api/user`;
617
+ const getUsers = async (filters, otherOptions = {}) => await fetcher(
618
+ USER_API_ROUTE,
619
+ authAPIOptions,
620
+ otherOptions,
621
+ {
622
+ params: filters
623
+ }
624
+ );
625
+ const getUserById = async (userId, otherOptions = {}) => await fetcher(
626
+ `${USER_API_ROUTE}/${userId}`,
627
+ authAPIOptions,
628
+ otherOptions
629
+ );
630
+ const getUserByEmail = async (email, otherOptions = {}) => await fetcher(
631
+ `${USER_API_ROUTE}/email/${email}`,
632
+ authAPIOptions,
633
+ otherOptions
634
+ );
635
+ const getUserByAccount = async (providerAccountId, provider, otherOptions = {}) => await fetcher(
636
+ `${USER_API_ROUTE}/account/${provider}/${providerAccountId}`,
637
+ authAPIOptions,
638
+ otherOptions
639
+ );
640
+ const createUser = async (user, otherOptions = {}) => await fetcher(
641
+ `${USER_API_ROUTE}/`,
642
+ authAPIOptions,
643
+ otherOptions,
644
+ {
645
+ method: "POST",
646
+ body: user
647
+ }
648
+ );
649
+ const updateUser = async (user, otherOptions = {}) => await fetcher(
650
+ `${USER_API_ROUTE}`,
651
+ authAPIOptions,
652
+ otherOptions,
653
+ {
654
+ method: "PUT",
655
+ body: user
656
+ }
657
+ );
658
+ const deleteUser = async (userId, otherOptions = {}) => await fetcher(
659
+ `${USER_API_ROUTE}/${userId}`,
660
+ authAPIOptions,
661
+ otherOptions,
662
+ {
663
+ method: "DELETE"
664
+ }
665
+ );
666
+ return {
667
+ createUser,
668
+ getUsers,
669
+ getUserById,
670
+ getUserByAccount,
671
+ getUserByEmail,
672
+ updateUser,
673
+ deleteUser
674
+ };
675
+ };
676
+ getUserAPI();
677
+ const getIntlayerAPI = (authAPIOptions = {}, intlayerConfig) => ({
678
+ organization: getOrganizationAPI(authAPIOptions),
679
+ project: getProjectAPI(authAPIOptions),
680
+ user: getUserAPI(authAPIOptions),
681
+ auth: getAuthAPI(authAPIOptions),
682
+ dictionary: getDictionaryAPI(authAPIOptions),
683
+ stripe: getStripeAPI(authAPIOptions),
684
+ ai: getAiAPI(authAPIOptions),
685
+ tag: getTagAPI(authAPIOptions),
686
+ editor: getEditorAPI(authAPIOptions)
687
+ });
688
+ const intlayerAPI = getIntlayerAPI();
689
+ exports.intlayerAPI = intlayerAPI;
690
+ //# sourceMappingURL=index-D_MDocy7.cjs.map