fastapi-rtk 2.7.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineFileInput.cjs +13 -4
  2. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/MantineInputs/MantineObjectInput.cjs +23 -12
  3. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/DeleteDialog.cjs +38 -7
  4. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.cjs +16 -11
  5. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.cjs +117 -23
  6. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.cjs +30 -4
  7. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useContextProps.cjs +5 -7
  8. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useNavigationComponent.cjs +48 -13
  9. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/hooks/useToolbarComponent.cjs +31 -11
  10. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/labels/MantineLabelRenderer.cjs +9 -1
  11. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/ArrayToolbar.cjs +15 -4
  12. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/ExpandPanelRenderer.cjs +83 -18
  13. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/Array/MantineArrayLayout.cjs +76 -43
  14. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.cjs +2 -2
  15. package/dist/.bundled/jsonforms/cjs/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.cjs +2 -2
  16. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineFileInput.mjs +16 -7
  17. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/MantineInputs/MantineObjectInput.mjs +23 -12
  18. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/DeleteDialog.mjs +40 -9
  19. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineArrayControl/MantineArrayControl.mjs +17 -12
  20. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/MantineTableControl.mjs +118 -24
  21. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/complex/MantineTableControl/TableToolbar.mjs +31 -5
  22. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useContextProps.mjs +5 -7
  23. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useNavigationComponent.mjs +49 -14
  24. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/hooks/useToolbarComponent.mjs +32 -12
  25. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/labels/MantineLabelRenderer.mjs +9 -1
  26. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/ArrayToolbar.mjs +16 -5
  27. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/ExpandPanelRenderer.mjs +85 -20
  28. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/Array/MantineArrayLayout.mjs +79 -46
  29. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineHotizontalLayoutRenderer.mjs +2 -2
  30. package/dist/.bundled/jsonforms/esm/packages/jsonforms/src/layouts/MantineVerticalLayoutRenderer.mjs +2 -2
  31. package/dist/.external/cjs/yup@1.7.1/yup/index.esm.cjs +1 -435
  32. package/dist/.external/esm/yup@1.7.1/yup/index.esm.mjs +2 -436
  33. package/dist/.external/lib/type-fest/index.d.ts +95 -0
  34. package/dist/.external/lib/type-fest/source/async-return-type.d.ts +25 -0
  35. package/dist/.external/lib/type-fest/source/asyncify.d.ts +33 -0
  36. package/dist/.external/lib/type-fest/source/basic.d.ts +45 -0
  37. package/dist/.external/lib/type-fest/source/camel-case.d.ts +73 -0
  38. package/dist/.external/lib/type-fest/source/camel-cased-properties-deep.d.ts +54 -0
  39. package/dist/.external/lib/type-fest/source/camel-cased-properties.d.ts +36 -0
  40. package/dist/.external/lib/type-fest/source/conditional-except.d.ts +45 -0
  41. package/dist/.external/lib/type-fest/source/conditional-keys.d.ts +47 -0
  42. package/dist/.external/lib/type-fest/source/conditional-pick.d.ts +44 -0
  43. package/dist/.external/lib/type-fest/source/delimiter-case.d.ts +93 -0
  44. package/dist/.external/lib/type-fest/source/delimiter-cased-properties-deep.d.ts +60 -0
  45. package/dist/.external/lib/type-fest/source/delimiter-cased-properties.d.ts +37 -0
  46. package/dist/.external/lib/type-fest/source/entries.d.ts +62 -0
  47. package/dist/.external/lib/type-fest/source/entry.d.ts +65 -0
  48. package/dist/.external/lib/type-fest/source/exact.d.ts +73 -0
  49. package/dist/.external/lib/type-fest/source/except.d.ts +57 -0
  50. package/dist/.external/lib/type-fest/source/fixed-length-array.d.ts +43 -0
  51. package/dist/.external/lib/type-fest/source/get.d.ts +184 -0
  52. package/dist/.external/lib/type-fest/source/has-optional-keys.d.ts +21 -0
  53. package/dist/.external/lib/type-fest/source/has-required-keys.d.ts +59 -0
  54. package/dist/.external/lib/type-fest/source/includes.d.ts +22 -0
  55. package/dist/.external/lib/type-fest/source/internal.d.ts +59 -0
  56. package/dist/.external/lib/type-fest/source/invariant-of.d.ts +76 -0
  57. package/dist/.external/lib/type-fest/source/iterable-element.d.ts +54 -0
  58. package/dist/.external/lib/type-fest/source/join.d.ts +30 -0
  59. package/dist/.external/lib/type-fest/source/jsonify.d.ts +90 -0
  60. package/dist/.external/lib/type-fest/source/kebab-case.d.ts +38 -0
  61. package/dist/.external/lib/type-fest/source/kebab-cased-properties-deep.d.ts +47 -0
  62. package/dist/.external/lib/type-fest/source/kebab-cased-properties.d.ts +30 -0
  63. package/dist/.external/lib/type-fest/source/last-array-element.d.ts +28 -0
  64. package/dist/.external/lib/type-fest/source/literal-to-primitive.d.ts +36 -0
  65. package/dist/.external/lib/type-fest/source/literal-union.d.ts +35 -0
  66. package/dist/.external/lib/type-fest/source/merge-exclusive.d.ts +41 -0
  67. package/dist/.external/lib/type-fest/source/merge.d.ts +27 -0
  68. package/dist/.external/lib/type-fest/source/multidimensional-array.d.ts +43 -0
  69. package/dist/.external/lib/type-fest/source/multidimensional-readonly-array.d.ts +47 -0
  70. package/dist/.external/lib/type-fest/source/mutable.d.ts +5 -0
  71. package/dist/.external/lib/type-fest/source/numeric.d.ts +170 -0
  72. package/dist/.external/lib/type-fest/source/observable-like.d.ts +62 -0
  73. package/dist/.external/lib/type-fest/source/opaque.d.ts +107 -0
  74. package/dist/.external/lib/type-fest/source/optional-keys-of.d.ts +38 -0
  75. package/dist/.external/lib/type-fest/source/package-json.d.ts +663 -0
  76. package/dist/.external/lib/type-fest/source/partial-deep.d.ts +113 -0
  77. package/dist/.external/lib/type-fest/source/partial-on-undefined-deep.d.ts +70 -0
  78. package/dist/.external/lib/type-fest/source/pascal-case.d.ts +38 -0
  79. package/dist/.external/lib/type-fest/source/pascal-cased-properties-deep.d.ts +54 -0
  80. package/dist/.external/lib/type-fest/source/pascal-cased-properties.d.ts +34 -0
  81. package/dist/.external/lib/type-fest/source/primitive.d.ts +13 -0
  82. package/dist/.external/lib/type-fest/source/promisable.d.ts +25 -0
  83. package/dist/.external/lib/type-fest/source/promise-value.d.ts +29 -0
  84. package/dist/.external/lib/type-fest/source/readonly-deep.d.ts +85 -0
  85. package/dist/.external/lib/type-fest/source/readonly-tuple.d.ts +41 -0
  86. package/dist/.external/lib/type-fest/source/remove-index-signature.d.ts +104 -0
  87. package/dist/.external/lib/type-fest/source/replace.d.ts +67 -0
  88. package/dist/.external/lib/type-fest/source/require-all-or-none.d.ts +36 -0
  89. package/dist/.external/lib/type-fest/source/require-at-least-one.d.ts +35 -0
  90. package/dist/.external/lib/type-fest/source/require-exactly-one.d.ts +34 -0
  91. package/dist/.external/lib/type-fest/source/required-keys-of.d.ts +29 -0
  92. package/dist/.external/lib/type-fest/source/schema.d.ts +72 -0
  93. package/dist/.external/lib/type-fest/source/screaming-snake-case.d.ts +33 -0
  94. package/dist/.external/lib/type-fest/source/set-non-nullable.d.ts +35 -0
  95. package/dist/.external/lib/type-fest/source/set-optional.d.ts +35 -0
  96. package/dist/.external/lib/type-fest/source/set-required.d.ts +35 -0
  97. package/dist/.external/lib/type-fest/source/set-return-type.d.ts +31 -0
  98. package/dist/.external/lib/type-fest/source/simplify.d.ts +83 -0
  99. package/dist/.external/lib/type-fest/source/snake-case.d.ts +38 -0
  100. package/dist/.external/lib/type-fest/source/snake-cased-properties-deep.d.ts +47 -0
  101. package/dist/.external/lib/type-fest/source/snake-cased-properties.d.ts +30 -0
  102. package/dist/.external/lib/type-fest/source/split.d.ts +29 -0
  103. package/dist/.external/lib/type-fest/source/spread.d.ts +85 -0
  104. package/dist/.external/lib/type-fest/source/string-key-of.d.ts +25 -0
  105. package/dist/.external/lib/type-fest/source/stringified.d.ts +23 -0
  106. package/dist/.external/lib/type-fest/source/trim.d.ts +25 -0
  107. package/dist/.external/lib/type-fest/source/tsconfig-json.d.ts +1172 -0
  108. package/dist/.external/lib/type-fest/source/typed-array.d.ts +17 -0
  109. package/dist/.external/lib/type-fest/source/union-to-intersection.d.ts +60 -0
  110. package/dist/.external/lib/type-fest/source/value-of.d.ts +42 -0
  111. package/dist/.external/lib/type-fest/source/writable.d.ts +40 -0
  112. package/dist/api/cjs/ApiProvider/ApiProvider.cjs +80 -0
  113. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/useProvideApi.cjs +26 -25
  114. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/useProvideBulk.cjs +5 -3
  115. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/useProvideForm.cjs +1 -1
  116. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/utils/useApiActions.cjs +15 -15
  117. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/utils/useStreamingData.cjs +2 -2
  118. package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/utils/getValidationSchema.cjs +1 -1
  119. package/dist/{core/cjs/Wrappers → api/cjs}/Provider/Contexts/LangContext.cjs +20 -6
  120. package/dist/api/cjs/Provider/Provider.cjs +51 -0
  121. package/dist/{core/cjs/Wrappers → api/cjs}/Provider/hooks/useProvideAuth.cjs +18 -17
  122. package/dist/{core/cjs/Wrappers → api/cjs}/Provider/hooks/useProvideInfo.cjs +6 -4
  123. package/dist/api/cjs/Provider/hooks/useProvideLang.cjs +76 -0
  124. package/dist/api/cjs/_virtual/_commonjsHelpers.cjs +6 -0
  125. package/dist/api/cjs/_virtual/index.cjs +5 -0
  126. package/dist/api/cjs/_virtual/index2.cjs +5 -0
  127. package/dist/api/cjs/_virtual/index3.cjs +6 -0
  128. package/dist/api/cjs/_virtual/index4.cjs +4 -0
  129. package/dist/api/cjs/adapters/AdaptersContext.cjs +10 -0
  130. package/dist/api/cjs/auth/authFetch.cjs +63 -0
  131. package/dist/api/cjs/auth/userCRUD.cjs +20 -0
  132. package/dist/api/cjs/fetchers/createItem.cjs +14 -0
  133. package/dist/api/cjs/fetchers/deleteItem.cjs +14 -0
  134. package/dist/api/cjs/fetchers/downloadItems.cjs +33 -0
  135. package/dist/api/cjs/fetchers/formCreateItem.cjs +18 -0
  136. package/dist/api/cjs/fetchers/formUpdateItem.cjs +18 -0
  137. package/dist/api/cjs/fetchers/getInfo.cjs +10 -0
  138. package/dist/api/cjs/fetchers/getItem.cjs +14 -0
  139. package/dist/api/cjs/fetchers/getItems.cjs +13 -0
  140. package/dist/api/cjs/fetchers/postBulkAction.cjs +14 -0
  141. package/dist/api/cjs/fetchers/request.cjs +9 -0
  142. package/dist/api/cjs/fetchers/updateItem.cjs +14 -0
  143. package/dist/api/cjs/fetchers/uploadItems.cjs +24 -0
  144. package/dist/{core → api}/cjs/hooks/auth/useAuth.cjs +1 -1
  145. package/dist/{core → api}/cjs/hooks/auth/useInfo.cjs +1 -1
  146. package/dist/api/cjs/hooks/useDidUpdate.cjs +20 -0
  147. package/dist/api/cjs/index.cjs +75 -0
  148. package/dist/{utils/cjs → api/cjs/utils}/convertToFormData/convertToFormData.cjs +5 -5
  149. package/dist/{utils/cjs → api/cjs/utils}/createFetchParams/createFetchParams.cjs +1 -3
  150. package/dist/api/esm/ApiProvider/ApiProvider.mjs +80 -0
  151. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/useProvideApi.mjs +19 -18
  152. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/useProvideBulk.mjs +5 -3
  153. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/useProvideForm.mjs +1 -1
  154. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/utils/useApiActions.mjs +15 -15
  155. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/utils/useStreamingData.mjs +1 -1
  156. package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/utils/getValidationSchema.mjs +2 -2
  157. package/dist/{core/esm/Wrappers → api/esm}/Provider/Contexts/LangContext.mjs +21 -7
  158. package/dist/api/esm/Provider/Provider.mjs +51 -0
  159. package/dist/{core/esm/Wrappers → api/esm}/Provider/hooks/useProvideAuth.mjs +16 -15
  160. package/dist/{core/esm/Wrappers → api/esm}/Provider/hooks/useProvideInfo.mjs +5 -3
  161. package/dist/api/esm/Provider/hooks/useProvideLang.mjs +76 -0
  162. package/dist/api/esm/_virtual/_commonjsHelpers.mjs +6 -0
  163. package/dist/api/esm/_virtual/index.mjs +5 -0
  164. package/dist/api/esm/_virtual/index2.mjs +5 -0
  165. package/dist/api/esm/_virtual/index3.mjs +7 -0
  166. package/dist/api/esm/_virtual/index4.mjs +4 -0
  167. package/dist/api/esm/adapters/AdaptersContext.mjs +10 -0
  168. package/dist/api/esm/auth/authFetch.mjs +63 -0
  169. package/dist/api/esm/auth/userCRUD.mjs +20 -0
  170. package/dist/api/esm/fetchers/createItem.mjs +14 -0
  171. package/dist/api/esm/fetchers/deleteItem.mjs +14 -0
  172. package/dist/api/esm/fetchers/downloadItems.mjs +33 -0
  173. package/dist/api/esm/fetchers/formCreateItem.mjs +18 -0
  174. package/dist/api/esm/fetchers/formUpdateItem.mjs +18 -0
  175. package/dist/api/esm/fetchers/getInfo.mjs +10 -0
  176. package/dist/api/esm/fetchers/getItem.mjs +14 -0
  177. package/dist/api/esm/fetchers/getItems.mjs +13 -0
  178. package/dist/api/esm/fetchers/postBulkAction.mjs +14 -0
  179. package/dist/api/esm/fetchers/request.mjs +9 -0
  180. package/dist/api/esm/fetchers/updateItem.mjs +14 -0
  181. package/dist/api/esm/fetchers/uploadItems.mjs +24 -0
  182. package/dist/{core → api}/esm/hooks/auth/useAuth.mjs +1 -1
  183. package/dist/{core → api}/esm/hooks/auth/useInfo.mjs +1 -1
  184. package/dist/api/esm/hooks/useDidUpdate.mjs +20 -0
  185. package/dist/api/esm/index.mjs +75 -0
  186. package/dist/{utils/esm → api/esm/utils}/convertToFormData/convertToFormData.mjs +5 -5
  187. package/dist/{utils/esm → api/esm/utils}/createFetchParams/createFetchParams.mjs +1 -3
  188. package/dist/api/lib/ApiProvider/ApiProvider.d.ts +17 -0
  189. package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/Contexts/BulkActionsContext.d.ts +1 -1
  190. package/dist/api/lib/ApiProvider/Contexts/FormContext.d.ts +5 -0
  191. package/dist/api/lib/ApiProvider/hooks/types.d.ts +150 -0
  192. package/dist/api/lib/ApiProvider/hooks/useProvideBulk.d.ts +7 -0
  193. package/dist/api/lib/ApiProvider/hooks/useProvideForm.d.ts +2 -0
  194. package/dist/api/lib/ApiProvider/hooks/utils/useApiActions.d.ts +11 -0
  195. package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/hooks/utils/useStreamingData.d.ts +26 -26
  196. package/dist/api/lib/ApiProvider/types.d.ts +51 -0
  197. package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/getDefaultValues.d.ts +2 -2
  198. package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/getValidationSchema.d.ts +1 -1
  199. package/dist/{core/lib/Wrappers → api/lib}/Provider/Contexts/AuthContext.d.ts +1 -1
  200. package/dist/{core/lib/Wrappers → api/lib}/Provider/Contexts/InfoContext.d.ts +1 -1
  201. package/dist/{core/lib/Wrappers → api/lib}/Provider/Contexts/types.d.ts +5 -4
  202. package/dist/api/lib/Provider/Provider.d.ts +14 -0
  203. package/dist/api/lib/Provider/hooks/types.d.ts +22 -0
  204. package/dist/api/lib/Provider/hooks/useProvideAuth.d.ts +17 -0
  205. package/dist/{core/lib/Wrappers → api/lib}/Provider/hooks/useProvideInfo.d.ts +2 -2
  206. package/dist/{core/lib/Wrappers → api/lib}/Provider/hooks/useProvideLang.d.ts +1 -2
  207. package/dist/api/lib/Provider/types.d.ts +35 -0
  208. package/dist/api/lib/adapters/AdaptersContext.d.ts +10 -0
  209. package/dist/api/lib/adapters/types.d.ts +69 -0
  210. package/dist/{core/lib/Wrappers/Provider/utils → api/lib/auth}/authFetch.d.ts +13 -7
  211. package/dist/api/lib/auth/types.d.ts +40 -0
  212. package/dist/api/lib/auth/userCRUD.d.ts +22 -0
  213. package/dist/{core/lib/Wrappers/ApiProvider/utils/bulkActions/types.d.ts → api/lib/fetchers/bulkActions.types.d.ts} +3 -3
  214. package/dist/api/lib/fetchers/createItem.d.ts +4 -0
  215. package/dist/api/lib/fetchers/deleteItem.d.ts +4 -0
  216. package/dist/api/lib/fetchers/downloadItems.d.ts +4 -0
  217. package/dist/api/lib/fetchers/formCreateItem.d.ts +4 -0
  218. package/dist/api/lib/fetchers/formUpdateItem.d.ts +4 -0
  219. package/dist/{core/lib/Wrappers/ApiProvider/utils/api → api/lib/fetchers}/getInfo.d.ts +3 -1
  220. package/dist/api/lib/fetchers/getItem.d.ts +4 -0
  221. package/dist/{core/lib/Wrappers/ApiProvider/utils/api → api/lib/fetchers}/getItems.d.ts +3 -1
  222. package/dist/api/lib/fetchers/postBulkAction.d.ts +4 -0
  223. package/dist/api/lib/fetchers/request.d.ts +7 -0
  224. package/dist/{core/lib/Wrappers/ApiProvider/utils/api → api/lib/fetchers}/types.d.ts +3 -7
  225. package/dist/api/lib/fetchers/updateItem.d.ts +4 -0
  226. package/dist/api/lib/fetchers/uploadItems.d.ts +3 -0
  227. package/dist/api/lib/fetchers/uploadItems.test.d.ts +1 -0
  228. package/dist/{core → api}/lib/hooks/auth/types.d.ts +2 -39
  229. package/dist/api/lib/hooks/auth/useAuth.test.d.ts +1 -0
  230. package/dist/api/lib/hooks/auth/useInfo.test.d.ts +1 -0
  231. package/dist/api/lib/hooks/useDidUpdate.d.ts +3 -0
  232. package/dist/api/lib/index.d.ts +35 -0
  233. package/dist/api/lib/utils/convertToFormData/convertToFormData.d.ts +17 -0
  234. package/dist/api/lib/utils/convertToFormData/convertToFormData.test.d.ts +1 -0
  235. package/dist/{utils/lib → api/lib/utils}/createFetchParams/createFetchParams.d.ts +3 -4
  236. package/dist/api/lib/utils/createFetchParams/createFetchParams.test.d.ts +1 -0
  237. package/dist/{utils/lib → api/lib/utils}/parseResponse/parseResponse.d.ts +1 -2
  238. package/dist/api/lib/utils/parseResponse/parseResponse.test.d.ts +1 -0
  239. package/dist/constants/cjs/index.cjs +16 -2
  240. package/dist/constants/esm/index.mjs +16 -2
  241. package/dist/core/cjs/Dialogs/AddDialog.cjs +2 -2
  242. package/dist/core/cjs/Dialogs/EditDialog.cjs +2 -2
  243. package/dist/core/cjs/Menu/UserMenu/UserMenu.cjs +2 -2
  244. package/dist/core/cjs/Modals/CommonModal.cjs +2 -2
  245. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useActions.cjs +5 -5
  246. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/Cell.cjs +4 -4
  247. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter.cjs +4 -4
  248. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +4 -4
  249. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/useColumns.cjs +5 -5
  250. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.cjs +9 -9
  251. package/dist/core/cjs/Wrappers/ApiProvider/ApiProvider.cjs +8 -74
  252. package/dist/core/cjs/Wrappers/Provider/Provider.cjs +18 -47
  253. package/dist/core/cjs/adapters/web/cookieTransport.cjs +15 -0
  254. package/dist/core/cjs/adapters/web/index.cjs +23 -0
  255. package/dist/core/cjs/adapters/web/webFileDownloadAdapter.cjs +16 -0
  256. package/dist/core/cjs/adapters/web/webFormDataAdapter.cjs +8 -0
  257. package/dist/core/cjs/adapters/web/webNetworkAdapter.cjs +6 -0
  258. package/dist/core/cjs/adapters/web/webOAuthOpener.cjs +26 -0
  259. package/dist/core/cjs/adapters/web/webStorageAdapter.cjs +21 -0
  260. package/dist/core/cjs/fab-react-toolkit-patch/api/hooks/useProvideApi.cjs +7 -12
  261. package/dist/core/cjs/fab-react-toolkit-patch/api/hooks/useProvideBulk.cjs +2 -2
  262. package/dist/core/cjs/fab-react-toolkit-patch/api/utils/api/downloadItems.cjs +5 -3
  263. package/dist/core/cjs/fab-react-toolkit-patch/api/utils/api/getItems.cjs +6 -5
  264. package/dist/core/cjs/fab-react-toolkit-patch/auth/utils/authFetch.cjs +19 -15
  265. package/dist/core/cjs/fab-react-toolkit-patch/auth/utils/userCRUD.cjs +9 -6
  266. package/dist/core/cjs/hooks/api/useBulkActions.cjs +2 -5
  267. package/dist/core/cjs/hooks/api/useForms.cjs +5 -5
  268. package/dist/core/cjs/index.cjs +83 -6
  269. package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
  270. package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
  271. package/dist/core/esm/Menu/UserMenu/UserMenu.mjs +1 -1
  272. package/dist/core/esm/Modals/CommonModal.mjs +1 -1
  273. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useActions.mjs +1 -1
  274. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/Cell.mjs +1 -1
  275. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilter.mjs +1 -1
  276. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
  277. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/useColumns.mjs +1 -1
  278. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.mjs +1 -1
  279. package/dist/core/esm/Wrappers/ApiProvider/ApiProvider.mjs +5 -73
  280. package/dist/core/esm/Wrappers/Provider/Provider.mjs +15 -46
  281. package/dist/core/esm/adapters/web/cookieTransport.mjs +15 -0
  282. package/dist/core/esm/adapters/web/index.mjs +23 -0
  283. package/dist/core/esm/adapters/web/webFileDownloadAdapter.mjs +16 -0
  284. package/dist/core/esm/adapters/web/webFormDataAdapter.mjs +8 -0
  285. package/dist/core/esm/adapters/web/webNetworkAdapter.mjs +6 -0
  286. package/dist/core/esm/adapters/web/webOAuthOpener.mjs +26 -0
  287. package/dist/core/esm/adapters/web/webStorageAdapter.mjs +21 -0
  288. package/dist/core/esm/fab-react-toolkit-patch/api/hooks/useProvideApi.mjs +1 -6
  289. package/dist/core/esm/fab-react-toolkit-patch/api/hooks/useProvideBulk.mjs +1 -1
  290. package/dist/core/esm/fab-react-toolkit-patch/api/utils/api/downloadItems.mjs +5 -3
  291. package/dist/core/esm/fab-react-toolkit-patch/api/utils/api/getItems.mjs +4 -3
  292. package/dist/core/esm/fab-react-toolkit-patch/auth/utils/authFetch.mjs +15 -11
  293. package/dist/core/esm/fab-react-toolkit-patch/auth/utils/userCRUD.mjs +8 -5
  294. package/dist/core/esm/hooks/api/useBulkActions.mjs +2 -5
  295. package/dist/core/esm/hooks/api/useForms.mjs +1 -1
  296. package/dist/core/esm/index.mjs +21 -4
  297. package/dist/core/lib/Tables/NextGenDataGrid/types.d.ts +1 -1
  298. package/dist/core/lib/Wrappers/ApiProvider/ApiProvider.d.ts +4 -17
  299. package/dist/core/lib/Wrappers/ApiProvider/types.d.ts +3 -47
  300. package/dist/core/lib/Wrappers/Provider/Provider.d.ts +4 -14
  301. package/dist/core/lib/Wrappers/Provider/types.d.ts +6 -27
  302. package/dist/core/lib/adapters/web/cookieTransport.d.ts +2 -0
  303. package/dist/core/lib/adapters/web/index.d.ts +9 -0
  304. package/dist/core/lib/adapters/web/webAdapters.test.d.ts +1 -0
  305. package/dist/core/lib/adapters/web/webFileDownloadAdapter.d.ts +2 -0
  306. package/dist/core/lib/adapters/web/webFormDataAdapter.d.ts +2 -0
  307. package/dist/core/lib/adapters/web/webNetworkAdapter.d.ts +2 -0
  308. package/dist/core/lib/adapters/web/webOAuthOpener.d.ts +2 -0
  309. package/dist/core/lib/adapters/web/webStorageAdapter.d.ts +3 -0
  310. package/dist/core/lib/fab-react-toolkit-patch/api/hooks/useProvideApi.d.ts +1 -1
  311. package/dist/core/lib/fab-react-toolkit-patch/api/hooks/useProvideBulk.d.ts +1 -1
  312. package/dist/core/lib/fab-react-toolkit-patch/api/utils/api/downloadItems.d.ts +2 -2
  313. package/dist/core/lib/fab-react-toolkit-patch/api/utils/api/getItems.d.ts +3 -2
  314. package/dist/core/lib/fab-react-toolkit-patch/auth/utils/authFetch.d.ts +11 -6
  315. package/dist/core/lib/fab-react-toolkit-patch/auth/utils/userCRUD.d.ts +5 -3
  316. package/dist/core/lib/hooks/api/types.d.ts +1 -59
  317. package/dist/core/lib/hooks/api/useForms.d.ts +1 -1
  318. package/dist/core/lib/index.d.ts +5 -6
  319. package/dist/core/lib/test-helpers/types.d.ts +1 -1
  320. package/dist/jsonforms/cjs/MantineInputs/MantineFileInput.cjs +13 -4
  321. package/dist/jsonforms/cjs/MantineInputs/MantineObjectInput.cjs +23 -12
  322. package/dist/jsonforms/cjs/complex/MantineArrayControl/DeleteDialog.cjs +38 -7
  323. package/dist/jsonforms/cjs/complex/MantineArrayControl/MantineArrayControl.cjs +16 -11
  324. package/dist/jsonforms/cjs/complex/MantineTableControl/MantineTableControl.cjs +117 -23
  325. package/dist/jsonforms/cjs/complex/MantineTableControl/TableToolbar.cjs +30 -4
  326. package/dist/jsonforms/cjs/hooks/useContextProps.cjs +5 -7
  327. package/dist/jsonforms/cjs/hooks/useNavigationComponent.cjs +48 -13
  328. package/dist/jsonforms/cjs/hooks/useToolbarComponent.cjs +31 -11
  329. package/dist/jsonforms/cjs/labels/MantineLabelRenderer.cjs +9 -1
  330. package/dist/jsonforms/cjs/layouts/Array/ArrayToolbar.cjs +15 -4
  331. package/dist/jsonforms/cjs/layouts/Array/ExpandPanelRenderer.cjs +83 -18
  332. package/dist/jsonforms/cjs/layouts/Array/MantineArrayLayout.cjs +76 -43
  333. package/dist/jsonforms/cjs/layouts/MantineHotizontalLayoutRenderer.cjs +2 -2
  334. package/dist/jsonforms/cjs/layouts/MantineVerticalLayoutRenderer.cjs +2 -2
  335. package/dist/jsonforms/esm/MantineInputs/MantineFileInput.mjs +16 -7
  336. package/dist/jsonforms/esm/MantineInputs/MantineObjectInput.mjs +23 -12
  337. package/dist/jsonforms/esm/complex/MantineArrayControl/DeleteDialog.mjs +40 -9
  338. package/dist/jsonforms/esm/complex/MantineArrayControl/MantineArrayControl.mjs +17 -12
  339. package/dist/jsonforms/esm/complex/MantineTableControl/MantineTableControl.mjs +118 -24
  340. package/dist/jsonforms/esm/complex/MantineTableControl/TableToolbar.mjs +31 -5
  341. package/dist/jsonforms/esm/hooks/useContextProps.mjs +5 -7
  342. package/dist/jsonforms/esm/hooks/useNavigationComponent.mjs +49 -14
  343. package/dist/jsonforms/esm/hooks/useToolbarComponent.mjs +32 -12
  344. package/dist/jsonforms/esm/labels/MantineLabelRenderer.mjs +9 -1
  345. package/dist/jsonforms/esm/layouts/Array/ArrayToolbar.mjs +16 -5
  346. package/dist/jsonforms/esm/layouts/Array/ExpandPanelRenderer.mjs +85 -20
  347. package/dist/jsonforms/esm/layouts/Array/MantineArrayLayout.mjs +79 -46
  348. package/dist/jsonforms/esm/layouts/MantineHotizontalLayoutRenderer.mjs +2 -2
  349. package/dist/jsonforms/esm/layouts/MantineVerticalLayoutRenderer.mjs +2 -2
  350. package/dist/jsonforms/lib/MantineInputs/MantineObjectInput.d.ts +1 -1
  351. package/dist/jsonforms/lib/complex/MantineTableControl/MantineTableControl.customizer.test.d.ts +1 -0
  352. package/dist/jsonforms/lib/complex/MantineTableControl/types.d.ts +1 -0
  353. package/dist/jsonforms/lib/hooks/useContextProps.d.ts +3 -1
  354. package/dist/jsonforms/lib/hooks/useNavigationComponent.d.ts +1 -1
  355. package/dist/jsonforms/lib/layouts/Array/ExpandPanelRenderer.d.ts +1 -1
  356. package/dist/jsonforms/lib/layouts/Array/MantineArrayLayout.d.ts +1 -1
  357. package/dist/jsonforms/lib/test-helpers/inputWrap.d.ts +2 -2
  358. package/dist/react-native-adapters/cjs/asyncStorageAdapter.cjs +8 -0
  359. package/dist/react-native-adapters/cjs/bearerTransport.cjs +29 -0
  360. package/dist/react-native-adapters/cjs/createReactNativeAdapters.cjs +24 -0
  361. package/dist/react-native-adapters/cjs/index.cjs +16 -0
  362. package/dist/react-native-adapters/cjs/rnFileDownloadAdapter.cjs +24 -0
  363. package/dist/react-native-adapters/cjs/rnFormDataAdapter.cjs +15 -0
  364. package/dist/react-native-adapters/cjs/rnNetworkAdapter.cjs +9 -0
  365. package/dist/react-native-adapters/cjs/rnOAuthOpener.cjs +9 -0
  366. package/dist/react-native-adapters/esm/asyncStorageAdapter.mjs +8 -0
  367. package/dist/react-native-adapters/esm/bearerTransport.mjs +29 -0
  368. package/dist/react-native-adapters/esm/createReactNativeAdapters.mjs +24 -0
  369. package/dist/react-native-adapters/esm/index.mjs +16 -0
  370. package/dist/react-native-adapters/esm/rnFileDownloadAdapter.mjs +24 -0
  371. package/dist/react-native-adapters/esm/rnFormDataAdapter.mjs +15 -0
  372. package/dist/react-native-adapters/esm/rnNetworkAdapter.mjs +9 -0
  373. package/dist/react-native-adapters/esm/rnOAuthOpener.mjs +9 -0
  374. package/dist/react-native-adapters/lib/asyncStorageAdapter.d.ts +7 -0
  375. package/dist/react-native-adapters/lib/asyncStorageAdapter.test.d.ts +1 -0
  376. package/dist/react-native-adapters/lib/bearerTransport.d.ts +5 -0
  377. package/dist/react-native-adapters/lib/bearerTransport.test.d.ts +1 -0
  378. package/dist/react-native-adapters/lib/createReactNativeAdapters.d.ts +11 -0
  379. package/dist/react-native-adapters/lib/createReactNativeAdapters.test.d.ts +1 -0
  380. package/dist/react-native-adapters/lib/index.d.ts +8 -0
  381. package/dist/react-native-adapters/lib/rnFileDownloadAdapter.d.ts +7 -0
  382. package/dist/react-native-adapters/lib/rnFileDownloadAdapter.test.d.ts +1 -0
  383. package/dist/react-native-adapters/lib/rnFormDataAdapter.d.ts +2 -0
  384. package/dist/react-native-adapters/lib/rnFormDataAdapter.test.d.ts +1 -0
  385. package/dist/react-native-adapters/lib/rnNetworkAdapter.d.ts +4 -0
  386. package/dist/react-native-adapters/lib/rnNetworkAdapter.test.d.ts +1 -0
  387. package/dist/react-native-adapters/lib/rnOAuthOpener.d.ts +5 -0
  388. package/dist/react-native-adapters/lib/rnOAuthOpener.test.d.ts +1 -0
  389. package/dist/react-native-adapters/lib/types.d.ts +23 -0
  390. package/dist/utils/cjs/Memoizer/MemoWrapper.cjs +2 -2
  391. package/dist/utils/cjs/Memoizer/RenderWrapper.cjs +2 -2
  392. package/dist/utils/cjs/deepMerge/deepMerge.cjs +1 -1
  393. package/dist/utils/cjs/index.cjs +2 -6
  394. package/dist/utils/cjs/randomId/randomId.cjs +4 -0
  395. package/dist/utils/esm/Memoizer/MemoWrapper.mjs +1 -1
  396. package/dist/utils/esm/Memoizer/RenderWrapper.mjs +1 -1
  397. package/dist/utils/esm/deepMerge/deepMerge.mjs +1 -1
  398. package/dist/utils/esm/index.mjs +2 -6
  399. package/dist/utils/esm/randomId/randomId.mjs +4 -0
  400. package/dist/utils/lib/deepMerge/deepMerge.d.ts +2 -0
  401. package/dist/utils/lib/index.d.ts +1 -3
  402. package/dist/utils/lib/randomId/index.d.ts +1 -0
  403. package/dist/utils/lib/randomId/randomId.d.ts +2 -0
  404. package/dist/utils/lib/randomId/randomId.test.d.ts +1 -0
  405. package/package.json +11 -1
  406. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/createItem.cjs +0 -14
  407. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/deleteItem.cjs +0 -13
  408. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/downloadItems.cjs +0 -39
  409. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/formCreateItem.cjs +0 -12
  410. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/formUpdateItem.cjs +0 -16
  411. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getInfo.cjs +0 -9
  412. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItem.cjs +0 -13
  413. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/getItems.cjs +0 -9
  414. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/updateItem.cjs +0 -14
  415. package/dist/core/cjs/Wrappers/ApiProvider/utils/api/uploadItems.cjs +0 -26
  416. package/dist/core/cjs/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.cjs +0 -14
  417. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideLang.cjs +0 -45
  418. package/dist/core/cjs/Wrappers/Provider/utils/authFetch.cjs +0 -99
  419. package/dist/core/cjs/Wrappers/Provider/utils/userCRUD.cjs +0 -32
  420. package/dist/core/esm/Wrappers/ApiProvider/utils/api/createItem.mjs +0 -14
  421. package/dist/core/esm/Wrappers/ApiProvider/utils/api/deleteItem.mjs +0 -13
  422. package/dist/core/esm/Wrappers/ApiProvider/utils/api/downloadItems.mjs +0 -39
  423. package/dist/core/esm/Wrappers/ApiProvider/utils/api/formCreateItem.mjs +0 -12
  424. package/dist/core/esm/Wrappers/ApiProvider/utils/api/formUpdateItem.mjs +0 -16
  425. package/dist/core/esm/Wrappers/ApiProvider/utils/api/getInfo.mjs +0 -9
  426. package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItem.mjs +0 -13
  427. package/dist/core/esm/Wrappers/ApiProvider/utils/api/getItems.mjs +0 -9
  428. package/dist/core/esm/Wrappers/ApiProvider/utils/api/updateItem.mjs +0 -14
  429. package/dist/core/esm/Wrappers/ApiProvider/utils/api/uploadItems.mjs +0 -26
  430. package/dist/core/esm/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.mjs +0 -14
  431. package/dist/core/esm/Wrappers/Provider/hooks/useProvideLang.mjs +0 -45
  432. package/dist/core/esm/Wrappers/Provider/utils/authFetch.mjs +0 -99
  433. package/dist/core/esm/Wrappers/Provider/utils/userCRUD.mjs +0 -32
  434. package/dist/core/lib/Wrappers/ApiProvider/Contexts/FormContext.d.ts +0 -5
  435. package/dist/core/lib/Wrappers/ApiProvider/hooks/types.d.ts +0 -90
  436. package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideBulk.d.ts +0 -8
  437. package/dist/core/lib/Wrappers/ApiProvider/hooks/useProvideForm.d.ts +0 -2
  438. package/dist/core/lib/Wrappers/ApiProvider/hooks/utils/useApiActions.d.ts +0 -11
  439. package/dist/core/lib/Wrappers/ApiProvider/utils/api/createItem.d.ts +0 -3
  440. package/dist/core/lib/Wrappers/ApiProvider/utils/api/deleteItem.d.ts +0 -3
  441. package/dist/core/lib/Wrappers/ApiProvider/utils/api/downloadItems.d.ts +0 -3
  442. package/dist/core/lib/Wrappers/ApiProvider/utils/api/formCreateItem.d.ts +0 -3
  443. package/dist/core/lib/Wrappers/ApiProvider/utils/api/formUpdateItem.d.ts +0 -3
  444. package/dist/core/lib/Wrappers/ApiProvider/utils/api/getItem.d.ts +0 -3
  445. package/dist/core/lib/Wrappers/ApiProvider/utils/api/updateItem.d.ts +0 -3
  446. package/dist/core/lib/Wrappers/ApiProvider/utils/api/uploadItems.d.ts +0 -2
  447. package/dist/core/lib/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.d.ts +0 -3
  448. package/dist/core/lib/Wrappers/Provider/hooks/types.d.ts +0 -24
  449. package/dist/core/lib/Wrappers/Provider/hooks/useProvideAuth.d.ts +0 -17
  450. package/dist/core/lib/Wrappers/Provider/utils/userCRUD.d.ts +0 -19
  451. package/dist/utils/lib/convertToFormData/convertToFormData.d.ts +0 -15
  452. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/Contexts/BulkActionsContext.cjs +0 -0
  453. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/Contexts/FormContext.cjs +0 -0
  454. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/hooks/utils/useLatest.cjs +0 -0
  455. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/utils/convertInfo.cjs +0 -0
  456. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/utils/createQueryParams.cjs +0 -0
  457. /package/dist/{core/cjs/Wrappers → api/cjs}/ApiProvider/utils/getDefaultValues.cjs +0 -0
  458. /package/dist/{core/cjs/Wrappers → api/cjs}/Provider/Contexts/AuthContext.cjs +0 -0
  459. /package/dist/{core/cjs/Wrappers → api/cjs}/Provider/Contexts/InfoContext.cjs +0 -0
  460. /package/dist/{core → api}/cjs/translations/de.cjs +0 -0
  461. /package/dist/{utils/cjs → api/cjs/utils}/parseResponse/parseResponse.cjs +0 -0
  462. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/Contexts/BulkActionsContext.mjs +0 -0
  463. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/Contexts/FormContext.mjs +0 -0
  464. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/hooks/utils/useLatest.mjs +0 -0
  465. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/utils/convertInfo.mjs +0 -0
  466. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/utils/createQueryParams.mjs +0 -0
  467. /package/dist/{core/esm/Wrappers → api/esm}/ApiProvider/utils/getDefaultValues.mjs +0 -0
  468. /package/dist/{core/esm/Wrappers → api/esm}/Provider/Contexts/AuthContext.mjs +0 -0
  469. /package/dist/{core/esm/Wrappers → api/esm}/Provider/Contexts/InfoContext.mjs +0 -0
  470. /package/dist/{core → api}/esm/translations/de.mjs +0 -0
  471. /package/dist/{utils/esm → api/esm/utils}/parseResponse/parseResponse.mjs +0 -0
  472. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/useProvideApi.test.d.ts → api/lib/ApiProvider/ApiProvider.test.d.ts} +0 -0
  473. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/Contexts/ApiContext.d.ts +0 -0
  474. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/hooks/useProvideApi.d.ts +0 -0
  475. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/useProvideBulk.test.d.ts → api/lib/ApiProvider/hooks/useProvideApi.test.d.ts} +0 -0
  476. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/useProvideForm.test.d.ts → api/lib/ApiProvider/hooks/useProvideBulk.test.d.ts} +0 -0
  477. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/utils/useApiActions.test.d.ts → api/lib/ApiProvider/hooks/useProvideForm.test.d.ts} +0 -0
  478. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/utils/useLatest.test.d.ts → api/lib/ApiProvider/hooks/utils/useApiActions.test.d.ts} +0 -0
  479. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/hooks/utils/useLatest.d.ts +0 -0
  480. /package/dist/{core/lib/Wrappers/ApiProvider/hooks/utils/useStreamingData.test.d.ts → api/lib/ApiProvider/hooks/utils/useLatest.test.d.ts} +0 -0
  481. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/createItem.test.d.ts → api/lib/ApiProvider/hooks/utils/useStreamingData.test.d.ts} +0 -0
  482. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/convertInfo.d.ts +0 -0
  483. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/convertInfo.test.d.ts +0 -0
  484. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/createQueryParams.d.ts +0 -0
  485. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/createQueryParams.test.d.ts +0 -0
  486. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/getDefaultValues.test.d.ts +0 -0
  487. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/getValidationSchema.test.d.ts +0 -0
  488. /package/dist/{core/lib/Wrappers → api/lib}/ApiProvider/utils/types.d.ts +0 -0
  489. /package/dist/{core/lib/Wrappers → api/lib}/Provider/Contexts/LangContext.d.ts +0 -0
  490. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/deleteItem.test.d.ts → api/lib/Provider/Provider.test.d.ts} +0 -0
  491. /package/dist/{core/lib/Wrappers → api/lib}/Provider/hooks/useProvideAuth.test.d.ts +0 -0
  492. /package/dist/{core/lib/Wrappers → api/lib}/Provider/hooks/useProvideInfo.test.d.ts +0 -0
  493. /package/dist/{core/lib/Wrappers → api/lib}/Provider/hooks/useProvideLang.test.d.ts +0 -0
  494. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/downloadItems.test.d.ts → api/lib/__tests__/purity.test.d.ts} +0 -0
  495. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/formCreateItem.test.d.ts → api/lib/__tests__/smoke.test.d.ts} +0 -0
  496. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/formUpdateItem.test.d.ts → api/lib/adapters/AdaptersContext.test.d.ts} +0 -0
  497. /package/dist/{core/lib/Wrappers/Provider/utils → api/lib/auth}/authFetch.test.d.ts +0 -0
  498. /package/dist/{core/lib/Wrappers/Provider/utils → api/lib/auth}/userCRUD.test.d.ts +0 -0
  499. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/getInfo.test.d.ts → api/lib/fetchers/createItem.test.d.ts} +0 -0
  500. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/getItem.test.d.ts → api/lib/fetchers/deleteItem.test.d.ts} +0 -0
  501. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/getItems.test.d.ts → api/lib/fetchers/downloadItems.test.d.ts} +0 -0
  502. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/updateItem.test.d.ts → api/lib/fetchers/formCreateItem.test.d.ts} +0 -0
  503. /package/dist/{core/lib/Wrappers/ApiProvider/utils/api/uploadItems.test.d.ts → api/lib/fetchers/formUpdateItem.test.d.ts} +0 -0
  504. /package/dist/{core/lib/Wrappers/ApiProvider/utils/bulkActions/postBulkAction.test.d.ts → api/lib/fetchers/getInfo.test.d.ts} +0 -0
  505. /package/dist/{core/lib/hooks/auth/useAuth.test.d.ts → api/lib/fetchers/getItem.test.d.ts} +0 -0
  506. /package/dist/{core/lib/hooks/auth/useInfo.test.d.ts → api/lib/fetchers/getItems.test.d.ts} +0 -0
  507. /package/dist/{utils/lib/convertToFormData/convertToFormData.test.d.ts → api/lib/fetchers/postBulkAction.test.d.ts} +0 -0
  508. /package/dist/{utils/lib/createFetchParams/createFetchParams.test.d.ts → api/lib/fetchers/request.test.d.ts} +0 -0
  509. /package/dist/{utils/lib/parseResponse/parseResponse.test.d.ts → api/lib/fetchers/updateItem.test.d.ts} +0 -0
  510. /package/dist/{core → api}/lib/hooks/auth/useAuth.d.ts +0 -0
  511. /package/dist/{core → api}/lib/hooks/auth/useInfo.d.ts +0 -0
  512. /package/dist/{core → api}/lib/translations/de.d.ts +0 -0
  513. /package/dist/{utils/lib → api/lib/utils}/convertToFormData/index.d.ts +0 -0
  514. /package/dist/{utils/lib → api/lib/utils}/createFetchParams/index.d.ts +0 -0
  515. /package/dist/{utils/lib → api/lib/utils}/parseResponse/index.d.ts +0 -0
