welcome-ui 8.0.0 → 8.0.2
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/AXB53BZF-BOEe01VW.mjs +25 -0
- package/dist/Accordion.mjs +17 -17
- package/dist/Alert.mjs +19 -19
- package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-B1IDizRs.mjs} +298 -295
- package/dist/Badge.mjs +1 -1
- package/dist/Breadcrumb.mjs +27 -26
- package/dist/Button.mjs +2 -2
- package/dist/Checkbox.mjs +1 -1
- package/dist/{CustomInput-D_13Gd_3.mjs → CustomInput-IA_gVoXd.mjs} +2991 -2859
- package/dist/DatePicker.mjs +4 -4
- package/dist/DateTimePicker.mjs +9 -9
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +7 -7
- package/dist/DropdownMenu.mjs +262 -262
- package/dist/Field.mjs +25 -25
- package/dist/FileDrop.mjs +273 -267
- package/dist/FileUpload.mjs +26 -26
- package/dist/Files.mjs +1 -1
- package/dist/Hint.mjs +1 -1
- package/dist/{ITI7HKP4-BONrZ9Pq.mjs → ITI7HKP4-EL9KXYBU.mjs} +150 -150
- package/dist/Icons.mjs +88 -88
- package/dist/IconsFont.mjs +159 -159
- package/dist/InputText.mjs +1 -1
- package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-BzklVBKM.mjs} +70 -70
- package/dist/KUU7WJ55-CS4NemC6.mjs +61 -0
- package/dist/{LVA2YJMS-qFC9J-lt.mjs → LVA2YJMS-DDEmK0pp.mjs} +491 -488
- package/dist/Label.mjs +2 -2
- package/dist/Link.mjs +3 -3
- package/dist/MTZPJQMC-CMjAwC0N.mjs +15 -0
- package/dist/Modal.mjs +13 -13
- package/dist/NLEBE274-QOMV1l7e.mjs +84 -0
- package/dist/P2CTZE2T-Cl2w7OLV.mjs +300 -0
- package/dist/P4IRICAX-DezbJY4s.mjs +37 -0
- package/dist/Pagination.mjs +22 -22
- package/dist/Picker.mjs +2 -2
- package/dist/Popover.mjs +2 -2
- package/dist/QYJ6MIDR-Bb0O5xUM.mjs +97 -0
- package/dist/Radio.mjs +18 -18
- package/dist/RadioGroup.mjs +15 -15
- package/dist/RadioTab.mjs +9 -9
- package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-jn06-eLy.mjs} +17 -17
- package/dist/Search.mjs +2 -2
- package/dist/Select.mjs +719 -716
- package/dist/Shape.mjs +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/Swiper.mjs +284 -278
- package/dist/Tabs.mjs +128 -128
- package/dist/Tag.mjs +16 -16
- package/dist/Text.mjs +1 -1
- package/dist/Textarea.mjs +4 -4
- package/dist/TimePicker.mjs +6 -6
- package/dist/Toast.mjs +69 -69
- package/dist/Toggle.mjs +2 -2
- package/dist/Tooltip.mjs +60 -60
- package/dist/UniversalLink.mjs +8 -8
- package/dist/VEVQD5MH-CuegL0m0.mjs +20 -0
- package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-BMzoZtCu.mjs} +31 -33
- package/dist/VariantIcon.mjs +4 -4
- package/dist/WelcomeLoader.mjs +4862 -9223
- package/dist/X5NMLKT6-CvSCix-_.mjs +25 -0
- package/dist/YV4JVR4I-Bh7B7TET.mjs +344 -0
- package/dist/downshift.esm-D0ns_SQs.mjs +1082 -0
- package/dist/{field-styles-DLIhqG_8.mjs → field-styles-CfVLcVQp.mjs} +1 -1
- package/dist/{index-BDeIsk2X.mjs → index-5PUh49rV.mjs} +56 -56
- package/dist/{index-DEJJvyGk.mjs → index-B0gDDiFm.mjs} +7 -7
- package/dist/{index-CExLVjET.mjs → index-B22SHR8h.mjs} +4 -4
- package/dist/index-BhcLigYU.mjs +77 -0
- package/dist/{index-BJAZgeHL.mjs → index-Bkl89twW.mjs} +4 -4
- package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
- package/dist/{index-BpRjq7lj.mjs → index-CQD9fgf_.mjs} +3 -3
- package/dist/{index-BRDOakbf.mjs → index-CmsWSKKs.mjs} +5 -5
- package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
- package/dist/{index-BrfXjmHY.mjs → index-wr_b5GSV.mjs} +6 -6
- package/dist/radio-group-RFyDp0KD.mjs +51 -0
- package/dist/theme.mjs +670 -615
- package/dist/{use-viewport-m3glsbna.mjs → use-viewport-CfklieD-.mjs} +5 -5
- package/dist/utils.mjs +29 -91
- package/package.json +10 -13
- package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
- package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
- package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
- package/dist/NLEBE274-C94QU78N.mjs +0 -84
- package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
- package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
- package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
- package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
- package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
- package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
- package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
- package/dist/radio-group-CGC6DTFJ.mjs +0 -51
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { i as re, $ as C, a0 as ue, Q as F, a1 as ae, a2 as oe, a3 as se, B as ie, D as ce, a4 as fe, J as le, F as G, d as de, g as U, b as Se, a5 as pe } from "./LVA2YJMS-qFC9J-lt.mjs";
|
|
3
|
-
import * as I from "react";
|
|
4
|
-
import Q from "react";
|
|
5
|
-
import { g as _e } from "./_commonjsHelpers-CXJ7dpIk.mjs";
|
|
6
|
-
function D(e, n) {
|
|
7
|
-
const t = e.__unstableInternals;
|
|
8
|
-
return re(t, "Invalid store"), t[n];
|
|
9
|
-
}
|
|
10
|
-
function q(e, ...n) {
|
|
11
|
-
let t = e, l = t, o = Symbol(), u = fe;
|
|
12
|
-
const s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), _ = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), g = (a) => (_.add(a), () => _.delete(a)), x = () => {
|
|
13
|
-
const a = s.size, r = Symbol();
|
|
14
|
-
s.add(r);
|
|
15
|
-
const b = () => {
|
|
16
|
-
s.delete(r), !s.size && u();
|
|
17
|
-
};
|
|
18
|
-
if (a) return b;
|
|
19
|
-
const w = ue(t).map(
|
|
20
|
-
(L) => F(
|
|
21
|
-
...n.map((V) => {
|
|
22
|
-
var h;
|
|
23
|
-
const T = (h = V == null ? void 0 : V.getState) == null ? void 0 : h.call(V);
|
|
24
|
-
if (T && C(T, L))
|
|
25
|
-
return k(V, [L], (j) => {
|
|
26
|
-
p(
|
|
27
|
-
L,
|
|
28
|
-
j[L],
|
|
29
|
-
// @ts-expect-error - Not public API. This is just to prevent
|
|
30
|
-
// infinite loops.
|
|
31
|
-
!0
|
|
32
|
-
);
|
|
33
|
-
});
|
|
34
|
-
})
|
|
35
|
-
)
|
|
36
|
-
), A = [];
|
|
37
|
-
for (const L of _)
|
|
38
|
-
A.push(L());
|
|
39
|
-
const K = n.map(X);
|
|
40
|
-
return u = F(...w, ...A, ...K), b;
|
|
41
|
-
}, E = (a, r, b = m) => (b.add(r), d.set(r, a), () => {
|
|
42
|
-
var w;
|
|
43
|
-
(w = i.get(r)) == null || w(), i.delete(r), d.delete(r), b.delete(r);
|
|
44
|
-
}), R = (a, r) => E(a, r), P = (a, r) => (i.set(r, r(t, t)), E(a, r)), B = (a, r) => (i.set(r, r(t, l)), E(a, r, v)), S = (a) => q(ae(t, a), y), f = (a) => q(oe(t, a), y), O = () => t, p = (a, r, b = !1) => {
|
|
45
|
-
var w;
|
|
46
|
-
if (!C(t, a)) return;
|
|
47
|
-
const A = se(r, t[a]);
|
|
48
|
-
if (A === t[a]) return;
|
|
49
|
-
if (!b)
|
|
50
|
-
for (const h of n)
|
|
51
|
-
(w = h == null ? void 0 : h.setState) == null || w.call(h, a, A);
|
|
52
|
-
const K = t;
|
|
53
|
-
t = ie(ce({}, t), { [a]: A });
|
|
54
|
-
const L = Symbol();
|
|
55
|
-
o = L, c.add(a);
|
|
56
|
-
const V = (h, T, j) => {
|
|
57
|
-
var $;
|
|
58
|
-
const H = d.get(h), ne = (z) => j ? j.has(z) : z === a;
|
|
59
|
-
(!H || H.some(ne)) && (($ = i.get(h)) == null || $(), i.set(h, h(t, T)));
|
|
60
|
-
};
|
|
61
|
-
for (const h of m)
|
|
62
|
-
V(h, K);
|
|
63
|
-
queueMicrotask(() => {
|
|
64
|
-
if (o !== L) return;
|
|
65
|
-
const h = t;
|
|
66
|
-
for (const T of v)
|
|
67
|
-
V(T, l, c);
|
|
68
|
-
l = h, c.clear();
|
|
69
|
-
});
|
|
70
|
-
}, y = {
|
|
71
|
-
getState: O,
|
|
72
|
-
setState: p,
|
|
73
|
-
__unstableInternals: {
|
|
74
|
-
setup: g,
|
|
75
|
-
init: x,
|
|
76
|
-
subscribe: R,
|
|
77
|
-
sync: P,
|
|
78
|
-
batch: B,
|
|
79
|
-
pick: S,
|
|
80
|
-
omit: f
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
return y;
|
|
84
|
-
}
|
|
85
|
-
function Le(e, ...n) {
|
|
86
|
-
if (e)
|
|
87
|
-
return D(e, "setup")(...n);
|
|
88
|
-
}
|
|
89
|
-
function X(e, ...n) {
|
|
90
|
-
if (e)
|
|
91
|
-
return D(e, "init")(...n);
|
|
92
|
-
}
|
|
93
|
-
function Z(e, ...n) {
|
|
94
|
-
if (e)
|
|
95
|
-
return D(e, "subscribe")(...n);
|
|
96
|
-
}
|
|
97
|
-
function k(e, ...n) {
|
|
98
|
-
if (e)
|
|
99
|
-
return D(e, "sync")(...n);
|
|
100
|
-
}
|
|
101
|
-
function ve(e, ...n) {
|
|
102
|
-
if (e)
|
|
103
|
-
return D(e, "batch")(...n);
|
|
104
|
-
}
|
|
105
|
-
function xe(e, ...n) {
|
|
106
|
-
if (e)
|
|
107
|
-
return D(e, "omit")(...n);
|
|
108
|
-
}
|
|
109
|
-
function Re(e, ...n) {
|
|
110
|
-
if (e)
|
|
111
|
-
return D(e, "pick")(...n);
|
|
112
|
-
}
|
|
113
|
-
function Ve(...e) {
|
|
114
|
-
const n = e.reduce((l, o) => {
|
|
115
|
-
var u;
|
|
116
|
-
const s = (u = o == null ? void 0 : o.getState) == null ? void 0 : u.call(o);
|
|
117
|
-
return s ? Object.assign(l, s) : l;
|
|
118
|
-
}, {}), t = q(n, ...e);
|
|
119
|
-
return Object.assign({}, ...e, t);
|
|
120
|
-
}
|
|
121
|
-
function De(e, n) {
|
|
122
|
-
if (process.env.NODE_ENV === "production" || !n) return;
|
|
123
|
-
const t = Object.entries(e).filter(([u, s]) => u.startsWith("default") && s !== void 0).map(([u]) => {
|
|
124
|
-
var s;
|
|
125
|
-
const c = u.replace("default", "");
|
|
126
|
-
return `${((s = c[0]) == null ? void 0 : s.toLowerCase()) || ""}${c.slice(1)}`;
|
|
127
|
-
});
|
|
128
|
-
if (!t.length) return;
|
|
129
|
-
const l = n.getState();
|
|
130
|
-
if (t.filter(
|
|
131
|
-
(u) => C(l, u)
|
|
132
|
-
).length)
|
|
133
|
-
throw new Error(
|
|
134
|
-
`Passing a store prop in conjunction with a default state is not supported.
|
|
135
|
-
|
|
136
|
-
const store = useSelectStore();
|
|
137
|
-
<SelectProvider store={store} defaultValue="Apple" />
|
|
138
|
-
^ ^
|
|
139
|
-
|
|
140
|
-
Instead, pass the default state to the topmost store:
|
|
141
|
-
|
|
142
|
-
const store = useSelectStore({ defaultValue: "Apple" });
|
|
143
|
-
<SelectProvider store={store} />
|
|
144
|
-
|
|
145
|
-
See https://github.com/ariakit/ariakit/pull/2745 for more details.
|
|
146
|
-
|
|
147
|
-
If there's a particular need for this, please submit a feature request at https://github.com/ariakit/ariakit
|
|
148
|
-
`
|
|
149
|
-
);
|
|
150
|
-
}
|
|
151
|
-
var W = { exports: {} }, M = {}, Y;
|
|
152
|
-
function he() {
|
|
153
|
-
if (Y) return M;
|
|
154
|
-
Y = 1;
|
|
155
|
-
var e = Q;
|
|
156
|
-
function n(i, d) {
|
|
157
|
-
return i === d && (i !== 0 || 1 / i === 1 / d) || i !== i && d !== d;
|
|
158
|
-
}
|
|
159
|
-
var t = typeof Object.is == "function" ? Object.is : n, l = e.useState, o = e.useEffect, u = e.useLayoutEffect, s = e.useDebugValue;
|
|
160
|
-
function c(i, d) {
|
|
161
|
-
var g = d(), x = l({ inst: { value: g, getSnapshot: d } }), E = x[0].inst, R = x[1];
|
|
162
|
-
return u(function() {
|
|
163
|
-
E.value = g, E.getSnapshot = d, _(E) && R({ inst: E });
|
|
164
|
-
}, [i, g, d]), o(function() {
|
|
165
|
-
return _(E) && R({ inst: E }), i(function() {
|
|
166
|
-
_(E) && R({ inst: E });
|
|
167
|
-
});
|
|
168
|
-
}, [i]), s(g), g;
|
|
169
|
-
}
|
|
170
|
-
function _(i) {
|
|
171
|
-
var d = i.getSnapshot;
|
|
172
|
-
i = i.value;
|
|
173
|
-
try {
|
|
174
|
-
var g = d();
|
|
175
|
-
return !t(i, g);
|
|
176
|
-
} catch {
|
|
177
|
-
return !0;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
function m(i, d) {
|
|
181
|
-
return d();
|
|
182
|
-
}
|
|
183
|
-
var v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : c;
|
|
184
|
-
return M.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : v, M;
|
|
185
|
-
}
|
|
186
|
-
var N = {}, J;
|
|
187
|
-
function me() {
|
|
188
|
-
return J || (J = 1, process.env.NODE_ENV !== "production" && function() {
|
|
189
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
190
|
-
var e = Q, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
191
|
-
function t(S) {
|
|
192
|
-
{
|
|
193
|
-
for (var f = arguments.length, O = new Array(f > 1 ? f - 1 : 0), p = 1; p < f; p++)
|
|
194
|
-
O[p - 1] = arguments[p];
|
|
195
|
-
l("error", S, O);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
function l(S, f, O) {
|
|
199
|
-
{
|
|
200
|
-
var p = n.ReactDebugCurrentFrame, y = p.getStackAddendum();
|
|
201
|
-
y !== "" && (f += "%s", O = O.concat([y]));
|
|
202
|
-
var a = O.map(function(r) {
|
|
203
|
-
return String(r);
|
|
204
|
-
});
|
|
205
|
-
a.unshift("Warning: " + f), Function.prototype.apply.call(console[S], console, a);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
function o(S, f) {
|
|
209
|
-
return S === f && (S !== 0 || 1 / S === 1 / f) || S !== S && f !== f;
|
|
210
|
-
}
|
|
211
|
-
var u = typeof Object.is == "function" ? Object.is : o, s = e.useState, c = e.useEffect, _ = e.useLayoutEffect, m = e.useDebugValue, v = !1, i = !1;
|
|
212
|
-
function d(S, f, O) {
|
|
213
|
-
v || e.startTransition !== void 0 && (v = !0, t("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
214
|
-
var p = f();
|
|
215
|
-
if (!i) {
|
|
216
|
-
var y = f();
|
|
217
|
-
u(p, y) || (t("The result of getSnapshot should be cached to avoid an infinite loop"), i = !0);
|
|
218
|
-
}
|
|
219
|
-
var a = s({
|
|
220
|
-
inst: {
|
|
221
|
-
value: p,
|
|
222
|
-
getSnapshot: f
|
|
223
|
-
}
|
|
224
|
-
}), r = a[0].inst, b = a[1];
|
|
225
|
-
return _(function() {
|
|
226
|
-
r.value = p, r.getSnapshot = f, g(r) && b({
|
|
227
|
-
inst: r
|
|
228
|
-
});
|
|
229
|
-
}, [S, p, f]), c(function() {
|
|
230
|
-
g(r) && b({
|
|
231
|
-
inst: r
|
|
232
|
-
});
|
|
233
|
-
var w = function() {
|
|
234
|
-
g(r) && b({
|
|
235
|
-
inst: r
|
|
236
|
-
});
|
|
237
|
-
};
|
|
238
|
-
return S(w);
|
|
239
|
-
}, [S]), m(p), p;
|
|
240
|
-
}
|
|
241
|
-
function g(S) {
|
|
242
|
-
var f = S.getSnapshot, O = S.value;
|
|
243
|
-
try {
|
|
244
|
-
var p = f();
|
|
245
|
-
return !u(O, p);
|
|
246
|
-
} catch {
|
|
247
|
-
return !0;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
function x(S, f, O) {
|
|
251
|
-
return f();
|
|
252
|
-
}
|
|
253
|
-
var E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", R = !E, P = R ? x : d, B = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : P;
|
|
254
|
-
N.useSyncExternalStore = B, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
255
|
-
}()), N;
|
|
256
|
-
}
|
|
257
|
-
process.env.NODE_ENV === "production" ? W.exports = he() : W.exports = me();
|
|
258
|
-
var Ee = W.exports;
|
|
259
|
-
const ge = /* @__PURE__ */ _e(Ee);
|
|
260
|
-
var { useSyncExternalStore: ee } = ge, te = () => () => {
|
|
261
|
-
};
|
|
262
|
-
function Oe(e, n = le) {
|
|
263
|
-
const t = I.useCallback(
|
|
264
|
-
(o) => e ? Z(e, null, o) : te(),
|
|
265
|
-
[e]
|
|
266
|
-
), l = () => {
|
|
267
|
-
const o = typeof n == "string" ? n : null, u = typeof n == "function" ? n : null, s = e == null ? void 0 : e.getState();
|
|
268
|
-
if (u) return u(s);
|
|
269
|
-
if (s && o && C(s, o))
|
|
270
|
-
return s[o];
|
|
271
|
-
};
|
|
272
|
-
return ee(t, l, l);
|
|
273
|
-
}
|
|
274
|
-
function Ae(e, n) {
|
|
275
|
-
const t = I.useRef(
|
|
276
|
-
{}
|
|
277
|
-
), l = I.useCallback(
|
|
278
|
-
(u) => e ? Z(e, null, u) : te(),
|
|
279
|
-
[e]
|
|
280
|
-
), o = () => {
|
|
281
|
-
const u = e == null ? void 0 : e.getState();
|
|
282
|
-
let s = !1;
|
|
283
|
-
const c = t.current;
|
|
284
|
-
for (const _ in n) {
|
|
285
|
-
const m = n[_];
|
|
286
|
-
if (typeof m == "function") {
|
|
287
|
-
const v = m(u);
|
|
288
|
-
v !== c[_] && (c[_] = v, s = !0);
|
|
289
|
-
}
|
|
290
|
-
if (typeof m == "string") {
|
|
291
|
-
if (!u || !C(u, m)) continue;
|
|
292
|
-
const v = u[m];
|
|
293
|
-
v !== c[_] && (c[_] = v, s = !0);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return s && (t.current = U({}, c)), t.current;
|
|
297
|
-
};
|
|
298
|
-
return ee(l, o, o);
|
|
299
|
-
}
|
|
300
|
-
function Te(e, n, t, l) {
|
|
301
|
-
const o = C(n, t) ? n[t] : void 0, u = l ? n[l] : void 0, s = pe({ value: o, setValue: u });
|
|
302
|
-
G(() => k(e, [t], (c, _) => {
|
|
303
|
-
const { value: m, setValue: v } = s.current;
|
|
304
|
-
v && c[t] !== _[t] && c[t] !== m && v(c[t]);
|
|
305
|
-
}), [e, t]), G(() => {
|
|
306
|
-
if (o !== void 0)
|
|
307
|
-
return e.setState(t, o), ve(e, [t], () => {
|
|
308
|
-
o !== void 0 && e.setState(t, o);
|
|
309
|
-
});
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
function Ie(e, n) {
|
|
313
|
-
const [t, l] = I.useState(() => e(n));
|
|
314
|
-
G(() => X(t), [t]);
|
|
315
|
-
const o = I.useCallback(
|
|
316
|
-
(c) => Oe(t, c),
|
|
317
|
-
[t]
|
|
318
|
-
), u = I.useMemo(
|
|
319
|
-
() => de(U({}, t), { useState: o }),
|
|
320
|
-
[t, o]
|
|
321
|
-
), s = Se(() => {
|
|
322
|
-
l((c) => e(U(U({}, n), c.getState())));
|
|
323
|
-
});
|
|
324
|
-
return [u, s];
|
|
325
|
-
}
|
|
326
|
-
export {
|
|
327
|
-
Ie as a,
|
|
328
|
-
Te as b,
|
|
329
|
-
q as c,
|
|
330
|
-
k as d,
|
|
331
|
-
Z as e,
|
|
332
|
-
Ae as f,
|
|
333
|
-
ve as g,
|
|
334
|
-
X as i,
|
|
335
|
-
Ve as m,
|
|
336
|
-
xe as o,
|
|
337
|
-
Re as p,
|
|
338
|
-
Le as s,
|
|
339
|
-
De as t,
|
|
340
|
-
Oe as u
|
|
341
|
-
};
|