fastapi-rtk 1.0.2 → 1.0.3

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 (213) hide show
  1. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/hydration.cjs +148 -0
  2. package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +10 -0
  3. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +66 -0
  4. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/mutationObserver.cjs +140 -0
  5. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queriesObserver.cjs +205 -0
  6. package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/query.cjs +13 -9
  7. package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/retryer.cjs +4 -0
  8. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/streamedQuery.cjs +41 -0
  9. package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/thenable.cjs +14 -0
  10. package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/types.cjs +8 -0
  11. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/HydrationBoundary.cjs +70 -0
  12. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +2 -1
  13. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +3 -0
  14. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +8 -1
  15. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
  16. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/index.cjs +95 -0
  17. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/infiniteQueryOptions.cjs +6 -0
  18. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/mutationOptions.cjs +6 -0
  19. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/queryOptions.cjs +6 -0
  20. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +2 -0
  21. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +3 -3
  22. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useInfiniteQuery.cjs +12 -0
  23. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useIsFetching.cjs +35 -0
  24. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutation.cjs +55 -0
  25. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutationState.cjs +65 -0
  26. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.cjs +10 -0
  27. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchQuery.cjs +10 -0
  28. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useQueries.cjs +113 -0
  29. package/dist/.external/cjs/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +2 -2
  30. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.cjs +24 -0
  31. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQueries.cjs +28 -0
  32. package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQuery.cjs +25 -0
  33. package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.cjs +7 -7
  34. package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.cjs +5 -5
  35. package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.cjs +6 -6
  36. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/ajv.cjs +16 -16
  37. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/code.cjs +20 -20
  38. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/index.cjs +23 -23
  39. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/scope.cjs +9 -9
  40. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/errors.cjs +11 -11
  41. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/core.cjs +11 -11
  42. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.cjs +8 -8
  43. package/dist/.external/cjs/{i18next@25.6.0_typescript@5.9.3 → i18next@25.6.2_typescript@5.9.3}/i18next/dist/esm/i18next.cjs +3 -2
  44. package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneBuffer.cjs +2 -2
  45. package/dist/.external/cjs/lodash@4.17.21/lodash/_nodeUtil.cjs +2 -2
  46. package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_mapping.cjs +14 -14
  47. package/dist/.external/cjs/lodash@4.17.21/lodash/isBuffer.cjs +2 -2
  48. package/dist/.external/cjs/lodash@4.17.21/lodash/lodash.cjs +2 -2
  49. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/hydration.mjs +148 -0
  50. package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +10 -0
  51. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs +66 -0
  52. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/mutationObserver.mjs +140 -0
  53. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queriesObserver.mjs +205 -0
  54. package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/query.mjs +13 -9
  55. package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/retryer.mjs +5 -1
  56. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/streamedQuery.mjs +41 -0
  57. package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/thenable.mjs +15 -1
  58. package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/types.mjs +8 -0
  59. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/HydrationBoundary.mjs +53 -0
  60. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +2 -1
  61. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +3 -0
  62. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +8 -1
  63. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
  64. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/index.mjs +95 -0
  65. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/infiniteQueryOptions.mjs +6 -0
  66. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/mutationOptions.mjs +6 -0
  67. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/queryOptions.mjs +6 -0
  68. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +2 -0
  69. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +3 -3
  70. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useInfiniteQuery.mjs +12 -0
  71. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useIsFetching.mjs +18 -0
  72. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutation.mjs +38 -0
  73. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutationState.mjs +48 -0
  74. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.mjs +10 -0
  75. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchQuery.mjs +10 -0
  76. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useQueries.mjs +96 -0
  77. package/dist/.external/esm/{@tanstack_react-query@5.90.5_react@18.3.1 → @tanstack_react-query@5.90.7_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +2 -2
  78. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.mjs +24 -0
  79. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQueries.mjs +28 -0
  80. package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQuery.mjs +25 -0
  81. package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.mjs +7 -7
  82. package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.mjs +5 -5
  83. package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.mjs +6 -6
  84. package/dist/.external/esm/ajv@8.17.1/ajv/dist/ajv.mjs +16 -16
  85. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/code.mjs +20 -20
  86. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/index.mjs +23 -23
  87. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/scope.mjs +9 -9
  88. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/errors.mjs +11 -11
  89. package/dist/.external/esm/ajv@8.17.1/ajv/dist/core.mjs +11 -11
  90. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.mjs +8 -8
  91. package/dist/.external/esm/{i18next@25.6.0_typescript@5.9.3 → i18next@25.6.2_typescript@5.9.3}/i18next/dist/esm/i18next.mjs +3 -2
  92. package/dist/.external/esm/lodash@4.17.21/lodash/_cloneBuffer.mjs +2 -2
  93. package/dist/.external/esm/lodash@4.17.21/lodash/_nodeUtil.mjs +2 -2
  94. package/dist/.external/esm/lodash@4.17.21/lodash/fp/_mapping.mjs +14 -14
  95. package/dist/.external/esm/lodash@4.17.21/lodash/isBuffer.mjs +2 -2
  96. package/dist/.external/esm/lodash@4.17.21/lodash/lodash.mjs +2 -2
  97. package/dist/constants/cjs/_virtual/index.cjs +1 -1
  98. package/dist/constants/cjs/_virtual/index2.cjs +1 -1
  99. package/dist/constants/esm/_virtual/index.mjs +1 -1
  100. package/dist/constants/esm/_virtual/index2.mjs +1 -1
  101. package/dist/core/cjs/ActionIcons/Add/Add.cjs +1 -1
  102. package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +1 -1
  103. package/dist/core/cjs/ActionIcons/Download/Download.cjs +1 -1
  104. package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +1 -1
  105. package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +1 -1
  106. package/dist/core/cjs/ActionIcons/View/View.cjs +1 -1
  107. package/dist/core/cjs/Dialogs/AddDialog.cjs +2 -2
  108. package/dist/core/cjs/Dialogs/DeleteDialog.cjs +1 -1
  109. package/dist/core/cjs/Dialogs/EditDialog.cjs +2 -2
  110. package/dist/core/cjs/Modals/CommonModal.cjs +1 -1
  111. package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +1 -1
  112. package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
  113. package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +1 -1
  114. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +1 -1
  115. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.cjs +1 -1
  116. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.cjs +1 -1
  117. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +1 -1
  118. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +1 -1
  119. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.cjs +1 -1
  120. package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TableContainer.cjs +1 -1
  121. package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TablePaper.cjs +1 -1
  122. package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TopToolbar.cjs +1 -1
  123. package/dist/core/cjs/Tables/NextGenDataGrid/patch/MantineReactTable.cjs +1 -1
  124. package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
  125. package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +3 -3
  126. package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
  127. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
  128. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
  129. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideLang.cjs +1 -1
  130. package/dist/core/cjs/fab-react-toolkit-patch/api/utils/api/getItems.cjs +8 -3
  131. package/dist/core/cjs/index.cjs +4 -2
  132. package/dist/core/esm/ActionIcons/Add/Add.mjs +1 -1
  133. package/dist/core/esm/ActionIcons/Delete/Delete.mjs +1 -1
  134. package/dist/core/esm/ActionIcons/Download/Download.mjs +1 -1
  135. package/dist/core/esm/ActionIcons/Edit/Edit.mjs +1 -1
  136. package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +1 -1
  137. package/dist/core/esm/ActionIcons/View/View.mjs +1 -1
  138. package/dist/core/esm/Dialogs/AddDialog.mjs +2 -2
  139. package/dist/core/esm/Dialogs/DeleteDialog.mjs +1 -1
  140. package/dist/core/esm/Dialogs/EditDialog.mjs +2 -2
  141. package/dist/core/esm/Modals/CommonModal.mjs +1 -1
  142. package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +1 -1
  143. package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
  144. package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +1 -1
  145. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs +1 -1
  146. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.mjs +1 -1
  147. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.mjs +1 -1
  148. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
  149. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +1 -1
  150. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.mjs +1 -1
  151. package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TableContainer.mjs +1 -1
  152. package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TablePaper.mjs +1 -1
  153. package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TopToolbar.mjs +1 -1
  154. package/dist/core/esm/Tables/NextGenDataGrid/patch/MantineReactTable.mjs +1 -1
  155. package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
  156. package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +3 -3
  157. package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
  158. package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
  159. package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
  160. package/dist/core/esm/Wrappers/Provider/hooks/useProvideLang.mjs +1 -1
  161. package/dist/core/esm/fab-react-toolkit-patch/api/utils/api/getItems.mjs +8 -3
  162. package/dist/core/esm/index.mjs +4 -2
  163. package/dist/core/lib/fab-react-toolkit-patch/api/utils/api/getItems.d.ts +1 -1
  164. package/dist/core/lib/index.d.ts +1 -0
  165. package/package.json +1 -1
  166. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
  167. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
  168. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
  169. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
  170. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
  171. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
  172. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
  173. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
  174. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/removable.cjs +0 -0
  175. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
  176. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/timeoutManager.cjs +0 -0
  177. /package/dist/.external/cjs/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/utils.cjs +0 -0
  178. /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.6_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.7_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
  179. /package/dist/.external/cjs/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/dist/index.esm.cjs +0 -0
  180. /package/dist/.external/cjs/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/locales/de/index.cjs +0 -0
  181. /package/dist/.external/cjs/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/locales/en/index.cjs +0 -0
  182. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.cjs +0 -0
  183. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/context.cjs +0 -0
  184. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/defaults.cjs +0 -0
  185. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.cjs +0 -0
  186. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.cjs +0 -0
  187. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/unescape.cjs +0 -0
  188. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/useTranslation.cjs +0 -0
  189. /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/utils.cjs +0 -0
  190. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
  191. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
  192. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
  193. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
  194. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
  195. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
  196. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
  197. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
  198. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/removable.mjs +0 -0
  199. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
  200. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/timeoutManager.mjs +0 -0
  201. /package/dist/.external/esm/{@tanstack_query-core@5.90.5 → @tanstack_query-core@5.90.7}/@tanstack/query-core/build/modern/utils.mjs +0 -0
  202. /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.6_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.7_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
  203. /package/dist/.external/esm/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/dist/index.esm.mjs +0 -0
  204. /package/dist/.external/esm/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/locales/de/index.mjs +0 -0
  205. /package/dist/.external/esm/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ndh5vv3rq66ztxn2u3n6xapebe}/mantine-react-table/locales/en/index.mjs +0 -0
  206. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.mjs +0 -0
  207. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/context.mjs +0 -0
  208. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/defaults.mjs +0 -0
  209. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.mjs +0 -0
  210. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.mjs +0 -0
  211. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/unescape.mjs +0 -0
  212. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/useTranslation.mjs +0 -0
  213. /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.6.0_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.6.2_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/utils.mjs +0 -0
