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.
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/hydration.cjs +148 -0
- 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
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs +66 -0
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/mutationObserver.cjs +140 -0
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queriesObserver.cjs +205 -0
- 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
- 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
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/streamedQuery.cjs +41 -0
- 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
- package/dist/.external/cjs/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/types.cjs +8 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/HydrationBoundary.cjs +70 -0
- 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
- 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
- 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
- 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
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/index.cjs +95 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/infiniteQueryOptions.cjs +6 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/mutationOptions.cjs +6 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/queryOptions.cjs +6 -0
- 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
- 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
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useInfiniteQuery.cjs +12 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useIsFetching.cjs +35 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutation.cjs +55 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutationState.cjs +65 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.cjs +10 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchQuery.cjs +10 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useQueries.cjs +113 -0
- 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
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.cjs +24 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQueries.cjs +28 -0
- package/dist/.external/cjs/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQuery.cjs +25 -0
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.cjs +7 -7
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.cjs +5 -5
- package/dist/.external/cjs/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.cjs +6 -6
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/ajv.cjs +16 -16
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/code.cjs +20 -20
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/index.cjs +23 -23
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/scope.cjs +9 -9
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/errors.cjs +11 -11
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/core.cjs +11 -11
- package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.cjs +8 -8
- 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
- package/dist/.external/cjs/lodash@4.17.21/lodash/_cloneBuffer.cjs +2 -2
- package/dist/.external/cjs/lodash@4.17.21/lodash/_nodeUtil.cjs +2 -2
- package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_mapping.cjs +14 -14
- package/dist/.external/cjs/lodash@4.17.21/lodash/isBuffer.cjs +2 -2
- package/dist/.external/cjs/lodash@4.17.21/lodash/lodash.cjs +2 -2
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/hydration.mjs +148 -0
- 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
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs +66 -0
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/mutationObserver.mjs +140 -0
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queriesObserver.mjs +205 -0
- 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
- 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
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/streamedQuery.mjs +41 -0
- 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
- package/dist/.external/esm/@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/types.mjs +8 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/HydrationBoundary.mjs +53 -0
- 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
- 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
- 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
- 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
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/index.mjs +95 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/infiniteQueryOptions.mjs +6 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/mutationOptions.mjs +6 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/queryOptions.mjs +6 -0
- 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
- 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
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useInfiniteQuery.mjs +12 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useIsFetching.mjs +18 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutation.mjs +38 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useMutationState.mjs +48 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.mjs +10 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/usePrefetchQuery.mjs +10 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useQueries.mjs +96 -0
- 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
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.mjs +24 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQueries.mjs +28 -0
- package/dist/.external/esm/@tanstack_react-query@5.90.7_react@18.3.1/@tanstack/react-query/build/modern/useSuspenseQuery.mjs +25 -0
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/formats.mjs +7 -7
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/index.mjs +5 -5
- package/dist/.external/esm/ajv-formats@2.1.1_ajv@8.17.1/ajv-formats/dist/limit.mjs +6 -6
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/ajv.mjs +16 -16
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/code.mjs +20 -20
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/index.mjs +23 -23
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/scope.mjs +9 -9
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/errors.mjs +11 -11
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/core.mjs +11 -11
- package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/dependencies.mjs +8 -8
- 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
- package/dist/.external/esm/lodash@4.17.21/lodash/_cloneBuffer.mjs +2 -2
- package/dist/.external/esm/lodash@4.17.21/lodash/_nodeUtil.mjs +2 -2
- package/dist/.external/esm/lodash@4.17.21/lodash/fp/_mapping.mjs +14 -14
- package/dist/.external/esm/lodash@4.17.21/lodash/isBuffer.mjs +2 -2
- package/dist/.external/esm/lodash@4.17.21/lodash/lodash.mjs +2 -2
- package/dist/constants/cjs/_virtual/index.cjs +1 -1
- package/dist/constants/cjs/_virtual/index2.cjs +1 -1
- package/dist/constants/esm/_virtual/index.mjs +1 -1
- package/dist/constants/esm/_virtual/index2.mjs +1 -1
- 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 +1 -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/FilterModeDescription.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TableContainer.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TablePaper.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TopToolbar.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MantineReactTable.cjs +1 -1
- 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/fab-react-toolkit-patch/api/utils/api/getItems.cjs +8 -3
- package/dist/core/cjs/index.cjs +4 -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 +1 -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/FilterModeDescription.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/HeaderAdvancedFiltersMenuButton.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TableContainer.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TablePaper.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TopToolbar.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MantineReactTable.mjs +1 -1
- 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/fab-react-toolkit-patch/api/utils/api/getItems.mjs +8 -3
- package/dist/core/esm/index.mjs +4 -2
- package/dist/core/lib/fab-react-toolkit-patch/api/utils/api/getItems.d.ts +1 -1
- package/dist/core/lib/index.d.ts +1 -0
- package/package.json +1 -1
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { MutationObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/mutationObserver.mjs";
|
|
3
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
4
|
+
import { noop, shouldThrowError } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
5
|
+
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
6
|
+
function useMutation(options, queryClient) {
|
|
7
|
+
const client = useQueryClient(queryClient);
|
|
8
|
+
const [observer] = React.useState(
|
|
9
|
+
() => new MutationObserver(
|
|
10
|
+
client,
|
|
11
|
+
options
|
|
12
|
+
)
|
|
13
|
+
);
|
|
14
|
+
React.useEffect(() => {
|
|
15
|
+
observer.setOptions(options);
|
|
16
|
+
}, [observer, options]);
|
|
17
|
+
const result = React.useSyncExternalStore(
|
|
18
|
+
React.useCallback(
|
|
19
|
+
(onStoreChange) => observer.subscribe(notifyManager.batchCalls(onStoreChange)),
|
|
20
|
+
[observer]
|
|
21
|
+
),
|
|
22
|
+
() => observer.getCurrentResult(),
|
|
23
|
+
() => observer.getCurrentResult()
|
|
24
|
+
);
|
|
25
|
+
const mutate = React.useCallback(
|
|
26
|
+
(variables, mutateOptions) => {
|
|
27
|
+
observer.mutate(variables, mutateOptions).catch(noop);
|
|
28
|
+
},
|
|
29
|
+
[observer]
|
|
30
|
+
);
|
|
31
|
+
if (result.error && shouldThrowError(observer.options.throwOnError, [result.error])) {
|
|
32
|
+
throw result.error;
|
|
33
|
+
}
|
|
34
|
+
return { ...result, mutate, mutateAsync: result.mutate };
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
useMutation
|
|
38
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { replaceEqualDeep } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
4
|
+
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
5
|
+
function useIsMutating(filters, queryClient) {
|
|
6
|
+
const client = useQueryClient(queryClient);
|
|
7
|
+
return useMutationState(
|
|
8
|
+
{ filters: { ...filters, status: "pending" } },
|
|
9
|
+
client
|
|
10
|
+
).length;
|
|
11
|
+
}
|
|
12
|
+
function getResult(mutationCache, options) {
|
|
13
|
+
return mutationCache.findAll(options.filters).map(
|
|
14
|
+
(mutation) => options.select ? options.select(mutation) : mutation.state
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
function useMutationState(options = {}, queryClient) {
|
|
18
|
+
const mutationCache = useQueryClient(queryClient).getMutationCache();
|
|
19
|
+
const optionsRef = React.useRef(options);
|
|
20
|
+
const result = React.useRef(null);
|
|
21
|
+
if (result.current === null) {
|
|
22
|
+
result.current = getResult(mutationCache, options);
|
|
23
|
+
}
|
|
24
|
+
React.useEffect(() => {
|
|
25
|
+
optionsRef.current = options;
|
|
26
|
+
});
|
|
27
|
+
return React.useSyncExternalStore(
|
|
28
|
+
React.useCallback(
|
|
29
|
+
(onStoreChange) => mutationCache.subscribe(() => {
|
|
30
|
+
const nextResult = replaceEqualDeep(
|
|
31
|
+
result.current,
|
|
32
|
+
getResult(mutationCache, optionsRef.current)
|
|
33
|
+
);
|
|
34
|
+
if (result.current !== nextResult) {
|
|
35
|
+
result.current = nextResult;
|
|
36
|
+
notifyManager.schedule(onStoreChange);
|
|
37
|
+
}
|
|
38
|
+
}),
|
|
39
|
+
[mutationCache]
|
|
40
|
+
),
|
|
41
|
+
() => result.current,
|
|
42
|
+
() => result.current
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
useIsMutating,
|
|
47
|
+
useMutationState
|
|
48
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
2
|
+
function usePrefetchInfiniteQuery(options, queryClient) {
|
|
3
|
+
const client = useQueryClient(queryClient);
|
|
4
|
+
if (!client.getQueryState(options.queryKey)) {
|
|
5
|
+
client.prefetchInfiniteQuery(options);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
usePrefetchInfiniteQuery
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
2
|
+
function usePrefetchQuery(options, queryClient) {
|
|
3
|
+
const client = useQueryClient(queryClient);
|
|
4
|
+
if (!client.getQueryState(options.queryKey)) {
|
|
5
|
+
client.prefetchQuery(options);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
usePrefetchQuery
|
|
10
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { QueriesObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queriesObserver.mjs";
|
|
4
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
5
|
+
import { noop } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
6
|
+
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
7
|
+
import { useIsRestoring } from "./IsRestoringProvider.mjs";
|
|
8
|
+
import { useQueryErrorResetBoundary } from "./QueryErrorResetBoundary.mjs";
|
|
9
|
+
import { ensurePreventErrorBoundaryRetry, useClearResetErrorBoundary, getHasError } from "./errorBoundaryUtils.mjs";
|
|
10
|
+
import { ensureSuspenseTimers, shouldSuspend, fetchOptimistic, willFetch } from "./suspense.mjs";
|
|
11
|
+
function useQueries({
|
|
12
|
+
queries,
|
|
13
|
+
...options
|
|
14
|
+
}, queryClient) {
|
|
15
|
+
const client = useQueryClient(queryClient);
|
|
16
|
+
const isRestoring = useIsRestoring();
|
|
17
|
+
const errorResetBoundary = useQueryErrorResetBoundary();
|
|
18
|
+
const defaultedQueries = React.useMemo(
|
|
19
|
+
() => queries.map((opts) => {
|
|
20
|
+
const defaultedOptions = client.defaultQueryOptions(
|
|
21
|
+
opts
|
|
22
|
+
);
|
|
23
|
+
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";
|
|
24
|
+
return defaultedOptions;
|
|
25
|
+
}),
|
|
26
|
+
[queries, client, isRestoring]
|
|
27
|
+
);
|
|
28
|
+
defaultedQueries.forEach((query) => {
|
|
29
|
+
ensureSuspenseTimers(query);
|
|
30
|
+
ensurePreventErrorBoundaryRetry(query, errorResetBoundary);
|
|
31
|
+
});
|
|
32
|
+
useClearResetErrorBoundary(errorResetBoundary);
|
|
33
|
+
const [observer] = React.useState(
|
|
34
|
+
() => new QueriesObserver(
|
|
35
|
+
client,
|
|
36
|
+
defaultedQueries,
|
|
37
|
+
options
|
|
38
|
+
)
|
|
39
|
+
);
|
|
40
|
+
const [optimisticResult, getCombinedResult, trackResult] = observer.getOptimisticResult(
|
|
41
|
+
defaultedQueries,
|
|
42
|
+
options.combine
|
|
43
|
+
);
|
|
44
|
+
const shouldSubscribe = !isRestoring && options.subscribed !== false;
|
|
45
|
+
React.useSyncExternalStore(
|
|
46
|
+
React.useCallback(
|
|
47
|
+
(onStoreChange) => shouldSubscribe ? observer.subscribe(notifyManager.batchCalls(onStoreChange)) : noop,
|
|
48
|
+
[observer, shouldSubscribe]
|
|
49
|
+
),
|
|
50
|
+
() => observer.getCurrentResult(),
|
|
51
|
+
() => observer.getCurrentResult()
|
|
52
|
+
);
|
|
53
|
+
React.useEffect(() => {
|
|
54
|
+
observer.setQueries(
|
|
55
|
+
defaultedQueries,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}, [defaultedQueries, options, observer]);
|
|
59
|
+
const shouldAtLeastOneSuspend = optimisticResult.some(
|
|
60
|
+
(result, index) => shouldSuspend(defaultedQueries[index], result)
|
|
61
|
+
);
|
|
62
|
+
const suspensePromises = shouldAtLeastOneSuspend ? optimisticResult.flatMap((result, index) => {
|
|
63
|
+
const opts = defaultedQueries[index];
|
|
64
|
+
if (opts) {
|
|
65
|
+
const queryObserver = new QueryObserver(client, opts);
|
|
66
|
+
if (shouldSuspend(opts, result)) {
|
|
67
|
+
return fetchOptimistic(opts, queryObserver, errorResetBoundary);
|
|
68
|
+
} else if (willFetch(result, isRestoring)) {
|
|
69
|
+
void fetchOptimistic(opts, queryObserver, errorResetBoundary);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return [];
|
|
73
|
+
}) : [];
|
|
74
|
+
if (suspensePromises.length > 0) {
|
|
75
|
+
throw Promise.all(suspensePromises);
|
|
76
|
+
}
|
|
77
|
+
const firstSingleResultWhichShouldThrow = optimisticResult.find(
|
|
78
|
+
(result, index) => {
|
|
79
|
+
const query = defaultedQueries[index];
|
|
80
|
+
return query && getHasError({
|
|
81
|
+
result,
|
|
82
|
+
errorResetBoundary,
|
|
83
|
+
throwOnError: query.throwOnError,
|
|
84
|
+
query: client.getQueryCache().get(query.queryHash),
|
|
85
|
+
suspense: query.suspense
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
if (firstSingleResultWhichShouldThrow == null ? void 0 : firstSingleResultWhichShouldThrow.error) {
|
|
90
|
+
throw firstSingleResultWhichShouldThrow.error;
|
|
91
|
+
}
|
|
92
|
+
return getCombinedResult(trackResult());
|
|
93
|
+
}
|
|
94
|
+
export {
|
|
95
|
+
useQueries
|
|
96
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
2
2
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
3
3
|
function useQuery(options, queryClient) {
|
|
4
|
-
return useBaseQuery(options, QueryObserver);
|
|
4
|
+
return useBaseQuery(options, QueryObserver, queryClient);
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
7
|
useQuery
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs";
|
|
2
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
|
+
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
4
|
+
import { defaultThrowOnError } from "./suspense.mjs";
|
|
5
|
+
function useSuspenseInfiniteQuery(options, queryClient) {
|
|
6
|
+
if (process.env.NODE_ENV !== "production") {
|
|
7
|
+
if (options.queryFn === skipToken) {
|
|
8
|
+
console.error("skipToken is not allowed for useSuspenseInfiniteQuery");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return useBaseQuery(
|
|
12
|
+
{
|
|
13
|
+
...options,
|
|
14
|
+
enabled: true,
|
|
15
|
+
suspense: true,
|
|
16
|
+
throwOnError: defaultThrowOnError
|
|
17
|
+
},
|
|
18
|
+
InfiniteQueryObserver,
|
|
19
|
+
queryClient
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
useSuspenseInfiniteQuery
|
|
24
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
2
|
+
import { useQueries } from "./useQueries.mjs";
|
|
3
|
+
import { defaultThrowOnError } from "./suspense.mjs";
|
|
4
|
+
function useSuspenseQueries(options, queryClient) {
|
|
5
|
+
return useQueries(
|
|
6
|
+
{
|
|
7
|
+
...options,
|
|
8
|
+
queries: options.queries.map((query) => {
|
|
9
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10
|
+
if (query.queryFn === skipToken) {
|
|
11
|
+
console.error("skipToken is not allowed for useSuspenseQueries");
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
...query,
|
|
16
|
+
suspense: true,
|
|
17
|
+
throwOnError: defaultThrowOnError,
|
|
18
|
+
enabled: true,
|
|
19
|
+
placeholderData: void 0
|
|
20
|
+
};
|
|
21
|
+
})
|
|
22
|
+
},
|
|
23
|
+
queryClient
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
useSuspenseQueries
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
2
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.7/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
|
+
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
4
|
+
import { defaultThrowOnError } from "./suspense.mjs";
|
|
5
|
+
function useSuspenseQuery(options, queryClient) {
|
|
6
|
+
if (process.env.NODE_ENV !== "production") {
|
|
7
|
+
if (options.queryFn === skipToken) {
|
|
8
|
+
console.error("skipToken is not allowed for useSuspenseQuery");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return useBaseQuery(
|
|
12
|
+
{
|
|
13
|
+
...options,
|
|
14
|
+
enabled: true,
|
|
15
|
+
suspense: true,
|
|
16
|
+
throwOnError: defaultThrowOnError,
|
|
17
|
+
placeholderData: void 0
|
|
18
|
+
},
|
|
19
|
+
QueryObserver,
|
|
20
|
+
queryClient
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
useSuspenseQuery
|
|
25
|
+
};
|
|
@@ -3,13 +3,13 @@ var hasRequiredFormats;
|
|
|
3
3
|
function requireFormats() {
|
|
4
4
|
if (hasRequiredFormats) return formats;
|
|
5
5
|
hasRequiredFormats = 1;
|
|
6
|
-
(function(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
6
|
+
(function(exports$1) {
|
|
7
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
8
|
+
exports$1.formatNames = exports$1.fastFormats = exports$1.fullFormats = void 0;
|
|
9
9
|
function fmtDef(validate, compare) {
|
|
10
10
|
return { validate, compare };
|
|
11
11
|
}
|
|
12
|
-
exports.fullFormats = {
|
|
12
|
+
exports$1.fullFormats = {
|
|
13
13
|
// date: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
14
14
|
date: fmtDef(date, compareDate),
|
|
15
15
|
// date-time: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
@@ -54,8 +54,8 @@ function requireFormats() {
|
|
|
54
54
|
// unchecked string payload
|
|
55
55
|
binary: true
|
|
56
56
|
};
|
|
57
|
-
exports.fastFormats = {
|
|
58
|
-
...exports.fullFormats,
|
|
57
|
+
exports$1.fastFormats = {
|
|
58
|
+
...exports$1.fullFormats,
|
|
59
59
|
date: fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, compareDate),
|
|
60
60
|
time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareTime),
|
|
61
61
|
"date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, compareDateTime),
|
|
@@ -67,7 +67,7 @@ function requireFormats() {
|
|
|
67
67
|
// http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'wilful violation')
|
|
68
68
|
email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i
|
|
69
69
|
};
|
|
70
|
-
exports.formatNames = Object.keys(exports.fullFormats);
|
|
70
|
+
exports$1.formatNames = Object.keys(exports$1.fullFormats);
|
|
71
71
|
function isLeapYear(year) {
|
|
72
72
|
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
73
73
|
}
|
|
@@ -6,8 +6,8 @@ var hasRequiredDist;
|
|
|
6
6
|
function requireDist() {
|
|
7
7
|
if (hasRequiredDist) return dist.exports;
|
|
8
8
|
hasRequiredDist = 1;
|
|
9
|
-
(function(module, exports) {
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
(function(module, exports$1) {
|
|
10
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
11
11
|
const formats_1 = requireFormats();
|
|
12
12
|
const limit_1 = requireLimit();
|
|
13
13
|
const codegen_1 = requireCodegen();
|
|
@@ -39,9 +39,9 @@ function requireDist() {
|
|
|
39
39
|
for (const f of list)
|
|
40
40
|
ajv.addFormat(f, fs[f]);
|
|
41
41
|
}
|
|
42
|
-
module.exports = exports = formatsPlugin;
|
|
43
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
-
exports.default = formatsPlugin;
|
|
42
|
+
module.exports = exports$1 = formatsPlugin;
|
|
43
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
44
|
+
exports$1.default = formatsPlugin;
|
|
45
45
|
})(dist, dist.exports);
|
|
46
46
|
return dist.exports;
|
|
47
47
|
}
|
|
@@ -5,9 +5,9 @@ var hasRequiredLimit;
|
|
|
5
5
|
function requireLimit() {
|
|
6
6
|
if (hasRequiredLimit) return limit;
|
|
7
7
|
hasRequiredLimit = 1;
|
|
8
|
-
(function(exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.formatLimitDefinition = void 0;
|
|
8
|
+
(function(exports$1) {
|
|
9
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
10
|
+
exports$1.formatLimitDefinition = void 0;
|
|
11
11
|
const ajv_1 = requireAjv();
|
|
12
12
|
const codegen_1 = requireCodegen();
|
|
13
13
|
const ops = codegen_1.operators;
|
|
@@ -21,7 +21,7 @@ function requireLimit() {
|
|
|
21
21
|
message: ({ keyword, schemaCode }) => codegen_1.str`should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
22
22
|
params: ({ keyword, schemaCode }) => codegen_1._`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
|
|
23
23
|
};
|
|
24
|
-
exports.formatLimitDefinition = {
|
|
24
|
+
exports$1.formatLimitDefinition = {
|
|
25
25
|
keyword: Object.keys(KWDs),
|
|
26
26
|
type: "string",
|
|
27
27
|
schemaType: "string",
|
|
@@ -67,10 +67,10 @@ function requireLimit() {
|
|
|
67
67
|
dependencies: ["format"]
|
|
68
68
|
};
|
|
69
69
|
const formatLimitPlugin = (ajv) => {
|
|
70
|
-
ajv.addKeyword(exports.formatLimitDefinition);
|
|
70
|
+
ajv.addKeyword(exports$1.formatLimitDefinition);
|
|
71
71
|
return ajv;
|
|
72
72
|
};
|
|
73
|
-
exports.default = formatLimitPlugin;
|
|
73
|
+
exports$1.default = formatLimitPlugin;
|
|
74
74
|
})(limit);
|
|
75
75
|
return limit;
|
|
76
76
|
}
|
|
@@ -11,9 +11,9 @@ var hasRequiredAjv;
|
|
|
11
11
|
function requireAjv() {
|
|
12
12
|
if (hasRequiredAjv) return ajv.exports;
|
|
13
13
|
hasRequiredAjv = 1;
|
|
14
|
-
(function(module, exports) {
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
14
|
+
(function(module, exports$1) {
|
|
15
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16
|
+
exports$1.MissingRefError = exports$1.ValidationError = exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = exports$1.Ajv = void 0;
|
|
17
17
|
const core_1 = requireCore();
|
|
18
18
|
const draft7_1 = requireDraft7();
|
|
19
19
|
const discriminator_1 = requireDiscriminator();
|
|
@@ -39,40 +39,40 @@ function requireAjv() {
|
|
|
39
39
|
return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
exports.Ajv = Ajv;
|
|
43
|
-
module.exports = exports = Ajv;
|
|
42
|
+
exports$1.Ajv = Ajv;
|
|
43
|
+
module.exports = exports$1 = Ajv;
|
|
44
44
|
module.exports.Ajv = Ajv;
|
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.default = Ajv;
|
|
45
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
46
|
+
exports$1.default = Ajv;
|
|
47
47
|
var validate_1 = requireValidate();
|
|
48
|
-
Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function() {
|
|
48
|
+
Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
|
|
49
49
|
return validate_1.KeywordCxt;
|
|
50
50
|
} });
|
|
51
51
|
var codegen_1 = requireCodegen();
|
|
52
|
-
Object.defineProperty(exports, "_", { enumerable: true, get: function() {
|
|
52
|
+
Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
|
|
53
53
|
return codegen_1._;
|
|
54
54
|
} });
|
|
55
|
-
Object.defineProperty(exports, "str", { enumerable: true, get: function() {
|
|
55
|
+
Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
|
|
56
56
|
return codegen_1.str;
|
|
57
57
|
} });
|
|
58
|
-
Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
|
|
58
|
+
Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
|
|
59
59
|
return codegen_1.stringify;
|
|
60
60
|
} });
|
|
61
|
-
Object.defineProperty(exports, "nil", { enumerable: true, get: function() {
|
|
61
|
+
Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
|
|
62
62
|
return codegen_1.nil;
|
|
63
63
|
} });
|
|
64
|
-
Object.defineProperty(exports, "Name", { enumerable: true, get: function() {
|
|
64
|
+
Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
|
|
65
65
|
return codegen_1.Name;
|
|
66
66
|
} });
|
|
67
|
-
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function() {
|
|
67
|
+
Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
|
|
68
68
|
return codegen_1.CodeGen;
|
|
69
69
|
} });
|
|
70
70
|
var validation_error_1 = requireValidation_error();
|
|
71
|
-
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function() {
|
|
71
|
+
Object.defineProperty(exports$1, "ValidationError", { enumerable: true, get: function() {
|
|
72
72
|
return validation_error_1.default;
|
|
73
73
|
} });
|
|
74
74
|
var ref_error_1 = requireRef_error();
|
|
75
|
-
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function() {
|
|
75
|
+
Object.defineProperty(exports$1, "MissingRefError", { enumerable: true, get: function() {
|
|
76
76
|
return ref_error_1.default;
|
|
77
77
|
} });
|
|
78
78
|
})(ajv, ajv.exports);
|
|
@@ -3,17 +3,17 @@ var hasRequiredCode;
|
|
|
3
3
|
function requireCode() {
|
|
4
4
|
if (hasRequiredCode) return code;
|
|
5
5
|
hasRequiredCode = 1;
|
|
6
|
-
(function(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
6
|
+
(function(exports$1) {
|
|
7
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
8
|
+
exports$1.regexpCode = exports$1.getEsmExportName = exports$1.getProperty = exports$1.safeStringify = exports$1.stringify = exports$1.strConcat = exports$1.addCodeArg = exports$1.str = exports$1._ = exports$1.nil = exports$1._Code = exports$1.Name = exports$1.IDENTIFIER = exports$1._CodeOrName = void 0;
|
|
9
9
|
class _CodeOrName {
|
|
10
10
|
}
|
|
11
|
-
exports._CodeOrName = _CodeOrName;
|
|
12
|
-
exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
11
|
+
exports$1._CodeOrName = _CodeOrName;
|
|
12
|
+
exports$1.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
13
13
|
class Name extends _CodeOrName {
|
|
14
14
|
constructor(s) {
|
|
15
15
|
super();
|
|
16
|
-
if (!exports.IDENTIFIER.test(s))
|
|
16
|
+
if (!exports$1.IDENTIFIER.test(s))
|
|
17
17
|
throw new Error("CodeGen: name must be a valid identifier");
|
|
18
18
|
this.str = s;
|
|
19
19
|
}
|
|
@@ -27,7 +27,7 @@ function requireCode() {
|
|
|
27
27
|
return { [this.str]: 1 };
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.Name = Name;
|
|
30
|
+
exports$1.Name = Name;
|
|
31
31
|
class _Code extends _CodeOrName {
|
|
32
32
|
constructor(code2) {
|
|
33
33
|
super();
|
|
@@ -55,8 +55,8 @@ function requireCode() {
|
|
|
55
55
|
}, {});
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
exports._Code = _Code;
|
|
59
|
-
exports.nil = new _Code("");
|
|
58
|
+
exports$1._Code = _Code;
|
|
59
|
+
exports$1.nil = new _Code("");
|
|
60
60
|
function _(strs, ...args) {
|
|
61
61
|
const code2 = [strs[0]];
|
|
62
62
|
let i = 0;
|
|
@@ -66,7 +66,7 @@ function requireCode() {
|
|
|
66
66
|
}
|
|
67
67
|
return new _Code(code2);
|
|
68
68
|
}
|
|
69
|
-
exports._ = _;
|
|
69
|
+
exports$1._ = _;
|
|
70
70
|
const plus = new _Code("+");
|
|
71
71
|
function str(strs, ...args) {
|
|
72
72
|
const expr = [safeStringify(strs[0])];
|
|
@@ -79,7 +79,7 @@ function requireCode() {
|
|
|
79
79
|
optimize(expr);
|
|
80
80
|
return new _Code(expr);
|
|
81
81
|
}
|
|
82
|
-
exports.str = str;
|
|
82
|
+
exports$1.str = str;
|
|
83
83
|
function addCodeArg(code2, arg) {
|
|
84
84
|
if (arg instanceof _Code)
|
|
85
85
|
code2.push(...arg._items);
|
|
@@ -88,7 +88,7 @@ function requireCode() {
|
|
|
88
88
|
else
|
|
89
89
|
code2.push(interpolate(arg));
|
|
90
90
|
}
|
|
91
|
-
exports.addCodeArg = addCodeArg;
|
|
91
|
+
exports$1.addCodeArg = addCodeArg;
|
|
92
92
|
function optimize(expr) {
|
|
93
93
|
let i = 1;
|
|
94
94
|
while (i < expr.length - 1) {
|
|
@@ -124,33 +124,33 @@ function requireCode() {
|
|
|
124
124
|
function strConcat(c1, c2) {
|
|
125
125
|
return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`;
|
|
126
126
|
}
|
|
127
|
-
exports.strConcat = strConcat;
|
|
127
|
+
exports$1.strConcat = strConcat;
|
|
128
128
|
function interpolate(x) {
|
|
129
129
|
return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x);
|
|
130
130
|
}
|
|
131
131
|
function stringify(x) {
|
|
132
132
|
return new _Code(safeStringify(x));
|
|
133
133
|
}
|
|
134
|
-
exports.stringify = stringify;
|
|
134
|
+
exports$1.stringify = stringify;
|
|
135
135
|
function safeStringify(x) {
|
|
136
136
|
return JSON.stringify(x).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
|
|
137
137
|
}
|
|
138
|
-
exports.safeStringify = safeStringify;
|
|
138
|
+
exports$1.safeStringify = safeStringify;
|
|
139
139
|
function getProperty(key) {
|
|
140
|
-
return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
|
|
140
|
+
return typeof key == "string" && exports$1.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
|
|
141
141
|
}
|
|
142
|
-
exports.getProperty = getProperty;
|
|
142
|
+
exports$1.getProperty = getProperty;
|
|
143
143
|
function getEsmExportName(key) {
|
|
144
|
-
if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
|
|
144
|
+
if (typeof key == "string" && exports$1.IDENTIFIER.test(key)) {
|
|
145
145
|
return new _Code(`${key}`);
|
|
146
146
|
}
|
|
147
147
|
throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
|
|
148
148
|
}
|
|
149
|
-
exports.getEsmExportName = getEsmExportName;
|
|
149
|
+
exports$1.getEsmExportName = getEsmExportName;
|
|
150
150
|
function regexpCode(rx) {
|
|
151
151
|
return new _Code(rx.toString());
|
|
152
152
|
}
|
|
153
|
-
exports.regexpCode = regexpCode;
|
|
153
|
+
exports$1.regexpCode = regexpCode;
|
|
154
154
|
})(code);
|
|
155
155
|
return code;
|
|
156
156
|
}
|