@ahoo-wang/fetcher-react 3.3.9 → 3.4.1
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/README.md +597 -1
- package/README.zh-CN.md +604 -1
- package/dist/index.es.js +492 -378
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/wow/index.d.ts +10 -3
- package/dist/wow/index.d.ts.map +1 -1
- package/dist/wow/useFetcherCountQuery.d.ts +67 -0
- package/dist/wow/useFetcherCountQuery.d.ts.map +1 -0
- package/dist/wow/useFetcherListQuery.d.ts +100 -0
- package/dist/wow/useFetcherListQuery.d.ts.map +1 -0
- package/dist/wow/useFetcherListStreamQuery.d.ts +107 -0
- package/dist/wow/useFetcherListStreamQuery.d.ts.map +1 -0
- package/dist/wow/useFetcherPagedQuery.d.ts +111 -0
- package/dist/wow/useFetcherPagedQuery.d.ts.map +1 -0
- package/dist/wow/useFetcherQuery.d.ts +106 -0
- package/dist/wow/useFetcherQuery.d.ts.map +1 -0
- package/dist/wow/useFetcherSingleQuery.d.ts +85 -0
- package/dist/wow/useFetcherSingleQuery.d.ts.map +1 -0
- package/dist/wow/useQuery.d.ts +2 -7
- package/dist/wow/useQuery.d.ts.map +1 -1
- package/dist/wow/useQueryState.d.ts +72 -0
- package/dist/wow/useQueryState.d.ts.map +1 -0
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,507 +1,621 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { useRef as
|
|
4
|
-
import { c as
|
|
5
|
-
import { nameGenerator as
|
|
6
|
-
import { produce as
|
|
7
|
-
import { fetcherRegistrar as
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var z = Object.defineProperty;
|
|
2
|
+
var f = (r, e) => z(r, "name", { value: e, configurable: !0 });
|
|
3
|
+
import { useRef as F, useEffect as L, useState as P, useCallback as g, useMemo as A, useReducer as G, useSyncExternalStore as J } from "react";
|
|
4
|
+
import { c as _ } from "react/compiler-runtime";
|
|
5
|
+
import { nameGenerator as W } from "@ahoo-wang/fetcher-eventbus";
|
|
6
|
+
import { produce as N } from "immer";
|
|
7
|
+
import { fetcherRegistrar as j, getFetcher as k, JsonResultExtractor as B } from "@ahoo-wang/fetcher";
|
|
8
|
+
import { JsonEventStreamResultExtractor as H } from "@ahoo-wang/fetcher-eventstream";
|
|
9
|
+
function T() {
|
|
10
|
+
const r = _(3), e = F(!1);
|
|
10
11
|
let t;
|
|
11
|
-
r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */
|
|
12
|
+
r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ f(() => e.current, "t0"), r[0] = t) : t = r[0];
|
|
12
13
|
const n = t;
|
|
13
|
-
let
|
|
14
|
-
return r[1] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
14
|
+
let c, s;
|
|
15
|
+
return r[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ f(() => (e.current = !0, () => {
|
|
15
16
|
e.current = !1;
|
|
16
|
-
}), "t1"),
|
|
17
|
+
}), "t1"), s = [], r[1] = c, r[2] = s) : (c = r[1], s = r[2]), L(c, s), n;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
-
function
|
|
20
|
-
const e =
|
|
19
|
+
f(T, "useMounted");
|
|
20
|
+
function R(r) {
|
|
21
|
+
const e = F(r);
|
|
21
22
|
return e.current = r, e;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
function
|
|
24
|
+
f(R, "useLatest");
|
|
25
|
+
var X = /* @__PURE__ */ ((r) => (r.IDLE = "idle", r.LOADING = "loading", r.SUCCESS = "success", r.ERROR = "error", r))(X || {});
|
|
26
|
+
function Y(r) {
|
|
26
27
|
const [e, t] = P(
|
|
27
28
|
r?.initialStatus ?? "idle"
|
|
28
29
|
/* IDLE */
|
|
29
|
-
), [n,
|
|
30
|
-
|
|
30
|
+
), [n, c] = P(void 0), [s, d] = P(void 0), l = T(), i = R(r), a = g(() => {
|
|
31
|
+
l() && (t(
|
|
31
32
|
"loading"
|
|
32
33
|
/* LOADING */
|
|
33
|
-
),
|
|
34
|
-
}, [
|
|
35
|
-
if (
|
|
36
|
-
|
|
34
|
+
), d(void 0));
|
|
35
|
+
}, [l]), o = g(async (b) => {
|
|
36
|
+
if (l()) {
|
|
37
|
+
c(b), t(
|
|
37
38
|
"success"
|
|
38
39
|
/* SUCCESS */
|
|
39
|
-
),
|
|
40
|
+
), d(void 0);
|
|
40
41
|
try {
|
|
41
|
-
await
|
|
42
|
-
} catch (
|
|
43
|
-
console.warn("PromiseState onSuccess callback error:",
|
|
42
|
+
await i.current?.onSuccess?.(b);
|
|
43
|
+
} catch (y) {
|
|
44
|
+
console.warn("PromiseState onSuccess callback error:", y);
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
}, [
|
|
47
|
-
if (
|
|
48
|
-
|
|
47
|
+
}, [l, i]), u = g(async (b) => {
|
|
48
|
+
if (l()) {
|
|
49
|
+
d(b), t(
|
|
49
50
|
"error"
|
|
50
51
|
/* ERROR */
|
|
51
|
-
),
|
|
52
|
+
), c(void 0);
|
|
52
53
|
try {
|
|
53
|
-
await
|
|
54
|
-
} catch (
|
|
55
|
-
console.warn("PromiseState onError callback error:",
|
|
54
|
+
await i.current?.onError?.(b);
|
|
55
|
+
} catch (y) {
|
|
56
|
+
console.warn("PromiseState onError callback error:", y);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
|
-
}, [
|
|
59
|
-
|
|
59
|
+
}, [l, i]), m = g(() => {
|
|
60
|
+
l() && (t(
|
|
60
61
|
"idle"
|
|
61
62
|
/* IDLE */
|
|
62
|
-
),
|
|
63
|
-
}, [
|
|
63
|
+
), d(void 0), c(void 0));
|
|
64
|
+
}, [l]);
|
|
64
65
|
return A(() => ({
|
|
65
66
|
status: e,
|
|
66
67
|
loading: e === "loading",
|
|
67
68
|
result: n,
|
|
68
|
-
error:
|
|
69
|
-
setLoading:
|
|
70
|
-
setSuccess:
|
|
71
|
-
setError:
|
|
72
|
-
setIdle:
|
|
73
|
-
}), [e, n,
|
|
69
|
+
error: s,
|
|
70
|
+
setLoading: a,
|
|
71
|
+
setSuccess: o,
|
|
72
|
+
setError: u,
|
|
73
|
+
setIdle: m
|
|
74
|
+
}), [e, n, s, a, o, u, m]);
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
-
function
|
|
77
|
-
const r =
|
|
76
|
+
f(Y, "usePromiseState");
|
|
77
|
+
function Z() {
|
|
78
|
+
const r = _(6), e = F(0);
|
|
78
79
|
let t;
|
|
79
|
-
r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */
|
|
80
|
+
r[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ f(() => e.current = e.current + 1, "t0"), r[0] = t) : t = r[0];
|
|
80
81
|
const n = t;
|
|
81
|
-
let
|
|
82
|
-
r[1] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
83
|
-
const
|
|
84
|
-
let
|
|
85
|
-
r[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
86
|
-
const
|
|
87
|
-
let
|
|
88
|
-
r[3] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
82
|
+
let c;
|
|
83
|
+
r[1] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ f(() => e.current, "t1"), r[1] = c) : c = r[1];
|
|
84
|
+
const s = c;
|
|
85
|
+
let d;
|
|
86
|
+
r[2] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ f((b) => b === e.current, "t2"), r[2] = d) : d = r[2];
|
|
87
|
+
const l = d;
|
|
88
|
+
let i;
|
|
89
|
+
r[3] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ f(() => {
|
|
89
90
|
e.current = e.current + 1;
|
|
90
|
-
}, "t3"), r[3] =
|
|
91
|
-
const
|
|
92
|
-
let
|
|
93
|
-
r[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
91
|
+
}, "t3"), r[3] = i) : i = r[3];
|
|
92
|
+
const a = i;
|
|
93
|
+
let o;
|
|
94
|
+
r[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ f(() => {
|
|
94
95
|
e.current = 0;
|
|
95
|
-
}, "t4"), r[4] =
|
|
96
|
-
const
|
|
97
|
-
let
|
|
98
|
-
return r[5] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
96
|
+
}, "t4"), r[4] = o) : o = r[4];
|
|
97
|
+
const u = o;
|
|
98
|
+
let m;
|
|
99
|
+
return r[5] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
99
100
|
generate: n,
|
|
100
|
-
current:
|
|
101
|
-
isLatest:
|
|
102
|
-
invalidate:
|
|
103
|
-
reset:
|
|
104
|
-
}, r[5] =
|
|
101
|
+
current: s,
|
|
102
|
+
isLatest: l,
|
|
103
|
+
invalidate: a,
|
|
104
|
+
reset: u
|
|
105
|
+
}, r[5] = m) : m = r[5], m;
|
|
105
106
|
}
|
|
106
|
-
|
|
107
|
+
f(Z, "useRequestId");
|
|
107
108
|
function M(r) {
|
|
108
109
|
const {
|
|
109
110
|
loading: e,
|
|
110
111
|
result: t,
|
|
111
112
|
error: n,
|
|
112
|
-
status:
|
|
113
|
-
setLoading:
|
|
114
|
-
setSuccess:
|
|
115
|
-
setError:
|
|
116
|
-
setIdle:
|
|
117
|
-
} =
|
|
113
|
+
status: c,
|
|
114
|
+
setLoading: s,
|
|
115
|
+
setSuccess: d,
|
|
116
|
+
setError: l,
|
|
117
|
+
setIdle: i
|
|
118
|
+
} = Y(r), a = T(), o = Z(), u = F(void 0), m = r?.propagateError, b = r?.onAbort, y = g(async () => {
|
|
118
119
|
try {
|
|
119
120
|
await b?.();
|
|
120
|
-
} catch (
|
|
121
|
-
console.warn("useExecutePromise onAbort callback error:",
|
|
121
|
+
} catch (S) {
|
|
122
|
+
console.warn("useExecutePromise onAbort callback error:", S);
|
|
122
123
|
}
|
|
123
|
-
}, [b]),
|
|
124
|
-
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
const
|
|
128
|
-
|
|
124
|
+
}, [b]), h = g(async (S) => {
|
|
125
|
+
u.current && (u.current.abort(), await y());
|
|
126
|
+
const E = new AbortController();
|
|
127
|
+
u.current = E;
|
|
128
|
+
const w = o.generate();
|
|
129
|
+
s();
|
|
129
130
|
try {
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
} catch (
|
|
133
|
-
if (
|
|
134
|
-
|
|
131
|
+
const v = await S(E);
|
|
132
|
+
a() && o.isLatest(w) && await d(v);
|
|
133
|
+
} catch (v) {
|
|
134
|
+
if (v instanceof Error && v.name === "AbortError") {
|
|
135
|
+
a() && i();
|
|
135
136
|
return;
|
|
136
137
|
}
|
|
137
|
-
if (
|
|
138
|
-
throw
|
|
138
|
+
if (a() && o.isLatest(w) && await l(v), m)
|
|
139
|
+
throw v;
|
|
139
140
|
} finally {
|
|
140
|
-
|
|
141
|
+
u.current === E && (u.current = void 0);
|
|
141
142
|
}
|
|
142
|
-
}, [
|
|
143
|
-
|
|
144
|
-
}, [
|
|
145
|
-
|
|
146
|
-
}, [
|
|
147
|
-
return
|
|
148
|
-
|
|
149
|
-
}, [
|
|
143
|
+
}, [s, d, l, i, a, o, m, y]), Q = g(() => {
|
|
144
|
+
a() && i();
|
|
145
|
+
}, [i, a]), x = g(async () => {
|
|
146
|
+
Q(), u.current && (u.current.abort(), u.current = void 0, await y());
|
|
147
|
+
}, [Q, y]);
|
|
148
|
+
return L(() => () => {
|
|
149
|
+
x();
|
|
150
|
+
}, [x]), A(() => ({
|
|
150
151
|
loading: e,
|
|
151
152
|
result: t,
|
|
152
153
|
error: n,
|
|
153
|
-
status:
|
|
154
|
-
execute:
|
|
155
|
-
reset:
|
|
156
|
-
abort:
|
|
157
|
-
}), [e, t, n,
|
|
154
|
+
status: c,
|
|
155
|
+
execute: h,
|
|
156
|
+
reset: Q,
|
|
157
|
+
abort: x
|
|
158
|
+
}), [e, t, n, c, h, Q, x]);
|
|
158
159
|
}
|
|
159
|
-
|
|
160
|
-
function
|
|
161
|
-
const r =
|
|
162
|
-
|
|
160
|
+
f(M, "useExecutePromise");
|
|
161
|
+
function ie() {
|
|
162
|
+
const r = F(/* @__PURE__ */ new Map()), e = g((u) => r.current.get(u), []), t = g((u, m) => r.current.set(u, m), []), n = g((u) => r.current.has(u), []), c = g((u) => r.current.delete(u), []), s = g(() => r.current.clear(), []), d = g(() => r.current.keys(), []), l = g(() => r.current.values(), []), i = g(() => r.current.entries(), []), a = g(() => r.current[Symbol.iterator](), []), o = g((u) => (m) => {
|
|
163
|
+
m ? r.current.set(u, m) : r.current.delete(u);
|
|
163
164
|
}, []);
|
|
164
|
-
return
|
|
165
|
+
return L(() => () => {
|
|
165
166
|
r.current.clear();
|
|
166
167
|
}, []), A(() => ({
|
|
167
|
-
register:
|
|
168
|
+
register: o,
|
|
168
169
|
get: e,
|
|
169
170
|
set: t,
|
|
170
171
|
has: n,
|
|
171
|
-
delete:
|
|
172
|
-
clear:
|
|
173
|
-
keys:
|
|
174
|
-
values:
|
|
175
|
-
entries:
|
|
172
|
+
delete: c,
|
|
173
|
+
clear: s,
|
|
174
|
+
keys: d,
|
|
175
|
+
values: l,
|
|
176
|
+
entries: i,
|
|
176
177
|
get size() {
|
|
177
178
|
return r.current.size;
|
|
178
179
|
},
|
|
179
|
-
[Symbol.iterator]:
|
|
180
|
-
}), [
|
|
180
|
+
[Symbol.iterator]: a
|
|
181
|
+
}), [o, e, t, n, c, s, d, l, i, a]);
|
|
181
182
|
}
|
|
182
|
-
|
|
183
|
-
function
|
|
184
|
-
const t =
|
|
183
|
+
f(ie, "useRefs");
|
|
184
|
+
function q(r, e) {
|
|
185
|
+
const t = _(9);
|
|
185
186
|
if (e.leading === !1 && e.trailing === !1)
|
|
186
187
|
throw new Error("useDebouncedCallback: at least one of leading or trailing must be true");
|
|
187
|
-
const n =
|
|
188
|
-
let i;
|
|
189
|
-
t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ m(() => n.current !== void 0, "t0"), t[0] = i) : i = t[0];
|
|
190
|
-
const u = i;
|
|
188
|
+
const n = F(void 0), c = F(!1), s = R(r), d = R(e);
|
|
191
189
|
let l;
|
|
192
|
-
t[
|
|
190
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ f(() => n.current !== void 0, "t0"), t[0] = l) : l = t[0];
|
|
191
|
+
const i = l;
|
|
192
|
+
let a;
|
|
193
|
+
t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ f(() => {
|
|
193
194
|
n.current !== void 0 && (clearTimeout(n.current), n.current = void 0);
|
|
194
|
-
}, "t1"), t[1] =
|
|
195
|
-
const
|
|
196
|
-
let
|
|
197
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
198
|
-
|
|
199
|
-
}, "t2"),
|
|
195
|
+
}, "t1"), t[1] = a) : a = t[1];
|
|
196
|
+
const o = a;
|
|
197
|
+
let u, m;
|
|
198
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ f(() => () => {
|
|
199
|
+
o();
|
|
200
|
+
}, "t2"), m = [o], t[2] = u, t[3] = m) : (u = t[2], m = t[3]), L(u, m);
|
|
200
201
|
let b;
|
|
201
|
-
t[4] !==
|
|
202
|
-
const
|
|
203
|
-
leading:
|
|
204
|
-
trailing:
|
|
205
|
-
delay:
|
|
206
|
-
} =
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
}, "t4"), t[4] =
|
|
211
|
-
const
|
|
212
|
-
let
|
|
213
|
-
return t[7] !==
|
|
214
|
-
run:
|
|
215
|
-
cancel:
|
|
216
|
-
isPending:
|
|
217
|
-
}, t[7] =
|
|
202
|
+
t[4] !== s || t[5] !== d ? (b = /* @__PURE__ */ f((...Q) => {
|
|
203
|
+
const x = Q, {
|
|
204
|
+
leading: S,
|
|
205
|
+
trailing: E,
|
|
206
|
+
delay: w
|
|
207
|
+
} = d.current, v = S === void 0 ? !1 : S, C = E === void 0 ? !0 : E;
|
|
208
|
+
o(), v && !c.current && (s.current(...x), c.current = !0), C && (n.current = setTimeout(() => {
|
|
209
|
+
c.current || s.current(...x), c.current = !1, n.current = void 0;
|
|
210
|
+
}, w));
|
|
211
|
+
}, "t4"), t[4] = s, t[5] = d, t[6] = b) : b = t[6];
|
|
212
|
+
const y = b;
|
|
213
|
+
let h;
|
|
214
|
+
return t[7] !== y ? (h = {
|
|
215
|
+
run: y,
|
|
216
|
+
cancel: o,
|
|
217
|
+
isPending: i
|
|
218
|
+
}, t[7] = y, t[8] = h) : h = t[8], h;
|
|
218
219
|
}
|
|
219
|
-
|
|
220
|
-
function
|
|
221
|
-
const e =
|
|
220
|
+
f(q, "useDebouncedCallback");
|
|
221
|
+
function ae(r) {
|
|
222
|
+
const e = _(10), {
|
|
222
223
|
loading: t,
|
|
223
224
|
result: n,
|
|
224
|
-
error:
|
|
225
|
-
execute:
|
|
226
|
-
reset:
|
|
227
|
-
abort:
|
|
228
|
-
status:
|
|
225
|
+
error: c,
|
|
226
|
+
execute: s,
|
|
227
|
+
reset: d,
|
|
228
|
+
abort: l,
|
|
229
|
+
status: i
|
|
229
230
|
} = M(r), {
|
|
230
|
-
run:
|
|
231
|
-
cancel:
|
|
232
|
-
isPending:
|
|
233
|
-
} =
|
|
234
|
-
let
|
|
235
|
-
return e[0] !==
|
|
231
|
+
run: a,
|
|
232
|
+
cancel: o,
|
|
233
|
+
isPending: u
|
|
234
|
+
} = q(s, r.debounce);
|
|
235
|
+
let m;
|
|
236
|
+
return e[0] !== l || e[1] !== o || e[2] !== c || e[3] !== u || e[4] !== t || e[5] !== d || e[6] !== n || e[7] !== a || e[8] !== i ? (m = {
|
|
236
237
|
loading: t,
|
|
237
238
|
result: n,
|
|
238
|
-
error:
|
|
239
|
-
status:
|
|
240
|
-
reset:
|
|
241
|
-
abort:
|
|
242
|
-
run:
|
|
243
|
-
cancel:
|
|
244
|
-
isPending:
|
|
245
|
-
}, e[0] =
|
|
239
|
+
error: c,
|
|
240
|
+
status: i,
|
|
241
|
+
reset: d,
|
|
242
|
+
abort: l,
|
|
243
|
+
run: a,
|
|
244
|
+
cancel: o,
|
|
245
|
+
isPending: u
|
|
246
|
+
}, e[0] = l, e[1] = o, e[2] = c, e[3] = u, e[4] = t, e[5] = d, e[6] = n, e[7] = a, e[8] = i, e[9] = m) : m = e[9], m;
|
|
246
247
|
}
|
|
247
|
-
|
|
248
|
-
function
|
|
249
|
-
const [, r] =
|
|
248
|
+
f(ae, "useDebouncedExecutePromise");
|
|
249
|
+
function fe() {
|
|
250
|
+
const [, r] = G(ee, 0);
|
|
250
251
|
return r;
|
|
251
252
|
}
|
|
252
|
-
|
|
253
|
-
function
|
|
253
|
+
f(fe, "useForceUpdate");
|
|
254
|
+
function ee(r) {
|
|
254
255
|
return r + 1;
|
|
255
256
|
}
|
|
256
|
-
|
|
257
|
-
function
|
|
258
|
-
const t =
|
|
257
|
+
f(ee, "_temp");
|
|
258
|
+
function te(r, e) {
|
|
259
|
+
const t = _(13);
|
|
259
260
|
let n;
|
|
260
|
-
t[0] !== r ? (n = /* @__PURE__ */
|
|
261
|
-
name:
|
|
261
|
+
t[0] !== r ? (n = /* @__PURE__ */ f((b) => r.addListener({
|
|
262
|
+
name: W.generate("useKeyStorage"),
|
|
262
263
|
handle: b
|
|
263
264
|
}), "t0"), t[0] = r, t[1] = n) : n = t[1];
|
|
264
|
-
const
|
|
265
|
-
let
|
|
266
|
-
t[2] !== e || t[3] !== r ? (
|
|
265
|
+
const c = n;
|
|
266
|
+
let s;
|
|
267
|
+
t[2] !== e || t[3] !== r ? (s = /* @__PURE__ */ f(() => {
|
|
267
268
|
const b = r.get();
|
|
268
269
|
return b !== null ? b : e ?? null;
|
|
269
|
-
}, "t1"), t[2] = e, t[3] = r, t[4] =
|
|
270
|
-
const
|
|
271
|
-
let
|
|
272
|
-
t[5] !== r ? (
|
|
273
|
-
const
|
|
274
|
-
let
|
|
275
|
-
t[7] !== r ? (
|
|
276
|
-
const
|
|
277
|
-
let
|
|
278
|
-
return t[9] !==
|
|
270
|
+
}, "t1"), t[2] = e, t[3] = r, t[4] = s) : s = t[4];
|
|
271
|
+
const d = s, l = J(c, d, d);
|
|
272
|
+
let i;
|
|
273
|
+
t[5] !== r ? (i = /* @__PURE__ */ f((b) => r.set(b), "t2"), t[5] = r, t[6] = i) : i = t[6];
|
|
274
|
+
const a = i;
|
|
275
|
+
let o;
|
|
276
|
+
t[7] !== r ? (o = /* @__PURE__ */ f(() => r.remove(), "t3"), t[7] = r, t[8] = o) : o = t[8];
|
|
277
|
+
const u = o;
|
|
278
|
+
let m;
|
|
279
|
+
return t[9] !== u || t[10] !== a || t[11] !== l ? (m = [l, a, u], t[9] = u, t[10] = a, t[11] = l, t[12] = m) : m = t[12], m;
|
|
279
280
|
}
|
|
280
|
-
|
|
281
|
-
function
|
|
282
|
-
const t =
|
|
283
|
-
let
|
|
284
|
-
t[0] !==
|
|
285
|
-
const
|
|
286
|
-
if (
|
|
287
|
-
|
|
281
|
+
f(te, "useKeyStorage");
|
|
282
|
+
function de(r, e) {
|
|
283
|
+
const t = _(8), [n, c, s] = te(r, e);
|
|
284
|
+
let d;
|
|
285
|
+
t[0] !== s || t[1] !== c || t[2] !== n ? (d = /* @__PURE__ */ f((a) => {
|
|
286
|
+
const o = N(n, a);
|
|
287
|
+
if (o === null) {
|
|
288
|
+
s();
|
|
288
289
|
return;
|
|
289
290
|
}
|
|
290
|
-
return
|
|
291
|
-
}, "t0"), t[0] =
|
|
292
|
-
const
|
|
293
|
-
let
|
|
294
|
-
return t[4] !==
|
|
291
|
+
return c(o);
|
|
292
|
+
}, "t0"), t[0] = s, t[1] = c, t[2] = n, t[3] = d) : d = t[3];
|
|
293
|
+
const l = d;
|
|
294
|
+
let i;
|
|
295
|
+
return t[4] !== s || t[5] !== l || t[6] !== n ? (i = [n, l, s], t[4] = s, t[5] = l, t[6] = n, t[7] = i) : i = t[7], i;
|
|
295
296
|
}
|
|
296
|
-
|
|
297
|
-
function
|
|
298
|
-
const e =
|
|
297
|
+
f(de, "useImmerKeyStorage");
|
|
298
|
+
function U(r) {
|
|
299
|
+
const e = _(21);
|
|
299
300
|
let t;
|
|
300
301
|
e[0] !== r ? (t = r || {}, e[0] = r, e[1] = t) : t = e[1];
|
|
301
302
|
const {
|
|
302
303
|
fetcher: n
|
|
303
|
-
} = t,
|
|
304
|
-
loading:
|
|
305
|
-
result:
|
|
306
|
-
error:
|
|
307
|
-
status:
|
|
308
|
-
execute:
|
|
309
|
-
reset:
|
|
310
|
-
abort:
|
|
311
|
-
} = M(r), [
|
|
312
|
-
let
|
|
313
|
-
e[2] !==
|
|
314
|
-
const
|
|
315
|
-
let
|
|
316
|
-
e[4] !==
|
|
304
|
+
} = t, c = n === void 0 ? j.default : n, {
|
|
305
|
+
loading: s,
|
|
306
|
+
result: d,
|
|
307
|
+
error: l,
|
|
308
|
+
status: i,
|
|
309
|
+
execute: a,
|
|
310
|
+
reset: o,
|
|
311
|
+
abort: u
|
|
312
|
+
} = M(r), [m, b] = P(void 0), y = R(r);
|
|
313
|
+
let h;
|
|
314
|
+
e[2] !== c ? (h = k(c), e[2] = c, e[3] = h) : h = e[3];
|
|
315
|
+
const Q = h;
|
|
316
|
+
let x;
|
|
317
|
+
e[4] !== Q || e[5] !== y || e[6] !== a ? (x = /* @__PURE__ */ f(async (K) => {
|
|
317
318
|
try {
|
|
318
|
-
await
|
|
319
|
-
|
|
320
|
-
const
|
|
321
|
-
return b(
|
|
319
|
+
await a(async (D) => {
|
|
320
|
+
K.abortController = D;
|
|
321
|
+
const I = await Q.exchange(K, y.current);
|
|
322
|
+
return b(I), await I.extractResult();
|
|
322
323
|
});
|
|
323
324
|
} catch (D) {
|
|
324
|
-
const
|
|
325
|
-
throw b(void 0),
|
|
325
|
+
const I = D;
|
|
326
|
+
throw b(void 0), I;
|
|
326
327
|
}
|
|
327
|
-
}, "t3"), e[4] =
|
|
328
|
+
}, "t3"), e[4] = Q, e[5] = y, e[6] = a, e[7] = x) : x = e[7];
|
|
329
|
+
const S = x;
|
|
330
|
+
let E;
|
|
331
|
+
e[8] !== o ? (E = /* @__PURE__ */ f(() => {
|
|
332
|
+
o(), b(void 0);
|
|
333
|
+
}, "t4"), e[8] = o, e[9] = E) : E = e[9];
|
|
328
334
|
const w = E;
|
|
329
|
-
let
|
|
330
|
-
e[
|
|
331
|
-
|
|
332
|
-
}, "
|
|
333
|
-
const
|
|
334
|
-
let
|
|
335
|
-
e[
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
exchange: d,
|
|
346
|
-
execute: w,
|
|
347
|
-
reset: R,
|
|
348
|
-
abort: Q
|
|
349
|
-
}, e[12] = Q, e[13] = i, e[14] = d, e[15] = w, e[16] = o, e[17] = R, e[18] = f, e[19] = u, e[20] = p) : p = e[20], p;
|
|
335
|
+
let v;
|
|
336
|
+
e[10] !== u ? (v = /* @__PURE__ */ f(() => {
|
|
337
|
+
u(), b(void 0);
|
|
338
|
+
}, "t5"), e[10] = u, e[11] = v) : v = e[11];
|
|
339
|
+
const C = v;
|
|
340
|
+
let $;
|
|
341
|
+
return e[12] !== C || e[13] !== l || e[14] !== m || e[15] !== S || e[16] !== s || e[17] !== w || e[18] !== d || e[19] !== i ? ($ = {
|
|
342
|
+
loading: s,
|
|
343
|
+
result: d,
|
|
344
|
+
error: l,
|
|
345
|
+
status: i,
|
|
346
|
+
exchange: m,
|
|
347
|
+
execute: S,
|
|
348
|
+
reset: w,
|
|
349
|
+
abort: C
|
|
350
|
+
}, e[12] = C, e[13] = l, e[14] = m, e[15] = S, e[16] = s, e[17] = w, e[18] = d, e[19] = i, e[20] = $) : $ = e[20], $;
|
|
350
351
|
}
|
|
351
|
-
|
|
352
|
-
function
|
|
353
|
-
const e =
|
|
352
|
+
f(U, "useFetcher");
|
|
353
|
+
function me(r) {
|
|
354
|
+
const e = _(11), {
|
|
354
355
|
loading: t,
|
|
355
356
|
result: n,
|
|
356
|
-
error:
|
|
357
|
-
status:
|
|
358
|
-
exchange:
|
|
359
|
-
execute:
|
|
360
|
-
reset:
|
|
361
|
-
abort:
|
|
362
|
-
} =
|
|
363
|
-
run:
|
|
364
|
-
cancel:
|
|
365
|
-
isPending:
|
|
366
|
-
} =
|
|
357
|
+
error: c,
|
|
358
|
+
status: s,
|
|
359
|
+
exchange: d,
|
|
360
|
+
execute: l,
|
|
361
|
+
reset: i,
|
|
362
|
+
abort: a
|
|
363
|
+
} = U(r), {
|
|
364
|
+
run: o,
|
|
365
|
+
cancel: u,
|
|
366
|
+
isPending: m
|
|
367
|
+
} = q(l, r.debounce);
|
|
367
368
|
let b;
|
|
368
|
-
return e[0] !==
|
|
369
|
+
return e[0] !== a || e[1] !== u || e[2] !== c || e[3] !== d || e[4] !== m || e[5] !== t || e[6] !== i || e[7] !== n || e[8] !== o || e[9] !== s ? (b = {
|
|
369
370
|
loading: t,
|
|
370
371
|
result: n,
|
|
371
|
-
error:
|
|
372
|
-
status:
|
|
373
|
-
exchange:
|
|
374
|
-
reset:
|
|
375
|
-
abort:
|
|
376
|
-
run:
|
|
377
|
-
cancel:
|
|
378
|
-
isPending:
|
|
379
|
-
}, e[0] =
|
|
372
|
+
error: c,
|
|
373
|
+
status: s,
|
|
374
|
+
exchange: d,
|
|
375
|
+
reset: i,
|
|
376
|
+
abort: a,
|
|
377
|
+
run: o,
|
|
378
|
+
cancel: u,
|
|
379
|
+
isPending: m
|
|
380
|
+
}, e[0] = a, e[1] = u, e[2] = c, e[3] = d, e[4] = m, e[5] = t, e[6] = i, e[7] = n, e[8] = o, e[9] = s, e[10] = b) : b = e[10], b;
|
|
380
381
|
}
|
|
381
|
-
|
|
382
|
-
function
|
|
383
|
-
const e =
|
|
382
|
+
f(me, "useDebouncedFetcher");
|
|
383
|
+
function V(r) {
|
|
384
|
+
const e = _(10), {
|
|
385
|
+
initialQuery: t,
|
|
386
|
+
autoExecute: n,
|
|
387
|
+
execute: c
|
|
388
|
+
} = r, s = n ?? !1, d = F(t);
|
|
389
|
+
let l;
|
|
390
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ f(() => d.current, "t0"), e[0] = l) : l = e[0];
|
|
391
|
+
const i = l;
|
|
392
|
+
let a;
|
|
393
|
+
e[1] !== s || e[2] !== c ? (a = /* @__PURE__ */ f((y) => {
|
|
394
|
+
d.current = y, s && c(y);
|
|
395
|
+
}, "t1"), e[1] = s, e[2] = c, e[3] = a) : a = e[3];
|
|
396
|
+
const o = a;
|
|
397
|
+
let u, m;
|
|
398
|
+
e[4] !== s || e[5] !== c ? (u = /* @__PURE__ */ f(() => {
|
|
399
|
+
s && c(d.current);
|
|
400
|
+
}, "t2"), m = [s, c], e[4] = s, e[5] = c, e[6] = u, e[7] = m) : (u = e[6], m = e[7]), L(u, m);
|
|
401
|
+
let b;
|
|
402
|
+
return e[8] !== o ? (b = {
|
|
403
|
+
getQuery: i,
|
|
404
|
+
setQuery: o
|
|
405
|
+
}, e[8] = o, e[9] = b) : b = e[9], b;
|
|
406
|
+
}
|
|
407
|
+
f(V, "useQueryState");
|
|
408
|
+
function p(r) {
|
|
409
|
+
const e = R(r), {
|
|
384
410
|
loading: t,
|
|
385
411
|
result: n,
|
|
386
|
-
error:
|
|
387
|
-
status:
|
|
388
|
-
execute:
|
|
389
|
-
reset:
|
|
390
|
-
abort:
|
|
391
|
-
} = M(e.current),
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
412
|
+
error: c,
|
|
413
|
+
status: s,
|
|
414
|
+
execute: d,
|
|
415
|
+
reset: l,
|
|
416
|
+
abort: i
|
|
417
|
+
} = M(e.current), a = g((b) => d(/* @__PURE__ */ f(async (h) => e.current.execute(b, e.current.attributes, h), "queryExecutor")), [d, e]), {
|
|
418
|
+
getQuery: o,
|
|
419
|
+
setQuery: u
|
|
420
|
+
} = V({
|
|
421
|
+
initialQuery: r.initialQuery,
|
|
422
|
+
autoExecute: e.current.autoExecute,
|
|
423
|
+
execute: a
|
|
424
|
+
}), m = g(() => a(o()), [a, o]);
|
|
425
|
+
return A(() => ({
|
|
397
426
|
loading: t,
|
|
398
427
|
result: n,
|
|
399
|
-
error:
|
|
400
|
-
status:
|
|
401
|
-
execute:
|
|
402
|
-
reset:
|
|
428
|
+
error: c,
|
|
429
|
+
status: s,
|
|
430
|
+
execute: m,
|
|
431
|
+
reset: l,
|
|
432
|
+
abort: i,
|
|
433
|
+
getQuery: o,
|
|
434
|
+
setQuery: u
|
|
435
|
+
}), [t, n, c, s, m, l, i, o, u]);
|
|
436
|
+
}
|
|
437
|
+
f(p, "useQuery");
|
|
438
|
+
function be(r) {
|
|
439
|
+
return p(r);
|
|
440
|
+
}
|
|
441
|
+
f(be, "useCountQuery");
|
|
442
|
+
function O(r) {
|
|
443
|
+
const e = _(22);
|
|
444
|
+
let t;
|
|
445
|
+
e[0] !== r ? (t = {
|
|
446
|
+
resultExtractor: B,
|
|
447
|
+
...r
|
|
448
|
+
}, e[0] = r, e[1] = t) : t = e[1];
|
|
449
|
+
const n = t, c = R(n), {
|
|
450
|
+
loading: s,
|
|
451
|
+
result: d,
|
|
452
|
+
error: l,
|
|
453
|
+
status: i,
|
|
454
|
+
execute: a,
|
|
455
|
+
reset: o,
|
|
456
|
+
abort: u
|
|
457
|
+
} = U(n);
|
|
458
|
+
let m;
|
|
459
|
+
e[2] !== a || e[3] !== c ? (m = /* @__PURE__ */ f((w) => {
|
|
460
|
+
const v = {
|
|
461
|
+
url: c.current.url,
|
|
462
|
+
method: "POST",
|
|
463
|
+
body: w
|
|
464
|
+
};
|
|
465
|
+
return a(v);
|
|
466
|
+
}, "t1"), e[2] = a, e[3] = c, e[4] = m) : m = e[4];
|
|
467
|
+
const b = m;
|
|
468
|
+
let y;
|
|
469
|
+
e[5] !== b || e[6] !== n.autoExecute || e[7] !== n.initialQuery ? (y = {
|
|
470
|
+
initialQuery: n.initialQuery,
|
|
471
|
+
autoExecute: n.autoExecute,
|
|
472
|
+
execute: b
|
|
473
|
+
}, e[5] = b, e[6] = n.autoExecute, e[7] = n.initialQuery, e[8] = y) : y = e[8];
|
|
474
|
+
const {
|
|
475
|
+
getQuery: h,
|
|
476
|
+
setQuery: Q
|
|
477
|
+
} = V(y);
|
|
478
|
+
let x;
|
|
479
|
+
e[9] !== b || e[10] !== h ? (x = /* @__PURE__ */ f(() => b(h()), "t3"), e[9] = b, e[10] = h, e[11] = x) : x = e[11];
|
|
480
|
+
const S = x;
|
|
481
|
+
let E;
|
|
482
|
+
return e[12] !== u || e[13] !== l || e[14] !== S || e[15] !== h || e[16] !== s || e[17] !== o || e[18] !== d || e[19] !== Q || e[20] !== i ? (E = {
|
|
483
|
+
loading: s,
|
|
484
|
+
result: d,
|
|
485
|
+
error: l,
|
|
486
|
+
status: i,
|
|
487
|
+
execute: S,
|
|
488
|
+
reset: o,
|
|
403
489
|
abort: u,
|
|
404
|
-
getQuery:
|
|
405
|
-
setQuery:
|
|
406
|
-
}
|
|
490
|
+
getQuery: h,
|
|
491
|
+
setQuery: Q
|
|
492
|
+
}, e[12] = u, e[13] = l, e[14] = S, e[15] = h, e[16] = s, e[17] = o, e[18] = d, e[19] = Q, e[20] = i, e[21] = E) : E = e[21], E;
|
|
407
493
|
}
|
|
408
|
-
|
|
409
|
-
function
|
|
410
|
-
return
|
|
494
|
+
f(O, "useFetcherQuery");
|
|
495
|
+
function ye(r) {
|
|
496
|
+
return O(r);
|
|
411
497
|
}
|
|
412
|
-
|
|
413
|
-
function
|
|
414
|
-
return
|
|
498
|
+
f(ye, "useFetcherCountQuery");
|
|
499
|
+
function he(r) {
|
|
500
|
+
return O(r);
|
|
415
501
|
}
|
|
416
|
-
|
|
417
|
-
function
|
|
418
|
-
|
|
502
|
+
f(he, "useFetcherListQuery");
|
|
503
|
+
function ge(r) {
|
|
504
|
+
const e = _(2);
|
|
505
|
+
let t;
|
|
506
|
+
return e[0] !== r ? (t = {
|
|
507
|
+
...r,
|
|
508
|
+
resultExtractor: H
|
|
509
|
+
}, e[0] = r, e[1] = t) : t = e[1], O(t);
|
|
419
510
|
}
|
|
420
|
-
|
|
421
|
-
function
|
|
422
|
-
return
|
|
511
|
+
f(ge, "useFetcherListStreamQuery");
|
|
512
|
+
function xe(r) {
|
|
513
|
+
return O(r);
|
|
423
514
|
}
|
|
424
|
-
|
|
425
|
-
function
|
|
426
|
-
return
|
|
515
|
+
f(xe, "useFetcherPagedQuery");
|
|
516
|
+
function Ee(r) {
|
|
517
|
+
return O(r);
|
|
427
518
|
}
|
|
428
|
-
|
|
429
|
-
function
|
|
430
|
-
|
|
519
|
+
f(Ee, "useFetcherSingleQuery");
|
|
520
|
+
function ve(r) {
|
|
521
|
+
return p(r);
|
|
522
|
+
}
|
|
523
|
+
f(ve, "useListQuery");
|
|
524
|
+
function Qe(r) {
|
|
525
|
+
return p(r);
|
|
526
|
+
}
|
|
527
|
+
f(Qe, "useListStreamQuery");
|
|
528
|
+
function Se(r) {
|
|
529
|
+
return p(r);
|
|
530
|
+
}
|
|
531
|
+
f(Se, "usePagedQuery");
|
|
532
|
+
function _e(r) {
|
|
533
|
+
return p(r);
|
|
534
|
+
}
|
|
535
|
+
f(_e, "useSingleQuery");
|
|
536
|
+
function we(r) {
|
|
537
|
+
const e = _(12), {
|
|
431
538
|
loading: t,
|
|
432
539
|
result: n,
|
|
433
|
-
error:
|
|
434
|
-
status:
|
|
435
|
-
execute:
|
|
436
|
-
reset:
|
|
437
|
-
abort:
|
|
438
|
-
getQuery:
|
|
439
|
-
setQuery:
|
|
440
|
-
} =
|
|
441
|
-
run:
|
|
442
|
-
cancel:
|
|
540
|
+
error: c,
|
|
541
|
+
status: s,
|
|
542
|
+
execute: d,
|
|
543
|
+
reset: l,
|
|
544
|
+
abort: i,
|
|
545
|
+
getQuery: a,
|
|
546
|
+
setQuery: o
|
|
547
|
+
} = p(r), {
|
|
548
|
+
run: u,
|
|
549
|
+
cancel: m,
|
|
443
550
|
isPending: b
|
|
444
|
-
} =
|
|
445
|
-
let
|
|
446
|
-
return e[0] !==
|
|
551
|
+
} = q(d, r.debounce);
|
|
552
|
+
let y;
|
|
553
|
+
return e[0] !== i || e[1] !== m || e[2] !== c || e[3] !== a || e[4] !== b || e[5] !== t || e[6] !== l || e[7] !== n || e[8] !== u || e[9] !== o || e[10] !== s ? (y = {
|
|
447
554
|
loading: t,
|
|
448
555
|
result: n,
|
|
449
|
-
error:
|
|
450
|
-
status:
|
|
451
|
-
reset:
|
|
452
|
-
abort:
|
|
453
|
-
getQuery:
|
|
454
|
-
setQuery:
|
|
455
|
-
run:
|
|
456
|
-
cancel:
|
|
556
|
+
error: c,
|
|
557
|
+
status: s,
|
|
558
|
+
reset: l,
|
|
559
|
+
abort: i,
|
|
560
|
+
getQuery: a,
|
|
561
|
+
setQuery: o,
|
|
562
|
+
run: u,
|
|
563
|
+
cancel: m,
|
|
457
564
|
isPending: b
|
|
458
|
-
}, e[0] =
|
|
565
|
+
}, e[0] = i, e[1] = m, e[2] = c, e[3] = a, e[4] = b, e[5] = t, e[6] = l, e[7] = n, e[8] = u, e[9] = o, e[10] = s, e[11] = y) : y = e[11], y;
|
|
459
566
|
}
|
|
460
|
-
|
|
461
|
-
function
|
|
462
|
-
const e =
|
|
567
|
+
f(we, "useDebouncedQuery");
|
|
568
|
+
function Fe(r) {
|
|
569
|
+
const e = _(13), {
|
|
463
570
|
bus: t,
|
|
464
571
|
handler: n
|
|
465
572
|
} = r;
|
|
466
|
-
let
|
|
467
|
-
e[0] !== t || e[1] !== n ? (
|
|
468
|
-
const
|
|
469
|
-
let
|
|
470
|
-
e[3] !== t || e[4] !== n.name ? (
|
|
471
|
-
const
|
|
472
|
-
let
|
|
473
|
-
e[6] !== t || e[7] !== n ? (
|
|
573
|
+
let c;
|
|
574
|
+
e[0] !== t || e[1] !== n ? (c = /* @__PURE__ */ f(() => t.on(n), "t0"), e[0] = t, e[1] = n, e[2] = c) : c = e[2];
|
|
575
|
+
const s = c;
|
|
576
|
+
let d;
|
|
577
|
+
e[3] !== t || e[4] !== n.name ? (d = /* @__PURE__ */ f(() => t.off(n.name), "t1"), e[3] = t, e[4] = n.name, e[5] = d) : d = e[5];
|
|
578
|
+
const l = d;
|
|
579
|
+
let i, a;
|
|
580
|
+
e[6] !== t || e[7] !== n ? (i = /* @__PURE__ */ f(() => (t.on(n) || console.warn(`Failed to subscribe to event bus with handler: ${n.name}`), () => {
|
|
474
581
|
t.off(n.name);
|
|
475
|
-
}), "t2"),
|
|
476
|
-
let
|
|
477
|
-
return e[10] !==
|
|
478
|
-
subscribe:
|
|
479
|
-
unsubscribe:
|
|
480
|
-
}, e[10] =
|
|
582
|
+
}), "t2"), a = [t, n], e[6] = t, e[7] = n, e[8] = i, e[9] = a) : (i = e[8], a = e[9]), L(i, a);
|
|
583
|
+
let o;
|
|
584
|
+
return e[10] !== s || e[11] !== l ? (o = {
|
|
585
|
+
subscribe: s,
|
|
586
|
+
unsubscribe: l
|
|
587
|
+
}, e[10] = s, e[11] = l, e[12] = o) : o = e[12], o;
|
|
481
588
|
}
|
|
482
|
-
|
|
589
|
+
f(Fe, "useEventSubscription");
|
|
483
590
|
export {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
591
|
+
X as PromiseStatus,
|
|
592
|
+
be as useCountQuery,
|
|
593
|
+
q as useDebouncedCallback,
|
|
594
|
+
ae as useDebouncedExecutePromise,
|
|
595
|
+
me as useDebouncedFetcher,
|
|
596
|
+
we as useDebouncedQuery,
|
|
597
|
+
Fe as useEventSubscription,
|
|
491
598
|
M as useExecutePromise,
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
599
|
+
U as useFetcher,
|
|
600
|
+
ye as useFetcherCountQuery,
|
|
601
|
+
he as useFetcherListQuery,
|
|
602
|
+
ge as useFetcherListStreamQuery,
|
|
603
|
+
xe as useFetcherPagedQuery,
|
|
604
|
+
O as useFetcherQuery,
|
|
605
|
+
Ee as useFetcherSingleQuery,
|
|
606
|
+
fe as useForceUpdate,
|
|
607
|
+
de as useImmerKeyStorage,
|
|
608
|
+
te as useKeyStorage,
|
|
609
|
+
R as useLatest,
|
|
610
|
+
ve as useListQuery,
|
|
611
|
+
Qe as useListStreamQuery,
|
|
612
|
+
T as useMounted,
|
|
613
|
+
Se as usePagedQuery,
|
|
614
|
+
Y as usePromiseState,
|
|
615
|
+
p as useQuery,
|
|
616
|
+
V as useQueryState,
|
|
617
|
+
ie as useRefs,
|
|
618
|
+
Z as useRequestId,
|
|
619
|
+
_e as useSingleQuery
|
|
506
620
|
};
|
|
507
621
|
//# sourceMappingURL=index.es.js.map
|