@@ -1,50 +1,56 @@
1
1
  import { AppApiInfo } from 'fastapi-rtk/api-types';
2
- import { SigninCredentials } from '../hooks/types';
2
+ import { Adapters } from '../adapters/types';
3
+ import { SigninCredentials } from './types';
3
4
  /**
4
5
  * Sign in a user using the provided credentials.
5
6
  *
7
+ * @param adapters - Platform adapters used to dispatch the request and drive the active auth transport.
6
8
  * @param baseUrl - The base URL of the authentication endpoint.
7
9
  * @param credentials - The user's sign in credentials.
8
10
  * @returns Resolves when the user is signed in.
9
11
  * @throws {Error} Throws an error if the sign in fails.
10
12
  */
11
- export declare function authSignin(baseUrl: string, { username, password }: SigninCredentials): Promise<void>;
13
+ export declare function authSignin(adapters: Adapters, baseUrl: string, credentials: SigninCredentials): Promise<void>;
12
14
  /**
13
15
  * Sign out the current user.
14
16
  *
17
+ * @param adapters - Platform adapters used to dispatch the request and drive the active auth transport.
15
18
  * @param baseUrl - The base URL of the authentication endpoint.
16
19
  * @returns Resolves when the user is logged out.
17
20
  * @throws {Error} Throws an error if the sign out fails.
18
21
  */
