@hortiview/modulebase 1.0.3 → 1.1.0-alpha.8ea7f643.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/dist/{IsRestoringProvider-BfrdLTDw.js → IsRestoringProvider-CBSZo7ur.js} +83 -181
- package/dist/{ModuleCore-D9qFDsO7.js → ModuleCore-DuJVrj6v.js} +3790 -3728
- package/dist/{QueryClientProvider-Bak-4BVu.js → QueryClientProvider-DyiNrPkn.js} +160 -177
- package/dist/assets/ModuleCore.css +1 -1
- package/dist/{chunk-EVOBXE3Y-BoyVF_Ri.js → chunk-LFPYN7LY-DmQ3La_a.js} +2784 -2921
- package/dist/components/ModuleBase.js +19 -28
- package/dist/components/ModuleCore.js +1 -1
- package/dist/hooks/useCustom.js +12 -10
- package/dist/hooks/useCustomMutation.js +11 -9
- package/dist/hooks/useEntity.js +1 -1
- package/dist/hooks/useOffline.js +1 -1
- package/dist/hooks/useOption.js +1 -1
- package/dist/hooks/useServiceBus.js +1 -1
- package/dist/hooks/useStores.js +1 -1
- package/dist/lib/hooks/useCustom.d.ts +3 -4
- package/dist/lib/hooks/useCustomMutation.d.ts +3 -3
- package/dist/lib/module-router.d.ts +1 -1
- package/dist/main.js +178 -175
- package/dist/module-router.js +845 -889
- package/dist/{mutation-DztCHC7y.js → mutation-CmhiEgfA.js} +1 -1
- package/dist/{omit-DYPaIq41.js → omit-Do6MFRwA.js} +128 -121
- package/dist/provider/SignalR/SignalRProvider.js +463 -469
- package/dist/{useMutation-a0q2LJY6.js → useMutation-Aoachkw_.js} +2 -2
- package/dist/{useQuery-Cepqe-Ee.js → useQuery-DEU_AUtf.js} +105 -105
- package/dist/utils/helper.js +1 -1
- package/package.json +24 -24
|
@@ -1,157 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
onFetch: (e, r) => {
|
|
6
|
-
const a = e.options, u = e.fetchOptions?.meta?.fetchMore?.direction, f = e.state.data?.pages || [], n = e.state.data?.pageParams || [];
|
|
7
|
-
let c = { pages: [], pageParams: [] }, s = 0;
|
|
8
|
-
const h = async () => {
|
|
9
|
-
let l = !1;
|
|
10
|
-
const p = (i) => {
|
|
11
|
-
Q(
|
|
12
|
-
i,
|
|
13
|
-
() => e.signal,
|
|
14
|
-
() => l = !0
|
|
15
|
-
);
|
|
16
|
-
}, R = A(e.options, e.fetchOptions), v = async (i, o, d) => {
|
|
17
|
-
if (l)
|
|
18
|
-
return Promise.reject(e.signal.reason);
|
|
19
|
-
if (o == null && i.pages.length)
|
|
20
|
-
return Promise.resolve(i);
|
|
21
|
-
const O = (() => {
|
|
22
|
-
const b = {
|
|
23
|
-
client: e.client,
|
|
24
|
-
queryKey: e.queryKey,
|
|
25
|
-
pageParam: o,
|
|
26
|
-
direction: d ? "backward" : "forward",
|
|
27
|
-
meta: e.options.meta
|
|
28
|
-
};
|
|
29
|
-
return p(b), b;
|
|
30
|
-
})(), I = await R(O), { maxPages: m } = e.options, F = d ? k : K;
|
|
31
|
-
return {
|
|
32
|
-
pages: F(i.pages, I, m),
|
|
33
|
-
pageParams: F(i.pageParams, o, m)
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
if (u && f.length) {
|
|
37
|
-
const i = u === "backward", o = i ? D : y, d = {
|
|
38
|
-
pages: f,
|
|
39
|
-
pageParams: n
|
|
40
|
-
}, g = o(a, d);
|
|
41
|
-
c = await v(d, g, i);
|
|
42
|
-
} else {
|
|
43
|
-
const i = t ?? f.length;
|
|
44
|
-
do {
|
|
45
|
-
const o = s === 0 ? n[0] ?? a.initialPageParam : y(a, c);
|
|
46
|
-
if (s > 0 && o == null)
|
|
47
|
-
break;
|
|
48
|
-
c = await v(c, o), s++;
|
|
49
|
-
} while (s < i);
|
|
50
|
-
}
|
|
51
|
-
return c;
|
|
52
|
-
};
|
|
53
|
-
e.options.persister ? e.fetchFn = () => e.options.persister?.(
|
|
54
|
-
h,
|
|
55
|
-
{
|
|
56
|
-
client: e.client,
|
|
57
|
-
queryKey: e.queryKey,
|
|
58
|
-
meta: e.options.meta,
|
|
59
|
-
signal: e.signal
|
|
60
|
-
},
|
|
61
|
-
r
|
|
62
|
-
) : e.fetchFn = h;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function y(t, { pages: e, pageParams: r }) {
|
|
67
|
-
const a = e.length - 1;
|
|
68
|
-
return e.length > 0 ? t.getNextPageParam(
|
|
69
|
-
e[a],
|
|
70
|
-
e,
|
|
71
|
-
r[a],
|
|
72
|
-
r
|
|
73
|
-
) : void 0;
|
|
74
|
-
}
|
|
75
|
-
function D(t, { pages: e, pageParams: r }) {
|
|
76
|
-
return e.length > 0 ? t.getPreviousPageParam?.(e[0], e, r[0], r) : void 0;
|
|
77
|
-
}
|
|
78
|
-
function W(t, e) {
|
|
79
|
-
return e ? y(t, e) != null : !1;
|
|
80
|
-
}
|
|
81
|
-
function z(t, e) {
|
|
82
|
-
return !e || !t.getPreviousPageParam ? !1 : D(t, e) != null;
|
|
83
|
-
}
|
|
84
|
-
var J = class extends T {
|
|
1
|
+
import { R as v, r as m, a as c, d as b, e as C, f as S, t as F, c as g, C as d, n as q, g as A, i as D } from "./QueryClientProvider-DyiNrPkn.js";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
var w = class extends v {
|
|
4
|
+
#i;
|
|
85
5
|
#n;
|
|
6
|
+
#e;
|
|
86
7
|
#r;
|
|
8
|
+
#t;
|
|
87
9
|
#o;
|
|
88
|
-
#e;
|
|
89
10
|
#a;
|
|
90
|
-
#t;
|
|
91
|
-
#u;
|
|
92
|
-
#i;
|
|
93
11
|
constructor(t) {
|
|
94
|
-
super(), this.#
|
|
12
|
+
super(), this.#a = !1, this.#o = t.defaultOptions, this.setOptions(t.options), this.observers = [], this.#r = t.client, this.#e = this.#r.getQueryCache(), this.queryKey = t.queryKey, this.queryHash = t.queryHash, this.#i = f(this.options), this.state = t.state ?? this.#i, this.scheduleGc();
|
|
95
13
|
}
|
|
96
14
|
get meta() {
|
|
97
15
|
return this.options.meta;
|
|
98
16
|
}
|
|
99
|
-
get queryType() {
|
|
100
|
-
return this.#n;
|
|
101
|
-
}
|
|
102
17
|
get promise() {
|
|
103
18
|
return this.#t?.promise;
|
|
104
19
|
}
|
|
105
20
|
setOptions(t) {
|
|
106
|
-
if (this.options = { ...this.#
|
|
107
|
-
const e =
|
|
21
|
+
if (this.options = { ...this.#o, ...t }, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
22
|
+
const e = f(this.options);
|
|
108
23
|
e.data !== void 0 && (this.setState(
|
|
109
|
-
|
|
110
|
-
), this.#
|
|
24
|
+
l(e.data, e.dataUpdatedAt)
|
|
25
|
+
), this.#i = e);
|
|
111
26
|
}
|
|
112
27
|
}
|
|
113
28
|
optionalRemove() {
|
|
114
29
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#e.remove(this);
|
|
115
30
|
}
|
|
116
31
|
setData(t, e) {
|
|
117
|
-
const
|
|
32
|
+
const i = m(this.state.data, t, this.options);
|
|
118
33
|
return this.#s({
|
|
119
|
-
data:
|
|
34
|
+
data: i,
|
|
120
35
|
type: "success",
|
|
121
36
|
dataUpdatedAt: e?.updatedAt,
|
|
122
37
|
manual: e?.manual
|
|
123
|
-
}),
|
|
38
|
+
}), i;
|
|
124
39
|
}
|
|
125
|
-
setState(t) {
|
|
126
|
-
this.#s({ type: "setState", state: t });
|
|
40
|
+
setState(t, e) {
|
|
41
|
+
this.#s({ type: "setState", state: t, setStateOptions: e });
|
|
127
42
|
}
|
|
128
43
|
cancel(t) {
|
|
129
44
|
const e = this.#t?.promise;
|
|
130
|
-
return this.#t?.cancel(t), e ? e.then(
|
|
45
|
+
return this.#t?.cancel(t), e ? e.then(c).catch(c) : Promise.resolve();
|
|
131
46
|
}
|
|
132
47
|
destroy() {
|
|
133
48
|
super.destroy(), this.cancel({ silent: !0 });
|
|
134
49
|
}
|
|
135
|
-
get resetState() {
|
|
136
|
-
return this.#r;
|
|
137
|
-
}
|
|
138
50
|
reset() {
|
|
139
|
-
this.destroy(), this.setState(this
|
|
51
|
+
this.destroy(), this.setState(this.#i);
|
|
140
52
|
}
|
|
141
53
|
isActive() {
|
|
142
54
|
return this.observers.some(
|
|
143
|
-
(t) =>
|
|
55
|
+
(t) => b(t.options.enabled, this) !== !1
|
|
144
56
|
);
|
|
145
57
|
}
|
|
146
58
|
isDisabled() {
|
|
147
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
148
|
-
}
|
|
149
|
-
isFetched() {
|
|
150
|
-
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
59
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === C || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
|
|
151
60
|
}
|
|
152
61
|
isStatic() {
|
|
153
62
|
return this.getObserversCount() > 0 ? this.observers.some(
|
|
154
|
-
(t) =>
|
|
63
|
+
(t) => S(t.options.staleTime, this) === "static"
|
|
155
64
|
) : !1;
|
|
156
65
|
}
|
|
157
66
|
isStale() {
|
|
@@ -160,7 +69,7 @@ var J = class extends T {
|
|
|
160
69
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
|
161
70
|
}
|
|
162
71
|
isStaleByTime(t = 0) {
|
|
163
|
-
return this.state.data === void 0 ? !0 : t === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
72
|
+
return this.state.data === void 0 ? !0 : t === "static" ? !1 : this.state.isInvalidated ? !0 : !F(this.state.dataUpdatedAt, t);
|
|
164
73
|
}
|
|
165
74
|
onFocus() {
|
|
166
75
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#t?.continue();
|
|
@@ -172,14 +81,11 @@ var J = class extends T {
|
|
|
172
81
|
this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), this.#e.notify({ type: "observerAdded", query: this, observer: t }));
|
|
173
82
|
}
|
|
174
83
|
removeObserver(t) {
|
|
175
|
-
this.observers.includes(t) && (this.observers = this.observers.filter((e) => e !== t), this.observers.length || (this.#t && (this.#
|
|
84
|
+
this.observers.includes(t) && (this.observers = this.observers.filter((e) => e !== t), this.observers.length || (this.#t && (this.#a ? this.#t.cancel({ revert: !0 }) : this.#t.cancelRetry()), this.scheduleGc()), this.#e.notify({ type: "observerRemoved", query: this, observer: t }));
|
|
176
85
|
}
|
|
177
86
|
getObserversCount() {
|
|
178
87
|
return this.observers.length;
|
|
179
88
|
}
|
|
180
|
-
#h() {
|
|
181
|
-
return this.state.fetchStatus === "paused" && this.state.status === "pending";
|
|
182
|
-
}
|
|
183
89
|
invalidate() {
|
|
184
90
|
this.state.isInvalidated || this.#s({ type: "invalidate" });
|
|
185
91
|
}
|
|
@@ -194,55 +100,53 @@ var J = class extends T {
|
|
|
194
100
|
return this.#t.continueRetry(), this.#t.promise;
|
|
195
101
|
}
|
|
196
102
|
if (t && this.setOptions(t), !this.options.queryFn) {
|
|
197
|
-
const s = this.observers.find((
|
|
103
|
+
const s = this.observers.find((o) => o.options.queryFn);
|
|
198
104
|
s && this.setOptions(s.options);
|
|
199
105
|
}
|
|
200
106
|
process.env.NODE_ENV !== "production" && (Array.isArray(this.options.queryKey) || console.error(
|
|
201
107
|
"As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"
|
|
202
108
|
));
|
|
203
|
-
const
|
|
109
|
+
const i = new AbortController(), r = (s) => {
|
|
204
110
|
Object.defineProperty(s, "signal", {
|
|
205
111
|
enumerable: !0,
|
|
206
|
-
get: () => (this.#
|
|
112
|
+
get: () => (this.#a = !0, i.signal)
|
|
207
113
|
});
|
|
208
|
-
},
|
|
209
|
-
const s = A(this.options, e),
|
|
210
|
-
const
|
|
211
|
-
client: this.#
|
|
114
|
+
}, n = () => {
|
|
115
|
+
const s = A(this.options, e), h = (() => {
|
|
116
|
+
const u = {
|
|
117
|
+
client: this.#r,
|
|
212
118
|
queryKey: this.queryKey,
|
|
213
119
|
meta: this.meta
|
|
214
120
|
};
|
|
215
|
-
return
|
|
121
|
+
return r(u), u;
|
|
216
122
|
})();
|
|
217
|
-
return this.#
|
|
123
|
+
return this.#a = !1, this.options.persister ? this.options.persister(
|
|
218
124
|
s,
|
|
219
|
-
|
|
125
|
+
h,
|
|
220
126
|
this
|
|
221
|
-
) : s(
|
|
222
|
-
},
|
|
127
|
+
) : s(h);
|
|
128
|
+
}, a = (() => {
|
|
223
129
|
const s = {
|
|
224
130
|
fetchOptions: e,
|
|
225
131
|
options: this.options,
|
|
226
132
|
queryKey: this.queryKey,
|
|
227
|
-
client: this.#
|
|
133
|
+
client: this.#r,
|
|
228
134
|
state: this.state,
|
|
229
|
-
fetchFn:
|
|
135
|
+
fetchFn: n
|
|
230
136
|
};
|
|
231
|
-
return
|
|
137
|
+
return r(s), s;
|
|
232
138
|
})();
|
|
233
|
-
(this.#n === "
|
|
234
|
-
this.options.pages
|
|
235
|
-
) : this.options.behavior)?.onFetch(n, this), this.#o = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== n.fetchOptions?.meta) && this.#s({ type: "fetch", meta: n.fetchOptions?.meta }), this.#t = H({
|
|
139
|
+
this.options.behavior?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#s({ type: "fetch", meta: a.fetchOptions?.meta }), this.#t = g({
|
|
236
140
|
initialPromise: e?.initialPromise,
|
|
237
|
-
fn:
|
|
141
|
+
fn: a.fetchFn,
|
|
238
142
|
onCancel: (s) => {
|
|
239
|
-
s instanceof
|
|
240
|
-
...this.#
|
|
143
|
+
s instanceof d && s.revert && this.setState({
|
|
144
|
+
...this.#n,
|
|
241
145
|
fetchStatus: "idle"
|
|
242
|
-
}),
|
|
146
|
+
}), i.abort();
|
|
243
147
|
},
|
|
244
|
-
onFail: (s,
|
|
245
|
-
this.#s({ type: "failed", failureCount: s, error:
|
|
148
|
+
onFail: (s, o) => {
|
|
149
|
+
this.#s({ type: "failed", failureCount: s, error: o });
|
|
246
150
|
},
|
|
247
151
|
onPause: () => {
|
|
248
152
|
this.#s({ type: "pause" });
|
|
@@ -250,9 +154,9 @@ var J = class extends T {
|
|
|
250
154
|
onContinue: () => {
|
|
251
155
|
this.#s({ type: "continue" });
|
|
252
156
|
},
|
|
253
|
-
retry:
|
|
254
|
-
retryDelay:
|
|
255
|
-
networkMode:
|
|
157
|
+
retry: a.options.retry,
|
|
158
|
+
retryDelay: a.options.retryDelay,
|
|
159
|
+
networkMode: a.options.networkMode,
|
|
256
160
|
canRun: () => !0
|
|
257
161
|
});
|
|
258
162
|
try {
|
|
@@ -267,7 +171,7 @@ var J = class extends T {
|
|
|
267
171
|
this
|
|
268
172
|
), s;
|
|
269
173
|
} catch (s) {
|
|
270
|
-
if (s instanceof
|
|
174
|
+
if (s instanceof d) {
|
|
271
175
|
if (s.silent)
|
|
272
176
|
return this.#t.promise;
|
|
273
177
|
if (s.revert) {
|
|
@@ -292,51 +196,51 @@ var J = class extends T {
|
|
|
292
196
|
}
|
|
293
197
|
}
|
|
294
198
|
#s(t) {
|
|
295
|
-
const e = (
|
|
199
|
+
const e = (i) => {
|
|
296
200
|
switch (t.type) {
|
|
297
201
|
case "failed":
|
|
298
202
|
return {
|
|
299
|
-
...
|
|
203
|
+
...i,
|
|
300
204
|
fetchFailureCount: t.failureCount,
|
|
301
205
|
fetchFailureReason: t.error
|
|
302
206
|
};
|
|
303
207
|
case "pause":
|
|
304
208
|
return {
|
|
305
|
-
...
|
|
209
|
+
...i,
|
|
306
210
|
fetchStatus: "paused"
|
|
307
211
|
};
|
|
308
212
|
case "continue":
|
|
309
213
|
return {
|
|
310
|
-
...
|
|
214
|
+
...i,
|
|
311
215
|
fetchStatus: "fetching"
|
|
312
216
|
};
|
|
313
217
|
case "fetch":
|
|
314
218
|
return {
|
|
315
|
-
...
|
|
316
|
-
...
|
|
219
|
+
...i,
|
|
220
|
+
...U(i.data, this.options),
|
|
317
221
|
fetchMeta: t.meta ?? null
|
|
318
222
|
};
|
|
319
223
|
case "success":
|
|
320
|
-
const
|
|
321
|
-
...
|
|
322
|
-
...
|
|
323
|
-
dataUpdateCount:
|
|
224
|
+
const r = {
|
|
225
|
+
...i,
|
|
226
|
+
...l(t.data, t.dataUpdatedAt),
|
|
227
|
+
dataUpdateCount: i.dataUpdateCount + 1,
|
|
324
228
|
...!t.manual && {
|
|
325
229
|
fetchStatus: "idle",
|
|
326
230
|
fetchFailureCount: 0,
|
|
327
231
|
fetchFailureReason: null
|
|
328
232
|
}
|
|
329
233
|
};
|
|
330
|
-
return this.#
|
|
234
|
+
return this.#n = t.manual ? r : void 0, r;
|
|
331
235
|
case "error":
|
|
332
|
-
const
|
|
236
|
+
const n = t.error;
|
|
333
237
|
return {
|
|
334
|
-
...
|
|
335
|
-
error:
|
|
336
|
-
errorUpdateCount:
|
|
238
|
+
...i,
|
|
239
|
+
error: n,
|
|
240
|
+
errorUpdateCount: i.errorUpdateCount + 1,
|
|
337
241
|
errorUpdatedAt: Date.now(),
|
|
338
|
-
fetchFailureCount:
|
|
339
|
-
fetchFailureReason:
|
|
242
|
+
fetchFailureCount: i.fetchFailureCount + 1,
|
|
243
|
+
fetchFailureReason: n,
|
|
340
244
|
fetchStatus: "idle",
|
|
341
245
|
status: "error",
|
|
342
246
|
// flag existing data as invalidated if we get a background error
|
|
@@ -345,35 +249,35 @@ var J = class extends T {
|
|
|
345
249
|
};
|
|
346
250
|
case "invalidate":
|
|
347
251
|
return {
|
|
348
|
-
...
|
|
252
|
+
...i,
|
|
349
253
|
isInvalidated: !0
|
|
350
254
|
};
|
|
351
255
|
case "setState":
|
|
352
256
|
return {
|
|
353
|
-
...
|
|
257
|
+
...i,
|
|
354
258
|
...t.state
|
|
355
259
|
};
|
|
356
260
|
}
|
|
357
261
|
};
|
|
358
|
-
this.state = e(this.state),
|
|
359
|
-
this.observers.forEach((
|
|
360
|
-
|
|
262
|
+
this.state = e(this.state), q.batch(() => {
|
|
263
|
+
this.observers.forEach((i) => {
|
|
264
|
+
i.onQueryUpdate();
|
|
361
265
|
}), this.#e.notify({ query: this, type: "updated", action: t });
|
|
362
266
|
});
|
|
363
267
|
}
|
|
364
268
|
};
|
|
365
|
-
function
|
|
269
|
+
function U(t, e) {
|
|
366
270
|
return {
|
|
367
271
|
fetchFailureCount: 0,
|
|
368
272
|
fetchFailureReason: null,
|
|
369
|
-
fetchStatus:
|
|
273
|
+
fetchStatus: D(e.networkMode) ? "fetching" : "paused",
|
|
370
274
|
...t === void 0 && {
|
|
371
275
|
error: null,
|
|
372
276
|
status: "pending"
|
|
373
277
|
}
|
|
374
278
|
};
|
|
375
279
|
}
|
|
376
|
-
function
|
|
280
|
+
function l(t, e) {
|
|
377
281
|
return {
|
|
378
282
|
data: t,
|
|
379
283
|
dataUpdatedAt: e ?? Date.now(),
|
|
@@ -382,12 +286,12 @@ function S(t, e) {
|
|
|
382
286
|
status: "success"
|
|
383
287
|
};
|
|
384
288
|
}
|
|
385
|
-
function
|
|
386
|
-
const e = typeof t.initialData == "function" ? t.initialData() : t.initialData,
|
|
289
|
+
function f(t) {
|
|
290
|
+
const e = typeof t.initialData == "function" ? t.initialData() : t.initialData, i = e !== void 0, r = i ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
|
|
387
291
|
return {
|
|
388
292
|
data: e,
|
|
389
293
|
dataUpdateCount: 0,
|
|
390
|
-
dataUpdatedAt:
|
|
294
|
+
dataUpdatedAt: i ? r ?? Date.now() : 0,
|
|
391
295
|
error: null,
|
|
392
296
|
errorUpdateCount: 0,
|
|
393
297
|
errorUpdatedAt: 0,
|
|
@@ -395,16 +299,14 @@ function q(t) {
|
|
|
395
299
|
fetchFailureReason: null,
|
|
396
300
|
fetchMeta: null,
|
|
397
301
|
isInvalidated: !1,
|
|
398
|
-
status:
|
|
302
|
+
status: i ? "success" : "pending",
|
|
399
303
|
fetchStatus: "idle"
|
|
400
304
|
};
|
|
401
305
|
}
|
|
402
|
-
var
|
|
306
|
+
var y = p.createContext(!1), x = () => p.useContext(y), I = y.Provider;
|
|
403
307
|
export {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
z as h,
|
|
409
|
-
L as u
|
|
308
|
+
I,
|
|
309
|
+
w as Q,
|
|
310
|
+
U as f,
|
|
311
|
+
x as u
|
|
410
312
|
};
|