fastapi-rtk 1.0.12 → 1.0.14
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/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/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
- 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/index.cjs +1 -1
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
- 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/index.mjs +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/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
|
@@ -97,37 +97,53 @@ var MutationObserver = (_a = class extends Subscribable {
|
|
|
97
97
|
mutationKey: this.options.mutationKey
|
|
98
98
|
};
|
|
99
99
|
if ((action == null ? void 0 : action.type) === "success") {
|
|
100
|
-
|
|
101
|
-
_a2,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
100
|
+
try {
|
|
101
|
+
(_b = (_a2 = __privateGet(this, _mutateOptions)).onSuccess) == null ? void 0 : _b.call(
|
|
102
|
+
_a2,
|
|
103
|
+
action.data,
|
|
104
|
+
variables,
|
|
105
|
+
onMutateResult,
|
|
106
|
+
context
|
|
107
|
+
);
|
|
108
|
+
} catch (e) {
|
|
109
|
+
void Promise.reject(e);
|
|
110
|
+
}
|
|
111
|
+
try {
|
|
112
|
+
(_d = (_c = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _d.call(
|
|
113
|
+
_c,
|
|
114
|
+
action.data,
|
|
115
|
+
null,
|
|
116
|
+
variables,
|
|
117
|
+
onMutateResult,
|
|
118
|
+
context
|
|
119
|
+
);
|
|
120
|
+
} catch (e) {
|
|
121
|
+
void Promise.reject(e);
|
|
122
|
+
}
|
|
115
123
|
} else if ((action == null ? void 0 : action.type) === "error") {
|
|
116
|
-
|
|
117
|
-
_e,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
void
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
124
|
+
try {
|
|
125
|
+
(_f = (_e = __privateGet(this, _mutateOptions)).onError) == null ? void 0 : _f.call(
|
|
126
|
+
_e,
|
|
127
|
+
action.error,
|
|
128
|
+
variables,
|
|
129
|
+
onMutateResult,
|
|
130
|
+
context
|
|
131
|
+
);
|
|
132
|
+
} catch (e) {
|
|
133
|
+
void Promise.reject(e);
|
|
134
|
+
}
|
|
135
|
+
try {
|
|
136
|
+
(_h = (_g = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _h.call(
|
|
137
|
+
_g,
|
|
138
|
+
void 0,
|
|
139
|
+
action.error,
|
|
140
|
+
variables,
|
|
141
|
+
onMutateResult,
|
|
142
|
+
context
|
|
143
|
+
);
|
|
144
|
+
} catch (e) {
|
|
145
|
+
void Promise.reject(e);
|
|
146
|
+
}
|
|
131
147
|
}
|
|
132
148
|
}
|
|
133
149
|
this.listeners.forEach((listener) => {
|
|
@@ -76,7 +76,6 @@ var QueriesObserver = (_a = class extends Subscribable {
|
|
|
76
76
|
notifyManager.batch(() => {
|
|
77
77
|
const prevObservers = __privateGet(this, _observers);
|
|
78
78
|
const newObserverMatches = __privateMethod(this, _QueriesObserver_instances, findMatchingObservers_fn).call(this, __privateGet(this, _queries));
|
|
79
|
-
__privateSet(this, _observerMatches, newObserverMatches);
|
|
80
79
|
newObserverMatches.forEach(
|
|
81
80
|
(match) => match.observer.setOptions(match.defaultedQueryOptions)
|
|
82
81
|
);
|
|
@@ -95,6 +94,7 @@ var QueriesObserver = (_a = class extends Subscribable {
|
|
|
95
94
|
});
|
|
96
95
|
if (!hasStructuralChange && !hasResultChange) return;
|
|
97
96
|
if (hasStructuralChange) {
|
|
97
|
+
__privateSet(this, _observerMatches, newObserverMatches);
|
|
98
98
|
__privateSet(this, _observers, newObservers);
|
|
99
99
|
}
|
|
100
100
|
__privateSet(this, _result, newResult);
|
|
@@ -371,7 +371,10 @@ var Query = (_a = class extends Removable {
|
|
|
371
371
|
fetchFailureCount: state.fetchFailureCount + 1,
|
|
372
372
|
fetchFailureReason: error,
|
|
373
373
|
fetchStatus: "idle",
|
|
374
|
-
status: "error"
|
|
374
|
+
status: "error",
|
|
375
|
+
// flag existing data as invalidated if we get a background error
|
|
376
|
+
// note that "no data" always means stale so we can set unconditionally here
|
|
377
|
+
isInvalidated: true
|
|
375
378
|
};
|
|
376
379
|
case "invalidate":
|
|
377
380
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addToEnd } from "./utils.mjs";
|
|
1
|
+
import { addConsumeAwareSignal, addToEnd } from "./utils.mjs";
|
|
2
2
|
function streamedQuery({
|
|
3
3
|
streamFn,
|
|
4
4
|
refetchMode = "reset",
|
|
@@ -17,20 +17,34 @@ function streamedQuery({
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
let result = initialValue;
|
|
20
|
-
|
|
20
|
+
let cancelled = false;
|
|
21
|
+
const streamFnContext = addConsumeAwareSignal(
|
|
22
|
+
{
|
|
23
|
+
client: context.client,
|
|
24
|
+
meta: context.meta,
|
|
25
|
+
queryKey: context.queryKey,
|
|
26
|
+
pageParam: context.pageParam,
|
|
27
|
+
direction: context.direction
|
|
28
|
+
},
|
|
29
|
+
() => context.signal,
|
|
30
|
+
() => cancelled = true
|
|
31
|
+
);
|
|
32
|
+
const stream = await streamFn(streamFnContext);
|
|
33
|
+
const isReplaceRefetch = isRefetch && refetchMode === "replace";
|
|
21
34
|
for await (const chunk of stream) {
|
|
22
|
-
if (
|
|
35
|
+
if (cancelled) {
|
|
23
36
|
break;
|
|
24
37
|
}
|
|
25
|
-
if (
|
|
38
|
+
if (isReplaceRefetch) {
|
|
39
|
+
result = reducer(result, chunk);
|
|
40
|
+
} else {
|
|
26
41
|
context.client.setQueryData(
|
|
27
42
|
context.queryKey,
|
|
28
43
|
(prev) => reducer(prev === void 0 ? initialValue : prev, chunk)
|
|
29
44
|
);
|
|
30
45
|
}
|
|
31
|
-
result = reducer(result, chunk);
|
|
32
46
|
}
|
|
33
|
-
if (
|
|
47
|
+
if (isReplaceRefetch && !cancelled) {
|
|
34
48
|
context.client.setQueryData(context.queryKey, result);
|
|
35
49
|
}
|
|
36
50
|
return context.client.getQueryData(context.queryKey) ?? initialValue;
|
|
@@ -228,7 +228,29 @@ function shouldThrowError(throwOnError, params) {
|
|
|
228
228
|
}
|
|
229
229
|
return !!throwOnError;
|
|
230
230
|
}
|
|
231
|
+
function addConsumeAwareSignal(object, getSignal, onCancelled) {
|
|
232
|
+
let consumed = false;
|
|
233
|
+
let signal;
|
|
234
|
+
Object.defineProperty(object, "signal", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: () => {
|
|
237
|
+
signal ?? (signal = getSignal());
|
|
238
|
+
if (consumed) {
|
|
239
|
+
return signal;
|
|
240
|
+
}
|
|
241
|
+
consumed = true;
|
|
242
|
+
if (signal.aborted) {
|
|
243
|
+
onCancelled();
|
|
244
|
+
} else {
|
|
245
|
+
signal.addEventListener("abort", onCancelled, { once: true });
|
|
246
|
+
}
|
|
247
|
+
return signal;
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
return object;
|
|
251
|
+
}
|
|
231
252
|
export {
|
|
253
|
+
addConsumeAwareSignal,
|
|
232
254
|
addToEnd,
|
|
233
255
|
addToStart,
|
|
234
256
|
ensureQueryFn,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { hydrate } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { hydrate } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/hydration.mjs";
|
|
3
3
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
4
4
|
var HydrationBoundary = ({
|
|
5
5
|
children,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { shouldThrowError } from "../../../../../@tanstack_query-core@5.90.
|
|
3
|
-
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
|
|
4
|
-
|
|
2
|
+
import { shouldThrowError } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
|
+
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
4
|
+
const throwOnError = (query == null ? void 0 : query.state.error) && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
5
|
+
if (options.suspense || options.experimental_prefetchInRender || throwOnError) {
|
|
5
6
|
if (!errorResetBoundary.isReset()) {
|
|
6
7
|
options.retryOnMount = false;
|
|
7
8
|
}
|
|
@@ -16,24 +16,24 @@ import { useMutation } from "./useMutation.mjs";
|
|
|
16
16
|
import { mutationOptions } from "./mutationOptions.mjs";
|
|
17
17
|
import { useInfiniteQuery } from "./useInfiniteQuery.mjs";
|
|
18
18
|
import { IsRestoringProvider, useIsRestoring } from "./IsRestoringProvider.mjs";
|
|
19
|
-
import { dataTagErrorSymbol, dataTagSymbol, unsetMarker } from "../../../../../@tanstack_query-core@5.90.
|
|
20
|
-
import { CancelledError, isCancelledError } from "../../../../../@tanstack_query-core@5.90.
|
|
21
|
-
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
22
|
-
import { Mutation } from "../../../../../@tanstack_query-core@5.90.
|
|
23
|
-
import { MutationCache } from "../../../../../@tanstack_query-core@5.90.
|
|
24
|
-
import { MutationObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
25
|
-
import { QueriesObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
26
|
-
import { Query } from "../../../../../@tanstack_query-core@5.90.
|
|
27
|
-
import { QueryCache } from "../../../../../@tanstack_query-core@5.90.
|
|
28
|
-
import { QueryClient } from "../../../../../@tanstack_query-core@5.90.
|
|
29
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
30
|
-
import { defaultScheduler, notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
31
|
-
import { defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, hydrate } from "../../../../../@tanstack_query-core@5.90.
|
|
32
|
-
import { streamedQuery } from "../../../../../@tanstack_query-core@5.90.
|
|
33
|
-
import { focusManager } from "../../../../../@tanstack_query-core@5.90.
|
|
34
|
-
import { hashKey, isServer, keepPreviousData, matchMutation, matchQuery, noop, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken } from "../../../../../@tanstack_query-core@5.90.
|
|
35
|
-
import { onlineManager } from "../../../../../@tanstack_query-core@5.90.
|
|
36
|
-
import { timeoutManager } from "../../../../../@tanstack_query-core@5.90.
|
|
19
|
+
import { dataTagErrorSymbol, dataTagSymbol, unsetMarker } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/types.mjs";
|
|
20
|
+
import { CancelledError, isCancelledError } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/retryer.mjs";
|
|
21
|
+
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs";
|
|
22
|
+
import { Mutation } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutation.mjs";
|
|
23
|
+
import { MutationCache } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationCache.mjs";
|
|
24
|
+
import { MutationObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationObserver.mjs";
|
|
25
|
+
import { QueriesObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queriesObserver.mjs";
|
|
26
|
+
import { Query } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/query.mjs";
|
|
27
|
+
import { QueryCache } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryCache.mjs";
|
|
28
|
+
import { QueryClient } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryClient.mjs";
|
|
29
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
30
|
+
import { defaultScheduler, notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
31
|
+
import { defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, hydrate } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/hydration.mjs";
|
|
32
|
+
import { streamedQuery } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/streamedQuery.mjs";
|
|
33
|
+
import { focusManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/focusManager.mjs";
|
|
34
|
+
import { hashKey, isServer, keepPreviousData, matchMutation, matchQuery, noop, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
35
|
+
import { onlineManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/onlineManager.mjs";
|
|
36
|
+
import { timeoutManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/timeoutManager.mjs";
|
|
37
37
|
export {
|
|
38
38
|
CancelledError,
|
|
39
39
|
HydrationBoundary,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
3
|
-
import { noop, isServer } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { noop, isServer } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
4
4
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
5
5
|
import { useQueryErrorResetBoundary } from "./QueryErrorResetBoundary.mjs";
|
|
6
6
|
import { ensurePreventErrorBoundaryRetry, useClearResetErrorBoundary, getHasError } from "./errorBoundaryUtils.mjs";
|
|
7
7
|
import { useIsRestoring } from "./IsRestoringProvider.mjs";
|
|
8
8
|
import { ensureSuspenseTimers, shouldSuspend, fetchOptimistic, willFetch } from "./suspense.mjs";
|
|
9
9
|
function useBaseQuery(options, Observer, queryClient) {
|
|
10
|
-
var _a, _b, _c, _d
|
|
10
|
+
var _a, _b, _c, _d;
|
|
11
11
|
if (process.env.NODE_ENV !== "production") {
|
|
12
12
|
if (typeof options !== "object" || Array.isArray(options)) {
|
|
13
13
|
throw new Error(
|
|
@@ -23,6 +23,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
23
23
|
_a,
|
|
24
24
|
defaultedOptions
|
|
25
25
|
);
|
|
26
|
+
const query = client.getQueryCache().get(defaultedOptions.queryHash);
|
|
26
27
|
if (process.env.NODE_ENV !== "production") {
|
|
27
28
|
if (!defaultedOptions.queryFn) {
|
|
28
29
|
console.error(
|
|
@@ -32,7 +33,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
32
33
|
}
|
|
33
34
|
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";
|
|
34
35
|
ensureSuspenseTimers(defaultedOptions);
|
|
35
|
-
ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary);
|
|
36
|
+
ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary, query);
|
|
36
37
|
useClearResetErrorBoundary(errorResetBoundary);
|
|
37
38
|
const isNewCacheEntry = !client.getQueryCache().get(defaultedOptions.queryHash);
|
|
38
39
|
const [observer] = React.useState(
|
|
@@ -65,7 +66,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
65
66
|
result,
|
|
66
67
|
errorResetBoundary,
|
|
67
68
|
throwOnError: defaultedOptions.throwOnError,
|
|
68
|
-
query
|
|
69
|
+
query,
|
|
69
70
|
suspense: defaultedOptions.suspense
|
|
70
71
|
})) {
|
|
71
72
|
throw result.error;
|
|
@@ -81,7 +82,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
81
82
|
fetchOptimistic(defaultedOptions, observer, errorResetBoundary)
|
|
82
83
|
) : (
|
|
83
84
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
84
|
-
|
|
85
|
+
query == null ? void 0 : query.promise
|
|
85
86
|
);
|
|
86
87
|
promise == null ? void 0 : promise.catch(noop).finally(() => {
|
|
87
88
|
observer.updateResult();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs";
|
|
2
2
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
3
3
|
function useInfiniteQuery(options, queryClient) {
|
|
4
4
|
return useBaseQuery(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
3
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
4
4
|
function useIsFetching(filters, queryClient) {
|
|
5
5
|
const client = useQueryClient(queryClient);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { MutationObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
3
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
4
|
-
import { noop, shouldThrowError } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { MutationObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/mutationObserver.mjs";
|
|
3
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
4
|
+
import { noop, shouldThrowError } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
5
5
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
6
6
|
function useMutation(options, queryClient) {
|
|
7
7
|
const client = useQueryClient(queryClient);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
3
|
-
import { replaceEqualDeep } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { replaceEqualDeep } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
4
4
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
5
5
|
function useIsMutating(filters, queryClient) {
|
|
6
6
|
const client = useQueryClient(queryClient);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.
|
|
3
|
-
import { QueriesObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
4
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
5
|
-
import { noop } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
+
import { notifyManager } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/notifyManager.mjs";
|
|
3
|
+
import { QueriesObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queriesObserver.mjs";
|
|
4
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
5
|
+
import { noop } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
6
6
|
import { useQueryClient } from "./QueryClientProvider.mjs";
|
|
7
7
|
import { useIsRestoring } from "./IsRestoringProvider.mjs";
|
|
8
8
|
import { useQueryErrorResetBoundary } from "./QueryErrorResetBoundary.mjs";
|
|
@@ -25,9 +25,10 @@ function useQueries({
|
|
|
25
25
|
}),
|
|
26
26
|
[queries, client, isRestoring]
|
|
27
27
|
);
|
|
28
|
-
defaultedQueries.forEach((
|
|
29
|
-
ensureSuspenseTimers(
|
|
30
|
-
|
|
28
|
+
defaultedQueries.forEach((queryOptions) => {
|
|
29
|
+
ensureSuspenseTimers(queryOptions);
|
|
30
|
+
const query = client.getQueryCache().get(queryOptions.queryHash);
|
|
31
|
+
ensurePreventErrorBoundaryRetry(queryOptions, errorResetBoundary, query);
|
|
31
32
|
});
|
|
32
33
|
useClearResetErrorBoundary(errorResetBoundary);
|
|
33
34
|
const [observer] = React.useState(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
2
2
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
3
3
|
function useQuery(options, queryClient) {
|
|
4
4
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
-
import { skipToken } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { InfiniteQueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/infiniteQueryObserver.mjs";
|
|
2
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
3
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
4
4
|
import { defaultThrowOnError } from "./suspense.mjs";
|
|
5
5
|
function useSuspenseInfiniteQuery(options, queryClient) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { skipToken } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
2
2
|
import { useQueries } from "./useQueries.mjs";
|
|
3
3
|
import { defaultThrowOnError } from "./suspense.mjs";
|
|
4
4
|
function useSuspenseQueries(options, queryClient) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.
|
|
2
|
-
import { skipToken } from "../../../../../@tanstack_query-core@5.90.
|
|
1
|
+
import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryObserver.mjs";
|
|
2
|
+
import { skipToken } from "../../../../../@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
3
3
|
import { useBaseQuery } from "./useBaseQuery.mjs";
|
|
4
4
|
import { defaultThrowOnError } from "./suspense.mjs";
|
|
5
5
|
function useSuspenseQuery(options, queryClient) {
|
|
@@ -7,7 +7,7 @@ const utils = require("fastapi-rtk/utils");
|
|
|
7
7
|
const core = require("@mantine/core");
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
10
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
11
11
|
const React = require("react");
|
|
12
12
|
const useApi = require("../hooks/api/useApi.cjs");
|
|
13
13
|
const useForms = require("../hooks/api/useForms.cjs");
|
|
@@ -8,7 +8,7 @@ const core = require("@mantine/core");
|
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
10
|
const lodash = require("../_virtual/lodash.cjs");
|
|
11
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
11
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
12
12
|
const React = require("react");
|
|
13
13
|
const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.cjs");
|
|
14
14
|
const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@mantine/core");
|
|
5
5
|
const form = require("@mantine/form");
|
|
6
6
|
const hooks = require("@mantine/hooks");
|
|
7
|
-
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
7
|
+
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const index_esm = require("../../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
|
|
10
10
|
const useApi = require("../../../../hooks/api/useApi.cjs");
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const utils = require("fastapi-rtk/utils");
|
|
5
5
|
const hooks = require("@mantine/hooks");
|
|
6
|
-
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.90.
|
|
7
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.
|
|
6
|
+
const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.cjs");
|
|
7
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
8
8
|
const useLang = require("../../../hooks/lang/useLang.cjs");
|
|
9
9
|
const createItem = require("../utils/api/createItem.cjs");
|
|
10
10
|
const deleteItem = require("../utils/api/deleteItem.cjs");
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const utils = require("fastapi-rtk/utils");
|
|
5
5
|
const zustand = require("fastapi-rtk/zustand");
|
|
6
|
-
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.90.
|
|
7
|
-
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.90.
|
|
6
|
+
const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryClient.cjs");
|
|
7
|
+
const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const useProvideAuth = require("../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.cjs");
|
|
10
10
|
const useProvideInfo = require("../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.
|
|
4
|
-
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.90.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
|
+
const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const authFetch = require("../utils/authFetch.cjs");
|
|
7
7
|
const userCRUD = require("../utils/userCRUD.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.
|
|
3
|
+
const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const authFetch = require("../utils/authFetch.cjs");
|
|
6
6
|
const defaultInfo = { getInfo: authFetch.authInfo };
|
package/dist/core/cjs/index.cjs
CHANGED
|
@@ -34,7 +34,7 @@ const constants = require("fastapi-rtk/constants");
|
|
|
34
34
|
const hooks = require("fastapi-rtk/hooks");
|
|
35
35
|
const utils = require("fastapi-rtk/utils");
|
|
36
36
|
const zustand = require("fastapi-rtk/zustand");
|
|
37
|
-
const index = require("../../.external/cjs/@tanstack_react-query@5.90.
|
|
37
|
+
const index = require("../../.external/cjs/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/index.cjs");
|
|
38
38
|
const index_esm = require("../../.external/cjs/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");
|
|
39
39
|
const Filter = require("./Tables/DataGrid/Toolbar/Filter/Filter.cjs");
|
|
40
40
|
const useTranslation = require("../../.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/dist/es/useTranslation.cjs");
|
|
@@ -5,7 +5,7 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
5
5
|
import { useProps, Stack } from "@mantine/core";
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
8
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
9
9
|
import { useMemo, useCallback, useEffect } from "react";
|
|
10
10
|
import { useApi } from "../hooks/api/useApi.mjs";
|
|
11
11
|
import { useForms } from "../hooks/api/useForms.mjs";
|
|
@@ -6,7 +6,7 @@ import { useProps, Stack } from "@mantine/core";
|
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
8
|
import { l as lodashExports } from "../_virtual/lodash.mjs";
|
|
9
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
9
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
10
10
|
import { useMemo, useRef, useEffect, useCallback } from "react";
|
|
11
11
|
import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
|
|
12
12
|
import { convertToFormInputs } from "../fab-react-toolkit-patch/utils/convertToFormInputs.mjs";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProps, Box, Flex, ActionIcon, Divider, Text, ScrollArea, Button, Group } from "@mantine/core";
|
|
3
3
|
import { useForm } from "@mantine/form";
|
|
4
4
|
import { randomId } from "@mantine/hooks";
|
|
5
|
-
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
5
|
+
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.11_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
|
|
8
8
|
import { useApi } from "../../../../hooks/api/useApi.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useRef, useEffect, useMemo, useCallback } from "react";
|
|
2
2
|
import { convertId, getItemId, urlJoin } from "fastapi-rtk/utils";
|
|
3
3
|
import { useDidUpdate, useSetState } from "@mantine/hooks";
|
|
4
|
-
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.90.
|
|
5
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.
|
|
4
|
+
import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/utils.mjs";
|
|
5
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
6
6
|
import { useLang } from "../../../hooks/lang/useLang.mjs";
|
|
7
7
|
import { createItem } from "../utils/api/createItem.mjs";
|
|
8
8
|
import { deleteItem } from "../utils/api/deleteItem.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { parseFromValuesOrFunc } from "fastapi-rtk/utils";
|
|
3
3
|
import { useProxy } from "fastapi-rtk/zustand";
|
|
4
|
-
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.90.
|
|
5
|
-
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.90.
|
|
4
|
+
import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.90.16/@tanstack/query-core/build/modern/queryClient.mjs";
|
|
5
|
+
import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
6
6
|
import { useState, forwardRef, useMemo } from "react";
|
|
7
7
|
import { defaultAuth } from "../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.mjs";
|
|
8
8
|
import { defaultInfo } from "../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.
|
|
2
|
-
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.90.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
|
+
import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
|
|
3
3
|
import { useState, useCallback, useMemo } from "react";
|
|
4
4
|
import { authOAuthSignin, authResetPassword, authSignout, authSignin } from "../utils/authFetch.mjs";
|
|
5
5
|
import { updateUser, getUser } from "../utils/userCRUD.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.
|
|
1
|
+
import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { authInfo } from "../utils/authFetch.mjs";
|
|
4
4
|
const defaultInfo = { getInfo: authInfo };
|
package/dist/core/esm/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ export * from "fastapi-rtk/constants";
|
|
|
32
32
|
export * from "fastapi-rtk/hooks";
|
|
33
33
|
export * from "fastapi-rtk/utils";
|
|
34
34
|
export * from "fastapi-rtk/zustand";
|
|
35
|
-
import * as index from "../../.external/esm/@tanstack_react-query@5.90.
|
|
35
|
+
import * as index from "../../.external/esm/@tanstack_react-query@5.90.16_react@18.3.1/@tanstack/react-query/build/modern/index.mjs";
|
|
36
36
|
import * as index_esm from "../../.external/esm/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";
|
|
37
37
|
import { Filter } from "./Tables/DataGrid/Toolbar/Filter/Filter.mjs";
|
|
38
38
|
import { useTranslation } from "../../.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/dist/es/useTranslation.mjs";
|