19
- export declare function authSignout(baseUrl: string): Promise<void>;
22
+ export declare function authSignout(adapters: Adapters, baseUrl: string): Promise<void>;
20
23
  /**
21
24
  * Resets the user's password by requesting a reset token and then using it to set a new password.
22
25
  *
26
+ * @param adapters - Platform adapters used to dispatch the request.
23
27
  * @param baseUrl - The base URL of the API.
24
28
  * @param newPassword - The new password to set.
25
29
  * @param param - An object containing the user's email.
26
30
  * @throws Will throw an error if the reset-token request or the password reset fails.
27
31
  * @returns A promise that resolves when the password has been reset.
28
32
  */
29
- export declare function authResetPassword(baseUrl: string, newPassword: string, { email }: {
33
+ export declare function authResetPassword(adapters: Adapters, baseUrl: string, newPassword: string, { email }: {
30
34
  email: string;
31
35
  }): Promise<void>;
32
36
  /**
33
37
  * Initiates an OAuth sign-in process with the specified provider.
34
38
  *
39
+ * @param adapters - Platform adapters; the popup/redirect flow itself runs through `adapters.oauthOpener`.
35
40
  * @param baseUrl - The base URL of the authentication server.
36
41
  * @param provider - The OAuth provider to use for sign-in (e.g., 'google', 'facebook').
37
42
  * @param popup - Whether to use a popup window for the sign-in process.
38
43
  * @param afterSigninPopup - Optional callback function to be called after the popup is closed.
39
- * @returns Redirects the user to the OAuth provider's sign-in page or opens a popup window for the sign-in process.
44
+ * @returns Resolves once the popup has been opened (or, non-popup, the redirect has been issued).
40
45
  */
41
- export declare function authOAuthSignin(baseUrl: string, provider: string, popup: boolean, afterSigninPopup?: () => void): void;
46
+ export declare function authOAuthSignin(adapters: Adapters, baseUrl: string, provider: string, popup: boolean, afterSigninPopup?: () => void): Promise<void>;
42
47
  /**
43
48
  * Fetches authentication information for the user.
44
49
  *
50
+ * @param adapters - Platform adapters used to dispatch the request.
45
51
  * @param baseUrl - The base URL of the API.
46
52
  * @param signal - An AbortSignal to allow aborting the fetch request.
47
53
  * @returns The authentication information of the user.
48
54
  * @throws {Error} If the fetch request fails or the response is not ok.
49
55
  */
50
- export declare function authInfo(baseUrl: string, signal?: AbortSignal): Promise<AppApiInfo[]>;
56
+ export declare function authInfo(adapters: Adapters, baseUrl: string, signal?: AbortSignal): Promise<AppApiInfo[]>;
@@ -0,0 +1,40 @@
1
+ export type { SigninCredentials } from '../adapters/types';
2
+ /** A signed-in user's profile, as returned by the `auth/user` endpoint. */
3
+ export interface AuthUser {
4
+ /** The unique identifier of the authenticated user. */
5
+ id: number;
6
+ /** The email of the authenticated user. */
7
+ email: string;
8
+ /** The username of the authenticated user. */
9
+ username: string;
10
+ /** The first name of the authenticated user. */
11
+ first_name?: string;
12
+ /** The last name of the authenticated user. */
13
+ last_name?: string;
14
+ /** Indicates whether the user account is active. */
15
+ active: boolean;
16
+ /** The timestamp of the user's last login. */
17
+ last_login: string;
18
+ /** The number of times the user has logged in. */
19
+ login_count: number;
20
+ /** The number of failed login attempts. */
21
+ fail_login_count: number;
22
+ /** The timestamp when the user account was created. */
23
+ created_on: string;
24
+ /** The timestamp when the user account was last changed. */
25
+ changed_on: string;
26
+ /** The full name of the authenticated user. */
27
+ full_name: string;
28
+ /** Indicates whether the user account is active. */
29
+ is_active: boolean;
30
+ /** Indicates whether the user's email is verified. */
31
+ is_verified: boolean;
32
+ /** Indicates whether the user has superuser privileges. */
33
+ is_superuser: boolean;
34
+ /** Indicates whether the user is anonymous. */
35
+ is_anonymous: boolean;
36
+ /** An array of permissions assigned to the user. */
37
+ permissions: string[];
38
+ /** An array of roles assigned to the user. */
39
+ roles: string[];
40
+ }
@@ -0,0 +1,22 @@
1
+ import { Adapters } from '../adapters/types';
2
+ import { AuthUser } from './types';
3
+ /**
4
+ * Fetches the current user's information.
5
+ *
6
+ * @param adapters - Platform adapters used to dispatch the request.
7
+ * @param baseUrl - The base URL of the user endpoint.
8
+ * @param signal - The signal to use for the fetch request.
9
+ * @returns The user's information as a JSON object.
10
+ * @throws {Error} If the fetch fails.
11
+ */
12
+ export declare function getUser(adapters: Adapters, baseUrl: string, signal?: AbortSignal): Promise<AuthUser>;
13
+ /**
14
+ * Updates the current user's information.
15
+ *
16
+ * @param adapters - Platform adapters used to dispatch the request.
17
+ * @param baseUrl - The base URL of the user endpoint.
18
+ * @param userData - The new user data to update.
19
+ * @returns The updated user's information as a JSON object.
20
+ * @throws {Error} If the update fails.
21
+ */
22
+ export declare function updateUser(adapters: Adapters, baseUrl: string, userData: Partial<AuthUser>): Promise<AuthUser>;
@@ -1,13 +1,13 @@
1
1
  import { PrimaryKey } from 'fastapi-rtk/api-types';
2
- import { MRT_RowData } from '../../../../../../.external/lib/mantine-react-table';
2
+ import { EntryRow } from 'fastapi-rtk/contexts';
3
3
  /**
4
4
  * Payload accepted by a bulk handler: either a flat list of primary keys
5
5
  * (the common "ids only" case) or a handler-specific dynamic object whose
6
6
  * keys/values are not known statically.
7
7
  */
8
- export type BulkActionPayload = PrimaryKey[] | MRT_RowData;
8
+ export type BulkActionPayload = PrimaryKey[] | EntryRow;
9
9
  /**
10
10
  * Response returned by a bulk handler. The exact shape is handler-defined
11
11
  * and model-driven at runtime.
12
12
  */
13
- export type BulkActionResponse = MRT_RowData;
13
+ export type BulkActionResponse = EntryRow;
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions } from './types';
4
+ export declare const createItem: (adapters: Adapters, path: string, data: EntryRow, options?: FetchOptions) => Promise<EntryRow>;
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions, ItemId } from './types';
4
+ export declare const deleteItem: (adapters: Adapters, path: string, id: ItemId, options?: FetchOptions) => Promise<EntryRow | null>;
@@ -0,0 +1,4 @@
1
+ import { QueryParams } from 'fastapi-rtk/api-types';
2
+ import { Adapters } from '../adapters/types';
3
+ import { DownloadOptions } from './types';
4
+ export declare const downloadItems: (adapters: Adapters, path: string, queryParams?: QueryParams, { label, export_mode, delimiter, quotechar }?: DownloadOptions) => Promise<void>;
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions } from './types';
4
+ export declare const formCreateItem: (adapters: Adapters, path: string, data: EntryRow, options?: FetchOptions) => Promise<EntryRow>;
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions, ItemId } from './types';
4
+ export declare const formUpdateItem: (adapters: Adapters, path: string, id: ItemId, data: EntryRow, options?: FetchOptions) => Promise<EntryRow>;
@@ -1,10 +1,12 @@
1
+ import { Adapters } from '../adapters/types';
1
2
  import { FetchOptions } from './types';
