@suspensive/react-query-4 3.10.1 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Mutation--A0SP7I8.cjs → Mutation-9CASHEOx.cjs} +4 -4
- package/dist/{Mutation--A0SP7I8.cjs.map → Mutation-9CASHEOx.cjs.map} +1 -1
- package/dist/{Mutation-Casy_eXD.d.cts → Mutation-BbAAAhKm.d.cts} +3 -3
- package/dist/{Mutation-Casy_eXD.d.cts.map → Mutation-BbAAAhKm.d.cts.map} +1 -1
- package/dist/{Mutation-B229AI_0.js → Mutation-CYcClfz9.js} +4 -4
- package/dist/{Mutation-B229AI_0.js.map → Mutation-CYcClfz9.js.map} +1 -1
- package/dist/Mutation.cjs +2 -2
- package/dist/Mutation.d.cts +1 -1
- package/dist/Mutation.js +2 -2
- package/dist/{PrefetchInfiniteQuery-D6azgZmF.d.cts → PrefetchInfiniteQuery-CApjI6Sv.d.cts} +3 -3
- package/dist/{PrefetchInfiniteQuery-D6azgZmF.d.cts.map → PrefetchInfiniteQuery-CApjI6Sv.d.cts.map} +1 -1
- package/dist/{PrefetchInfiniteQuery-yBTWBtMl.d.ts → PrefetchInfiniteQuery-CTxcgNg5.d.ts} +3 -3
- package/dist/{PrefetchInfiniteQuery-yBTWBtMl.d.ts.map → PrefetchInfiniteQuery-CTxcgNg5.d.ts.map} +1 -1
- package/dist/PrefetchInfiniteQuery.d.cts +1 -1
- package/dist/PrefetchInfiniteQuery.d.ts +1 -1
- package/dist/{PrefetchQuery-EekLoCu5.d.ts → PrefetchQuery-B1ZtxxLf.d.ts} +3 -3
- package/dist/{PrefetchQuery-EekLoCu5.d.ts.map → PrefetchQuery-B1ZtxxLf.d.ts.map} +1 -1
- package/dist/{PrefetchQuery-a5KCfQH2.d.cts → PrefetchQuery-Cjc9rl5q.d.cts} +3 -3
- package/dist/{PrefetchQuery-a5KCfQH2.d.cts.map → PrefetchQuery-Cjc9rl5q.d.cts.map} +1 -1
- package/dist/PrefetchQuery.d.cts +1 -1
- package/dist/PrefetchQuery.d.ts +1 -1
- package/dist/{QueryClientConsumer-Cb-0tI2T.d.cts → QueryClientConsumer-DkYvPb9P.d.ts} +3 -3
- package/dist/{QueryClientConsumer-DIAuYoqW.d.ts.map → QueryClientConsumer-DkYvPb9P.d.ts.map} +1 -1
- package/dist/{QueryClientConsumer-DIAuYoqW.d.ts → QueryClientConsumer-IzPg9mGx.d.cts} +2 -2
- package/dist/{QueryClientConsumer-Cb-0tI2T.d.cts.map → QueryClientConsumer-IzPg9mGx.d.cts.map} +1 -1
- package/dist/QueryClientConsumer.d.cts +1 -1
- package/dist/QueryClientConsumer.d.ts +1 -1
- package/dist/{SuspenseInfiniteQuery-BAlF1C3q.d.ts → SuspenseInfiniteQuery-BFuC0oFh.d.ts} +3 -3
- package/dist/{SuspenseInfiniteQuery-BAlF1C3q.d.ts.map → SuspenseInfiniteQuery-BFuC0oFh.d.ts.map} +1 -1
- package/dist/{SuspenseInfiniteQuery-CDEyERDR.cjs → SuspenseInfiniteQuery-CbSRTz-V.cjs} +4 -4
- package/dist/{SuspenseInfiniteQuery-CDEyERDR.cjs.map → SuspenseInfiniteQuery-CbSRTz-V.cjs.map} +1 -1
- package/dist/{SuspenseInfiniteQuery-DH5o-SWY.js → SuspenseInfiniteQuery-DpwazMxK.js} +4 -4
- package/dist/{SuspenseInfiniteQuery-DH5o-SWY.js.map → SuspenseInfiniteQuery-DpwazMxK.js.map} +1 -1
- package/dist/SuspenseInfiniteQuery.cjs +2 -2
- package/dist/SuspenseInfiniteQuery.d.ts +1 -1
- package/dist/SuspenseInfiniteQuery.js +2 -2
- package/dist/{SuspenseQueries-CXT748ZK.d.ts → SuspenseQueries-DO4_2wBP.d.cts} +2 -2
- package/dist/{SuspenseQueries-DiM3a6Jx.d.cts.map → SuspenseQueries-DO4_2wBP.d.cts.map} +1 -1
- package/dist/{SuspenseQueries-DiM3a6Jx.d.cts → SuspenseQueries-K3OiuEYO.d.ts} +3 -3
- package/dist/{SuspenseQueries-CXT748ZK.d.ts.map → SuspenseQueries-K3OiuEYO.d.ts.map} +1 -1
- package/dist/SuspenseQueries.d.cts +1 -1
- package/dist/SuspenseQueries.d.ts +1 -1
- package/dist/{SuspenseQuery-DHUvSHiV.cjs → SuspenseQuery-BoEuwWXf.cjs} +4 -4
- package/dist/{SuspenseQuery-DHUvSHiV.cjs.map → SuspenseQuery-BoEuwWXf.cjs.map} +1 -1
- package/dist/{SuspenseQuery-B2L7FkbZ.js → SuspenseQuery-BygYQ97q.js} +4 -4
- package/dist/{SuspenseQuery-B2L7FkbZ.js.map → SuspenseQuery-BygYQ97q.js.map} +1 -1
- package/dist/{SuspenseQuery-XPrrlfo5.d.ts → SuspenseQuery-CZrpOP-U.d.ts} +3 -3
- package/dist/{SuspenseQuery-XPrrlfo5.d.ts.map → SuspenseQuery-CZrpOP-U.d.ts.map} +1 -1
- package/dist/{SuspenseQuery-B7Jq0gdl.d.cts → SuspenseQuery-xb6YUI5v.d.cts} +3 -3
- package/dist/{SuspenseQuery-B7Jq0gdl.d.cts.map → SuspenseQuery-xb6YUI5v.d.cts.map} +1 -1
- package/dist/SuspenseQuery.cjs +2 -2
- package/dist/SuspenseQuery.d.cts +1 -1
- package/dist/SuspenseQuery.d.ts +1 -1
- package/dist/SuspenseQuery.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4 -4
- package/dist/{objectWithoutProperties-DC64WII8.js → objectWithoutProperties-CyDs_3P-.js} +2 -2
- package/dist/{objectWithoutProperties-DavHhiVz.cjs → objectWithoutProperties-DAePSWnU.cjs} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
const require_chunk = require('./chunk-COhvLDBv.cjs');
|
|
3
|
-
const require_objectWithoutProperties = require('./objectWithoutProperties-
|
|
3
|
+
const require_objectWithoutProperties = require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
4
4
|
let __tanstack_react_query = require("@tanstack/react-query");
|
|
5
5
|
__tanstack_react_query = require_chunk.__toESM(__tanstack_react_query);
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -9,8 +9,8 @@ react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
|
9
9
|
//#region src/Mutation.tsx
|
|
10
10
|
const _excluded = ["children"];
|
|
11
11
|
function Mutation(_ref) {
|
|
12
|
-
let { children } = _ref
|
|
13
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useMutation)(
|
|
12
|
+
let { children } = _ref;
|
|
13
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useMutation)(require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded))) });
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
@@ -20,4 +20,4 @@ Object.defineProperty(exports, 'Mutation', {
|
|
|
20
20
|
return Mutation;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
//# sourceMappingURL=Mutation
|
|
23
|
+
//# sourceMappingURL=Mutation-9CASHEOx.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mutation
|
|
1
|
+
{"version":3,"file":"Mutation-9CASHEOx.cjs","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":["import { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\nexport function Mutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>({\n children,\n ...options\n}: UseMutationOptions<TData, TError, TVariables, TContext> & {\n children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode\n}) {\n return <>{children(useMutation(options))}</>\n}\n"],"mappings":";;;;;;;;;mBAIE;AADF,SAAgB,SAAmF,MAKhG;KALgG,EACjG;AAKA,QAAO,mFAAG,2HAA6B,CAAC,GAAI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ declare function Mutation<TData = unknown, TError = unknown, TVariables = void,
|
|
|
8
8
|
...options
|
|
9
9
|
}: UseMutationOptions<TData, TError, TVariables, TContext> & {
|
|
10
10
|
children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Mutation };
|
|
14
|
-
//# sourceMappingURL=Mutation-
|
|
14
|
+
//# sourceMappingURL=Mutation-BbAAAhKm.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mutation-
|
|
1
|
+
{"version":3,"file":"Mutation-BbAAAhKm.d.cts","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":[],"mappings":";;;;;iBAGgB;;;GAGb,mBAAmB,OAAO,QAAQ,YAAY;6BACpB,kBAAkB,OAAO,QAAQ,YAAY,cAAc;IACvF,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import { _objectWithoutProperties } from "./objectWithoutProperties-
|
|
2
|
+
import { _objectWithoutProperties } from "./objectWithoutProperties-CyDs_3P-.js";
|
|
3
3
|
import { useMutation } from "@tanstack/react-query";
|
|
4
4
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/Mutation.tsx
|
|
7
7
|
const _excluded = ["children"];
|
|
8
8
|
function Mutation(_ref) {
|
|
9
|
-
let { children } = _ref
|
|
10
|
-
return /* @__PURE__ */ jsx(Fragment, { children: children(useMutation(
|
|
9
|
+
let { children } = _ref;
|
|
10
|
+
return /* @__PURE__ */ jsx(Fragment, { children: children(useMutation(_objectWithoutProperties(_ref, _excluded))) });
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Mutation };
|
|
15
|
-
//# sourceMappingURL=Mutation-
|
|
15
|
+
//# sourceMappingURL=Mutation-CYcClfz9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mutation-
|
|
1
|
+
{"version":3,"file":"Mutation-CYcClfz9.js","names":[],"sources":["../src/Mutation.tsx"],"sourcesContent":["import { type UseMutationOptions, type UseMutationResult, useMutation } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\nexport function Mutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>({\n children,\n ...options\n}: UseMutationOptions<TData, TError, TVariables, TContext> & {\n children: (mutationResult: UseMutationResult<TData, TError, TVariables, TContext>) => ReactNode\n}) {\n return <>{children(useMutation(options))}</>\n}\n"],"mappings":";;;;;;mBAIE;AADF,SAAgB,SAAmF,MAKhG;KALgG,EACjG;AAKA,QAAO,0CAAG,SAAS,sDAAoB,CAAC,GAAI"}
|
package/dist/Mutation.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
require('./objectWithoutProperties-
|
|
3
|
-
const require_Mutation = require('./Mutation
|
|
2
|
+
require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
3
|
+
const require_Mutation = require('./Mutation-9CASHEOx.cjs');
|
|
4
4
|
|
|
5
5
|
exports.Mutation = require_Mutation.Mutation;
|
package/dist/Mutation.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mutation } from "./Mutation-
|
|
1
|
+
import { Mutation } from "./Mutation-BbAAAhKm.cjs";
|
|
2
2
|
export { Mutation };
|
package/dist/Mutation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchInfiniteQuery.d.ts
|
|
@@ -11,7 +11,7 @@ import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
|
11
11
|
* <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime1.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchInfiniteQuery };
|
|
17
|
-
//# sourceMappingURL=PrefetchInfiniteQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchInfiniteQuery-CApjI6Sv.d.cts.map
|
package/dist/{PrefetchInfiniteQuery-D6azgZmF.d.cts.map → PrefetchInfiniteQuery-CApjI6Sv.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchInfiniteQuery-CApjI6Sv.d.cts","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWA,CAAA,CAAA,CAAA,CAAA;;;;;AAKqC,OAAA,CAAA,QAAA,CALrB,qBAKqB,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAF3B,YAE2B,CAAA,CAAA,SAAA,CAAA,OAAA,CADjB,QACiB,CAAA,CAAA,CADN,QACM,CAAA,CAAA,OAAA,CAAA,CAA1B,yBAA0B,CAAA,YAAA,CAAA,CAAc,MAAd,CAAA,CAAsB,KAAtB,CAAA,CAA6B,SAA7B,CAAA,CAAA,CAAA,CAAuC,kBAAA,CAAA,GAAA,CAAA,OAAvC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchInfiniteQuery.d.ts
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
11
11
|
* <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime3.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchInfiniteQuery };
|
|
17
|
-
//# sourceMappingURL=PrefetchInfiniteQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchInfiniteQuery-CTxcgNg5.d.ts.map
|
package/dist/{PrefetchInfiniteQuery-yBTWBtMl.d.ts.map → PrefetchInfiniteQuery-CTxcgNg5.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchInfiniteQuery-CTxcgNg5.d.ts","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWA,CAAA,CAAA,CAAA,CAAA;;;;;AAKqC,OAAA,CAAA,QAAA,CALrB,qBAKqB,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAF3B,YAE2B,CAAA,CAAA,SAAA,CAAA,OAAA,CADjB,QACiB,CAAA,CAAA,CADN,QACM,CAAA,CAAA,OAAA,CAAA,CAA1B,yBAA0B,CAAA,YAAA,CAAA,CAAc,MAAd,CAAA,CAAsB,KAAtB,CAAA,CAA6B,SAA7B,CAAA,CAAA,CAAA,CAAuC,kBAAA,CAAA,GAAA,CAAA,OAAvC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
1
|
+
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-CApjI6Sv.cjs";
|
|
2
2
|
export { PrefetchInfiniteQuery };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
1
|
+
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-CTxcgNg5.js";
|
|
2
2
|
export { PrefetchInfiniteQuery };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchQuery.d.ts
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
|
11
11
|
* <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime5.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchQuery };
|
|
17
|
-
//# sourceMappingURL=PrefetchQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchQuery-B1ZtxxLf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchQuery-B1ZtxxLf.d.ts","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWA,CAAA,CAAA,CAAA,CAAA;;;;;AAK6B,OAAA,CAAA,QAAA,CALb,aAKa,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAFnB,YAEmB,CAAA,CAAA,SAAA,CAAA,OAAA,CADT,QACS,CAAA,CAAA,CADE,QACF,CAAA,CAAA,OAAA,CAAA,CAAlB,iBAAkB,CAAA,YAAA,CAAA,CAAc,MAAd,CAAA,CAAsB,KAAtB,CAAA,CAA6B,SAA7B,CAAA,CAAA,CAAA,CAAuC,kBAAA,CAAA,GAAA,CAAA,OAAvC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchQuery.d.ts
|
|
@@ -11,7 +11,7 @@ import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
|
11
11
|
* <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime2.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchQuery };
|
|
17
|
-
//# sourceMappingURL=PrefetchQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchQuery-Cjc9rl5q.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchQuery-Cjc9rl5q.d.cts","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWA,CAAA,CAAA,CAAA,CAAA;;;;;AAK6B,OAAA,CAAA,QAAA,CALb,aAKa,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAFnB,YAEmB,CAAA,CAAA,SAAA,CAAA,OAAA,CADT,QACS,CAAA,CAAA,CADE,QACF,CAAA,CAAA,OAAA,CAAA,CAAlB,iBAAkB,CAAA,YAAA,CAAA,CAAc,MAAd,CAAA,CAAsB,KAAtB,CAAA,CAA6B,SAA7B,CAAA,CAAA,CAAA,CAAuC,kBAAA,CAAA,GAAA,CAAA,OAAvC"}
|
package/dist/PrefetchQuery.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PrefetchQuery } from "./PrefetchQuery-
|
|
1
|
+
import { PrefetchQuery } from "./PrefetchQuery-Cjc9rl5q.cjs";
|
|
2
2
|
export { PrefetchQuery };
|
package/dist/PrefetchQuery.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PrefetchQuery } from "./PrefetchQuery-
|
|
1
|
+
import { PrefetchQuery } from "./PrefetchQuery-B1ZtxxLf.js";
|
|
2
2
|
export { PrefetchQuery };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
1
|
import { QueryClient } from "@tanstack/react-query";
|
|
2
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
3
|
import { Context, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/QueryClientConsumer.d.ts
|
|
@@ -12,7 +12,7 @@ declare function QueryClientConsumer({
|
|
|
12
12
|
}: {
|
|
13
13
|
children: (queryClient: QueryClient) => ReactNode;
|
|
14
14
|
context?: Context<QueryClient | undefined>;
|
|
15
|
-
}):
|
|
15
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { QueryClientConsumer };
|
|
18
|
-
//# sourceMappingURL=QueryClientConsumer-
|
|
18
|
+
//# sourceMappingURL=QueryClientConsumer-DkYvPb9P.d.ts.map
|
package/dist/{QueryClientConsumer-DIAuYoqW.d.ts.map → QueryClientConsumer-DkYvPb9P.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryClientConsumer-
|
|
1
|
+
{"version":3,"file":"QueryClientConsumer-DkYvPb9P.d.ts","names":[],"sources":["../src/QueryClientConsumer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAMgB,OAAA,CAAA,QAAA,CAAA,mBAAA,CAAmB;EAAA,QAAA;EAAA;CAAA,CAAA,CAAA;EAAA,QAAA,CAAA,CAAA,CAAA,WAAA,CAAA,CAIT,WAJS,CAAA,CAAA,CAAA,CAAA,CAIO,SAJP;SACjC,CAAA,CAAA,CAIU,OAJV,CAIkB,WAJlB,CAAA,CAAA,CAAA,SAAA,CAAA;IAKD,kBAAA,CAAA,GAAA,CAAA,OAJC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QueryClient } from "@tanstack/react-query";
|
|
2
1
|
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
|
+
import { QueryClient } from "@tanstack/react-query";
|
|
3
3
|
import { Context, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/QueryClientConsumer.d.ts
|
|
@@ -15,4 +15,4 @@ declare function QueryClientConsumer({
|
|
|
15
15
|
}): react_jsx_runtime4.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { QueryClientConsumer };
|
|
18
|
-
//# sourceMappingURL=QueryClientConsumer-
|
|
18
|
+
//# sourceMappingURL=QueryClientConsumer-IzPg9mGx.d.cts.map
|
package/dist/{QueryClientConsumer-Cb-0tI2T.d.cts.map → QueryClientConsumer-IzPg9mGx.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryClientConsumer-
|
|
1
|
+
{"version":3,"file":"QueryClientConsumer-IzPg9mGx.d.cts","names":[],"sources":["../src/QueryClientConsumer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAMgB,OAAA,CAAA,QAAA,CAAA,mBAAA,CAAmB;EAAA,QAAA;EAAA;CAAA,CAAA,CAAA;EAAA,QAAA,CAAA,CAAA,CAAA,WAAA,CAAA,CAIT,WAJS,CAAA,CAAA,CAAA,CAAA,CAIO,SAJP;SACjC,CAAA,CAAA,CAIU,OAJV,CAIkB,WAJlB,CAAA,CAAA,CAAA,SAAA,CAAA;IAKD,kBAAA,CAAA,GAAA,CAAA,OAJC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryClientConsumer } from "./QueryClientConsumer-
|
|
1
|
+
import { QueryClientConsumer } from "./QueryClientConsumer-IzPg9mGx.cjs";
|
|
2
2
|
export { QueryClientConsumer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryClientConsumer } from "./QueryClientConsumer-
|
|
1
|
+
import { QueryClientConsumer } from "./QueryClientConsumer-DkYvPb9P.js";
|
|
2
2
|
export { QueryClientConsumer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-Dp36wXkb.js";
|
|
2
2
|
import { QueryKey, UseSuspenseInfiniteQueryResult } from "@tanstack/react-query";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/SuspenseInfiniteQuery.d.ts
|
|
@@ -26,7 +26,7 @@ declare const SuspenseInfiniteQuery: <TQueryFnData = unknown, TError = unknown,
|
|
|
26
26
|
...options
|
|
27
27
|
}: UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
28
28
|
children: (query: UseSuspenseInfiniteQueryResult<TData, TError>) => ReactNode;
|
|
29
|
-
}) =>
|
|
29
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { SuspenseInfiniteQuery };
|
|
32
|
-
//# sourceMappingURL=SuspenseInfiniteQuery-
|
|
32
|
+
//# sourceMappingURL=SuspenseInfiniteQuery-BFuC0oFh.d.ts.map
|
package/dist/{SuspenseInfiniteQuery-BAlF1C3q.d.ts.map → SuspenseInfiniteQuery-BFuC0oFh.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseInfiniteQuery-BFuC0oFh.d.ts","names":[],"sources":["../src/SuspenseInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAmBA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA,GAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA,qBAAA,CAAA,UAAA,CAAA,IAAA;;;;;;;;;;;;;AASoB,OAAA,CAAA,KAAA,CATP,qBASO,CAAA,CAAA,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CANV,YAMU,CAAA,CAAA,SAAA,CAAA,OAAA,CALA,QAKA,CAAA,CAAA,CALW,QAKX,CAAA,CAAA;EAAA,QAAA;EAAA,CAAA,CAAA,CAAA;CAAA,CAAA,CADjB,+BACiB,CADe,YACf,CAAA,CAD6B,MAC7B,CAAA,CADqC,KACrC,CAAA,CAD4C,SAC5C,CAAA,CAAA,CAAA,CAAA;UAAkD,CAAA,CAAA,CAAA,KAAA,CAAA,CAAlD,8BAAkD,CAAnB,KAAmB,CAAA,CAAZ,MAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,SAAA;MACrE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
const require_chunk = require('./chunk-COhvLDBv.cjs');
|
|
3
|
-
const require_objectWithoutProperties = require('./objectWithoutProperties-
|
|
3
|
+
const require_objectWithoutProperties = require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
4
4
|
let __tanstack_react_query = require("@tanstack/react-query");
|
|
5
5
|
__tanstack_react_query = require_chunk.__toESM(__tanstack_react_query);
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -25,8 +25,8 @@ const _excluded = ["children"];
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
const SuspenseInfiniteQuery = (_ref) => {
|
|
28
|
-
let { children } = _ref
|
|
29
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useSuspenseInfiniteQuery)(
|
|
28
|
+
let { children } = _ref;
|
|
29
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useSuspenseInfiniteQuery)(require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded))) });
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
@@ -36,4 +36,4 @@ Object.defineProperty(exports, 'SuspenseInfiniteQuery', {
|
|
|
36
36
|
return SuspenseInfiniteQuery;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
//# sourceMappingURL=SuspenseInfiniteQuery-
|
|
39
|
+
//# sourceMappingURL=SuspenseInfiniteQuery-CbSRTz-V.cjs.map
|
package/dist/{SuspenseInfiniteQuery-CDEyERDR.cjs.map → SuspenseInfiniteQuery-CbSRTz-V.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseInfiniteQuery-CbSRTz-V.cjs","names":[],"sources":["../src/SuspenseInfiniteQuery.tsx"],"sourcesContent":["import { type QueryKey, type UseSuspenseInfiniteQueryResult, useSuspenseInfiniteQuery } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\nimport { type UseSuspenseInfiniteQueryOptions } from './useSuspenseInfiniteQuery'\n/**\n * We provide these components to clearly express what causes suspense at the same depth.\n * `<SuspenseInfiniteQuery/>` serves to make `useSuspenseInfiniteQuery` easier to use in jsx.\n * @see {@link https://suspensive.org/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}\n * @example\n * ```tsx\n * import { SuspenseInfiniteQuery } from '@suspensive/react-query'\n *\n * // You can use infiniteQueryOptions as props.\n * <SuspenseInfiniteQuery {...infiniteQueryOptions()}>\n * {({ data, fetchNextPage }) => {\n * return <></>\n * }}\n * </SuspenseInfiniteQuery>\n * ```\n */\nexport const SuspenseInfiniteQuery = <\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>({\n children,\n ...options\n}: UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {\n children: (query: UseSuspenseInfiniteQueryResult<TData, TError>) => ReactNode\n}) => <>{children(useSuspenseInfiniteQuery(options))}</>\n"],"mappings":";;;;;;;;;mBAyBE;;;;;;;;;;;;;;;;;AANF,MAAa,yBAKX,SAKI;KALJ,EACA;AAII,2FAAG,wIAA0C,CAAC,GAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import { _objectWithoutProperties } from "./objectWithoutProperties-
|
|
2
|
+
import { _objectWithoutProperties } from "./objectWithoutProperties-CyDs_3P-.js";
|
|
3
3
|
import { useSuspenseInfiniteQuery } from "@tanstack/react-query";
|
|
4
4
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -22,10 +22,10 @@ const _excluded = ["children"];
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
const SuspenseInfiniteQuery = (_ref) => {
|
|
25
|
-
let { children } = _ref
|
|
26
|
-
return /* @__PURE__ */ jsx(Fragment, { children: children(useSuspenseInfiniteQuery(
|
|
25
|
+
let { children } = _ref;
|
|
26
|
+
return /* @__PURE__ */ jsx(Fragment, { children: children(useSuspenseInfiniteQuery(_objectWithoutProperties(_ref, _excluded))) });
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseInfiniteQuery };
|
|
31
|
-
//# sourceMappingURL=SuspenseInfiniteQuery-
|
|
31
|
+
//# sourceMappingURL=SuspenseInfiniteQuery-DpwazMxK.js.map
|
package/dist/{SuspenseInfiniteQuery-DH5o-SWY.js.map → SuspenseInfiniteQuery-DpwazMxK.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseInfiniteQuery-DpwazMxK.js","names":[],"sources":["../src/SuspenseInfiniteQuery.tsx"],"sourcesContent":["import { type QueryKey, type UseSuspenseInfiniteQueryResult, useSuspenseInfiniteQuery } from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\nimport { type UseSuspenseInfiniteQueryOptions } from './useSuspenseInfiniteQuery'\n/**\n * We provide these components to clearly express what causes suspense at the same depth.\n * `<SuspenseInfiniteQuery/>` serves to make `useSuspenseInfiniteQuery` easier to use in jsx.\n * @see {@link https://suspensive.org/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}\n * @example\n * ```tsx\n * import { SuspenseInfiniteQuery } from '@suspensive/react-query'\n *\n * // You can use infiniteQueryOptions as props.\n * <SuspenseInfiniteQuery {...infiniteQueryOptions()}>\n * {({ data, fetchNextPage }) => {\n * return <></>\n * }}\n * </SuspenseInfiniteQuery>\n * ```\n */\nexport const SuspenseInfiniteQuery = <\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>({\n children,\n ...options\n}: UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {\n children: (query: UseSuspenseInfiniteQueryResult<TData, TError>) => ReactNode\n}) => <>{children(useSuspenseInfiniteQuery(options))}</>\n"],"mappings":";;;;;;mBAyBE;;;;;;;;;;;;;;;;;AANF,MAAa,yBAKX,SAKI;KALJ,EACA;AAII,kDAAG,SAAS,mEAAiC,CAAC,GAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
require('./objectWithoutProperties-
|
|
3
|
-
const require_SuspenseInfiniteQuery = require('./SuspenseInfiniteQuery-
|
|
2
|
+
require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
3
|
+
const require_SuspenseInfiniteQuery = require('./SuspenseInfiniteQuery-CbSRTz-V.cjs');
|
|
4
4
|
|
|
5
5
|
exports.SuspenseInfiniteQuery = require_SuspenseInfiniteQuery.SuspenseInfiniteQuery;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import "./objectWithoutProperties-
|
|
3
|
-
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
2
|
+
import "./objectWithoutProperties-CyDs_3P-.js";
|
|
3
|
+
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-DpwazMxK.js";
|
|
4
4
|
|
|
5
5
|
export { SuspenseInfiniteQuery };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SuspenseQueriesOptions, SuspenseQueriesResults } from "@tanstack/react-query";
|
|
2
1
|
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
|
+
import { SuspenseQueriesOptions, SuspenseQueriesResults } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/SuspenseQueries.d.ts
|
|
@@ -28,4 +28,4 @@ declare function SuspenseQueries<T extends any[]>({
|
|
|
28
28
|
}): react_jsx_runtime5.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQueries };
|
|
31
|
-
//# sourceMappingURL=SuspenseQueries-
|
|
31
|
+
//# sourceMappingURL=SuspenseQueries-DO4_2wBP.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQueries-
|
|
1
|
+
{"version":3,"file":"SuspenseQueries-DO4_2wBP.d.cts","names":[],"sources":["../src/SuspenseQueries.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkBA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA,GAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA,eAAA,CAAA,UAAA,CAAA,IAAA;;;;;;;;;;;;iBAAgB;;;;wBAIQ,uBAAuB;sBACzB,uBAAuB,OAAO;IACnD,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
1
|
import { SuspenseQueriesOptions, SuspenseQueriesResults } from "@tanstack/react-query";
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/SuspenseQueries.d.ts
|
|
@@ -25,7 +25,7 @@ declare function SuspenseQueries<T extends any[]>({
|
|
|
25
25
|
}: {
|
|
26
26
|
queries: readonly [...SuspenseQueriesOptions<T>];
|
|
27
27
|
children: (queries: SuspenseQueriesResults<T>) => ReactNode;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQueries };
|
|
31
|
-
//# sourceMappingURL=SuspenseQueries-
|
|
31
|
+
//# sourceMappingURL=SuspenseQueries-K3OiuEYO.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQueries-
|
|
1
|
+
{"version":3,"file":"SuspenseQueries-K3OiuEYO.d.ts","names":[],"sources":["../src/SuspenseQueries.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkBA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA,GAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA,eAAA,CAAA,UAAA,CAAA,IAAA;;;;;;;;;;;;iBAAgB;;;;wBAIQ,uBAAuB;sBACzB,uBAAuB,OAAO;IACnD,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SuspenseQueries } from "./SuspenseQueries-
|
|
1
|
+
import { SuspenseQueries } from "./SuspenseQueries-DO4_2wBP.cjs";
|
|
2
2
|
export { SuspenseQueries };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SuspenseQueries } from "./SuspenseQueries-
|
|
1
|
+
import { SuspenseQueries } from "./SuspenseQueries-K3OiuEYO.js";
|
|
2
2
|
export { SuspenseQueries };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
const require_chunk = require('./chunk-COhvLDBv.cjs');
|
|
3
|
-
const require_objectWithoutProperties = require('./objectWithoutProperties-
|
|
3
|
+
const require_objectWithoutProperties = require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
4
4
|
let __tanstack_react_query = require("@tanstack/react-query");
|
|
5
5
|
__tanstack_react_query = require_chunk.__toESM(__tanstack_react_query);
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -25,8 +25,8 @@ const _excluded = ["children"];
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
const SuspenseQuery = (_ref) => {
|
|
28
|
-
let { children } = _ref
|
|
29
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useSuspenseQuery)(
|
|
28
|
+
let { children } = _ref;
|
|
29
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: children((0, __tanstack_react_query.useSuspenseQuery)(require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded))) });
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
@@ -36,4 +36,4 @@ Object.defineProperty(exports, 'SuspenseQuery', {
|
|
|
36
36
|
return SuspenseQuery;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
//# sourceMappingURL=SuspenseQuery-
|
|
39
|
+
//# sourceMappingURL=SuspenseQuery-BoEuwWXf.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseQuery-BoEuwWXf.cjs","names":[],"sources":["../src/SuspenseQuery.tsx"],"sourcesContent":["import {\n type QueryKey,\n type UseSuspenseQueryOptions,\n type UseSuspenseQueryResult,\n useSuspenseQuery,\n} from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\n/**\n * We provide these components to clearly express what causes suspense at the same depth.\n * `<SuspenseQuery/>` serves to make `useSuspenseQuery` easier to use in jsx.\n * @see {@link https://suspensive.org/docs/react-query/SuspenseQuery Suspensive Docs}\n * @example\n * ```tsx\n * import { SuspenseQuery } from '@suspensive/react-query'\n *\n * // You can use QueryOptions as props.\n * <SuspenseQuery {...queryOptions()}>\n * {({ data, isLoading }) => {\n * return <></>\n * }\n * </SuspenseQuery>\n * ```\n */\nexport const SuspenseQuery = <\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>({\n children,\n ...options\n}: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {\n children: (queryResult: UseSuspenseQueryResult<TData, TError>) => ReactNode\n}) => <>{children(useSuspenseQuery(options))}</>\n"],"mappings":";;;;;;;;;mBA8BE;;;;;;;;;;;;;;;;;AANF,MAAa,iBAKX,SAKI;KALJ,EACA;AAII,2FAAG,gIAAkC,CAAC,GAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import { _objectWithoutProperties } from "./objectWithoutProperties-
|
|
2
|
+
import { _objectWithoutProperties } from "./objectWithoutProperties-CyDs_3P-.js";
|
|
3
3
|
import { useSuspenseQuery } from "@tanstack/react-query";
|
|
4
4
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -22,10 +22,10 @@ const _excluded = ["children"];
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
const SuspenseQuery = (_ref) => {
|
|
25
|
-
let { children } = _ref
|
|
26
|
-
return /* @__PURE__ */ jsx(Fragment, { children: children(useSuspenseQuery(
|
|
25
|
+
let { children } = _ref;
|
|
26
|
+
return /* @__PURE__ */ jsx(Fragment, { children: children(useSuspenseQuery(_objectWithoutProperties(_ref, _excluded))) });
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQuery };
|
|
31
|
-
//# sourceMappingURL=SuspenseQuery-
|
|
31
|
+
//# sourceMappingURL=SuspenseQuery-BygYQ97q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseQuery-BygYQ97q.js","names":[],"sources":["../src/SuspenseQuery.tsx"],"sourcesContent":["import {\n type QueryKey,\n type UseSuspenseQueryOptions,\n type UseSuspenseQueryResult,\n useSuspenseQuery,\n} from '@tanstack/react-query'\nimport type { ReactNode } from 'react'\n\n/**\n * We provide these components to clearly express what causes suspense at the same depth.\n * `<SuspenseQuery/>` serves to make `useSuspenseQuery` easier to use in jsx.\n * @see {@link https://suspensive.org/docs/react-query/SuspenseQuery Suspensive Docs}\n * @example\n * ```tsx\n * import { SuspenseQuery } from '@suspensive/react-query'\n *\n * // You can use QueryOptions as props.\n * <SuspenseQuery {...queryOptions()}>\n * {({ data, isLoading }) => {\n * return <></>\n * }\n * </SuspenseQuery>\n * ```\n */\nexport const SuspenseQuery = <\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>({\n children,\n ...options\n}: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {\n children: (queryResult: UseSuspenseQueryResult<TData, TError>) => ReactNode\n}) => <>{children(useSuspenseQuery(options))}</>\n"],"mappings":";;;;;;mBA8BE;;;;;;;;;;;;;;;;;AANF,MAAa,iBAKX,SAKI;KALJ,EACA;AAII,kDAAG,SAAS,2DAAyB,CAAC,GAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryKey, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/SuspenseQuery.d.ts
|
|
@@ -25,7 +25,7 @@ declare const SuspenseQuery: <TQueryFnData = unknown, TError = unknown, TData =
|
|
|
25
25
|
...options
|
|
26
26
|
}: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
27
27
|
children: (queryResult: UseSuspenseQueryResult<TData, TError>) => ReactNode;
|
|
28
|
-
}) =>
|
|
28
|
+
}) => react_jsx_runtime4.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQuery };
|
|
31
|
-
//# sourceMappingURL=SuspenseQuery-
|
|
31
|
+
//# sourceMappingURL=SuspenseQuery-CZrpOP-U.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseQuery-CZrpOP-U.d.ts","names":[],"sources":["../src/SuspenseQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAwBA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA,GAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA,aAAA,CAAA,UAAA,CAAA,IAAA;;;;;;;;;;;;;AAS0B,OAAA,CAAA,KAAA,CATb,aASa,CAAA,CAAA,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CANhB,YAMgB,CAAA,CAAA,SAAA,CAAA,OAAA,CALN,QAKM,CAAA,CAAA,CALK,QAKL,CAAA,CAAA;EAAA,QAAA;EAAA,CAAA,CAAA,CAAA;CAAA,CAAA,CADvB,uBACuB,CADC,YACD,CAAA,CADe,MACf,CAAA,CADuB,KACvB,CAAA,CAD8B,SAC9B,CAAA,CAAA,CAAA,CAAA;UAA0C,CAAA,CAAA,CAAA,WAAA,CAAA,CAA1C,sBAA0C,CAAnB,KAAmB,CAAA,CAAZ,MAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,SAAA;MACnE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import { QueryKey, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ declare const SuspenseQuery: <TQueryFnData = unknown, TError = unknown, TData =
|
|
|
25
25
|
...options
|
|
26
26
|
}: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
27
27
|
children: (queryResult: UseSuspenseQueryResult<TData, TError>) => ReactNode;
|
|
28
|
-
}) =>
|
|
28
|
+
}) => react_jsx_runtime6.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQuery };
|
|
31
|
-
//# sourceMappingURL=SuspenseQuery-
|
|
31
|
+
//# sourceMappingURL=SuspenseQuery-xb6YUI5v.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseQuery-xb6YUI5v.d.cts","names":[],"sources":["../src/SuspenseQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAwBA,CAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA,CAAA,CAAA,UAAA,CAAA,GAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,CAAA,aAAA,CAAA,UAAA,CAAA,IAAA;;;;;;;;;;;;;AAS0B,OAAA,CAAA,KAAA,CATb,aASa,CAAA,CAAA,CAAA,YAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CANhB,YAMgB,CAAA,CAAA,SAAA,CAAA,OAAA,CALN,QAKM,CAAA,CAAA,CALK,QAKL,CAAA,CAAA;EAAA,QAAA;EAAA,CAAA,CAAA,CAAA;CAAA,CAAA,CADvB,uBACuB,CADC,YACD,CAAA,CADe,MACf,CAAA,CADuB,KACvB,CAAA,CAD8B,SAC9B,CAAA,CAAA,CAAA,CAAA;UAA0C,CAAA,CAAA,CAAA,WAAA,CAAA,CAA1C,sBAA0C,CAAnB,KAAmB,CAAA,CAAZ,MAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,SAAA;MACnE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/SuspenseQuery.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
require('./objectWithoutProperties-
|
|
3
|
-
const require_SuspenseQuery = require('./SuspenseQuery-
|
|
2
|
+
require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
3
|
+
const require_SuspenseQuery = require('./SuspenseQuery-BoEuwWXf.cjs');
|
|
4
4
|
|
|
5
5
|
exports.SuspenseQuery = require_SuspenseQuery.SuspenseQuery;
|
package/dist/SuspenseQuery.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
1
|
+
import { SuspenseQuery } from "./SuspenseQuery-xb6YUI5v.cjs";
|
|
2
2
|
export { SuspenseQuery };
|
package/dist/SuspenseQuery.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
1
|
+
import { SuspenseQuery } from "./SuspenseQuery-CZrpOP-U.js";
|
|
2
2
|
export { SuspenseQuery };
|
package/dist/SuspenseQuery.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import "./objectWithoutProperties-
|
|
3
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
2
|
+
import "./objectWithoutProperties-CyDs_3P-.js";
|
|
3
|
+
import { SuspenseQuery } from "./SuspenseQuery-BygYQ97q.js";
|
|
4
4
|
|
|
5
5
|
export { SuspenseQuery };
|
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
const require_IsFetching = require('./IsFetching-O6ueum9O.cjs');
|
|
3
|
-
require('./objectWithoutProperties-
|
|
4
|
-
const require_Mutation = require('./Mutation
|
|
3
|
+
require('./objectWithoutProperties-DAePSWnU.cjs');
|
|
4
|
+
const require_Mutation = require('./Mutation-9CASHEOx.cjs');
|
|
5
5
|
const require_usePrefetchInfiniteQuery = require('./usePrefetchInfiniteQuery-u00I-Z-n.cjs');
|
|
6
6
|
const require_PrefetchInfiniteQuery = require('./PrefetchInfiniteQuery-TazAGlpq.cjs');
|
|
7
7
|
const require_usePrefetchQuery = require('./usePrefetchQuery-D4KBY0Bk.cjs');
|
|
8
8
|
const require_PrefetchQuery = require('./PrefetchQuery-NaCe4WsI.cjs');
|
|
9
9
|
const require_QueryClientConsumer = require('./QueryClientConsumer-CfofyICt.cjs');
|
|
10
|
-
const require_SuspenseInfiniteQuery = require('./SuspenseInfiniteQuery-
|
|
10
|
+
const require_SuspenseInfiniteQuery = require('./SuspenseInfiniteQuery-CbSRTz-V.cjs');
|
|
11
11
|
const require_SuspenseQueries = require('./SuspenseQueries-CmbzrOw_.cjs');
|
|
12
|
-
const require_SuspenseQuery = require('./SuspenseQuery-
|
|
12
|
+
const require_SuspenseQuery = require('./SuspenseQuery-BoEuwWXf.cjs');
|
|
13
13
|
const require_infiniteQueryOptions = require('./infiniteQueryOptions-Daa4ns9w.cjs');
|
|
14
14
|
const require_queryOptions = require('./queryOptions-BN0j0jby.cjs');
|
|
15
15
|
const require_useSuspenseInfiniteQuery = require('./useSuspenseInfiniteQuery-45WgQD4V.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IsFetching } from "./IsFetching-CvaLnCXj.cjs";
|
|
2
|
-
import { Mutation } from "./Mutation-
|
|
3
|
-
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
4
|
-
import { PrefetchQuery } from "./PrefetchQuery-
|
|
5
|
-
import { QueryClientConsumer } from "./QueryClientConsumer-
|
|
2
|
+
import { Mutation } from "./Mutation-BbAAAhKm.cjs";
|
|
3
|
+
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-CApjI6Sv.cjs";
|
|
4
|
+
import { PrefetchQuery } from "./PrefetchQuery-Cjc9rl5q.cjs";
|
|
5
|
+
import { QueryClientConsumer } from "./QueryClientConsumer-IzPg9mGx.cjs";
|
|
6
6
|
import { UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult, useSuspenseInfiniteQuery } from "./useSuspenseInfiniteQuery-BruxeVUG.cjs";
|
|
7
7
|
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-DPA6mDfO.cjs";
|
|
8
|
-
import { SuspenseQueries } from "./SuspenseQueries-
|
|
9
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
8
|
+
import { SuspenseQueries } from "./SuspenseQueries-DO4_2wBP.cjs";
|
|
9
|
+
import { SuspenseQuery } from "./SuspenseQuery-xb6YUI5v.cjs";
|
|
10
10
|
import { SelectedInfiniteOptions, UnSelectedInfiniteOptions, infiniteQueryOptions } from "./infiniteQueryOptions-CxK-H6F7.cjs";
|
|
11
11
|
import { SelectedQueryOptions, UnSelectedQueryOptions, queryOptions } from "./queryOptions-BPXppN64.cjs";
|
|
12
12
|
import { usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery-DH-MAzx_.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IsFetching } from "./IsFetching-IvY-cqnq.js";
|
|
2
2
|
import { Mutation } from "./Mutation-CPWOGIQC.js";
|
|
3
|
-
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
4
|
-
import { PrefetchQuery } from "./PrefetchQuery-
|
|
5
|
-
import { QueryClientConsumer } from "./QueryClientConsumer-
|
|
3
|
+
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-CTxcgNg5.js";
|
|
4
|
+
import { PrefetchQuery } from "./PrefetchQuery-B1ZtxxLf.js";
|
|
5
|
+
import { QueryClientConsumer } from "./QueryClientConsumer-DkYvPb9P.js";
|
|
6
6
|
import { UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult, useSuspenseInfiniteQuery } from "./useSuspenseInfiniteQuery-Dp36wXkb.js";
|
|
7
|
-
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
8
|
-
import { SuspenseQueries } from "./SuspenseQueries-
|
|
9
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
7
|
+
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-BFuC0oFh.js";
|
|
8
|
+
import { SuspenseQueries } from "./SuspenseQueries-K3OiuEYO.js";
|
|
9
|
+
import { SuspenseQuery } from "./SuspenseQuery-CZrpOP-U.js";
|
|
10
10
|
import { SelectedInfiniteOptions, UnSelectedInfiniteOptions, infiniteQueryOptions } from "./infiniteQueryOptions-O9Kr9usW.js";
|
|
11
11
|
import { SelectedQueryOptions, UnSelectedQueryOptions, queryOptions } from "./queryOptions-DRZqxQKt.js";
|
|
12
12
|
import { usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery-B80aIl5a.js";
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import { IsFetching } from "./IsFetching-D35wRkqH.js";
|
|
3
|
-
import "./objectWithoutProperties-
|
|
4
|
-
import { Mutation } from "./Mutation-
|
|
3
|
+
import "./objectWithoutProperties-CyDs_3P-.js";
|
|
4
|
+
import { Mutation } from "./Mutation-CYcClfz9.js";
|
|
5
5
|
import { usePrefetchInfiniteQuery } from "./usePrefetchInfiniteQuery-Bh922oLD.js";
|
|
6
6
|
import { PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-Cu8eI1Uu.js";
|
|
7
7
|
import { usePrefetchQuery } from "./usePrefetchQuery-CAd9J9-z.js";
|
|
8
8
|
import { PrefetchQuery } from "./PrefetchQuery-CDuXG_oO.js";
|
|
9
9
|
import { QueryClientConsumer } from "./QueryClientConsumer-DDoaDhIt.js";
|
|
10
|
-
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
10
|
+
import { SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-DpwazMxK.js";
|
|
11
11
|
import { SuspenseQueries } from "./SuspenseQueries-Dj9zh2V7.js";
|
|
12
|
-
import { SuspenseQuery } from "./SuspenseQuery-
|
|
12
|
+
import { SuspenseQuery } from "./SuspenseQuery-BygYQ97q.js";
|
|
13
13
|
import { infiniteQueryOptions } from "./infiniteQueryOptions-BUbLcMZ6.js";
|
|
14
14
|
import { queryOptions } from "./queryOptions-C8b9Gtyc.js";
|
|
15
15
|
import { useSuspenseInfiniteQuery } from "./useSuspenseInfiniteQuery-B_2F3ElG.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
//#region \0@oxc-project+runtime@0.
|
|
2
|
+
//#region \0@oxc-project+runtime@0.94.0/helpers/objectWithoutPropertiesLoose.js
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
4
4
|
if (null == r) return {};
|
|
5
5
|
var t = {};
|
|
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
//#region \0@oxc-project+runtime@0.
|
|
14
|
+
//#region \0@oxc-project+runtime@0.94.0/helpers/objectWithoutProperties.js
|
|
15
15
|
function _objectWithoutProperties(e, t) {
|
|
16
16
|
if (null == e) return {};
|
|
17
17
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.94.0/helpers/objectWithoutPropertiesLoose.js
|
|
4
4
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
5
5
|
if (null == r) return {};
|
|
6
6
|
var t = {};
|
|
@@ -12,7 +12,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region \0@oxc-project+runtime@0.
|
|
15
|
+
//#region \0@oxc-project+runtime@0.94.0/helpers/objectWithoutProperties.js
|
|
16
16
|
function _objectWithoutProperties(e, t) {
|
|
17
17
|
if (null == e) return {};
|
|
18
18
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|