zudoku 0.3.0-dev.77 → 0.3.0-dev.78
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/config/validators/validate.d.ts +130 -130
- package/dist/lib/components/DevPortal.js +11 -2
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/core/plugins.d.ts +3 -0
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +2 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +8 -16
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +18 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -6
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +15 -15
- package/dist/lib/plugins/openapi/graphql/graphql.js +67 -67
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +8 -0
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +2 -3
- package/dist/lib/plugins/openapi/playground/PathParams.js +3 -4
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +22 -10
- package/dist/lib/plugins/openapi/playground/Playground.js +37 -25
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +2 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/QueryParams.js +10 -5
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/util/fetchTimeout.d.ts +1 -0
- package/dist/lib/util/fetchTimeout.js +14 -0
- package/dist/lib/util/fetchTimeout.js.map +1 -0
- package/lib/{CategoryHeading-D0V23fMT.js → CategoryHeading-DCmchnA1.js} +2 -2
- package/lib/{CategoryHeading-D0V23fMT.js.map → CategoryHeading-DCmchnA1.js.map} +1 -1
- package/lib/{Combination-CgxP9BB4.js → Combination-BIdpLnWg.js} +27 -33
- package/lib/Combination-BIdpLnWg.js.map +1 -0
- package/lib/DeveloperHint-DQVwIery.js +10 -0
- package/lib/DeveloperHint-DQVwIery.js.map +1 -0
- package/lib/{Input-BcZoDid4.js → Input-qyZciIJp.js} +3 -3
- package/lib/{Input-BcZoDid4.js.map → Input-qyZciIJp.js.map} +1 -1
- package/lib/{Markdown-IsabnbGN.js → Markdown-QsZ-PHET.js} +3 -3
- package/lib/{Markdown-IsabnbGN.js.map → Markdown-QsZ-PHET.js.map} +1 -1
- package/lib/{MdxPage-B1B2Inj5.js → MdxPage-V4FCB0C_.js} +3 -3
- package/lib/{MdxPage-B1B2Inj5.js.map → MdxPage-V4FCB0C_.js.map} +1 -1
- package/lib/OperationList-qfNEBPAx.js +4397 -0
- package/lib/OperationList-qfNEBPAx.js.map +1 -0
- package/lib/{Route-D0Ub80Oa.js → Route-CogU1ofM.js} +2 -2
- package/lib/{Route-D0Ub80Oa.js.map → Route-CogU1ofM.js.map} +1 -1
- package/lib/{SlotletProvider-CJXWb2gw.js → SlotletProvider-D_Vz-7c_.js} +4 -4
- package/lib/{SlotletProvider-CJXWb2gw.js.map → SlotletProvider-D_Vz-7c_.js.map} +1 -1
- package/lib/Spinner-yPSFgoZ8.js +244 -0
- package/lib/Spinner-yPSFgoZ8.js.map +1 -0
- package/lib/index-BpO_SgPQ.js +124 -0
- package/lib/index-BpO_SgPQ.js.map +1 -0
- package/lib/index-DccqEFTy.js +1878 -0
- package/lib/index-DccqEFTy.js.map +1 -0
- package/lib/{urql-DMlBWUKL.js → urql-DrBfkb92.js} +2 -3
- package/lib/{urql-DMlBWUKL.js.map → urql-DrBfkb92.js.map} +1 -1
- package/lib/zudoku.components.js +352 -348
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.plugin-api-keys.js +7 -6
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-page.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -4
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/DevPortal.tsx +14 -5
- package/src/lib/core/plugins.ts +7 -0
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +9 -17
- package/src/lib/plugins/openapi/Sidecar.tsx +23 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +8 -8
- package/src/lib/plugins/openapi/graphql/graphql.ts +80 -80
- package/src/lib/plugins/openapi/index.tsx +15 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +14 -20
- package/src/lib/plugins/openapi/playground/Playground.tsx +69 -45
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +8 -6
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +86 -72
- package/src/lib/util/fetchTimeout.tsx +21 -0
- package/lib/Combination-CgxP9BB4.js.map +0 -1
- package/lib/OperationList-B2nsuf1v.js +0 -5471
- package/lib/OperationList-B2nsuf1v.js.map +0 -1
- package/lib/Spinner-BhtSoFka.js +0 -359
- package/lib/Spinner-BhtSoFka.js.map +0 -1
- package/lib/index-BC2Ob2BR.js +0 -727
- package/lib/index-BC2Ob2BR.js.map +0 -1
package/lib/Spinner-BhtSoFka.js
DELETED
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
import * as r from "react";
|
|
2
|
-
import { createContext as se, useContext as ae, useState as ie, useEffect as ce, Children as ue } from "react";
|
|
3
|
-
import { u as _, r as w, c as le, a as G, k as de, o as K, f as fe, P as T, d as A, n as B } from "./Combination-CgxP9BB4.js";
|
|
4
|
-
import { j as p } from "./jsx-runtime-CJBdjYYx.js";
|
|
5
|
-
import * as pe from "react-dom";
|
|
6
|
-
import { c as me } from "./Markdown-IsabnbGN.js";
|
|
7
|
-
/**
|
|
8
|
-
* @license lucide-react v0.378.0 - ISC
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the ISC license.
|
|
11
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
const ge = me("LoaderCircle", [
|
|
14
|
-
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
15
|
-
]), ve = se({ stagger: !1 }), je = ({ children: e }) => {
|
|
16
|
-
const { stagger: t } = ae(ve), [o, n] = ie(!t);
|
|
17
|
-
return ce(() => {
|
|
18
|
-
if (o)
|
|
19
|
-
return;
|
|
20
|
-
const a = requestIdleCallback(() => {
|
|
21
|
-
n(!0);
|
|
22
|
-
});
|
|
23
|
-
return () => cancelIdleCallback(a);
|
|
24
|
-
}, [o]), o ? e : ue.toArray(e).slice(0, 3);
|
|
25
|
-
};
|
|
26
|
-
function be(e, t) {
|
|
27
|
-
return r.useReducer((o, n) => t[o][n] ?? o, e);
|
|
28
|
-
}
|
|
29
|
-
var W = (e) => {
|
|
30
|
-
const { present: t, children: o } = e, n = Ce(t), a = typeof o == "function" ? o({ present: n.isPresent }) : r.Children.only(o), l = _(n.ref, Re(a));
|
|
31
|
-
return typeof o == "function" || n.isPresent ? r.cloneElement(a, { ref: l }) : null;
|
|
32
|
-
};
|
|
33
|
-
W.displayName = "Presence";
|
|
34
|
-
function Ce(e) {
|
|
35
|
-
const [t, o] = r.useState(), n = r.useRef({}), a = r.useRef(e), l = r.useRef("none"), f = e ? "mounted" : "unmounted", [R, i] = be(f, {
|
|
36
|
-
mounted: {
|
|
37
|
-
UNMOUNT: "unmounted",
|
|
38
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
39
|
-
},
|
|
40
|
-
unmountSuspended: {
|
|
41
|
-
MOUNT: "mounted",
|
|
42
|
-
ANIMATION_END: "unmounted"
|
|
43
|
-
},
|
|
44
|
-
unmounted: {
|
|
45
|
-
MOUNT: "mounted"
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
return r.useEffect(() => {
|
|
49
|
-
const s = S(n.current);
|
|
50
|
-
l.current = R === "mounted" ? s : "none";
|
|
51
|
-
}, [R]), w(() => {
|
|
52
|
-
const s = n.current, m = a.current;
|
|
53
|
-
if (m !== e) {
|
|
54
|
-
const I = l.current, b = S(s);
|
|
55
|
-
e ? i("MOUNT") : b === "none" || (s == null ? void 0 : s.display) === "none" ? i("UNMOUNT") : i(m && I !== b ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
|
|
56
|
-
}
|
|
57
|
-
}, [e, i]), w(() => {
|
|
58
|
-
if (t) {
|
|
59
|
-
const s = (v) => {
|
|
60
|
-
const b = S(n.current).includes(v.animationName);
|
|
61
|
-
v.target === t && b && pe.flushSync(() => i("ANIMATION_END"));
|
|
62
|
-
}, m = (v) => {
|
|
63
|
-
v.target === t && (l.current = S(n.current));
|
|
64
|
-
};
|
|
65
|
-
return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", s), t.addEventListener("animationend", s), () => {
|
|
66
|
-
t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", s), t.removeEventListener("animationend", s);
|
|
67
|
-
};
|
|
68
|
-
} else
|
|
69
|
-
i("ANIMATION_END");
|
|
70
|
-
}, [t, i]), {
|
|
71
|
-
isPresent: ["mounted", "unmountSuspended"].includes(R),
|
|
72
|
-
ref: r.useCallback((s) => {
|
|
73
|
-
s && (n.current = getComputedStyle(s)), o(s);
|
|
74
|
-
}, [])
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function S(e) {
|
|
78
|
-
return (e == null ? void 0 : e.animationName) || "none";
|
|
79
|
-
}
|
|
80
|
-
function Re(e) {
|
|
81
|
-
var n, a;
|
|
82
|
-
let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
|
83
|
-
return o ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
84
|
-
}
|
|
85
|
-
var P = "rovingFocusGroup.onEntryFocus", Ie = { bubbles: !1, cancelable: !0 }, x = "RovingFocusGroup", [O, Y, Ne] = le(x), [Ae, ke] = G(
|
|
86
|
-
x,
|
|
87
|
-
[Ne]
|
|
88
|
-
), [Ee, he] = Ae(x), $ = r.forwardRef(
|
|
89
|
-
(e, t) => /* @__PURE__ */ p.jsx(O.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(O.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(Te, { ...e, ref: t }) }) })
|
|
90
|
-
);
|
|
91
|
-
$.displayName = x;
|
|
92
|
-
var Te = r.forwardRef((e, t) => {
|
|
93
|
-
const {
|
|
94
|
-
__scopeRovingFocusGroup: o,
|
|
95
|
-
orientation: n,
|
|
96
|
-
loop: a = !1,
|
|
97
|
-
dir: l,
|
|
98
|
-
currentTabStopId: f,
|
|
99
|
-
defaultCurrentTabStopId: R,
|
|
100
|
-
onCurrentTabStopIdChange: i,
|
|
101
|
-
onEntryFocus: s,
|
|
102
|
-
preventScrollOnEntryFocus: m = !1,
|
|
103
|
-
...v
|
|
104
|
-
} = e, I = r.useRef(null), b = _(t, I), u = de(l), [C = null, E] = K({
|
|
105
|
-
prop: f,
|
|
106
|
-
defaultProp: R,
|
|
107
|
-
onChange: i
|
|
108
|
-
}), [d, c] = r.useState(!1), h = fe(s), Z = Y(o), F = r.useRef(!1), [ee, j] = r.useState(0);
|
|
109
|
-
return r.useEffect(() => {
|
|
110
|
-
const g = I.current;
|
|
111
|
-
if (g)
|
|
112
|
-
return g.addEventListener(P, h), () => g.removeEventListener(P, h);
|
|
113
|
-
}, [h]), /* @__PURE__ */ p.jsx(
|
|
114
|
-
Ee,
|
|
115
|
-
{
|
|
116
|
-
scope: o,
|
|
117
|
-
orientation: n,
|
|
118
|
-
dir: u,
|
|
119
|
-
loop: a,
|
|
120
|
-
currentTabStopId: C,
|
|
121
|
-
onItemFocus: r.useCallback(
|
|
122
|
-
(g) => E(g),
|
|
123
|
-
[E]
|
|
124
|
-
),
|
|
125
|
-
onItemShiftTab: r.useCallback(() => c(!0), []),
|
|
126
|
-
onFocusableItemAdd: r.useCallback(
|
|
127
|
-
() => j((g) => g + 1),
|
|
128
|
-
[]
|
|
129
|
-
),
|
|
130
|
-
onFocusableItemRemove: r.useCallback(
|
|
131
|
-
() => j((g) => g - 1),
|
|
132
|
-
[]
|
|
133
|
-
),
|
|
134
|
-
children: /* @__PURE__ */ p.jsx(
|
|
135
|
-
T.div,
|
|
136
|
-
{
|
|
137
|
-
tabIndex: d || ee === 0 ? -1 : 0,
|
|
138
|
-
"data-orientation": n,
|
|
139
|
-
...v,
|
|
140
|
-
ref: b,
|
|
141
|
-
style: { outline: "none", ...e.style },
|
|
142
|
-
onMouseDown: A(e.onMouseDown, () => {
|
|
143
|
-
F.current = !0;
|
|
144
|
-
}),
|
|
145
|
-
onFocus: A(e.onFocus, (g) => {
|
|
146
|
-
const te = !F.current;
|
|
147
|
-
if (g.target === g.currentTarget && te && !d) {
|
|
148
|
-
const k = new CustomEvent(P, Ie);
|
|
149
|
-
if (g.currentTarget.dispatchEvent(k), !k.defaultPrevented) {
|
|
150
|
-
const y = Z().filter((N) => N.focusable), ne = y.find((N) => N.active), oe = y.find((N) => N.id === C), re = [ne, oe, ...y].filter(
|
|
151
|
-
Boolean
|
|
152
|
-
).map((N) => N.ref.current);
|
|
153
|
-
H(re, m);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
F.current = !1;
|
|
157
|
-
}),
|
|
158
|
-
onBlur: A(e.onBlur, () => c(!1))
|
|
159
|
-
}
|
|
160
|
-
)
|
|
161
|
-
}
|
|
162
|
-
);
|
|
163
|
-
}), q = "RovingFocusGroupItem", z = r.forwardRef(
|
|
164
|
-
(e, t) => {
|
|
165
|
-
const {
|
|
166
|
-
__scopeRovingFocusGroup: o,
|
|
167
|
-
focusable: n = !0,
|
|
168
|
-
active: a = !1,
|
|
169
|
-
tabStopId: l,
|
|
170
|
-
...f
|
|
171
|
-
} = e, R = B(), i = l || R, s = he(q, o), m = s.currentTabStopId === i, v = Y(o), { onFocusableItemAdd: I, onFocusableItemRemove: b } = s;
|
|
172
|
-
return r.useEffect(() => {
|
|
173
|
-
if (n)
|
|
174
|
-
return I(), () => b();
|
|
175
|
-
}, [n, I, b]), /* @__PURE__ */ p.jsx(
|
|
176
|
-
O.ItemSlot,
|
|
177
|
-
{
|
|
178
|
-
scope: o,
|
|
179
|
-
id: i,
|
|
180
|
-
focusable: n,
|
|
181
|
-
active: a,
|
|
182
|
-
children: /* @__PURE__ */ p.jsx(
|
|
183
|
-
T.span,
|
|
184
|
-
{
|
|
185
|
-
tabIndex: m ? 0 : -1,
|
|
186
|
-
"data-orientation": s.orientation,
|
|
187
|
-
...f,
|
|
188
|
-
ref: t,
|
|
189
|
-
onMouseDown: A(e.onMouseDown, (u) => {
|
|
190
|
-
n ? s.onItemFocus(i) : u.preventDefault();
|
|
191
|
-
}),
|
|
192
|
-
onFocus: A(e.onFocus, () => s.onItemFocus(i)),
|
|
193
|
-
onKeyDown: A(e.onKeyDown, (u) => {
|
|
194
|
-
if (u.key === "Tab" && u.shiftKey) {
|
|
195
|
-
s.onItemShiftTab();
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
if (u.target !== u.currentTarget) return;
|
|
199
|
-
const C = Fe(u, s.orientation, s.dir);
|
|
200
|
-
if (C !== void 0) {
|
|
201
|
-
if (u.metaKey || u.ctrlKey || u.altKey || u.shiftKey) return;
|
|
202
|
-
u.preventDefault();
|
|
203
|
-
let d = v().filter((c) => c.focusable).map((c) => c.ref.current);
|
|
204
|
-
if (C === "last") d.reverse();
|
|
205
|
-
else if (C === "prev" || C === "next") {
|
|
206
|
-
C === "prev" && d.reverse();
|
|
207
|
-
const c = d.indexOf(u.currentTarget);
|
|
208
|
-
d = s.loop ? ye(d, c + 1) : d.slice(c + 1);
|
|
209
|
-
}
|
|
210
|
-
setTimeout(() => H(d));
|
|
211
|
-
}
|
|
212
|
-
})
|
|
213
|
-
}
|
|
214
|
-
)
|
|
215
|
-
}
|
|
216
|
-
);
|
|
217
|
-
}
|
|
218
|
-
);
|
|
219
|
-
z.displayName = q;
|
|
220
|
-
var Se = {
|
|
221
|
-
ArrowLeft: "prev",
|
|
222
|
-
ArrowUp: "prev",
|
|
223
|
-
ArrowRight: "next",
|
|
224
|
-
ArrowDown: "next",
|
|
225
|
-
PageUp: "first",
|
|
226
|
-
Home: "first",
|
|
227
|
-
PageDown: "last",
|
|
228
|
-
End: "last"
|
|
229
|
-
};
|
|
230
|
-
function xe(e, t) {
|
|
231
|
-
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
232
|
-
}
|
|
233
|
-
function Fe(e, t, o) {
|
|
234
|
-
const n = xe(e.key, o);
|
|
235
|
-
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(n)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(n)))
|
|
236
|
-
return Se[n];
|
|
237
|
-
}
|
|
238
|
-
function H(e, t = !1) {
|
|
239
|
-
const o = document.activeElement;
|
|
240
|
-
for (const n of e)
|
|
241
|
-
if (n === o || (n.focus({ preventScroll: t }), document.activeElement !== o)) return;
|
|
242
|
-
}
|
|
243
|
-
function ye(e, t) {
|
|
244
|
-
return e.map((o, n) => e[(t + n) % e.length]);
|
|
245
|
-
}
|
|
246
|
-
var Ge = $, Ke = z, M = "Collapsible", [Pe, Be] = G(M), [we, D] = Pe(M), V = r.forwardRef(
|
|
247
|
-
(e, t) => {
|
|
248
|
-
const {
|
|
249
|
-
__scopeCollapsible: o,
|
|
250
|
-
open: n,
|
|
251
|
-
defaultOpen: a,
|
|
252
|
-
disabled: l,
|
|
253
|
-
onOpenChange: f,
|
|
254
|
-
...R
|
|
255
|
-
} = e, [i = !1, s] = K({
|
|
256
|
-
prop: n,
|
|
257
|
-
defaultProp: a,
|
|
258
|
-
onChange: f
|
|
259
|
-
});
|
|
260
|
-
return /* @__PURE__ */ p.jsx(
|
|
261
|
-
we,
|
|
262
|
-
{
|
|
263
|
-
scope: o,
|
|
264
|
-
disabled: l,
|
|
265
|
-
contentId: B(),
|
|
266
|
-
open: i,
|
|
267
|
-
onOpenToggle: r.useCallback(() => s((m) => !m), [s]),
|
|
268
|
-
children: /* @__PURE__ */ p.jsx(
|
|
269
|
-
T.div,
|
|
270
|
-
{
|
|
271
|
-
"data-state": U(i),
|
|
272
|
-
"data-disabled": l ? "" : void 0,
|
|
273
|
-
...R,
|
|
274
|
-
ref: t
|
|
275
|
-
}
|
|
276
|
-
)
|
|
277
|
-
}
|
|
278
|
-
);
|
|
279
|
-
}
|
|
280
|
-
);
|
|
281
|
-
V.displayName = M;
|
|
282
|
-
var J = "CollapsibleTrigger", Q = r.forwardRef(
|
|
283
|
-
(e, t) => {
|
|
284
|
-
const { __scopeCollapsible: o, ...n } = e, a = D(J, o);
|
|
285
|
-
return /* @__PURE__ */ p.jsx(
|
|
286
|
-
T.button,
|
|
287
|
-
{
|
|
288
|
-
type: "button",
|
|
289
|
-
"aria-controls": a.contentId,
|
|
290
|
-
"aria-expanded": a.open || !1,
|
|
291
|
-
"data-state": U(a.open),
|
|
292
|
-
"data-disabled": a.disabled ? "" : void 0,
|
|
293
|
-
disabled: a.disabled,
|
|
294
|
-
...n,
|
|
295
|
-
ref: t,
|
|
296
|
-
onClick: A(e.onClick, a.onOpenToggle)
|
|
297
|
-
}
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
);
|
|
301
|
-
Q.displayName = J;
|
|
302
|
-
var L = "CollapsibleContent", X = r.forwardRef(
|
|
303
|
-
(e, t) => {
|
|
304
|
-
const { forceMount: o, ...n } = e, a = D(L, e.__scopeCollapsible);
|
|
305
|
-
return /* @__PURE__ */ p.jsx(W, { present: o || a.open, children: ({ present: l }) => /* @__PURE__ */ p.jsx(Oe, { ...n, ref: t, present: l }) });
|
|
306
|
-
}
|
|
307
|
-
);
|
|
308
|
-
X.displayName = L;
|
|
309
|
-
var Oe = r.forwardRef((e, t) => {
|
|
310
|
-
const { __scopeCollapsible: o, present: n, children: a, ...l } = e, f = D(L, o), [R, i] = r.useState(n), s = r.useRef(null), m = _(t, s), v = r.useRef(0), I = v.current, b = r.useRef(0), u = b.current, C = f.open || R, E = r.useRef(C), d = r.useRef();
|
|
311
|
-
return r.useEffect(() => {
|
|
312
|
-
const c = requestAnimationFrame(() => E.current = !1);
|
|
313
|
-
return () => cancelAnimationFrame(c);
|
|
314
|
-
}, []), w(() => {
|
|
315
|
-
const c = s.current;
|
|
316
|
-
if (c) {
|
|
317
|
-
d.current = d.current || {
|
|
318
|
-
transitionDuration: c.style.transitionDuration,
|
|
319
|
-
animationName: c.style.animationName
|
|
320
|
-
}, c.style.transitionDuration = "0s", c.style.animationName = "none";
|
|
321
|
-
const h = c.getBoundingClientRect();
|
|
322
|
-
v.current = h.height, b.current = h.width, E.current || (c.style.transitionDuration = d.current.transitionDuration, c.style.animationName = d.current.animationName), i(n);
|
|
323
|
-
}
|
|
324
|
-
}, [f.open, n]), /* @__PURE__ */ p.jsx(
|
|
325
|
-
T.div,
|
|
326
|
-
{
|
|
327
|
-
"data-state": U(f.open),
|
|
328
|
-
"data-disabled": f.disabled ? "" : void 0,
|
|
329
|
-
id: f.contentId,
|
|
330
|
-
hidden: !C,
|
|
331
|
-
...l,
|
|
332
|
-
ref: m,
|
|
333
|
-
style: {
|
|
334
|
-
"--radix-collapsible-content-height": I ? `${I}px` : void 0,
|
|
335
|
-
"--radix-collapsible-content-width": u ? `${u}px` : void 0,
|
|
336
|
-
...e.style
|
|
337
|
-
},
|
|
338
|
-
children: C && a
|
|
339
|
-
}
|
|
340
|
-
);
|
|
341
|
-
});
|
|
342
|
-
function U(e) {
|
|
343
|
-
return e ? "open" : "closed";
|
|
344
|
-
}
|
|
345
|
-
var We = V, Ye = Q, $e = X;
|
|
346
|
-
const qe = ({ size: e = 16 }) => /* @__PURE__ */ p.jsx(ge, { size: e, className: "animate-spin" });
|
|
347
|
-
export {
|
|
348
|
-
$e as C,
|
|
349
|
-
Ke as I,
|
|
350
|
-
W as P,
|
|
351
|
-
Ge as R,
|
|
352
|
-
ve as S,
|
|
353
|
-
Ye as T,
|
|
354
|
-
We as a,
|
|
355
|
-
qe as b,
|
|
356
|
-
ke as c,
|
|
357
|
-
je as d
|
|
358
|
-
};
|
|
359
|
-
//# sourceMappingURL=Spinner-BhtSoFka.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner-BhtSoFka.js","sources":["../../../node_modules/.pnpm/lucide-react@0.378.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js","../src/lib/plugins/openapi/StaggeredRender.tsx","../../../node_modules/.pnpm/@radix-ui+react-presence@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-presence/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3_c7p7fyahj7jvpuxrqgc7mv7csa/node_modules/@radix-ui/react-roving-focus/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3._qjsk5diswkeszbepgt4ntypuku/node_modules/@radix-ui/react-collapsible/dist/index.mjs","../src/lib/components/Spinner.tsx"],"sourcesContent":["/**\n * @license lucide-react v0.378.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst LoaderCircle = createLucideIcon(\"LoaderCircle\", [\n [\"path\", { d: \"M21 12a9 9 0 1 1-6.219-8.56\", key: \"13zald\" }]\n]);\n\nexport { LoaderCircle as default };\n//# sourceMappingURL=loader-circle.js.map\n","import {\n Children,\n createContext,\n ReactNode,\n useContext,\n useEffect,\n useState,\n} from \"react\";\n\nexport const StaggeredRenderContext = createContext({ stagger: false });\n\nconst StaggeredRender = ({ children }: { children: ReactNode[] }) => {\n const { stagger } = useContext(StaggeredRenderContext);\n const [renderAll, setRenderAll] = useState(!stagger);\n\n useEffect(() => {\n if (renderAll) {\n return;\n }\n\n const idle = requestIdleCallback(() => {\n setRenderAll(true);\n });\n\n return () => cancelIdleCallback(idle);\n }, [renderAll]);\n\n return !renderAll ? Children.toArray(children).slice(0, 3) : children;\n};\n\nexport default StaggeredRender;\n","\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// packages/react/roving-focus/src/RovingFocusGroup.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// packages/react/collapsible/src/Collapsible.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar COLLAPSIBLE_NAME = \"Collapsible\";\nvar [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);\nvar [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);\nvar Collapsible = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCollapsible,\n open: openProp,\n defaultOpen,\n disabled,\n onOpenChange,\n ...collapsibleProps\n } = props;\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n CollapsibleProvider,\n {\n scope: __scopeCollapsible,\n disabled,\n contentId: useId(),\n open,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(open),\n \"data-disabled\": disabled ? \"\" : void 0,\n ...collapsibleProps,\n ref: forwardedRef\n }\n )\n }\n );\n }\n);\nCollapsible.displayName = COLLAPSIBLE_NAME;\nvar TRIGGER_NAME = \"CollapsibleTrigger\";\nvar CollapsibleTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCollapsible, ...triggerProps } = props;\n const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open || false,\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n disabled: context.disabled,\n ...triggerProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nCollapsibleTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"CollapsibleContent\";\nvar CollapsibleContent = React.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ jsx(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });\n }\n);\nCollapsibleContent.displayName = CONTENT_NAME;\nvar CollapsibleContentImpl = React.forwardRef((props, forwardedRef) => {\n const { __scopeCollapsible, present, children, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);\n const [isPresent, setIsPresent] = React.useState(present);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const heightRef = React.useRef(0);\n const height = heightRef.current;\n const widthRef = React.useRef(0);\n const width = widthRef.current;\n const isOpen = context.open || isPresent;\n const isMountAnimationPreventedRef = React.useRef(isOpen);\n const originalStylesRef = React.useRef();\n React.useEffect(() => {\n const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);\n return () => cancelAnimationFrame(rAF);\n }, []);\n useLayoutEffect(() => {\n const node = ref.current;\n if (node) {\n originalStylesRef.current = originalStylesRef.current || {\n transitionDuration: node.style.transitionDuration,\n animationName: node.style.animationName\n };\n node.style.transitionDuration = \"0s\";\n node.style.animationName = \"none\";\n const rect = node.getBoundingClientRect();\n heightRef.current = rect.height;\n widthRef.current = rect.width;\n if (!isMountAnimationPreventedRef.current) {\n node.style.transitionDuration = originalStylesRef.current.transitionDuration;\n node.style.animationName = originalStylesRef.current.animationName;\n }\n setIsPresent(present);\n }\n }, [context.open, present]);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n id: context.contentId,\n hidden: !isOpen,\n ...contentProps,\n ref: composedRefs,\n style: {\n [`--radix-collapsible-content-height`]: height ? `${height}px` : void 0,\n [`--radix-collapsible-content-width`]: width ? `${width}px` : void 0,\n ...props.style\n },\n children: isOpen && children\n }\n );\n});\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root = Collapsible;\nvar Trigger = CollapsibleTrigger;\nvar Content = CollapsibleContent;\nexport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n Content,\n Root,\n Trigger,\n createCollapsibleScope\n};\n//# sourceMappingURL=index.mjs.map\n","import { LoaderCircle } from \"lucide-react\";\n\nexport const Spinner = ({ size = 16 }: { size?: number }) => (\n <LoaderCircle size={size} className=\"animate-spin\" />\n);\n"],"names":["LoaderCircle","createLucideIcon","StaggeredRenderContext","createContext","StaggeredRender","children","stagger","useContext","renderAll","setRenderAll","useState","useEffect","idle","Children","useStateMachine","initialState","machine","React","state","event","Presence","props","present","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b","ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","composedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","tabStopId","prevCount","Primitive","composeEventHandlers","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item","COLLAPSIBLE_NAME","createCollapsibleContext","createCollapsibleScope","CollapsibleProvider","useCollapsibleContext","Collapsible","__scopeCollapsible","openProp","defaultOpen","disabled","onOpenChange","collapsibleProps","open","setOpen","prevOpen","getState","TRIGGER_NAME","CollapsibleTrigger","triggerProps","CONTENT_NAME","CollapsibleContent","forceMount","contentProps","CollapsibleContentImpl","isPresent","setIsPresent","heightRef","height","widthRef","width","isOpen","isMountAnimationPreventedRef","originalStylesRef","rAF","rect","Trigger","Content","Spinner","size"],"mappings":";;;;;;AA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