2
3
  /**
3
4
  * Fetches information from the given path using a GET request.
4
5
  *
6
+ * @param adapters - Platform adapters used to dispatch the request.
5
7
  * @param path - The path to fetch information from.
6
8
  * @param options - Additional fetch options such as headers.
7
9
  * @returns The data fetched from the given path.
8
10
  * @throws {Error} If the response is not ok, throws an error with the response detail.
9
11
  */
10
- export declare const getInfo: (path: string, options?: FetchOptions) => Promise<string | object | null>;
12
+ export declare const getInfo: (adapters: Adapters, path: string, options?: FetchOptions) => Promise<string | object | null>;
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions, ItemId } from './types';
4
+ export declare const getItem: (adapters: Adapters, path: string, id: ItemId, options?: FetchOptions) => Promise<EntryRow>;
@@ -1,12 +1,14 @@
1
1
  import { QueryParams } from 'fastapi-rtk/api-types';
2
+ import { Adapters } from '../adapters/types';
2
3
  import { FetchOptions } from './types';
3
4
  /**
4
5
  * Fetches items from the specified path.
5
6
  *
7
+ * @param adapters - Platform adapters used to dispatch the request.
6
8
  * @param path - The API endpoint path to fetch items from.
7
9
  * @param queryParams - An object containing query parameters to be sent with the request.
8
10
  * @param options - Additional fetch options such as headers.
9
11
  * @returns A promise that resolves to the fetched data, either as a JSON object or a text string.
10
12
  * @throws {Error} - Throws an error if the response is not ok or if there is an issue with the fetch request.
11
13
  */