@@ -8,13 +8,13 @@ var hasRequiredDependencies;
8
8
  function requireDependencies() {
9
9
  if (hasRequiredDependencies) return dependencies.__exports;
10
10
  hasRequiredDependencies = 1;
11
- (function(exports2) {
12
- Object.defineProperty(exports2, "__esModule", { value: true });
13
- exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
11
+ (function(exports$1) {
12
+ Object.defineProperty(exports$1, "__esModule", { value: true });
13
+ exports$1.validateSchemaDeps = exports$1.validatePropertyDeps = exports$1.error = void 0;
14
14
  const codegen_1 = index.__require();
15
15
  const util_1 = util.__require();
16
16
  const code_1 = code.__require();
17
- exports2.error = {
17
+ exports$1.error = {
18
18
  message: ({ params: { property, depsCount, deps } }) => {
19
19
  const property_ies = depsCount === 1 ? "property" : "properties";
20
20
  return (0, codegen_1.str)`must have ${property_ies} ${deps} when property ${property} is present`;
@@ -29,7 +29,7 @@ function requireDependencies() {
29
29
  keyword: "dependencies",
30
30
  type: "object",
31
31
  schemaType: "object",
32
- error: exports2.error,
32
+ error: exports$1.error,
33
33
  code(cxt) {
34
34
  const [propDeps, schDeps] = splitDependencies(cxt);
35
35
  validatePropertyDeps(cxt, propDeps);
@@ -75,7 +75,7 @@ function requireDependencies() {
75
75
  }
76
76
  }
77
77
  }
78
- exports2.validatePropertyDeps = validatePropertyDeps;
78
+ exports$1.validatePropertyDeps = validatePropertyDeps;
79
79
  function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
80
80
  const { gen, data, keyword, it } = cxt;
81
81
  const valid = gen.name("valid");
@@ -94,8 +94,8 @@ function requireDependencies() {
94
94
  cxt.ok(valid);
95
95
  }
96
96
  }
97
- exports2.validateSchemaDeps = validateSchemaDeps;
98
- exports2.default = def;
97
+ exports$1.validateSchemaDeps = validateSchemaDeps;
98
+ exports$1.default = def;
99
99
  })(dependencies.__exports);
100
100
  return dependencies.__exports;
101
101
  }
@@ -2134,7 +2134,9 @@ class I18n extends EventEmitter {
2134
2134
  return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2135
2135
  }
2136
2136
  static createInstance(options = {}, callback) {
2137
- return new I18n(options, callback);
2137
+ const instance2 = new I18n(options, callback);
2138
+ instance2.createInstance = I18n.createInstance;
2139
+ return instance2;
2138
2140
  }
2139
2141
  cloneInstance(options = {}, callback = noop) {
2140
2142
  const forkResourceStore = options.forkResourceStore;
@@ -2198,7 +2200,6 @@ class I18n extends EventEmitter {
2198
2200
  }
2199
2201
  }
2200
2202
  const instance = I18n.createInstance();
2201
- instance.createInstance = I18n.createInstance;
2202
2203
  const createInstance = instance.createInstance;
2203
2204
  instance.dir;
2204
2205
  instance.init;
@@ -7,9 +7,9 @@ var hasRequired_cloneBuffer;
7
7
  function require_cloneBuffer() {
8
8
  if (hasRequired_cloneBuffer) return _cloneBuffer.__module.exports;
9
9
  hasRequired_cloneBuffer = 1;
10
- (function(module2, exports2) {
10
+ (function(module2, exports$1) {
11
11
  var root = _root.__require();
12
- var freeExports = exports2 && !exports2.nodeType && exports2;
12
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
13
13
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
14
14
  var moduleExports = freeModule && freeModule.exports === freeExports;
15
15
  var Buffer = moduleExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
@@ -7,9 +7,9 @@ var hasRequired_nodeUtil;
7
7
  function require_nodeUtil() {
8
8
  if (hasRequired_nodeUtil) return _nodeUtil.__module.exports;
9
9
  hasRequired_nodeUtil = 1;
10
- (function(module2, exports2) {
10
+ (function(module2, exports$1) {
11
11
  var freeGlobal = _freeGlobal.__require();
12
- var freeExports = exports2 && !exports2.nodeType && exports2;
12
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
13
13
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
14
14
  var moduleExports = freeModule && freeModule.exports === freeExports;
15
15
  var freeProcess = moduleExports && freeGlobal.process;
@@ -5,8 +5,8 @@ var hasRequired_mapping;
5
5
  function require_mapping() {
6
6
  if (hasRequired_mapping) return _mapping.__exports;
7
7
  hasRequired_mapping = 1;
8
- (function(exports2) {
9
- exports2.aliasToReal = {
8
+ (function(exports$1) {
9
+ exports$1.aliasToReal = {
10
10
  // Lodash aliases.
11
11
  "each": "forEach",
12
12
  "eachRight": "forEachRight",
@@ -71,7 +71,7 @@ function require_mapping() {
71
71
  "whereEq": "isMatch",
72
72
  "zipObj": "zipObject"
73
73
  };
74
- exports2.aryMethod = {
74
+ exports$1.aryMethod = {
75
75
  "1": [
76
76
  "assignAll",
77
77
  "assignInAll",
@@ -306,12 +306,12 @@ function require_mapping() {
306
306
  "updateWith"
307
307
  ]
308
308
  };
309
- exports2.aryRearg = {
309
+ exports$1.aryRearg = {
310
310
  "2": [1, 0],
311
311
  "3": [2, 0, 1],
312
312
  "4": [3, 2, 0, 1]
313
313
  };
314
- exports2.iterateeAry = {
314
+ exports$1.iterateeAry = {
315
315
  "dropRightWhile": 1,
316
316
  "dropWhile": 1,
317
317
  "every": 1,
@@ -349,11 +349,11 @@ function require_mapping() {
349
349
  "times": 1,
350
350
  "transform": 2
351
351
  };
352
- exports2.iterateeRearg = {
352
+ exports$1.iterateeRearg = {
353
353
  "mapKeys": [1],
354
354
  "reduceRight": [1, 0]
355
355
  };
356
- exports2.methodRearg = {
356
+ exports$1.methodRearg = {
357
357
  "assignInAllWith": [1, 0],
358
358
  "assignInWith": [1, 2, 0],
359
359
  "assignAllWith": [1, 0],
@@ -384,7 +384,7 @@ function require_mapping() {
384
384
  "xorWith": [1, 2, 0],
385
385
  "zipWith": [1, 2, 0]
386
386
  };
387
- exports2.methodSpread = {
387
+ exports$1.methodSpread = {
388
388
  "assignAll": { "start": 0 },
389
389
  "assignAllWith": { "start": 0 },
390
390
  "assignInAll": { "start": 0 },
@@ -400,7 +400,7 @@ function require_mapping() {
400
400
  "without": { "start": 1 },
401
401
  "zipAll": { "start": 0 }
402
402
  };
403
- exports2.mutate = {
403
+ exports$1.mutate = {
404
404
  "array": {
405
405
  "fill": true,
406
406
  "pull": true,
@@ -437,8 +437,8 @@ function require_mapping() {
437
437
  "updateWith": true
438
438
  }
439
439
  };
440
- exports2.realToAlias = (function() {
441
- var hasOwnProperty = Object.prototype.hasOwnProperty, object = exports2.aliasToReal, result = {};
440
+ exports$1.realToAlias = (function() {
441
+ var hasOwnProperty = Object.prototype.hasOwnProperty, object = exports$1.aliasToReal, result = {};
442
442
  for (var key in object) {
443
443
  var value = object[key];
444
444
  if (hasOwnProperty.call(result, value)) {
@@ -449,7 +449,7 @@ function require_mapping() {
449
449
  }
450
450
  return result;
451
451
  })();
452
- exports2.remap = {
452
+ exports$1.remap = {
453
453
  "assignAll": "assign",
454
454
  "assignAllWith": "assignWith",
455
455
  "assignInAll": "assignIn",
@@ -483,7 +483,7 @@ function require_mapping() {
483
483
  "trimCharsStart": "trimStart",
484
484
  "zipAll": "zip"
485
485
  };
486
- exports2.skipFixed = {
486
+ exports$1.skipFixed = {
487
487
  "castArray": true,
488
488
  "flow": true,
489
489
  "flowRight": true,
@@ -492,7 +492,7 @@ function require_mapping() {
492
492
  "rearg": true,
493
493
  "runInContext": true
494
494
  };
495
- exports2.skipRearg = {
495
+ exports$1.skipRearg = {
496
496
  "add": true,
497
497
  "assign": true,
498
498
  "assignIn": true,
@@ -8,9 +8,9 @@ var hasRequiredIsBuffer;
8
8
  function requireIsBuffer() {
9
9
  if (hasRequiredIsBuffer) return isBuffer.__module.exports;
10
10
  hasRequiredIsBuffer = 1;
11
- (function(module2, exports2) {
11
+ (function(module2, exports$1) {
12
12
  var root = _root.__require(), stubFalse$1 = stubFalse.__require();
13
- var freeExports = exports2 && !exports2.nodeType && exports2;
13
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
14
14
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
15
15
  var moduleExports = freeModule && freeModule.exports === freeExports;
16
16
  var Buffer = moduleExports ? root.Buffer : void 0;
@@ -15,7 +15,7 @@ var hasRequiredLodash;
15
15
  function requireLodash() {
16
16
  if (hasRequiredLodash) return lodash$1.__module.exports;
17
17
  hasRequiredLodash = 1;
18
- (function(module2, exports2) {
18
+ (function(module2, exports$1) {
19
19
  (function() {
20
20
  var undefined$1;
21
21
  var VERSION = "4.17.21";
@@ -343,7 +343,7 @@ function requireLodash() {
343
343
  var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == "object" && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
344
344
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
345
345
  var root = freeGlobal || freeSelf || Function("return this")();
346
- var freeExports = exports2 && !exports2.nodeType && exports2;
346
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
347
347
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
348
348
  var moduleExports = freeModule && freeModule.exports === freeExports;
349
349
  var freeProcess = moduleExports && freeGlobal.process;
@@ -0,0 +1,148 @@
1
+ import { tryResolveSync } from "./thenable.mjs";
2
+ import { noop } from "./utils.mjs";
3
+ function defaultTransformerFn(data) {
4
+ return data;
5
+ }
6
+ function dehydrateMutation(mutation) {
7
+ return {
8
+ mutationKey: mutation.options.mutationKey,
9
+ state: mutation.state,
10
+ ...mutation.options.scope && { scope: mutation.options.scope },
11
+ ...mutation.meta && { meta: mutation.meta }
12
+ };
13
+ }
14
+ function dehydrateQuery(query, serializeData, shouldRedactErrors) {
15
+ const dehydratePromise = () => {
16
+ var _a;
17
+ const promise = (_a = query.promise) == null ? void 0 : _a.then(serializeData).catch((error) => {
18
+ if (!shouldRedactErrors(error)) {
19
+ return Promise.reject(error);
20
+ }
21
+ if (process.env.NODE_ENV !== "production") {
22
+ console.error(
23
+ `A query that was dehydrated as pending ended up rejecting. [${query.queryHash}]: ${error}; The error will be redacted in production builds`
24
+ );
25
+ }
26
+ return Promise.reject(new Error("redacted"));
27
+ });
28
+ promise == null ? void 0 : promise.catch(noop);
29
+ return promise;
30
+ };
31
+ return {
32
+ dehydratedAt: Date.now(),
33
+ state: {
34
+ ...query.state,
35
+ ...query.state.data !== void 0 && {
36
+ data: serializeData(query.state.data)
37
+ }
38
+ },
39
+ queryKey: query.queryKey,
40
+ queryHash: query.queryHash,
41
+ ...query.state.status === "pending" && {
42
+ promise: dehydratePromise()
43
+ },
44
+ ...query.meta && { meta: query.meta }
45
+ };
46
+ }
47
+ function defaultShouldDehydrateMutation(mutation) {
48
+ return mutation.state.isPaused;
49
+ }
50
+ function defaultShouldDehydrateQuery(query) {
51
+ return query.state.status === "success";
52
+ }
53
+ function defaultShouldRedactErrors(_) {
54
+ return true;
55
+ }
56
+ function dehydrate(client, options = {}) {
57
+ var _a, _b, _c, _d;
58
+ const filterMutation = options.shouldDehydrateMutation ?? ((_a = client.getDefaultOptions().dehydrate) == null ? void 0 : _a.shouldDehydrateMutation) ?? defaultShouldDehydrateMutation;
59
+ const mutations = client.getMutationCache().getAll().flatMap(
60
+ (mutation) => filterMutation(mutation) ? [dehydrateMutation(mutation)] : []
61
+ );
62
+ const filterQuery = options.shouldDehydrateQuery ?? ((_b = client.getDefaultOptions().dehydrate) == null ? void 0 : _b.shouldDehydrateQuery) ?? defaultShouldDehydrateQuery;
63
+ const shouldRedactErrors = options.shouldRedactErrors ?? ((_c = client.getDefaultOptions().dehydrate) == null ? void 0 : _c.shouldRedactErrors) ?? defaultShouldRedactErrors;
64
+ const serializeData = options.serializeData ?? ((_d = client.getDefaultOptions().dehydrate) == null ? void 0 : _d.serializeData) ?? defaultTransformerFn;
65
+ const queries = client.getQueryCache().getAll().flatMap(
66
+ (query) => filterQuery(query) ? [dehydrateQuery(query, serializeData, shouldRedactErrors)] : []
67
+ );
68
+ return { mutations, queries };
69
+ }
70
+ function hydrate(client, dehydratedState, options) {
71
+ var _a, _b;
72
+ if (typeof dehydratedState !== "object" || dehydratedState === null) {
73
+ return;
74
+ }
75
+ const mutationCache = client.getMutationCache();
76
+ const queryCache = client.getQueryCache();
77
+ const deserializeData = ((_a = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _a.deserializeData) ?? ((_b = client.getDefaultOptions().hydrate) == null ? void 0 : _b.deserializeData) ?? defaultTransformerFn;
78
+ const mutations = dehydratedState.mutations || [];
79
+ const queries = dehydratedState.queries || [];
80
+ mutations.forEach(({ state, ...mutationOptions }) => {
81
+ var _a2, _b2;
82
+ mutationCache.build(
83
+ client,
84
+ {
85
+ ...(_a2 = client.getDefaultOptions().hydrate) == null ? void 0 : _a2.mutations,
86
+ ...(_b2 = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _b2.mutations,
87
+ ...mutationOptions
88
+ },
89
+ state
90
+ );
91
+ });
92
+ queries.forEach(
93
+ ({ queryKey, state, queryHash, meta, promise, dehydratedAt }) => {
94
+ var _a2, _b2;
95
+ const syncData = promise ? tryResolveSync(promise) : void 0;
96
+ const rawData = state.data === void 0 ? syncData == null ? void 0 : syncData.data : state.data;
97
+ const data = rawData === void 0 ? rawData : deserializeData(rawData);
98
+ let query = queryCache.get(queryHash);
99
+ const existingQueryIsPending = (query == null ? void 0 : query.state.status) === "pending";
100
+ const existingQueryIsFetching = (query == null ? void 0 : query.state.fetchStatus) === "fetching";
101
+ if (query) {
102
+ const hasNewerSyncData = syncData && // We only need this undefined check to handle older dehydration
103
+ // payloads that might not have dehydratedAt
104
+ dehydratedAt !== void 0 && dehydratedAt > query.state.dataUpdatedAt;
105
+ if (state.dataUpdatedAt > query.state.dataUpdatedAt || hasNewerSyncData) {
106
+ const { fetchStatus: _ignored, ...serializedState } = state;
107
+ query.setState({
108
+ ...serializedState,
109
+ data
110
+ });
111
+ }
112
+ } else {
113
+ query = queryCache.build(
114
+ client,
115
+ {
116
+ ...(_a2 = client.getDefaultOptions().hydrate) == null ? void 0 : _a2.queries,
117
+ ...(_b2 = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _b2.queries,
118
+ queryKey,
119
+ queryHash,
120
+ meta
121
+ },
122
+ // Reset fetch status to idle to avoid
123
+ // query being stuck in fetching state upon hydration
124
+ {
125
+ ...state,
126
+ data,
127
+ fetchStatus: "idle",
128
+ status: data !== void 0 ? "success" : state.status
129
+ }
130
+ );
131
+ }
132
+ if (promise && !existingQueryIsPending && !existingQueryIsFetching && // Only hydrate if dehydration is newer than any existing data,
133
+ // this is always true for new queries
134
+ (dehydratedAt === void 0 || dehydratedAt > query.state.dataUpdatedAt)) {
135
+ query.fetch(void 0, {
136
+ // RSC transformed promises are not thenable
137
+ initialPromise: Promise.resolve(promise).then(deserializeData)
138
+ }).catch(noop);
139
+ }
140
+ }
141
+ );
142
+ }
143
+ export {
144
+ defaultShouldDehydrateMutation,
145
+ defaultShouldDehydrateQuery,
146
+ dehydrate,
147
+ hydrate
148
+ };
@@ -110,6 +110,16 @@ function getPreviousPageParam(options, { pages, pageParams }) {
110
110
  var _a;
111
111
  return pages.length > 0 ? (_a = options.getPreviousPageParam) == null ? void 0 : _a.call(options, pages[0], pages, pageParams[0], pageParams) : void 0;
112
112
  }
113
+ function hasNextPage(options, data) {
114
+ if (!data) return false;
115
+ return getNextPageParam(options, data) != null;
116
+ }
117
+ function hasPreviousPage(options, data) {
118
+ if (!data || !options.getPreviousPageParam) return false;
119
+ return getPreviousPageParam(options, data) != null;
120
+ }
113
121
  export {
122
+ hasNextPage,
123
+ hasPreviousPage,
114
124
  infiniteQueryBehavior
115
125
  };
@@ -0,0 +1,66 @@
1
+ import { QueryObserver } from "./queryObserver.mjs";
2
+ import { infiniteQueryBehavior, hasPreviousPage, hasNextPage } from "./infiniteQueryBehavior.mjs";
3
+ var InfiniteQueryObserver = class extends QueryObserver {
4
+ constructor(client, options) {
5
+ super(client, options);
6
+ }
7
+ bindMethods() {
8
+ super.bindMethods();
9
+ this.fetchNextPage = this.fetchNextPage.bind(this);
10
+ this.fetchPreviousPage = this.fetchPreviousPage.bind(this);
11
+ }
12
+ setOptions(options) {
13
+ super.setOptions({
14
+ ...options,
15
+ behavior: infiniteQueryBehavior()
16
+ });
17
+ }
18
+ getOptimisticResult(options) {
19
+ options.behavior = infiniteQueryBehavior();
20
+ return super.getOptimisticResult(options);
21
+ }
22
+ fetchNextPage(options) {
23
+ return this.fetch({
24
+ ...options,
25
+ meta: {
26
+ fetchMore: { direction: "forward" }
27
+ }
28
+ });
29
+ }
30
+ fetchPreviousPage(options) {
31
+ return this.fetch({
32
+ ...options,
33
+ meta: {
34
+ fetchMore: { direction: "backward" }
35
+ }
36
+ });
37
+ }
38
+ createResult(query, options) {
39
+ var _a, _b;
40
+ const { state } = query;
41
+ const parentResult = super.createResult(query, options);
42
+ const { isFetching, isRefetching, isError, isRefetchError } = parentResult;
43
+ const fetchDirection = (_b = (_a = state.fetchMeta) == null ? void 0 : _a.fetchMore) == null ? void 0 : _b.direction;
44
+ const isFetchNextPageError = isError && fetchDirection === "forward";
45
+ const isFetchingNextPage = isFetching && fetchDirection === "forward";
46
+ const isFetchPreviousPageError = isError && fetchDirection === "backward";
47
+ const isFetchingPreviousPage = isFetching && fetchDirection === "backward";
48
+ const result = {
49
+ ...parentResult,
50
+ fetchNextPage: this.fetchNextPage,
51
+ fetchPreviousPage: this.fetchPreviousPage,
52
+ hasNextPage: hasNextPage(options, state.data),
53
+ hasPreviousPage: hasPreviousPage(options, state.data),
54
+ isFetchNextPageError,
55
+ isFetchingNextPage,
56
+ isFetchPreviousPageError,
57
+ isFetchingPreviousPage,
58
+ isRefetchError: isRefetchError && !isFetchNextPageError && !isFetchPreviousPageError,
59
+ isRefetching: isRefetching && !isFetchingNextPage && !isFetchingPreviousPage
60
+ };
61
+ return result;
62
+ }
63
+ };
64
+ export {
65
+ InfiniteQueryObserver
66
+ };
@@ -0,0 +1,140 @@
1
+ var __typeError = (msg) => {
2
+ throw TypeError(msg);
3
+ };
4
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
5
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
6
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
7
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
8
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
9
+ var _client, _currentResult, _currentMutation, _mutateOptions, _MutationObserver_instances, updateResult_fn, notify_fn, _a;
10
+ import { getDefaultState } from "./mutation.mjs";
11
+ import { notifyManager } from "./notifyManager.mjs";
12
+ import { Subscribable } from "./subscribable.mjs";
13
+ import { shallowEqualObjects, hashKey } from "./utils.mjs";
14
+ var MutationObserver = (_a = class extends Subscribable {
15
+ constructor(client, options) {
16
+ super();
17
+ __privateAdd(this, _MutationObserver_instances);
18
+ __privateAdd(this, _client);
19
+ __privateAdd(this, _currentResult);
20
+ __privateAdd(this, _currentMutation);
21
+ __privateAdd(this, _mutateOptions);
22
+ __privateSet(this, _client, client);
23
+ this.setOptions(options);
24
+ this.bindMethods();
25
+ __privateMethod(this, _MutationObserver_instances, updateResult_fn).call(this);
26
+ }
27
+ bindMethods() {
28
+ this.mutate = this.mutate.bind(this);
29
+ this.reset = this.reset.bind(this);
30
+ }
31
+ setOptions(options) {
32
+ var _a2;
33
+ const prevOptions = this.options;
34
+ this.options = __privateGet(this, _client).defaultMutationOptions(options);
35
+ if (!shallowEqualObjects(this.options, prevOptions)) {
36
+ __privateGet(this, _client).getMutationCache().notify({
37
+ type: "observerOptionsUpdated",
38
+ mutation: __privateGet(this, _currentMutation),
39
+ observer: this
40
+ });
41
+ }
42
+ if ((prevOptions == null ? void 0 : prevOptions.mutationKey) && this.options.mutationKey && hashKey(prevOptions.mutationKey) !== hashKey(this.options.mutationKey)) {
43
+ this.reset();
44
+ } else if (((_a2 = __privateGet(this, _currentMutation)) == null ? void 0 : _a2.state.status) === "pending") {
45
+ __privateGet(this, _currentMutation).setOptions(this.options);
46
+ }
47
+ }
48
+ onUnsubscribe() {
49
+ var _a2;
50
+ if (!this.hasListeners()) {
51
+ (_a2 = __privateGet(this, _currentMutation)) == null ? void 0 : _a2.removeObserver(this);
52
+ }
53
+ }
54
+ onMutationUpdate(action) {
55
+ __privateMethod(this, _MutationObserver_instances, updateResult_fn).call(this);
56
+ __privateMethod(this, _MutationObserver_instances, notify_fn).call(this, action);
57
+ }
58
+ getCurrentResult() {
59
+ return __privateGet(this, _currentResult);
60
+ }
61
+ reset() {
62
+ var _a2;
63
+ (_a2 = __privateGet(this, _currentMutation)) == null ? void 0 : _a2.removeObserver(this);
64
+ __privateSet(this, _currentMutation, void 0);
65
+ __privateMethod(this, _MutationObserver_instances, updateResult_fn).call(this);
66
+ __privateMethod(this, _MutationObserver_instances, notify_fn).call(this);
67
+ }
68
+ mutate(variables, options) {
69
+ var _a2;
70
+ __privateSet(this, _mutateOptions, options);
71
+ (_a2 = __privateGet(this, _currentMutation)) == null ? void 0 : _a2.removeObserver(this);
72
+ __privateSet(this, _currentMutation, __privateGet(this, _client).getMutationCache().build(__privateGet(this, _client), this.options));
73
+ __privateGet(this, _currentMutation).addObserver(this);
74
+ return __privateGet(this, _currentMutation).execute(variables);
75
+ }
76
+ }, _client = new WeakMap(), _currentResult = new WeakMap(), _currentMutation = new WeakMap(), _mutateOptions = new WeakMap(), _MutationObserver_instances = new WeakSet(), updateResult_fn = function() {
77
+ var _a2;
78
+ const state = ((_a2 = __privateGet(this, _currentMutation)) == null ? void 0 : _a2.state) ?? getDefaultState();
79
+ __privateSet(this, _currentResult, {
80
+ ...state,
81
+ isPending: state.status === "pending",
82
+ isSuccess: state.status === "success",
83
+ isError: state.status === "error",
84
+ isIdle: state.status === "idle",
85
+ mutate: this.mutate,
86
+ reset: this.reset
87
+ });
88
+ }, notify_fn = function(action) {
89
+ notifyManager.batch(() => {
90
+ var _a2, _b, _c, _d, _e, _f, _g, _h;
91
+ if (__privateGet(this, _mutateOptions) && this.hasListeners()) {
92
+ const variables = __privateGet(this, _currentResult).variables;
93
+ const onMutateResult = __privateGet(this, _currentResult).context;
94
+ const context = {
95
+ client: __privateGet(this, _client),
96
+ meta: this.options.meta,
97
+ mutationKey: this.options.mutationKey
98
+ };
99
+ if ((action == null ? void 0 : action.type) === "success") {
100
+ (_b = (_a2 = __privateGet(this, _mutateOptions)).onSuccess) == null ? void 0 : _b.call(
101
+ _a2,
102
+ action.data,
103
+ variables,
104
+ onMutateResult,
105
+ context
106
+ );
107
+ (_d = (_c = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _d.call(
108
+ _c,
109
+ action.data,
110
+ null,
111
+ variables,
112
+ onMutateResult,
113
+ context
114
+ );
115
+ } else if ((action == null ? void 0 : action.type) === "error") {
116
+ (_f = (_e = __privateGet(this, _mutateOptions)).onError) == null ? void 0 : _f.call(
117
+ _e,
118
+ action.error,
119
+ variables,
120
+ onMutateResult,
121
+ context
122
+ );
123
+ (_h = (_g = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _h.call(
124
+ _g,
125
+ void 0,
126
+ action.error,
127
+ variables,
128
+ onMutateResult,
129
+ context
130
+ );
131
+ }
132
+ }
133
+ this.listeners.forEach((listener) => {
134
+ listener(__privateGet(this, _currentResult));
135
+ });
136
+ });
137
+ }, _a);
138
+ export {
139
+ MutationObserver
140
+ };