fastapi-rtk 1.0.13 → 1.0.15
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.
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +5 -13
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutation.cjs +16 -3
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutationObserver.cjs +46 -30
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queriesObserver.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/query.cjs +4 -1
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/streamedQuery.cjs +19 -5
- package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/utils.cjs +22 -0
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/HydrationBoundary.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +4 -3
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/index.cjs +18 -18
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +7 -6
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useInfiniteQuery.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useIsFetching.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useMutation.cjs +3 -3
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useMutationState.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useQueries.cjs +8 -7
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.cjs +2 -2
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseQueries.cjs +1 -1
- package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseQuery.cjs +2 -2
- package/dist/.external/cjs/{i18next@25.7.3_typescript@5.9.3 → i18next@25.7.4_typescript@5.9.3}/i18next/dist/esm/i18next.cjs +13 -4
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +6 -14
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutation.mjs +16 -3
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutationObserver.mjs +46 -30
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queriesObserver.mjs +1 -1
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/query.mjs +4 -1
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/streamedQuery.mjs +20 -6
- package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/utils.mjs +22 -0
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/HydrationBoundary.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +4 -3
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/index.mjs +18 -18
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +7 -6
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useInfiniteQuery.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useIsFetching.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useMutation.mjs +3 -3
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useMutationState.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useQueries.mjs +8 -7
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.mjs +2 -2
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseQueries.mjs +1 -1
- package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/useSuspenseQuery.mjs +2 -2
- package/dist/.external/esm/{i18next@25.7.3_typescript@5.9.3 → i18next@25.7.4_typescript@5.9.3}/i18next/dist/esm/i18next.mjs +13 -4
- package/dist/core/cjs/ActionIcons/Add/Add.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Delete/Delete.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Download/Download.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Edit/Edit.cjs +1 -1
- package/dist/core/cjs/ActionIcons/Refresh/Refresh.cjs +1 -1
- package/dist/core/cjs/ActionIcons/View/View.cjs +1 -1
- package/dist/core/cjs/Dialogs/AddDialog.cjs +2 -2
- package/dist/core/cjs/Dialogs/DeleteDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +2 -2
- package/dist/core/cjs/Modals/CommonModal.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/ErrorDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +2 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.cjs +13 -9
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/Contexts/LangContext.cjs +3 -3
- package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
- package/dist/core/cjs/Wrappers/Provider/hooks/useProvideLang.cjs +1 -1
- package/dist/core/cjs/index.cjs +2 -2
- package/dist/core/esm/ActionIcons/Add/Add.mjs +1 -1
- package/dist/core/esm/ActionIcons/Delete/Delete.mjs +1 -1
- package/dist/core/esm/ActionIcons/Download/Download.mjs +1 -1
- package/dist/core/esm/ActionIcons/Edit/Edit.mjs +1 -1
- package/dist/core/esm/ActionIcons/Refresh/Refresh.mjs +1 -1
- package/dist/core/esm/ActionIcons/View/View.mjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +2 -2
- package/dist/core/esm/Dialogs/DeleteDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +2 -2
- package/dist/core/esm/Modals/CommonModal.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/ErrorDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +2 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/ColumnHeaderFilterInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/ColumnHeaderFilterInput/HeaderInputs/HeaderBetweenInput.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.mjs +13 -9
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/Contexts/LangContext.mjs +3 -3
- package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
- package/dist/core/esm/Wrappers/Provider/hooks/useProvideLang.mjs +1 -1
- package/dist/core/esm/index.mjs +2 -2
- package/dist/core/lib/Tables/NextGenDataGrid/NextGenDataGrid.d.ts +29 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useToolbar/useToolbar.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/hydration.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/removable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/timeoutManager.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/types.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/infiniteQueryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/mutationOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/queryOptions.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.cjs +0 -0
- /package/dist/.external/cjs/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/usePrefetchQuery.cjs +0 -0
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.10_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/context.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/defaults.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/unescape.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/useTranslation.cjs +0 -0
- /package/dist/.external/cjs/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/utils.cjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/hydration.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/removable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/timeoutManager.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_query-core@5.90.12 → @tanstack_query-core@5.90.16}/@tanstack/query-core/build/modern/types.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/infiniteQueryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/mutationOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/queryOptions.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.mjs +0 -0
- /package/dist/.external/esm/{@tanstack_react-query@5.90.12_react@18.3.1 → @tanstack_react-query@5.90.16_react@18.3.1}/@tanstack/react-query/build/modern/usePrefetchQuery.mjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.10_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/I18nextProvider.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/context.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/defaults.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/i18nInstance.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/initReactI18next.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/unescape.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/useTranslation.mjs +0 -0
- /package/dist/.external/esm/{react-i18next@15.7.4_i18next@25.7.3_react-dom@18.3.1_react@18.3.1_typescript@5.9.3 → react-i18next@15.7.4_i18next@25.7.4_react-dom@18.3.1_react@18.3.1_typescript@5.9.3}/react-i18next/dist/es/utils.mjs +0 -0
|
@@ -14,19 +14,11 @@ function infiniteQueryBehavior(pages) {
|
|
|
14
14
|
const fetchFn = async () => {
|
|
15
15
|
let cancelled = false;
|
|
16
16
|
const addSignalProperty = (object) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} else {
|
|
23
|
-
context.signal.addEventListener("abort", () => {
|
|
24
|
-
cancelled = true;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return context.signal;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
17
|
+
utils.addConsumeAwareSignal(
|
|
18
|
+
object,
|
|
19
|
+
() => context.signal,
|
|
20
|
+
() => cancelled = true
|
|
21
|
+
);
|
|
30
22
|
};
|
|
31
23
|
const queryFn = utils.ensureQueryFn(context.options, context.fetchOptions);
|
|
32
24
|
const fetchPage = async (data, param, previous) => {
|
|
@@ -170,6 +170,10 @@ var Mutation = (_a = class extends removable.Removable {
|
|
|
170
170
|
this,
|
|
171
171
|
mutationFnContext
|
|
172
172
|
));
|
|
173
|
+
} catch (e) {
|
|
174
|
+
void Promise.reject(e);
|
|
175
|
+
}
|
|
176
|
+
try {
|
|
173
177
|
await ((_p = (_o = this.options).onError) == null ? void 0 : _p.call(
|
|
174
178
|
_o,
|
|
175
179
|
error,
|
|
@@ -177,6 +181,10 @@ var Mutation = (_a = class extends removable.Removable {
|
|
|
177
181
|
this.state.context,
|
|
178
182
|
mutationFnContext
|
|
179
183
|
));
|
|
184
|
+
} catch (e) {
|
|
185
|
+
void Promise.reject(e);
|
|
186
|
+
}
|
|
187
|
+
try {
|
|
180
188
|
await ((_r = (_q = __privateGet(this, _mutationCache).config).onSettled) == null ? void 0 : _r.call(
|
|
181
189
|
_q,
|
|
182
190
|
void 0,
|
|
@@ -186,6 +194,10 @@ var Mutation = (_a = class extends removable.Removable {
|
|
|
186
194
|
this,
|
|
187
195
|
mutationFnContext
|
|
188
196
|
));
|
|
197
|
+
} catch (e) {
|
|
198
|
+
void Promise.reject(e);
|
|
199
|
+
}
|
|
200
|
+
try {
|
|
189
201
|
await ((_t = (_s = this.options).onSettled) == null ? void 0 : _t.call(
|
|
190
202
|
_s,
|
|
191
203
|
void 0,
|
|
@@ -194,10 +206,11 @@ var Mutation = (_a = class extends removable.Removable {
|
|
|
194
206
|
this.state.context,
|
|
195
207
|
mutationFnContext
|
|
196
208
|
));
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
__privateMethod(this, _Mutation_instances, dispatch_fn).call(this, { type: "error", error });
|
|
209
|
+
} catch (e) {
|
|
210
|
+
void Promise.reject(e);
|
|
200
211
|
}
|
|
212
|
+
__privateMethod(this, _Mutation_instances, dispatch_fn).call(this, { type: "error", error });
|
|
213
|
+
throw error;
|
|
201
214
|
} finally {
|
|
202
215
|
__privateGet(this, _mutationCache).runNext(this);
|
|
203
216
|
}
|
|
@@ -99,37 +99,53 @@ var MutationObserver = (_a = class extends subscribable.Subscribable {
|
|
|
99
99
|
mutationKey: this.options.mutationKey
|
|
100
100
|
};
|
|
101
101
|
if ((action == null ? void 0 : action.type) === "success") {
|
|
102
|
-
|
|
103
|
-
_a2,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
102
|
+
try {
|
|
103
|
+
(_b = (_a2 = __privateGet(this, _mutateOptions)).onSuccess) == null ? void 0 : _b.call(
|
|
104
|
+
_a2,
|
|
105
|
+
action.data,
|
|
106
|
+
variables,
|
|
107
|
+
onMutateResult,
|
|
108
|
+
context
|
|
109
|
+
);
|
|
110
|
+
} catch (e) {
|
|
111
|
+
void Promise.reject(e);
|
|
112
|
+
}
|
|
113
|
+
try {
|
|
114
|
+
(_d = (_c = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _d.call(
|
|
115
|
+
_c,
|
|
116
|
+
action.data,
|
|
117
|
+
null,
|
|
118
|
+
variables,
|
|
119
|
+
onMutateResult,
|
|
120
|
+
context
|
|
121
|
+
);
|
|
122
|
+
} catch (e) {
|
|
123
|
+
void Promise.reject(e);
|
|
124
|
+
}
|
|
117
125
|
} else if ((action == null ? void 0 : action.type) === "error") {
|
|
118
|
-
|
|
119
|
-
_e,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
void
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
try {
|
|
127
|
+
(_f = (_e = __privateGet(this, _mutateOptions)).onError) == null ? void 0 : _f.call(
|
|
128
|
+
_e,
|
|
129
|
+
action.error,
|
|
130
|
+
variables,
|
|
131
|
+
onMutateResult,
|
|
132
|
+
context
|
|
133
|
+
);
|
|
134
|
+
} catch (e) {
|
|
135
|
+
void Promise.reject(e);
|
|
136
|
+
}
|
|
137
|
+
try {
|
|
138
|
+
(_h = (_g = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _h.call(
|
|
139
|
+
_g,
|
|
140
|
+
void 0,
|
|
141
|
+
action.error,
|
|
142
|
+
variables,
|
|
143
|
+
onMutateResult,
|
|
144
|
+
context
|
|
145
|
+
);
|
|
146
|
+
} catch (e) {
|
|
147
|
+
void Promise.reject(e);
|
|
148
|
+
}
|
|
133
149
|
}
|
|
134
150
|
}
|
|
135
151
|
this.listeners.forEach((listener) => {
|
|
@@ -78,7 +78,6 @@ var QueriesObserver = (_a = class extends subscribable.Subscribable {
|
|
|
78
78
|
notifyManager.notifyManager.batch(() => {
|
|
79
79
|
const prevObservers = __privateGet(this, _observers);
|
|
80
80
|
const newObserverMatches = __privateMethod(this, _QueriesObserver_instances, findMatchingObservers_fn).call(this, __privateGet(this, _queries));
|
|
81
|
-
__privateSet(this, _observerMatches, newObserverMatches);
|
|
82
81
|
newObserverMatches.forEach(
|
|
83
82
|
(match) => match.observer.setOptions(match.defaultedQueryOptions)
|
|
84
83
|
);
|
|
@@ -97,6 +96,7 @@ var QueriesObserver = (_a = class extends subscribable.Subscribable {
|
|
|
97
96
|
});
|
|
98
97
|
if (!hasStructuralChange && !hasResultChange) return;
|
|
99
98
|
if (hasStructuralChange) {
|
|
99
|
+
__privateSet(this, _observerMatches, newObserverMatches);
|
|
100
100
|
__privateSet(this, _observers, newObservers);
|
|
101
101
|
}
|
|
102
102
|
__privateSet(this, _result, newResult);
|
|
@@ -373,7 +373,10 @@ var Query = (_a = class extends removable.Removable {
|
|
|
373
373
|
fetchFailureCount: state.fetchFailureCount + 1,
|
|
374
374
|
fetchFailureReason: error,
|
|
375
375
|
fetchStatus: "idle",
|
|
376
|
-
status: "error"
|
|
376
|
+
status: "error",
|
|
377
|
+
// flag existing data as invalidated if we get a background error
|
|
378
|
+
// note that "no data" always means stale so we can set unconditionally here
|
|
379
|
+
isInvalidated: true
|
|
377
380
|
};
|
|
378
381
|
case "invalidate":
|
|
379
382
|
return {
|
|
@@ -19,20 +19,34 @@ function streamedQuery({
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
let result = initialValue;
|
|
22
|
-
|
|
22
|
+
let cancelled = false;
|
|
23
|
+
const streamFnContext = utils.addConsumeAwareSignal(
|
|
24
|
+
{
|
|
25
|
+
client: context.client,
|
|
26
|
+
meta: context.meta,
|
|
27
|
+
queryKey: context.queryKey,
|
|
28
|
+
pageParam: context.pageParam,
|
|
29
|
+
direction: context.direction
|
|
30
|
+
},
|
|
31
|
+
() => context.signal,
|
|
32
|
+
() => cancelled = true
|
|
33
|
+
);
|
|
34
|
+
const stream = await streamFn(streamFnContext);
|
|
35
|
+
const isReplaceRefetch = isRefetch && refetchMode === "replace";
|
|
23
36
|
for await (const chunk of stream) {
|
|
24
|
-
if (
|
|
37
|
+
if (cancelled) {
|
|
25
38
|
break;
|
|
26
39
|
}
|
|
27
|
-
if (
|
|
40
|
+
if (isReplaceRefetch) {
|
|
41
|
+
result = reducer(result, chunk);
|
|
42
|
+
} else {
|
|
28
43
|
context.client.setQueryData(
|
|
29
44
|
context.queryKey,
|
|
30
45
|
(prev) => reducer(prev === void 0 ? initialValue : prev, chunk)
|
|
31
46
|
);
|
|
32
47
|
}
|
|
33
|
-
result = reducer(result, chunk);
|
|
34
48
|
}
|
|
35
|
-
if (
|
|
49
|
+
if (isReplaceRefetch && !cancelled) {
|
|
36
50
|
context.client.setQueryData(context.queryKey, result);
|
|
37
51
|
}
|
|
38
52
|
return context.client.getQueryData(context.queryKey) ?? initialValue;
|
|
@@ -230,6 +230,28 @@ function shouldThrowError(throwOnError, params) {
|
|
|
230
230
|
}
|
|
231
231
|
return !!throwOnError;
|
|
232
232
|
}
|
|
233
|
+
function addConsumeAwareSignal(object, getSignal, onCancelled) {
|
|
234
|
+
let consumed = false;
|
|
235
|
+
let signal;
|
|
236
|
+
Object.defineProperty(object, "signal", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: () => {
|
|
239
|
+
signal ?? (signal = getSignal());
|
|
240
|
+
if (consumed) {
|
|
241
|
+
return signal;
|
|
242
|
+
}
|
|
243
|
+
consumed = true;
|
|
244
|
+
if (signal.aborted) {
|
|
245
|
+
onCancelled();
|
|
246
|
+
} else {
|
|
247
|
+
signal.addEventListener("abort", onCancelled, { once: true });
|
|
248
|
+
}
|
|
249
|
+
return signal;
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
return object;
|
|
253
|
+
}
|
|
254
|
+
exports.addConsumeAwareSignal = addConsumeAwareSignal;
|
|
233
255
|
exports.addToEnd = addToEnd;
|
|
234
256
|
exports.addToStart = addToStart;
|
|
235
257
|
exports.ensureQueryFn = ensureQueryFn;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const hydration = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const hydration = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/hydration.cjs");
|
|
5
5
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
6
6
|
function _interopNamespaceDefault(e) {
|
|
7
7
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
5
5
|
function _interopNamespaceDefault(e) {
|
|
6
6
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
7
|
if (e) {
|
|
@@ -19,8 +19,9 @@ function _interopNamespaceDefault(e) {
|
|
|
19
19
|
return Object.freeze(n);
|
|
20
20
|
}
|
|
21
21
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
22
|
-
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
|
|
23
|
-
|
|
22
|
+
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
23
|
+
const throwOnError = (query == null ? void 0 : query.state.error) && typeof options.throwOnError === "function" ? utils.shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
24
|
+
if (options.suspense || options.experimental_prefetchInRender || throwOnError) {
|
|
24
25
|
if (!errorResetBoundary.isReset()) {
|
|
25
26
|
options.retryOnMount = false;
|
|
26
27
|
}
|
|
@@ -18,24 +18,24 @@ const useMutation = require("./useMutation.cjs");
|
|
|
18
18
|
const mutationOptions = require("./mutationOptions.cjs");
|
|
19
19
|
const useInfiniteQuery = require("./useInfiniteQuery.cjs");
|
|
20
20
|
const IsRestoringProvider = require("./IsRestoringProvider.cjs");
|
|
21
|
-
const types = require("../../../../../@tanstack_query-core@5.90.
|
|
22
|
-
const retryer = require("../../../../../@tanstack_query-core@5.90.
|
|
23
|
-
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
24
|
-
const mutation = require("../../../../../@tanstack_query-core@5.90.
|
|
25
|
-
const mutationCache = require("../../../../../@tanstack_query-core@5.90.
|
|
26
|
-
const mutationObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
27
|
-
const queriesObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
28
|
-
const query = require("../../../../../@tanstack_query-core@5.90.
|
|
29
|
-
const queryCache = require("../../../../../@tanstack_query-core@5.90.
|
|
30
|
-
const queryClient = require("../../../../../@tanstack_query-core@5.90.
|
|
31
|
-
const queryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
32
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
33
|
-
const hydration = require("../../../../../@tanstack_query-core@5.90.
|
|
34
|
-
const streamedQuery = require("../../../../../@tanstack_query-core@5.90.
|
|
35
|
-
const focusManager = require("../../../../../@tanstack_query-core@5.90.
|
|
36
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
37
|
-
const onlineManager = require("../../../../../@tanstack_query-core@5.90.
|
|
38
|
-
const timeoutManager = require("../../../../../@tanstack_query-core@5.90.
|
|
21
|
+
const types = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/types.cjs");
|
|
22
|
+
const retryer = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/retryer.cjs");
|
|
23
|
+
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs");
|
|
24
|
+
const mutation = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutation.cjs");
|
|
25
|
+
const mutationCache = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationCache.cjs");
|
|
26
|
+
const mutationObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationObserver.cjs");
|
|
27
|
+
const queriesObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queriesObserver.cjs");
|
|
28
|
+
const query = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/query.cjs");
|
|
29
|
+
const queryCache = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryCache.cjs");
|
|
30
|
+
const queryClient = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryClient.cjs");
|
|
31
|
+
const queryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.cjs");
|
|
32
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
33
|
+
const hydration = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/hydration.cjs");
|
|
34
|
+
const streamedQuery = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/streamedQuery.cjs");
|
|
35
|
+
const focusManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/focusManager.cjs");
|
|
36
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
37
|
+
const onlineManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/onlineManager.cjs");
|
|
38
|
+
const timeoutManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/timeoutManager.cjs");
|
|
39
39
|
exports.useQueries = useQueries.useQueries;
|
|
40
40
|
exports.useQuery = useQuery.useQuery;
|
|
41
41
|
exports.useSuspenseQuery = useSuspenseQuery.useSuspenseQuery;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
5
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
5
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
6
6
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
7
7
|
const QueryErrorResetBoundary = require("./QueryErrorResetBoundary.cjs");
|
|
8
8
|
const errorBoundaryUtils = require("./errorBoundaryUtils.cjs");
|
|
@@ -26,7 +26,7 @@ function _interopNamespaceDefault(e) {
|
|
|
26
26
|
}
|
|
27
27
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
28
28
|
function useBaseQuery(options, Observer, queryClient) {
|
|
29
|
-
var _a, _b, _c, _d
|
|
29
|
+
var _a, _b, _c, _d;
|
|
30
30
|
if (process.env.NODE_ENV !== "production") {
|
|
31
31
|
if (typeof options !== "object" || Array.isArray(options)) {
|
|
32
32
|
throw new Error(
|
|
@@ -42,6 +42,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
42
42
|
_a,
|
|
43
43
|
defaultedOptions
|
|
44
44
|
);
|
|
45
|
+
const query = client.getQueryCache().get(defaultedOptions.queryHash);
|
|
45
46
|
if (process.env.NODE_ENV !== "production") {
|
|
46
47
|
if (!defaultedOptions.queryFn) {
|
|
47
48
|
console.error(
|
|
@@ -51,7 +52,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
51
52
|
}
|
|
52
53
|
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";
|
|
53
54
|
suspense.ensureSuspenseTimers(defaultedOptions);
|
|
54
|
-
errorBoundaryUtils.ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary);
|
|
55
|
+
errorBoundaryUtils.ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary, query);
|
|
55
56
|
errorBoundaryUtils.useClearResetErrorBoundary(errorResetBoundary);
|
|
56
57
|
const isNewCacheEntry = !client.getQueryCache().get(defaultedOptions.queryHash);
|
|
57
58
|
const [observer] = React__namespace.useState(
|
|
@@ -84,7 +85,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
84
85
|
result,
|
|
85
86
|
errorResetBoundary,
|
|
86
87
|
throwOnError: defaultedOptions.throwOnError,
|
|
87
|
-
query
|
|
88
|
+
query,
|
|
88
89
|
suspense: defaultedOptions.suspense
|
|
89
90
|
})) {
|
|
90
91
|
throw result.error;
|
|
@@ -100,7 +101,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
100
101
|
suspense.fetchOptimistic(defaultedOptions, observer, errorResetBoundary)
|
|
101
102
|
) : (
|
|
102
103
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
103
|
-
|
|
104
|
+
query == null ? void 0 : query.promise
|
|
104
105
|
);
|
|
105
106
|
promise == null ? void 0 : promise.catch(utils.noop).finally(() => {
|
|
106
107
|
observer.updateResult();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
3
|
+
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs");
|
|
4
4
|
const useBaseQuery = require("./useBaseQuery.cjs");
|
|
5
5
|
function useInfiniteQuery(options, queryClient) {
|
|
6
6
|
return useBaseQuery.useBaseQuery(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
5
5
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
6
6
|
function _interopNamespaceDefault(e) {
|
|
7
7
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const mutationObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
5
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
6
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const mutationObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationObserver.cjs");
|
|
5
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
6
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
7
7
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
8
8
|
function _interopNamespaceDefault(e) {
|
|
9
9
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
5
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
5
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
6
6
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const notifyManager = require("../../../../../@tanstack_query-core@5.90.
|
|
5
|
-
const queriesObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
6
|
-
const queryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
7
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
+
const notifyManager = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.cjs");
|
|
5
|
+
const queriesObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queriesObserver.cjs");
|
|
6
|
+
const queryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.cjs");
|
|
7
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
8
8
|
const QueryClientProvider = require("./QueryClientProvider.cjs");
|
|
9
9
|
const IsRestoringProvider = require("./IsRestoringProvider.cjs");
|
|
10
10
|
const QueryErrorResetBoundary = require("./QueryErrorResetBoundary.cjs");
|
|
@@ -44,9 +44,10 @@ function useQueries({
|
|
|
44
44
|
}),
|
|
45
45
|
[queries, client, isRestoring]
|
|
46
46
|
);
|
|
47
|
-
defaultedQueries.forEach((
|
|
48
|
-
suspense.ensureSuspenseTimers(
|
|
49
|
-
|
|
47
|
+
defaultedQueries.forEach((queryOptions) => {
|
|
48
|
+
suspense.ensureSuspenseTimers(queryOptions);
|
|
49
|
+
const query = client.getQueryCache().get(queryOptions.queryHash);
|
|
50
|
+
errorBoundaryUtils.ensurePreventErrorBoundaryRetry(queryOptions, errorResetBoundary, query);
|
|
50
51
|
});
|
|
51
52
|
errorBoundaryUtils.useClearResetErrorBoundary(errorResetBoundary);
|
|
52
53
|
const [observer] = React__namespace.useState(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const queryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
3
|
+
const queryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.cjs");
|
|
4
4
|
const useBaseQuery = require("./useBaseQuery.cjs");
|
|
5
5
|
function useQuery(options, queryClient) {
|
|
6
6
|
return useBaseQuery.useBaseQuery(options, queryObserver.QueryObserver, queryClient);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
3
|
+
const infiniteQueryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs");
|
|
4
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
5
5
|
const useBaseQuery = require("./useBaseQuery.cjs");
|
|
6
6
|
const suspense = require("./suspense.cjs");
|
|
7
7
|
function useSuspenseInfiniteQuery(options, queryClient) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
3
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
4
4
|
const useQueries = require("./useQueries.cjs");
|
|
5
5
|
const suspense = require("./suspense.cjs");
|
|
6
6
|
function useSuspenseQueries(options, queryClient) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const queryObserver = require("../../../../../@tanstack_query-core@5.90.
|
|
4
|
-
const utils = require("../../../../../@tanstack_query-core@5.90.
|
|
3
|
+
const queryObserver = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.cjs");
|
|
4
|
+
const utils = require("../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
5
5
|
const useBaseQuery = require("./useBaseQuery.cjs");
|
|
6
6
|
const suspense = require("./suspense.cjs");
|
|
7
7
|
function useSuspenseQuery(options, queryClient) {
|
|
@@ -1013,9 +1013,6 @@ class PluralResolver {
|
|
|
1013
1013
|
this.logger = baseLogger.create("pluralResolver");
|
|
1014
1014
|
this.pluralRulesCache = {};
|
|
1015
1015
|
}
|
|
1016
|
-
addRule(lng, obj) {
|
|
1017
|
-
this.rules[lng] = obj;
|
|
1018
|
-
}
|
|
1019
1016
|
clearCache() {
|
|
1020
1017
|
this.pluralRulesCache = {};
|
|
1021
1018
|
}
|
|
@@ -2181,7 +2178,19 @@ class I18n extends EventEmitter {
|
|
|
2181
2178
|
clone.store = new ResourceStore(clonedData, mergedOptions);
|
|
2182
2179
|
clone.services.resourceStore = clone.store;
|
|
2183
2180
|
}
|
|
2184
|
-
if (options.interpolation)
|
|
2181
|
+
if (options.interpolation) {
|
|
2182
|
+
const defOpts = get();
|
|
2183
|
+
const mergedInterpolation = {
|
|
2184
|
+
...defOpts.interpolation,
|
|
2185
|
+
...this.options.interpolation,
|
|
2186
|
+
...options.interpolation
|
|
2187
|
+
};
|
|
2188
|
+
const mergedForInterpolator = {
|
|
2189
|
+
...mergedOptions,
|
|
2190
|
+
interpolation: mergedInterpolation
|
|
2191
|
+
};
|
|
2192
|
+
clone.services.interpolator = new Interpolator(mergedForInterpolator);
|
|
2193
|
+
}
|
|
2185
2194
|
clone.translator = new Translator(clone.services, mergedOptions);
|
|
2186
2195
|
clone.translator.on("*", (event, ...args) => {
|
|
2187
2196
|
clone.emit(event, ...args);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ensureQueryFn, addToStart, addToEnd } from "./utils.mjs";
|
|
1
|
+
import { ensureQueryFn, addToStart, addToEnd, addConsumeAwareSignal } from "./utils.mjs";
|
|
2
2
|
function infiniteQueryBehavior(pages) {
|
|
3
3
|
return {
|
|
4
4
|
onFetch: (context, query) => {
|
|
@@ -12,19 +12,11 @@ function infiniteQueryBehavior(pages) {
|
|
|
12
12
|
const fetchFn = async () => {
|
|
13
13
|
let cancelled = false;
|
|
14
14
|
const addSignalProperty = (object) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} else {
|
|
21
|
-
context.signal.addEventListener("abort", () => {
|
|
22
|
-
cancelled = true;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return context.signal;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
15
|
+
addConsumeAwareSignal(
|
|
16
|
+
object,
|
|
17
|
+
() => context.signal,
|
|
18
|
+
() => cancelled = true
|
|
19
|
+
);
|
|
28
20
|
};
|
|
29
21
|
const queryFn = ensureQueryFn(context.options, context.fetchOptions);
|
|
30
22
|
const fetchPage = async (data, param, previous) => {
|
|
@@ -168,6 +168,10 @@ var Mutation = (_a = class extends Removable {
|
|
|
168
168
|
this,
|
|
169
169
|
mutationFnContext
|
|
170
170
|
));
|
|
171
|
+
} catch (e) {
|
|
172
|
+
void Promise.reject(e);
|
|
173
|
+
}
|
|
174
|
+
try {
|
|
171
175
|
await ((_p = (_o = this.options).onError) == null ? void 0 : _p.call(
|
|
172
176
|
_o,
|
|
173
177
|
error,
|
|
@@ -175,6 +179,10 @@ var Mutation = (_a = class extends Removable {
|
|
|
175
179
|
this.state.context,
|
|
176
180
|
mutationFnContext
|
|
177
181
|
));
|
|
182
|
+
} catch (e) {
|
|
183
|
+
void Promise.reject(e);
|
|
184
|
+
}
|
|
185
|
+
try {
|
|
178
186
|
await ((_r = (_q = __privateGet(this, _mutationCache).config).onSettled) == null ? void 0 : _r.call(
|
|
179
187
|
_q,
|
|
180
188
|
void 0,
|
|
@@ -184,6 +192,10 @@ var Mutation = (_a = class extends Removable {
|
|
|
184
192
|
this,
|
|
185
193
|
mutationFnContext
|
|
186
194
|
));
|
|
195
|
+
} catch (e) {
|
|
196
|
+
void Promise.reject(e);
|
|
197
|
+
}
|
|
198
|
+
try {
|
|
187
199
|
await ((_t = (_s = this.options).onSettled) == null ? void 0 : _t.call(
|
|
188
200
|
_s,
|
|
189
201
|
void 0,
|
|
@@ -192,10 +204,11 @@ var Mutation = (_a = class extends Removable {
|
|
|
192
204
|
this.state.context,
|
|
193
205
|
mutationFnContext
|
|
194
206
|
));
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
__privateMethod(this, _Mutation_instances, dispatch_fn).call(this, { type: "error", error });
|
|
207
|
+
} catch (e) {
|
|
208
|
+
void Promise.reject(e);
|
|
198
209
|
}
|
|
210
|
+
__privateMethod(this, _Mutation_instances, dispatch_fn).call(this, { type: "error", error });
|
|
211
|
+
throw error;
|
|
199
212
|
} finally {
|
|
200
213
|
__privateGet(this, _mutationCache).runNext(this);
|
|
201
214
|
}
|