12
- export declare const getItems: (path: string, queryParams?: QueryParams, options?: FetchOptions) => Promise<string | object | null>;
14
+ export declare const getItems: (adapters: Adapters, path: string, queryParams?: QueryParams, options?: FetchOptions) => Promise<string | object | null>;
@@ -0,0 +1,4 @@
1
+ import { Adapters } from '../adapters/types';
2
+ import { BulkActionPayload, BulkActionResponse } from './bulkActions.types';
3
+ import { FetchOptions } from './types';
4
+ export declare const postBulk: (adapters: Adapters, path: string, handler: string, data: BulkActionPayload, options?: FetchOptions) => Promise<BulkActionResponse>;
@@ -0,0 +1,7 @@
1
+ import { CreateFetchParamsArgs, CreateFetchParamsResult } from '../utils/createFetchParams/createFetchParams';
2
+ import { Adapters } from '../adapters/types';
3
+ /**
4
+ * Build a request: run createFetchParams, then let the active auth transport decorate the options
5
+ * (cookie sets credentials:'include'; bearer adds the Authorization header from the storage it was constructed with).
6
+ */
7
+ export declare const buildRequest: (args: CreateFetchParamsArgs, adapters: Adapters) => Promise<CreateFetchParamsResult>;
@@ -1,10 +1,6 @@
1
- import { MRT_RowData } from '../../../../../../.external/lib/mantine-react-table';
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
2
  /** Additional fetch options accepted by the API helper functions. */
3
- export type FetchOptions = Omit<RequestInit, 'headers'> & {
4
- headers?: {
5
- [name: string]: string;
6
- };
7
- };
3
+ export type { FetchOptions } from '../utils/createFetchParams/createFetchParams';
8
4
  /** An item identifier accepted by the single-item API helpers. */
9
5
  export type ItemId = string | number;
10
6
  /** Options for the download helper. */
@@ -20,4 +16,4 @@ export interface UploadOptions {
20
16
  quotechar?: string;
21
17
  }
22
18
  /** The rows returned by the upload (CSV import) endpoint; a list of model-driven rows at runtime. */
23
- export type UploadResponse = MRT_RowData[];
19
+ export type UploadResponse = EntryRow[];
@@ -0,0 +1,4 @@
1
+ import { EntryRow } from 'fastapi-rtk/contexts';
2
+ import { Adapters } from '../adapters/types';
3
+ import { FetchOptions, ItemId } from './types';
4
+ export declare const updateItem: (adapters: Adapters, path: string, id: ItemId, data: EntryRow, options?: FetchOptions) => Promise<EntryRow>;
@@ -0,0 +1,3 @@
1
+ import { Adapters } from '../adapters/types';
2
+ import { UploadOptions, UploadResponse } from './types';
3
+ export declare const uploadItems: (adapters: Adapters, path: string, file: File, { delimiter, quotechar }?: UploadOptions) => Promise<UploadResponse>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,42 +1,5 @@
1
- import { UseQueryResult } from '../../../../.external/lib/@tanstack/react-query';
2
- export interface AuthUser {
3
- /** The unique identifier of the authenticated user. */
4
- id: number;
5
- /** The email of the authenticated user. */
6
- email: string;
7
- /** The username of the authenticated user. */
8
- username: string;
9
- /** The first name of the authenticated user. */
10
- first_name?: string;
11
- /** The last name of the authenticated user. */
12
- last_name?: string;
13
- /** Indicates whether the user account is active. */
14
- active: boolean;
15
- /** The timestamp of the user's last login. */
16
- last_login: string;
17
- /** The number of times the user has logged in. */
18
- login_count: number;
19
- /** The number of failed login attempts. */
20
- fail_login_count: number;
21
- /** The timestamp when the user account was created. */
22
- created_on: string;
23
- /** The timestamp when the user account was last changed. */
24
- changed_on: string;
25
- /** The full name of the authenticated user. */
26
- full_name: string;
27
- /** Indicates whether the user account is active. */
28
- is_active: boolean;
29
- /** Indicates whether the user's email is verified. */
30
- is_verified: boolean;
31
- /** Indicates whether the user has superuser privileges. */
32
- is_superuser: boolean;
33
- /** Indicates whether the user is anonymous. */
34
- is_anonymous: boolean;
35
- /** An array of permissions assigned to the user. */
36
- permissions: string[];
37
- /** An array of roles assigned to the user. */
38
- roles: string[];
39
- }
1
+ import { UseQueryResult } from '@tanstack/react-query';
2
+ import { AuthUser } from '../../auth/types';
40
3
  export interface AuthContextValue {
41
4
  /** The raw React Query object used to fetch the authenticated user. */
42
5
  query: UseQueryResult<AuthUser>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { DependencyList, EffectCallback } from 'react';
2
+ /** Runs the effect on dependency updates, skipping the initial mount. DOM-free. */
3
+ export declare const useDidUpdate: (fn: EffectCallback, dependencies?: DependencyList) => void;
@@ -0,0 +1,35 @@
1
+ export * from './adapters/AdaptersContext';
2
+ export * from './adapters/types';
3
+ export * from './auth/authFetch';
4
+ export * from './auth/userCRUD';
5
+ export * from './auth/types';
6
+ export * from './utils/convertToFormData';
7
+ export * from './utils/createFetchParams';
8
+ export * from './utils/parseResponse';
9
+ export * from './fetchers/request';
10
+ export * from './fetchers/getItems';
11
+ export * from './fetchers/getItem';
12
+ export * from './fetchers/createItem';
13
+ export * from './fetchers/updateItem';
14
+ export * from './fetchers/deleteItem';
15
+ export * from './fetchers/getInfo';
16
+ export * from './fetchers/formCreateItem';
17
+ export * from './fetchers/formUpdateItem';
18
+ export * from './fetchers/uploadItems';
19
+ export * from './fetchers/downloadItems';
20
+ export * from './fetchers/postBulkAction';
21
+ export * from './fetchers/types';
22
+ export * from './fetchers/bulkActions.types';
23
+ export * from './Provider/Provider';
24
+ export * from './Provider/types';
25
+ export * from './Provider/Contexts/AuthContext';
26
+ export * from './Provider/Contexts/InfoContext';
27
+ export * from './ApiProvider/ApiProvider';
28
+ export * from './ApiProvider/types';
29
+ export * from './ApiProvider/hooks/types';
30
+ export * from './ApiProvider/Contexts/BulkActionsContext';
31
+ export * from './ApiProvider/Contexts/FormContext';
32
+ export * from './hooks/auth/useAuth';
33
+ export * from './hooks/auth/useInfo';
34
+ export * from './hooks/auth/types';
35
+ export * from './hooks/useDidUpdate';
@@ -0,0 +1,17 @@
1
+ import { FormDataAdapter } from '../../adapters/types';
2
+ /**
3
+ * Converts a plain object to a FormData instance.
4
+ *
5
+ * - If the value is an array:
6
+ * - An empty array appends a null.
7
+ * - Otherwise the array is split into file parts and non-file parts (per `formDataAdapter.isFilePart`).
8
+ * - Each file part is appended separately under the same key via `formDataAdapter.appendFile`.
9
+ * - Non-file parts are appended as a JSON string.
10
+ * - An object (excluding file parts) is appended as a JSON string.
11
+ * - Otherwise the value is appended as-is.
12
+ *
13
+ * @param data - The object containing key-value pairs to be converted.
14
+ * @param formDataAdapter - Platform adapter used to detect and append file parts (web: `File`; RN: a `{ uri, name, type }` shape).
15
+ * @returns A FormData instance populated with the processed data.
16
+ */
17
+ export declare const convertToFormData: <T extends object>(data: T, formDataAdapter: FormDataAdapter) => FormData;
@@ -1,17 +1,17 @@
1
1
  import { QueryParams } from 'fastapi-rtk/api-types';
2
- type FetchOptions = Omit<RequestInit, 'headers'> & {
2
+ export type FetchOptions = Omit<RequestInit, 'headers'> & {
3
3
  headers?: {
4
4
  [name: string]: string;
5
5
  };
6
6
  };
7
- interface CreateFetchParamsArgs {
7
+ export interface CreateFetchParamsArgs {
8
8
  path: string;
9
9
  method: string;
10
10
  body?: Record<string, any>;
11
11
  queryParams?: QueryParams;
12
12
  options?: FetchOptions;
13
13
  }
14
- interface CreateFetchParamsResult {
14
+ export interface CreateFetchParamsResult {
15
15
  fetchPath: string;
16
16
  options: Omit<RequestInit, 'headers'> & {
17
17
  headers: {
@@ -20,4 +20,3 @@ interface CreateFetchParamsResult {
20
20
  };
21
21
  }
22
22
  export declare function createFetchParams(args: CreateFetchParamsArgs): CreateFetchParamsResult;
23
- export {};
@@ -1,4 +1,4 @@
1
- interface ParseableResponse {
1
+ export interface ParseableResponse {
2
2
  ok: boolean;
3
3
  status: number;
4
4
  headers: {
@@ -16,4 +16,3 @@ interface ParseableResponse {
16
16
  * using the "detail" or "message" property if available on an object, or by stringifying the object or using the text directly.
17
17
  */
18
18
  export declare const parseResponse: (response: ParseableResponse) => Promise<object | string | null>;
19
- export {};
@@ -42,8 +42,22 @@ const MRT_LOCALIZATION_IMPORT_MAP = {
42
42
  en: () => Promise.resolve().then(() => require("./_virtual/index2.cjs")).then((n) => n.index).then((mod) => mod.MRT_Localization_EN)
43
43
  };
44
44
  const DEBUG_SESSION_STORAGE_KEY = "fastapi-rtk-debug";
45
- const isDebugMode = () => sessionStorage.getItem(DEBUG_SESSION_STORAGE_KEY) === "true";
46
- const setDebugMode = (debug) => debug ? sessionStorage.setItem(DEBUG_SESSION_STORAGE_KEY, "true") : sessionStorage.removeItem(DEBUG_SESSION_STORAGE_KEY);
45
+ const isDebugMode = () => {
46
+ if (typeof sessionStorage === "undefined") {
47
+ return false;
48
+ }
49
+ return sessionStorage.getItem(DEBUG_SESSION_STORAGE_KEY) === "true";
50
+ };
51
+ const setDebugMode = (debug) => {
52
+ if (typeof sessionStorage === "undefined") {
53
+ return;
54
+ }
55
+ if (debug) {
56
+ sessionStorage.setItem(DEBUG_SESSION_STORAGE_KEY, "true");
57
+ } else {
58
+ sessionStorage.removeItem(DEBUG_SESSION_STORAGE_KEY);
59
+ }
60
+ };
47
61
  exports.BASE_LANGUAGES = BASE_LANGUAGES;
48
62
  exports.DEBOUNCE_DELAY = DEBOUNCE_DELAY;
49
63
  exports.DEBOUNCE_JSONFORMS_DELAY = DEBOUNCE_JSONFORMS_DELAY;
@@ -40,8 +40,22 @@ const MRT_LOCALIZATION_IMPORT_MAP = {
40
40
  en: () => import("./_virtual/index2.mjs").then((n) => n.i).then((mod) => mod.MRT_Localization_EN)
41
41
  };
42
42
  const DEBUG_SESSION_STORAGE_KEY = "fastapi-rtk-debug";
43
- const isDebugMode = () => sessionStorage.getItem(DEBUG_SESSION_STORAGE_KEY) === "true";
44
- const setDebugMode = (debug) => debug ? sessionStorage.setItem(DEBUG_SESSION_STORAGE_KEY, "true") : sessionStorage.removeItem(DEBUG_SESSION_STORAGE_KEY);
43
+ const isDebugMode = () => {
44
+ if (typeof sessionStorage === "undefined") {
45
+ return false;
46
+ }
47
+ return sessionStorage.getItem(DEBUG_SESSION_STORAGE_KEY) === "true";
48
+ };
49
+ const setDebugMode = (debug) => {
50
+ if (typeof sessionStorage === "undefined") {
51
+ return;
52
+ }
53
+ if (debug) {
54
+ sessionStorage.setItem(DEBUG_SESSION_STORAGE_KEY, "true");
55
+ } else {
56
+ sessionStorage.removeItem(DEBUG_SESSION_STORAGE_KEY);
57
+ }
58
+ };
45
59
  export {
46
60
  BASE_LANGUAGES,
47
61
  DEBOUNCE_DELAY,
@@ -11,7 +11,7 @@ const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@m
11
11
  const React = require("react");
12
12
  const contexts = require("fastapi-rtk/contexts");
13
13
  const useForms = require("../hooks/api/useForms.cjs");
14
- const useInfo = require("../hooks/auth/useInfo.cjs");
14
+ const api = require("fastapi-rtk/api");
15
15
  const CommonModal = require("../Modals/CommonModal.cjs");
16
16
  const normalProps = require("../Modals/normalProps.cjs");
17
17
  const overlayProps = require("../Modals/overlayProps.cjs");
@@ -86,7 +86,7 @@ function AddDialog(props) {
86
86
  reset
87
87
  ]
88
88
  );
89
- const { fab } = useInfo.useInfo();
89
+ const { fab } = api.useInfo();
90
90
  const form$1 = form.useForm({
91
91
  initialValues: info.add.defaultValues,
92
92
  // #MUSTASSERT info.add.schema is a runtime yup schema object that the /_info JSON type cannot express
@@ -14,7 +14,7 @@ const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.
14
14
  const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
15
15
  const contexts = require("fastapi-rtk/contexts");
16
16
  const useForms = require("../hooks/api/useForms.cjs");
17
- const useInfo = require("../hooks/auth/useInfo.cjs");
17
+ const api = require("fastapi-rtk/api");
18
18
  const CommonModal = require("../Modals/CommonModal.cjs");
19
19
  const normalProps = require("../Modals/normalProps.cjs");
20
20
  const overlayProps = require("../Modals/overlayProps.cjs");
@@ -52,7 +52,7 @@ function EditDialog(props) {
52
52
  () => (info == null ? void 0 : info.edit_translations) ?? translations ? utils.deepMerge(info.edit_translations, translations) : void 0,
53
53
  [info == null ? void 0 : info.edit_translations, translations]
54
54
  );
55
- const { fab } = useInfo.useInfo();
55
+ const { fab } = api.useInfo();
56
56
  const initialState = React.useMemo(
57
57
  () => ({
58
58
  ...constants.initialState,
@@ -10,12 +10,12 @@ const idBadge2 = require("../../_virtual/id-badge-2.cjs");
10
10
  const lock = require("../../_virtual/lock.cjs");
11
11
  const logout = require("../../_virtual/logout.cjs");
12
12
  const users = require("../../_virtual/users.cjs");
13
- const useAuth = require("../../hooks/auth/useAuth.cjs");
13
+ const api = require("fastapi-rtk/api");
14
14
  const user_module = require("./user.module.css.cjs");
15
15
  function UserMenu(props) {
16
16
  const { basePath = "/security", Target, children } = props;
17
17
  const navigate = reactRouter.useNavigate();
18
- const { user, signout } = useAuth.useAuth();
18
+ const { user, signout } = api.useAuth();
19
19
  const [opened, setOpened] = React.useState(false);
20
20
  const securityRoutes = [
21
21
  { resource_name: basePath + "/users", label: "Users", name: "UsersApi", Icon: users },
@@ -8,7 +8,7 @@ const maximize = require("../_virtual/maximize.cjs");
8
8
  const minimize = require("../_virtual/minimize.cjs");
9
9
  const stack = require("../_virtual/stack.cjs");
10
10
  const stackForward = require("../_virtual/stack-forward.cjs");
11
- const useInfo = require("../hooks/auth/useInfo.cjs");
11
+ const api = require("fastapi-rtk/api");
12
12
  const contexts = require("fastapi-rtk/contexts");
13
13
  function CommonModal(props) {
14
14
  const {
@@ -27,7 +27,7 @@ function CommonModal(props) {
27
27
  actionButtons,
28
28
  ...rest
29
29
  } = props;
30
- const { fab } = useInfo.useInfo();
30
+ const { fab } = api.useInfo();
31
31
  const { t } = contexts.useTranslation();
32
32
  return /* @__PURE__ */ jsxRuntime.jsx(
33
33
  core.Modal,
@@ -5,13 +5,13 @@ const utils = require("fastapi-rtk/utils");
5
5
  const React = require("react");
6
6
  const Actions = require("../../../ActionIcons/Actions.cjs");
7
7
  const contexts = require("fastapi-rtk/contexts");
8
- const useAuth = require("../../../hooks/auth/useAuth.cjs");
8
+ const api = require("fastapi-rtk/api");
9
9
  const FallbackWrapper = require("../FallbackWrapper.cjs");
10
10
  const usePatchProps = require("./usePatchProps.cjs");
11
11
  const ROW_ACTIONS_COLUMN_ID = "mrt-row-actions";
12
12
  function useActions(hideActions, component, viewProps, editProps, deleteProps) {
13
- const api = contexts.useApi();
14
- const auth = useAuth.useAuth();
13
+ const api$1 = contexts.useApi();
14
+ const auth = api.useAuth();
15
15
  const renderRowActions = React.useCallback(
16
16
  ({ row, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx(usePatchProps.AutoSizeColumn, { columnId: ROW_ACTIONS_COLUMN_ID, children: /* @__PURE__ */ jsxRuntime.jsx(
17
17
  FallbackWrapper.FallbackWrapper,
@@ -26,7 +26,7 @@ function useActions(hideActions, component, viewProps, editProps, deleteProps) {
26
26
  }
27
27
  ),
28
28
  functionProps: {
29
- api,
29
+ api: api$1,
30
30
  auth,
31
31
  data: row.original,
32
32
  mrtProps: { row, ...rest }
@@ -34,7 +34,7 @@ function useActions(hideActions, component, viewProps, editProps, deleteProps) {
34
34
  children: component
35
35
  }
36
36
  ) }),
37
- [api, auth, component, viewProps, editProps, deleteProps]
37
+ [api$1, auth, component, viewProps, editProps, deleteProps]
38
38
  );
39
39
  return { enableEditing: !hideActions, editDisplayMode: "modal", renderRowActions };
40
40
  }
@@ -4,18 +4,18 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const utils = require("fastapi-rtk/utils");
5
5
  const React = require("react");
6
6
  const contexts = require("fastapi-rtk/contexts");
7
- const useAuth = require("../../../../hooks/auth/useAuth.cjs");
7
+ const api = require("fastapi-rtk/api");
8
8
  const FallbackWrapper = require("../../FallbackWrapper.cjs");
9
9
  const MultiLineHighlight = require("./MultiLineHighlight.cjs");
10
10
  const Cell = (props) => {
11
11
  const { body = {}, col, textFilterSeparator, mrtProps } = props;
12
12
  const { table, column, cell } = mrtProps;
13
- const api = contexts.useApi();
14
- const auth = useAuth.useAuth();
13
+ const api$1 = contexts.useApi();
14
+ const auth = api.useAuth();
15
15
  const { specialKey } = contexts.useApi();
16
16
  const colProps = utils.mergeProps(body, specialKey.all, col);
17
17
  const { component, separator, truncate, highlight: _highlight, tooltipProps, highlightProps } = colProps;
18
- let functionProps = { api, auth, data: cell.row.original, colProps, mrtProps };
18
+ let functionProps = { api: api$1, auth, data: cell.row.original, colProps, mrtProps };
19
19
  const highlights = React.useMemo(() => {
20
20
  const globalFilter = table.getState().globalFilter;
21
21
  const columnTextFilter = column.getFilterValue();