zudoku 0.1.1-dev.43 → 0.1.1-dev.44
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/lib/components/Layout.js +2 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Spinner.d.ts +3 -0
- package/dist/lib/components/Spinner.js +4 -0
- package/dist/lib/components/Spinner.js.map +1 -0
- package/dist/lib/components/navigation/SideNavigation.js +1 -1
- package/dist/lib/components/navigation/SideNavigation.js.map +1 -1
- package/dist/lib/components/navigation/SideNavigationWrapper.d.ts +1 -1
- package/dist/lib/components/navigation/SideNavigationWrapper.js +1 -1
- package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +2 -0
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +3 -2
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/lib/{util-CnHdxZvn.js → Spinner-Zry2k_pD.js} +278 -268
- package/lib/zudoku.components.js +91 -85
- package/lib/zudoku.plugins.js +127 -135
- package/package.json +1 -1
- package/src/lib/components/Layout.tsx +9 -3
- package/src/lib/components/Spinner.tsx +5 -0
- package/src/lib/components/navigation/SideNavigation.tsx +1 -1
- package/src/lib/components/navigation/SideNavigationWrapper.tsx +7 -3
- package/src/lib/plugins/openapi/OperationList.tsx +3 -0
- package/src/lib/plugins/openapi/playground/Playground.tsx +2 -1
package/lib/zudoku.plugins.js
CHANGED
|
@@ -3,21 +3,21 @@ var Oo = (e) => {
|
|
|
3
3
|
};
|
|
4
4
|
var ii = (e, n, t) => n.has(e) || Oo("Cannot " + t);
|
|
5
5
|
var be = (e, n, t) => (ii(e, n, "read from private field"), t ? t.call(e) : n.get(e)), Zt = (e, n, t) => n.has(e) ? Oo("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), en = (e, n, t, r) => (ii(e, n, "write to private field"), r ? r.call(e, t) : n.set(e, t), t), tn = (e, n, t) => (ii(e, n, "access private method"), t);
|
|
6
|
-
import { S as qf,
|
|
6
|
+
import { S as qf, a4 as zf, i as jo, a5 as Bf, n as Nl, a6 as Pl, a7 as Uf, a8 as Vf, k as Ft, l as y, I as le, K as Hf, a9 as Dn, u as $l, aa as Wf, a3 as Sr, ab as Kf, q as Gf, ac as Vt, j as Ra, X as Jf, w as Qf, J as Yf, L as Fl, v as Xf, ad as ea, F as ta, R as Zf, ae as Kt, a2 as ed, af as Rl, t as td, ag as xn, C as wt, P as He, A as Re, ah as nd, D as rd, x as Vr, B as Hr, ai as id, y as Ia, z as Pn, aj as ad, ak as Wr, T as od, al as sd, am as ld, U as ud } from "./Spinner-Zry2k_pD.js";
|
|
7
7
|
import * as P from "react";
|
|
8
|
-
import Q, { useState as Qt, useRef as Il, useEffect as _a, useMemo as _l, forwardRef as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { createSharedWorkerClient as
|
|
12
|
-
var
|
|
8
|
+
import Q, { useState as Qt, useRef as Il, useEffect as _a, useMemo as _l, forwardRef as cd, Fragment as cr, createContext as fd, useContext as dd } from "react";
|
|
9
|
+
import pd from "react-dom";
|
|
10
|
+
import { u as hd, a as md, C as yd, c as gd, f as bd, P as xd } from "./urql-DMlBWUKL.js";
|
|
11
|
+
import { createSharedWorkerClient as vd } from "virtual:zudoku-openapi-worker";
|
|
12
|
+
var jt, Nt, Ge, xt, kt, fr, na, jl, kd = (jl = class extends qf {
|
|
13
13
|
constructor(t, r) {
|
|
14
14
|
super();
|
|
15
15
|
Zt(this, kt);
|
|
16
|
+
Zt(this, jt);
|
|
16
17
|
Zt(this, Nt);
|
|
17
|
-
Zt(this, Pt);
|
|
18
18
|
Zt(this, Ge);
|
|
19
19
|
Zt(this, xt);
|
|
20
|
-
en(this,
|
|
20
|
+
en(this, jt, t), this.setOptions(r), this.bindMethods(), tn(this, kt, fr).call(this);
|
|
21
21
|
}
|
|
22
22
|
bindMethods() {
|
|
23
23
|
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
|
@@ -25,7 +25,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
|
|
|
25
25
|
setOptions(t) {
|
|
26
26
|
var i;
|
|
27
27
|
const r = this.options;
|
|
28
|
-
this.options = be(this,
|
|
28
|
+
this.options = be(this, jt).defaultMutationOptions(t), zf(this.options, r) || be(this, jt).getMutationCache().notify({
|
|
29
29
|
type: "observerOptionsUpdated",
|
|
30
30
|
mutation: be(this, Ge),
|
|
31
31
|
observer: this
|
|
@@ -39,7 +39,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
|
|
|
39
39
|
tn(this, kt, fr).call(this), tn(this, kt, na).call(this, t);
|
|
40
40
|
}
|
|
41
41
|
getCurrentResult() {
|
|
42
|
-
return be(this,
|
|
42
|
+
return be(this, Nt);
|
|
43
43
|
}
|
|
44
44
|
reset() {
|
|
45
45
|
var t;
|
|
@@ -47,12 +47,12 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
|
|
|
47
47
|
}
|
|
48
48
|
mutate(t, r) {
|
|
49
49
|
var i;
|
|
50
|
-
return en(this, xt, r), (i = be(this, Ge)) == null || i.removeObserver(this), en(this, Ge, be(this,
|
|
50
|
+
return en(this, xt, r), (i = be(this, Ge)) == null || i.removeObserver(this), en(this, Ge, be(this, jt).getMutationCache().build(be(this, jt), this.options)), be(this, Ge).addObserver(this), be(this, Ge).execute(t);
|
|
51
51
|
}
|
|
52
|
-
},
|
|
52
|
+
}, jt = new WeakMap(), Nt = new WeakMap(), Ge = new WeakMap(), xt = new WeakMap(), kt = new WeakSet(), fr = function() {
|
|
53
53
|
var r;
|
|
54
54
|
const t = ((r = be(this, Ge)) == null ? void 0 : r.state) ?? Bf();
|
|
55
|
-
en(this,
|
|
55
|
+
en(this, Nt, {
|
|
56
56
|
...t,
|
|
57
57
|
isPending: t.status === "pending",
|
|
58
58
|
isSuccess: t.status === "success",
|
|
@@ -65,7 +65,7 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
|
|
|
65
65
|
Nl.batch(() => {
|
|
66
66
|
var r, i, o, a, s, l, u, c;
|
|
67
67
|
if (be(this, xt) && this.hasListeners()) {
|
|
68
|
-
const f = be(this,
|
|
68
|
+
const f = be(this, Nt).variables, d = be(this, Nt).context;
|
|
69
69
|
(t == null ? void 0 : t.type) === "success" ? ((i = (r = be(this, xt)).onSuccess) == null || i.call(r, t.data, f, d), (a = (o = be(this, xt)).onSettled) == null || a.call(o, t.data, null, f, d)) : (t == null ? void 0 : t.type) === "error" && ((l = (s = be(this, xt)).onError) == null || l.call(s, t.error, f, d), (c = (u = be(this, xt)).onSettled) == null || c.call(
|
|
70
70
|
u,
|
|
71
71
|
void 0,
|
|
@@ -75,13 +75,13 @@ var Nt, Pt, Ge, xt, kt, fr, na, jl, vd = (jl = class extends qf {
|
|
|
75
75
|
));
|
|
76
76
|
}
|
|
77
77
|
this.listeners.forEach((f) => {
|
|
78
|
-
f(be(this,
|
|
78
|
+
f(be(this, Nt));
|
|
79
79
|
});
|
|
80
80
|
});
|
|
81
81
|
}, jl);
|
|
82
82
|
function La(e, n) {
|
|
83
83
|
const t = Pl(), [r] = P.useState(
|
|
84
|
-
() => new
|
|
84
|
+
() => new kd(
|
|
85
85
|
t,
|
|
86
86
|
e
|
|
87
87
|
)
|
|
@@ -112,7 +112,7 @@ function La(e, n) {
|
|
|
112
112
|
* This source code is licensed under the ISC license.
|
|
113
113
|
* See the LICENSE file in the root directory of this source tree.
|
|
114
114
|
*/
|
|
115
|
-
const
|
|
115
|
+
const wd = Ft("ChevronsUpDown", [
|
|
116
116
|
["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
|
|
117
117
|
["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
|
|
118
118
|
]);
|
|
@@ -122,7 +122,7 @@ const kd = St("ChevronsUpDown", [
|
|
|
122
122
|
* This source code is licensed under the ISC license.
|
|
123
123
|
* See the LICENSE file in the root directory of this source tree.
|
|
124
124
|
*/
|
|
125
|
-
const
|
|
125
|
+
const Sd = Ft("CirclePlay", [
|
|
126
126
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
127
127
|
["polygon", { points: "10 8 16 12 10 16 10 8", key: "1cimsy" }]
|
|
128
128
|
]);
|
|
@@ -132,7 +132,7 @@ const wd = St("CirclePlay", [
|
|
|
132
132
|
* This source code is licensed under the ISC license.
|
|
133
133
|
* See the LICENSE file in the root directory of this source tree.
|
|
134
134
|
*/
|
|
135
|
-
const
|
|
135
|
+
const Cd = Ft("EyeOff", [
|
|
136
136
|
["path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24", key: "1jxqfv" }],
|
|
137
137
|
[
|
|
138
138
|
"path",
|
|
@@ -153,7 +153,7 @@ const Sd = St("EyeOff", [
|
|
|
153
153
|
* This source code is licensed under the ISC license.
|
|
154
154
|
* See the LICENSE file in the root directory of this source tree.
|
|
155
155
|
*/
|
|
156
|
-
const
|
|
156
|
+
const Ed = Ft("Eye", [
|
|
157
157
|
["path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z", key: "rwhkz3" }],
|
|
158
158
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
159
159
|
]);
|
|
@@ -163,7 +163,7 @@ const Cd = St("Eye", [
|
|
|
163
163
|
* This source code is licensed under the ISC license.
|
|
164
164
|
* See the LICENSE file in the root directory of this source tree.
|
|
165
165
|
*/
|
|
166
|
-
const
|
|
166
|
+
const Td = Ft("ListTree", [
|
|
167
167
|
["path", { d: "M21 12h-8", key: "1bmf0i" }],
|
|
168
168
|
["path", { d: "M21 6H8", key: "1pqkrb" }],
|
|
169
169
|
["path", { d: "M21 18h-8", key: "1tm79t" }],
|
|
@@ -176,16 +176,7 @@ const Ed = St("ListTree", [
|
|
|
176
176
|
* This source code is licensed under the ISC license.
|
|
177
177
|
* See the LICENSE file in the root directory of this source tree.
|
|
178
178
|
*/
|
|
179
|
-
const
|
|
180
|
-
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
181
|
-
]);
|
|
182
|
-
/**
|
|
183
|
-
* @license lucide-react v0.378.0 - ISC
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the ISC license.
|
|
186
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/
|
|
188
|
-
const Ad = St("RotateCw", [
|
|
179
|
+
const Ad = Ft("RotateCw", [
|
|
189
180
|
["path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8", key: "1p45f6" }],
|
|
190
181
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }]
|
|
191
182
|
]);
|
|
@@ -195,7 +186,7 @@ const Ad = St("RotateCw", [
|
|
|
195
186
|
* This source code is licensed under the ISC license.
|
|
196
187
|
* See the LICENSE file in the root directory of this source tree.
|
|
197
188
|
*/
|
|
198
|
-
const Od =
|
|
189
|
+
const Od = Ft("Trash", [
|
|
199
190
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
200
191
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
201
192
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
|
|
@@ -206,7 +197,7 @@ const Od = St("Trash", [
|
|
|
206
197
|
* This source code is licensed under the ISC license.
|
|
207
198
|
* See the LICENSE file in the root directory of this source tree.
|
|
208
199
|
*/
|
|
209
|
-
const Da =
|
|
200
|
+
const Da = Ft("X", [
|
|
210
201
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
211
202
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
212
203
|
]), jd = Hf(
|
|
@@ -365,7 +356,7 @@ const Id = ({
|
|
|
365
356
|
variant: "outline",
|
|
366
357
|
onClick: () => t((r) => !r),
|
|
367
358
|
size: "icon",
|
|
368
|
-
children: n ? /* @__PURE__ */ y.jsx(
|
|
359
|
+
children: n ? /* @__PURE__ */ y.jsx(Cd, { size: 16 }) : /* @__PURE__ */ y.jsx(Ed, { size: 16 })
|
|
369
360
|
}
|
|
370
361
|
)
|
|
371
362
|
] });
|
|
@@ -607,7 +598,7 @@ var Bd = (e, n, t, r, i) => n ? {
|
|
|
607
598
|
...t[e] && t[e].types ? t[e].types : {},
|
|
608
599
|
[r]: i || !0
|
|
609
600
|
}
|
|
610
|
-
} : {},
|
|
601
|
+
} : {}, Et = () => {
|
|
611
602
|
const e = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
|
|
612
603
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (n) => {
|
|
613
604
|
const t = (Math.random() * 16 + e) % 16 | 0;
|
|
@@ -638,7 +629,7 @@ const hn = (e, n, t, r) => {
|
|
|
638
629
|
var Kl = (e, n, t) => {
|
|
639
630
|
const r = Qe(D(e, t));
|
|
640
631
|
return ce(r, "root", n[t]), ce(e, t, r), e;
|
|
641
|
-
}, za = (e) => e.type === "file",
|
|
632
|
+
}, za = (e) => e.type === "file", Pt = (e) => typeof e == "function", Tr = (e) => {
|
|
642
633
|
if (!Ma)
|
|
643
634
|
return !1;
|
|
644
635
|
const n = e ? e.ownerDocument : 0;
|
|
@@ -734,7 +725,7 @@ var nn = (e) => je(e) && !Ar(e) ? e : {
|
|
|
734
725
|
return j(M), C;
|
|
735
726
|
}
|
|
736
727
|
if (p) {
|
|
737
|
-
if (
|
|
728
|
+
if (Pt(p)) {
|
|
738
729
|
const R = await p(g, n), M = Fo(R, w);
|
|
739
730
|
if (M && (C[h] = {
|
|
740
731
|
...M,
|
|
@@ -805,12 +796,12 @@ function Ce(e, n) {
|
|
|
805
796
|
}
|
|
806
797
|
var Ro = (e, n, t) => (e[n] = t, e);
|
|
807
798
|
function Ua(e) {
|
|
808
|
-
const n = Wn(), { control: t = n.control, name: r, keyName: i = "id", shouldUnregister: o } = e, [a, s] = Q.useState(t._getFieldArray(r)), l = Q.useRef(t._getFieldArray(r).map(
|
|
799
|
+
const n = Wn(), { control: t = n.control, name: r, keyName: i = "id", shouldUnregister: o } = e, [a, s] = Q.useState(t._getFieldArray(r)), l = Q.useRef(t._getFieldArray(r).map(Et)), u = Q.useRef(a), c = Q.useRef(r), f = Q.useRef(!1);
|
|
809
800
|
c.current = r, u.current = a, t._names.array.add(r), e.rules && t.register(r, e.rules), Kr({
|
|
810
801
|
next: ({ values: C, name: k }) => {
|
|
811
802
|
if (k === c.current || !k) {
|
|
812
803
|
const N = D(C, c.current);
|
|
813
|
-
Array.isArray(N) && (s(N), l.current = N.map(
|
|
804
|
+
Array.isArray(N) && (s(N), l.current = N.map(Et));
|
|
814
805
|
}
|
|
815
806
|
},
|
|
816
807
|
subject: t._subjects.array
|
|
@@ -819,12 +810,12 @@ function Ua(e) {
|
|
|
819
810
|
f.current = !0, t._updateFieldArray(r, C);
|
|
820
811
|
}, [t, r]), p = (C, k) => {
|
|
821
812
|
const N = Qe(Oe(C)), F = oi(t._getFieldArray(r), N);
|
|
822
|
-
t._names.focus = ai(r, F.length - 1, k), l.current = oi(l.current, N.map(
|
|
813
|
+
t._names.focus = ai(r, F.length - 1, k), l.current = oi(l.current, N.map(Et)), d(F), s(F), t._updateFieldArray(r, F, oi, {
|
|
823
814
|
argA: si(C)
|
|
824
815
|
});
|
|
825
816
|
}, h = (C, k) => {
|
|
826
817
|
const N = Qe(Oe(C)), F = ci(t._getFieldArray(r), N);
|
|
827
|
-
t._names.focus = ai(r, 0, k), l.current = ci(l.current, N.map(
|
|
818
|
+
t._names.focus = ai(r, 0, k), l.current = ci(l.current, N.map(Et)), d(F), s(F), t._updateFieldArray(r, F, ci, {
|
|
828
819
|
argA: si(C)
|
|
829
820
|
});
|
|
830
821
|
}, m = (C) => {
|
|
@@ -834,7 +825,7 @@ function Ua(e) {
|
|
|
834
825
|
});
|
|
835
826
|
}, b = (C, k, N) => {
|
|
836
827
|
const F = Qe(Oe(k)), q = li(t._getFieldArray(r), C, F);
|
|
837
|
-
t._names.focus = ai(r, C, N), l.current = li(l.current, C, F.map(
|
|
828
|
+
t._names.focus = ai(r, C, N), l.current = li(l.current, C, F.map(Et)), d(q), s(q), t._updateFieldArray(r, q, li, {
|
|
838
829
|
argA: C,
|
|
839
830
|
argB: si(k)
|
|
840
831
|
});
|
|
@@ -852,13 +843,13 @@ function Ua(e) {
|
|
|
852
843
|
}, !1);
|
|
853
844
|
}, w = (C, k) => {
|
|
854
845
|
const N = Oe(k), F = Ro(t._getFieldArray(r), C, N);
|
|
855
|
-
l.current = [...F].map((q, T) => !q || T === C ?
|
|
846
|
+
l.current = [...F].map((q, T) => !q || T === C ? Et() : l.current[T]), d(F), s([...F]), t._updateFieldArray(r, F, Ro, {
|
|
856
847
|
argA: C,
|
|
857
848
|
argB: N
|
|
858
849
|
}, !0, !1);
|
|
859
850
|
}, j = (C) => {
|
|
860
851
|
const k = Qe(Oe(C));
|
|
861
|
-
l.current = k.map(
|
|
852
|
+
l.current = k.map(Et), d([...k]), s([...k]), t._updateFieldArray(r, [...k], (N) => N, {}, !0, !1);
|
|
862
853
|
};
|
|
863
854
|
return Q.useEffect(() => {
|
|
864
855
|
if (t._state.action = !1, ia(r, t._names) && t._subjects.state.next({
|
|
@@ -897,7 +888,7 @@ function Ua(e) {
|
|
|
897
888
|
replace: Q.useCallback(j, [d, r, t]),
|
|
898
889
|
fields: Q.useMemo(() => a.map((C, k) => ({
|
|
899
890
|
...C,
|
|
900
|
-
[i]: l.current[k] ||
|
|
891
|
+
[i]: l.current[k] || Et()
|
|
901
892
|
})), [a, i])
|
|
902
893
|
};
|
|
903
894
|
}
|
|
@@ -943,7 +934,7 @@ function Ut(e, n) {
|
|
|
943
934
|
}
|
|
944
935
|
var Ql = (e) => e.type === "select-multiple", Wd = (e) => Ba(e) || Vn(e), hi = (e) => Tr(e) && e.isConnected, Yl = (e) => {
|
|
945
936
|
for (const n in e)
|
|
946
|
-
if (
|
|
937
|
+
if (Pt(e[n]))
|
|
947
938
|
return !0;
|
|
948
939
|
return !1;
|
|
949
940
|
};
|
|
@@ -1016,7 +1007,7 @@ function Xd(e = {}) {
|
|
|
1016
1007
|
}, t = {
|
|
1017
1008
|
submitCount: 0,
|
|
1018
1009
|
isDirty: !1,
|
|
1019
|
-
isLoading:
|
|
1010
|
+
isLoading: Pt(n.defaultValues),
|
|
1020
1011
|
isValidating: !1,
|
|
1021
1012
|
isSubmitted: !1,
|
|
1022
1013
|
isSubmitting: !1,
|
|
@@ -1221,10 +1212,10 @@ function Xd(e = {}) {
|
|
|
1221
1212
|
}), ue)
|
|
1222
1213
|
return c.isValid && b(), it && f.state.next({ name: $, ...Be ? {} : rt });
|
|
1223
1214
|
if (!Z && Be && f.state.next({ ...t }), n.resolver) {
|
|
1224
|
-
const { errors:
|
|
1215
|
+
const { errors: Ct } = await F([$]);
|
|
1225
1216
|
if (W(K), U) {
|
|
1226
|
-
const Lt = Io(t.errors, r, $), Le = Io(
|
|
1227
|
-
A = Le.error, $ = Le.name, I = Je(
|
|
1217
|
+
const Lt = Io(t.errors, r, $), Le = Io(Ct, r, Lt.name || $);
|
|
1218
|
+
A = Le.error, $ = Le.name, I = Je(Ct);
|
|
1228
1219
|
}
|
|
1229
1220
|
} else
|
|
1230
1221
|
x([$], !0), A = (await aa(z, o, h, n.shouldUseNativeValidation))[$], x([$]), W(K), U && (A ? I = !1 : c.isValid && (I = await T(r, !0)));
|
|
@@ -1274,7 +1265,7 @@ function Xd(e = {}) {
|
|
|
1274
1265
|
errors: t.errors,
|
|
1275
1266
|
isValid: !1
|
|
1276
1267
|
}), $ && $.shouldFocus && U && U.focus && U.focus();
|
|
1277
|
-
}, me = (E, O) =>
|
|
1268
|
+
}, me = (E, O) => Pt(E) ? f.values.subscribe({
|
|
1278
1269
|
next: ($) => E(M(void 0, O), $)
|
|
1279
1270
|
}) : M(E, O, !0), ne = (E, O = {}) => {
|
|
1280
1271
|
for (const $ of E ? Qe(E) : s.mount)
|
|
@@ -1427,7 +1418,7 @@ function Xd(e = {}) {
|
|
|
1427
1418
|
isSubmitSuccessful: O.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
|
|
1428
1419
|
isSubmitting: !1
|
|
1429
1420
|
});
|
|
1430
|
-
}, We = (E, O) => _e(
|
|
1421
|
+
}, We = (E, O) => _e(Pt(E) ? E(o) : E, O);
|
|
1431
1422
|
return {
|
|
1432
1423
|
control: {
|
|
1433
1424
|
register: ye,
|
|
@@ -1444,7 +1435,7 @@ function Xd(e = {}) {
|
|
|
1444
1435
|
_updateDisabledField: xe,
|
|
1445
1436
|
_getFieldArray: H,
|
|
1446
1437
|
_reset: _e,
|
|
1447
|
-
_resetDefaultValues: () =>
|
|
1438
|
+
_resetDefaultValues: () => Pt(n.defaultValues) && n.defaultValues().then((E) => {
|
|
1448
1439
|
We(E, n.resetOptions), f.state.next({
|
|
1449
1440
|
isLoading: !1
|
|
1450
1441
|
});
|
|
@@ -1521,7 +1512,7 @@ function eu(e = {}) {
|
|
|
1521
1512
|
const n = Q.useRef(), t = Q.useRef(), [r, i] = Q.useState({
|
|
1522
1513
|
isDirty: !1,
|
|
1523
1514
|
isValidating: !1,
|
|
1524
|
-
isLoading:
|
|
1515
|
+
isLoading: Pt(e.defaultValues),
|
|
1525
1516
|
isSubmitted: !1,
|
|
1526
1517
|
isSubmitting: !1,
|
|
1527
1518
|
isSubmitSuccessful: !1,
|
|
@@ -1532,7 +1523,7 @@ function eu(e = {}) {
|
|
|
1532
1523
|
validatingFields: {},
|
|
1533
1524
|
errors: e.errors || {},
|
|
1534
1525
|
disabled: e.disabled || !1,
|
|
1535
|
-
defaultValues:
|
|
1526
|
+
defaultValues: Pt(e.defaultValues) ? void 0 : e.defaultValues
|
|
1536
1527
|
});
|
|
1537
1528
|
n.current || (n.current = {
|
|
1538
1529
|
...Xd(e),
|
|
@@ -1651,7 +1642,7 @@ const Zd = ({
|
|
|
1651
1642
|
}
|
|
1652
1643
|
})).json() : [];
|
|
1653
1644
|
}
|
|
1654
|
-
}),
|
|
1645
|
+
}), h0 = (e) => {
|
|
1655
1646
|
const n = "endpoint" in e ? e.endpoint : tp, t = "getKeys" in e ? e : np(n);
|
|
1656
1647
|
return {
|
|
1657
1648
|
getIdentities: async (r) => (await t.getKeys(r)).map((o) => ({
|
|
@@ -5767,14 +5758,14 @@ function ry(e) {
|
|
|
5767
5758
|
(Be[1] || rs).call(K, void 0, Be[0]);
|
|
5768
5759
|
}
|
|
5769
5760
|
for (I.position = {
|
|
5770
|
-
start:
|
|
5761
|
+
start: Tt(
|
|
5771
5762
|
A.length > 0 ? A[0][1].start : {
|
|
5772
5763
|
line: 1,
|
|
5773
5764
|
column: 1,
|
|
5774
5765
|
offset: 0
|
|
5775
5766
|
}
|
|
5776
5767
|
),
|
|
5777
|
-
end:
|
|
5768
|
+
end: Tt(
|
|
5778
5769
|
A.length > 0 ? A[A.length - 2][1].end : {
|
|
5779
5770
|
line: 1,
|
|
5780
5771
|
column: 1,
|
|
@@ -5786,7 +5777,7 @@ function ry(e) {
|
|
|
5786
5777
|
return I;
|
|
5787
5778
|
}
|
|
5788
5779
|
function i(A, I, K) {
|
|
5789
|
-
let Z = I - 1, ue = -1, Be = !1, rt, it,
|
|
5780
|
+
let Z = I - 1, ue = -1, Be = !1, rt, it, Ct, Lt;
|
|
5790
5781
|
for (; ++Z <= K; ) {
|
|
5791
5782
|
const Le = A[Z];
|
|
5792
5783
|
switch (Le[1].type) {
|
|
@@ -5797,7 +5788,7 @@ function ry(e) {
|
|
|
5797
5788
|
break;
|
|
5798
5789
|
}
|
|
5799
5790
|
case "lineEndingBlank": {
|
|
5800
|
-
Le[0] === "enter" && (rt && !Lt && !ue && !
|
|
5791
|
+
Le[0] === "enter" && (rt && !Lt && !ue && !Ct && (Ct = Z), Lt = void 0);
|
|
5801
5792
|
break;
|
|
5802
5793
|
}
|
|
5803
5794
|
case "linePrefix":
|
|
@@ -5819,7 +5810,7 @@ function ry(e) {
|
|
|
5819
5810
|
it && (A[it][1].type = "lineEndingBlank", Be = !0), gt[1].type = "lineEnding", it = Xt;
|
|
5820
5811
|
} else if (!(gt[1].type === "linePrefix" || gt[1].type === "blockQuotePrefix" || gt[1].type === "blockQuotePrefixWhitespace" || gt[1].type === "blockQuoteMarker" || gt[1].type === "listItemIndent")) break;
|
|
5821
5812
|
}
|
|
5822
|
-
|
|
5813
|
+
Ct && (!it || Ct < it) && (rt._spread = !0), rt.end = Object.assign(
|
|
5823
5814
|
{},
|
|
5824
5815
|
it ? A[it][1].start : Le[1].end
|
|
5825
5816
|
), A.splice(it || Z, 0, ["exit", rt, Le[2]]), Z++, K++;
|
|
@@ -5832,7 +5823,7 @@ function ry(e) {
|
|
|
5832
5823
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
5833
5824
|
end: void 0
|
|
5834
5825
|
};
|
|
5835
|
-
rt = Xt, A.splice(Z, 0, ["enter", Xt, Le[2]]), Z++, K++,
|
|
5826
|
+
rt = Xt, A.splice(Z, 0, ["enter", Xt, Le[2]]), Z++, K++, Ct = void 0, Lt = !0;
|
|
5836
5827
|
}
|
|
5837
5828
|
}
|
|
5838
5829
|
}
|
|
@@ -5852,7 +5843,7 @@ function ry(e) {
|
|
|
5852
5843
|
}
|
|
5853
5844
|
function s(A, I, K) {
|
|
5854
5845
|
this.stack[this.stack.length - 1].children.push(A), this.stack.push(A), this.tokenStack.push([I, K]), A.position = {
|
|
5855
|
-
start:
|
|
5846
|
+
start: Tt(I.start),
|
|
5856
5847
|
// @ts-expect-error: `end` will be patched later.
|
|
5857
5848
|
end: void 0
|
|
5858
5849
|
};
|
|
@@ -5873,7 +5864,7 @@ function ry(e) {
|
|
|
5873
5864
|
end: A.end
|
|
5874
5865
|
}) + "): it’s not open"
|
|
5875
5866
|
);
|
|
5876
|
-
K.position.end =
|
|
5867
|
+
K.position.end = Tt(A.end);
|
|
5877
5868
|
}
|
|
5878
5869
|
function c() {
|
|
5879
5870
|
return Qa(this.stack.pop());
|
|
@@ -5941,20 +5932,20 @@ function ry(e) {
|
|
|
5941
5932
|
const K = this.stack[this.stack.length - 1].children;
|
|
5942
5933
|
let Z = K[K.length - 1];
|
|
5943
5934
|
(!Z || Z.type !== "text") && (Z = L(), Z.position = {
|
|
5944
|
-
start:
|
|
5935
|
+
start: Tt(A.start),
|
|
5945
5936
|
// @ts-expect-error: we’ll add `end` later.
|
|
5946
5937
|
end: void 0
|
|
5947
5938
|
}, K.push(Z)), this.stack.push(Z);
|
|
5948
5939
|
}
|
|
5949
5940
|
function T(A) {
|
|
5950
5941
|
const I = this.stack.pop();
|
|
5951
|
-
I.value += this.sliceSerialize(A), I.position.end =
|
|
5942
|
+
I.value += this.sliceSerialize(A), I.position.end = Tt(A.end);
|
|
5952
5943
|
}
|
|
5953
5944
|
function B(A) {
|
|
5954
5945
|
const I = this.stack[this.stack.length - 1];
|
|
5955
5946
|
if (this.data.atHardBreak) {
|
|
5956
5947
|
const K = I.children[I.children.length - 1];
|
|
5957
|
-
K.position.end =
|
|
5948
|
+
K.position.end = Tt(A.end), this.data.atHardBreak = void 0;
|
|
5958
5949
|
return;
|
|
5959
5950
|
}
|
|
5960
5951
|
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(I.type) && (q.call(this, A), T.call(this, A));
|
|
@@ -6035,7 +6026,7 @@ function ry(e) {
|
|
|
6035
6026
|
K === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
6036
6027
|
), this.data.characterReferenceType = void 0) : Z = Ya(I);
|
|
6037
6028
|
const ue = this.stack.pop();
|
|
6038
|
-
ue.value += Z, ue.position.end =
|
|
6029
|
+
ue.value += Z, ue.position.end = Tt(A.end);
|
|
6039
6030
|
}
|
|
6040
6031
|
function xe(A) {
|
|
6041
6032
|
T.call(this, A);
|
|
@@ -6158,7 +6149,7 @@ function ry(e) {
|
|
|
6158
6149
|
};
|
|
6159
6150
|
}
|
|
6160
6151
|
}
|
|
6161
|
-
function
|
|
6152
|
+
function Tt(e) {
|
|
6162
6153
|
return {
|
|
6163
6154
|
line: e.line,
|
|
6164
6155
|
column: e.column,
|
|
@@ -9509,7 +9500,7 @@ const tx = {
|
|
|
9509
9500
|
}, rc = {
|
|
9510
9501
|
tokenize: ox,
|
|
9511
9502
|
previous: ac
|
|
9512
|
-
},
|
|
9503
|
+
}, St = {
|
|
9513
9504
|
tokenize: ix,
|
|
9514
9505
|
previous: oc
|
|
9515
9506
|
}, yt = {};
|
|
@@ -9520,15 +9511,15 @@ function rx() {
|
|
|
9520
9511
|
}
|
|
9521
9512
|
let Dt = 48;
|
|
9522
9513
|
for (; Dt < 123; )
|
|
9523
|
-
yt[Dt] =
|
|
9524
|
-
yt[43] =
|
|
9525
|
-
yt[45] =
|
|
9526
|
-
yt[46] =
|
|
9527
|
-
yt[95] =
|
|
9528
|
-
yt[72] = [
|
|
9529
|
-
yt[104] = [
|
|
9530
|
-
yt[87] = [
|
|
9531
|
-
yt[119] = [
|
|
9514
|
+
yt[Dt] = St, Dt++, Dt === 58 ? Dt = 65 : Dt === 91 && (Dt = 97);
|
|
9515
|
+
yt[43] = St;
|
|
9516
|
+
yt[45] = St;
|
|
9517
|
+
yt[46] = St;
|
|
9518
|
+
yt[95] = St;
|
|
9519
|
+
yt[72] = [St, rc];
|
|
9520
|
+
yt[104] = [St, rc];
|
|
9521
|
+
yt[87] = [St, nc];
|
|
9522
|
+
yt[119] = [St, nc];
|
|
9532
9523
|
function ix(e, n, t) {
|
|
9533
9524
|
const r = this;
|
|
9534
9525
|
let i, o;
|
|
@@ -10353,7 +10344,7 @@ const Mx = /* @__PURE__ */ Ra(Dx), lc = "data-active", Ps = ({
|
|
|
10353
10344
|
});
|
|
10354
10345
|
}, [n]), /* @__PURE__ */ y.jsxs("aside", { className: "sticky top-[--header-height] h-[calc(100vh-var(--header-height))] pt-[--padding-content-top] pb-[--padding-content-bottom] overflow-y-auto ps-1 text-sm", children: [
|
|
10355
10346
|
/* @__PURE__ */ y.jsxs("div", { className: "flex items-center gap-2 font-medium mb-2", children: [
|
|
10356
|
-
/* @__PURE__ */ y.jsx(
|
|
10347
|
+
/* @__PURE__ */ y.jsx(Td, { size: 16 }),
|
|
10357
10348
|
"On this page"
|
|
10358
10349
|
] }),
|
|
10359
10350
|
/* @__PURE__ */ y.jsx(
|
|
@@ -10492,7 +10483,7 @@ const Mx = /* @__PURE__ */ Ra(Dx), lc = "data-active", Ps = ({
|
|
|
10492
10483
|
if (!("children" in n || !ta(n)))
|
|
10493
10484
|
return /* @__PURE__ */ y.jsx(Rl, { to: t, replace: !0 });
|
|
10494
10485
|
}) : null;
|
|
10495
|
-
},
|
|
10486
|
+
}, m0 = ({
|
|
10496
10487
|
markdownFiles: e
|
|
10497
10488
|
}) => ({
|
|
10498
10489
|
getRoutes() {
|
|
@@ -10774,15 +10765,15 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
|
|
|
10774
10765
|
let m = function(w) {
|
|
10775
10766
|
if (p.paused || !s) return;
|
|
10776
10767
|
const j = w.target;
|
|
10777
|
-
s.contains(j) ? f.current = j :
|
|
10768
|
+
s.contains(j) ? f.current = j : At(f.current, { select: !0 });
|
|
10778
10769
|
}, b = function(w) {
|
|
10779
10770
|
if (p.paused || !s) return;
|
|
10780
10771
|
const j = w.relatedTarget;
|
|
10781
|
-
j !== null && (s.contains(j) ||
|
|
10772
|
+
j !== null && (s.contains(j) || At(f.current, { select: !0 }));
|
|
10782
10773
|
}, x = function(w) {
|
|
10783
10774
|
if (document.activeElement === document.body)
|
|
10784
10775
|
for (const C of w)
|
|
10785
|
-
C.removedNodes.length > 0 &&
|
|
10776
|
+
C.removedNodes.length > 0 && At(s);
|
|
10786
10777
|
};
|
|
10787
10778
|
document.addEventListener("focusin", m), document.addEventListener("focusout", b);
|
|
10788
10779
|
const g = new MutationObserver(x);
|
|
@@ -10796,12 +10787,12 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
|
|
|
10796
10787
|
const m = document.activeElement;
|
|
10797
10788
|
if (!s.contains(m)) {
|
|
10798
10789
|
const x = new CustomEvent(Fi, Is);
|
|
10799
|
-
s.addEventListener(Fi, u), s.dispatchEvent(x), x.defaultPrevented || (sv(dv(hc(s)), { select: !0 }), document.activeElement === m &&
|
|
10790
|
+
s.addEventListener(Fi, u), s.dispatchEvent(x), x.defaultPrevented || (sv(dv(hc(s)), { select: !0 }), document.activeElement === m && At(s));
|
|
10800
10791
|
}
|
|
10801
10792
|
return () => {
|
|
10802
10793
|
s.removeEventListener(Fi, u), setTimeout(() => {
|
|
10803
10794
|
const x = new CustomEvent(Ri, Is);
|
|
10804
|
-
s.addEventListener(Ri, c), s.dispatchEvent(x), x.defaultPrevented ||
|
|
10795
|
+
s.addEventListener(Ri, c), s.dispatchEvent(x), x.defaultPrevented || At(m ?? document.body, { select: !0 }), s.removeEventListener(Ri, c), Ls.remove(p);
|
|
10805
10796
|
}, 0);
|
|
10806
10797
|
};
|
|
10807
10798
|
}
|
|
@@ -10812,7 +10803,7 @@ var Fi = "focusScope.autoFocusOnMount", Ri = "focusScope.autoFocusOnUnmount", Is
|
|
|
10812
10803
|
const b = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, x = document.activeElement;
|
|
10813
10804
|
if (b && x) {
|
|
10814
10805
|
const g = m.currentTarget, [w, j] = lv(g);
|
|
10815
|
-
w && j ? !m.shiftKey && x === j ? (m.preventDefault(), t &&
|
|
10806
|
+
w && j ? !m.shiftKey && x === j ? (m.preventDefault(), t && At(w, { select: !0 })) : m.shiftKey && x === w && (m.preventDefault(), t && At(j, { select: !0 })) : x === g && m.preventDefault();
|
|
10816
10807
|
}
|
|
10817
10808
|
},
|
|
10818
10809
|
[t, r, p.paused]
|
|
@@ -10823,7 +10814,7 @@ pc.displayName = ov;
|
|
|
10823
10814
|
function sv(e, { select: n = !1 } = {}) {
|
|
10824
10815
|
const t = document.activeElement;
|
|
10825
10816
|
for (const r of e)
|
|
10826
|
-
if (
|
|
10817
|
+
if (At(r, { select: n }), document.activeElement !== t) return;
|
|
10827
10818
|
}
|
|
10828
10819
|
function lv(e) {
|
|
10829
10820
|
const n = hc(e), t = _s(n, e), r = _s(n.reverse(), e);
|
|
@@ -10855,7 +10846,7 @@ function uv(e, { upTo: n }) {
|
|
|
10855
10846
|
function cv(e) {
|
|
10856
10847
|
return e instanceof HTMLInputElement && "select" in e;
|
|
10857
10848
|
}
|
|
10858
|
-
function
|
|
10849
|
+
function At(e, { select: n = !1 } = {}) {
|
|
10859
10850
|
if (e && e.focus) {
|
|
10860
10851
|
const t = document.activeElement;
|
|
10861
10852
|
e.focus({ preventScroll: !0 }), e !== t && cv(e) && n && e.select();
|
|
@@ -10887,7 +10878,7 @@ var pv = "Portal", mc = P.forwardRef((e, n) => {
|
|
|
10887
10878
|
const { container: t, ...r } = e, [i, o] = P.useState(!1);
|
|
10888
10879
|
rd(() => o(!0), []);
|
|
10889
10880
|
const a = t || i && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
|
|
10890
|
-
return a ?
|
|
10881
|
+
return a ? pd.createPortal(/* @__PURE__ */ y.jsx(He.div, { ...r, ref: n }), a) : null;
|
|
10891
10882
|
});
|
|
10892
10883
|
mc.displayName = pv;
|
|
10893
10884
|
var Ii = 0;
|
|
@@ -11417,7 +11408,7 @@ var Yv = function(e) {
|
|
|
11417
11408
|
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live]"))), Zv(r, i, t, "aria-hidden")) : function() {
|
|
11418
11409
|
return null;
|
|
11419
11410
|
};
|
|
11420
|
-
}, lo = "Dialog", [Ec,
|
|
11411
|
+
}, lo = "Dialog", [Ec, y0] = Vr(lo), [tk, st] = Ec(lo), Tc = (e) => {
|
|
11421
11412
|
const {
|
|
11422
11413
|
__scopeDialog: n,
|
|
11423
11414
|
children: t,
|
|
@@ -11621,7 +11612,7 @@ Dc.displayName = Lc;
|
|
|
11621
11612
|
function fo(e) {
|
|
11622
11613
|
return e ? "open" : "closed";
|
|
11623
11614
|
}
|
|
11624
|
-
var Mc = "DialogTitleWarning", [
|
|
11615
|
+
var Mc = "DialogTitleWarning", [g0, qc] = id(Mc, {
|
|
11625
11616
|
contentName: Jt,
|
|
11626
11617
|
titleName: co,
|
|
11627
11618
|
docsSlug: "dialog"
|
|
@@ -11903,7 +11894,7 @@ function Zc(e, n = !1) {
|
|
|
11903
11894
|
function jk(e, n) {
|
|
11904
11895
|
return e.map((t, r) => e[(n + r) % e.length]);
|
|
11905
11896
|
}
|
|
11906
|
-
var Nk = Qc, Pk = Xc, po = "Tabs", [$k,
|
|
11897
|
+
var Nk = Qc, Pk = Xc, po = "Tabs", [$k, b0] = Vr(po, [
|
|
11907
11898
|
Jc
|
|
11908
11899
|
]), ef = Jc(), [Fk, ho] = $k(po), tf = P.forwardRef(
|
|
11909
11900
|
(e, n) => {
|
|
@@ -12231,7 +12222,7 @@ const Ik = (e, n) => {
|
|
|
12231
12222
|
},
|
|
12232
12223
|
t.id
|
|
12233
12224
|
));
|
|
12234
|
-
}, Mk =
|
|
12225
|
+
}, Mk = cd(
|
|
12235
12226
|
({ part: e, className: n, ...t }, r) => {
|
|
12236
12227
|
const i = uc(e);
|
|
12237
12228
|
return /* @__PURE__ */ y.jsx(
|
|
@@ -12386,7 +12377,7 @@ const Uk = {
|
|
|
12386
12377
|
] }, C.name));
|
|
12387
12378
|
return /* @__PURE__ */ y.jsxs(pk, { children: [
|
|
12388
12379
|
/* @__PURE__ */ y.jsx(hk, { asChild: !0, children: /* @__PURE__ */ y.jsx(
|
|
12389
|
-
|
|
12380
|
+
Sd,
|
|
12390
12381
|
{
|
|
12391
12382
|
className: "cursor-pointer text-primary hover:text-primary/80",
|
|
12392
12383
|
size: 16
|
|
@@ -12495,7 +12486,7 @@ const Uk = {
|
|
|
12495
12486
|
] }, C))
|
|
12496
12487
|
] }) })
|
|
12497
12488
|
] })
|
|
12498
|
-
] }) : /* @__PURE__ */ y.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ y.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: p.isPending ? /* @__PURE__ */ y.jsx(
|
|
12489
|
+
] }) : /* @__PURE__ */ y.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ y.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: p.isPending ? /* @__PURE__ */ y.jsx(od, {}) : "Send a request first to see the response here" }) }) })
|
|
12499
12490
|
] })
|
|
12500
12491
|
}
|
|
12501
12492
|
) }) })
|
|
@@ -13051,7 +13042,7 @@ const Yk = ni(
|
|
|
13051
13042
|
operation: e
|
|
13052
13043
|
}) => {
|
|
13053
13044
|
var s, l, u, c, f, d, p, h;
|
|
13054
|
-
const n = Mf(), [t] =
|
|
13045
|
+
const n = Mf(), [t] = hd({ query: Yk, variables: n }), r = (l = (s = e.parameters) == null ? void 0 : s.filter((m) => m.in === "header")) == null ? void 0 : l.map((m) => ({
|
|
13055
13046
|
name: m.name,
|
|
13056
13047
|
value: ""
|
|
13057
13048
|
})), i = (c = (u = e.parameters) == null ? void 0 : u.filter((m) => m.in === "query")) == null ? void 0 : c.map((m) => ({
|
|
@@ -13089,7 +13080,7 @@ const Yk = ni(
|
|
|
13089
13080
|
children: t.map((r) => /* @__PURE__ */ y.jsx("option", { value: r.value, children: r.label }, r.value))
|
|
13090
13081
|
}
|
|
13091
13082
|
),
|
|
13092
|
-
/* @__PURE__ */ y.jsx("div", { className: "row-start-1 col-start-1 self-center justify-self-end relative end-2 pointer-events-none", children: /* @__PURE__ */ y.jsx(
|
|
13083
|
+
/* @__PURE__ */ y.jsx("div", { className: "row-start-1 col-start-1 self-center justify-self-end relative end-2 pointer-events-none", children: /* @__PURE__ */ y.jsx(wd, { size: 14 }) })
|
|
13093
13084
|
] }), mo = ({ children: e, className: n }) => /* @__PURE__ */ y.jsx(
|
|
13094
13085
|
"div",
|
|
13095
13086
|
{
|
|
@@ -15673,8 +15664,8 @@ var pS = vf.exports, Sf = Tn, Cf = pS, hS = Cf(Sf("String.prototype.indexOf")),
|
|
|
15673
15664
|
const yS = {}, gS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15674
15665
|
__proto__: null,
|
|
15675
15666
|
default: yS
|
|
15676
|
-
}, Symbol.toStringTag, { value: "Module" })), bS = /* @__PURE__ */
|
|
15677
|
-
var ko = typeof Map == "function" && Map.prototype, Wi = Object.getOwnPropertyDescriptor && ko ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Br = ko && Wi && typeof Wi.get == "function" ? Wi.get : null, dl = ko && Map.prototype.forEach, wo = typeof Set == "function" && Set.prototype, Ki = Object.getOwnPropertyDescriptor && wo ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ur = wo && Ki && typeof Ki.get == "function" ? Ki.get : null, pl = wo && Set.prototype.forEach, xS = typeof WeakMap == "function" && WeakMap.prototype, In = xS ? WeakMap.prototype.has : null, vS = typeof WeakSet == "function" && WeakSet.prototype, _n = vS ? WeakSet.prototype.has : null, kS = typeof WeakRef == "function" && WeakRef.prototype, hl = kS ? WeakRef.prototype.deref : null, wS = Boolean.prototype.valueOf, SS = Object.prototype.toString, CS = Function.prototype.toString, ES = String.prototype.match, So = String.prototype.slice,
|
|
15667
|
+
}, Symbol.toStringTag, { value: "Module" })), bS = /* @__PURE__ */ sd(gS);
|
|
15668
|
+
var ko = typeof Map == "function" && Map.prototype, Wi = Object.getOwnPropertyDescriptor && ko ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Br = ko && Wi && typeof Wi.get == "function" ? Wi.get : null, dl = ko && Map.prototype.forEach, wo = typeof Set == "function" && Set.prototype, Ki = Object.getOwnPropertyDescriptor && wo ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ur = wo && Ki && typeof Ki.get == "function" ? Ki.get : null, pl = wo && Set.prototype.forEach, xS = typeof WeakMap == "function" && WeakMap.prototype, In = xS ? WeakMap.prototype.has : null, vS = typeof WeakSet == "function" && WeakSet.prototype, _n = vS ? WeakSet.prototype.has : null, kS = typeof WeakRef == "function" && WeakRef.prototype, hl = kS ? WeakRef.prototype.deref : null, wS = Boolean.prototype.valueOf, SS = Object.prototype.toString, CS = Function.prototype.toString, ES = String.prototype.match, So = String.prototype.slice, $t = String.prototype.replace, TS = String.prototype.toUpperCase, ml = String.prototype.toLowerCase, Ef = RegExp.prototype.test, yl = Array.prototype.concat, ft = Array.prototype.join, AS = Array.prototype.slice, gl = Math.floor, Ca = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Gi = Object.getOwnPropertySymbols, Ea = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, wn = typeof Symbol == "function" && typeof Symbol.iterator == "object", qe = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === wn || !0) ? Symbol.toStringTag : null, Tf = Object.prototype.propertyIsEnumerable, bl = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
15678
15669
|
return e.__proto__;
|
|
15679
15670
|
} : null);
|
|
15680
15671
|
function xl(e, n) {
|
|
@@ -15685,23 +15676,23 @@ function xl(e, n) {
|
|
|
15685
15676
|
var r = e < 0 ? -gl(-e) : gl(e);
|
|
15686
15677
|
if (r !== e) {
|
|
15687
15678
|
var i = String(r), o = So.call(n, i.length + 1);
|
|
15688
|
-
return
|
|
15679
|
+
return $t.call(i, t, "$&_") + "." + $t.call($t.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
15689
15680
|
}
|
|
15690
15681
|
}
|
|
15691
|
-
return
|
|
15682
|
+
return $t.call(n, t, "$&_");
|
|
15692
15683
|
}
|
|
15693
15684
|
var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i) {
|
|
15694
15685
|
var o = t || {};
|
|
15695
|
-
if (
|
|
15686
|
+
if (Ot(o, "quoteStyle") && o.quoteStyle !== "single" && o.quoteStyle !== "double")
|
|
15696
15687
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
15697
|
-
if (
|
|
15688
|
+
if (Ot(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
|
|
15698
15689
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
15699
|
-
var a =
|
|
15690
|
+
var a = Ot(o, "customInspect") ? o.customInspect : !0;
|
|
15700
15691
|
if (typeof a != "boolean" && a !== "symbol")
|
|
15701
15692
|
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
15702
|
-
if (
|
|
15693
|
+
if (Ot(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
|
|
15703
15694
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
15704
|
-
if (
|
|
15695
|
+
if (Ot(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
|
|
15705
15696
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
15706
15697
|
var s = o.numericSeparator;
|
|
15707
15698
|
if (typeof n > "u")
|
|
@@ -15735,7 +15726,7 @@ var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i
|
|
|
15735
15726
|
var Y = {
|
|
15736
15727
|
depth: o.depth
|
|
15737
15728
|
};
|
|
15738
|
-
return
|
|
15729
|
+
return Ot(o, "quoteStyle") && (Y.quoteStyle = o.quoteStyle), e(M, Y, r + 1, i);
|
|
15739
15730
|
}
|
|
15740
15731
|
return e(M, o, r + 1, i);
|
|
15741
15732
|
}
|
|
@@ -15744,7 +15735,7 @@ var Ta = bS, vl = Ta.custom, kl = Of(vl) ? vl : null, OS = function e(n, t, r, i
|
|
|
15744
15735
|
return "[Function" + (p ? ": " + p : " (anonymous)") + "]" + (h.length > 0 ? " { " + ft.call(h, ", ") + " }" : "");
|
|
15745
15736
|
}
|
|
15746
15737
|
if (Of(n)) {
|
|
15747
|
-
var m = wn ?
|
|
15738
|
+
var m = wn ? $t.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ea.call(n);
|
|
15748
15739
|
return typeof n == "object" && !wn ? Nn(m) : m;
|
|
15749
15740
|
}
|
|
15750
15741
|
if (US(n)) {
|
|
@@ -15809,7 +15800,7 @@ function Af(e, n, t) {
|
|
|
15809
15800
|
return r + e + r;
|
|
15810
15801
|
}
|
|
15811
15802
|
function jS(e) {
|
|
15812
|
-
return
|
|
15803
|
+
return $t.call(String(e), /"/g, """);
|
|
15813
15804
|
}
|
|
15814
15805
|
function Aa(e) {
|
|
15815
15806
|
return It(e) === "[object Array]" && (!qe || !(typeof e == "object" && qe in e));
|
|
@@ -15857,7 +15848,7 @@ function IS(e) {
|
|
|
15857
15848
|
var _S = Object.prototype.hasOwnProperty || function(e) {
|
|
15858
15849
|
return e in this;
|
|
15859
15850
|
};
|
|
15860
|
-
function
|
|
15851
|
+
function Ot(e, n) {
|
|
15861
15852
|
return _S.call(e, n);
|
|
15862
15853
|
}
|
|
15863
15854
|
function It(e) {
|
|
@@ -15954,7 +15945,7 @@ function Nf(e, n) {
|
|
|
15954
15945
|
var t = e.length - n.maxStringLength, r = "... " + t + " more character" + (t > 1 ? "s" : "");
|
|
15955
15946
|
return Nf(So.call(e, 0, n.maxStringLength), n) + r;
|
|
15956
15947
|
}
|
|
15957
|
-
var i =
|
|
15948
|
+
var i = $t.call($t.call(e, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, VS);
|
|
15958
15949
|
return Af(i, "single", n);
|
|
15959
15950
|
}
|
|
15960
15951
|
function VS(e) {
|
|
@@ -16010,7 +16001,7 @@ function sr(e, n) {
|
|
|
16010
16001
|
if (t) {
|
|
16011
16002
|
r.length = e.length;
|
|
16012
16003
|
for (var i = 0; i < e.length; i++)
|
|
16013
|
-
r[i] =
|
|
16004
|
+
r[i] = Ot(e, i) ? n(e[i], e) : "";
|
|
16014
16005
|
}
|
|
16015
16006
|
var o = typeof Gi == "function" ? Gi(e) : [], a;
|
|
16016
16007
|
if (wn) {
|
|
@@ -16019,7 +16010,7 @@ function sr(e, n) {
|
|
|
16019
16010
|
a["$" + o[s]] = o[s];
|
|
16020
16011
|
}
|
|
16021
16012
|
for (var l in e)
|
|
16022
|
-
|
|
16013
|
+
Ot(e, l) && (t && String(Number(l)) === l && l < e.length || wn && a["$" + l] instanceof Symbol || (Ef.call(/[^\w$]/, l) ? r.push(n(l, e) + ": " + n(e[l], e)) : r.push(l + ": " + n(e[l], e))));
|
|
16023
16014
|
if (typeof Gi == "function")
|
|
16024
16015
|
for (var u = 0; u < o.length; u++)
|
|
16025
16016
|
Tf.call(e, o[u]) && r.push("[" + n(o[u]) + "]: " + n(e[o[u]], e));
|
|
@@ -17182,11 +17173,12 @@ const QC = (e, n) => {
|
|
|
17182
17173
|
}
|
|
17183
17174
|
}
|
|
17184
17175
|
`
|
|
17185
|
-
), n0 = () => {
|
|
17176
|
+
), n0 = { suspense: !0 }, r0 = () => {
|
|
17186
17177
|
var r;
|
|
17187
|
-
const { type: e, input: n } = Mf(), [t] =
|
|
17178
|
+
const { type: e, input: n } = Mf(), [t] = md({
|
|
17188
17179
|
query: t0,
|
|
17189
|
-
variables: { type: e, input: n }
|
|
17180
|
+
variables: { type: e, input: n },
|
|
17181
|
+
context: n0
|
|
17190
17182
|
});
|
|
17191
17183
|
return t.data ? /* @__PURE__ */ y.jsxs("div", { className: "pt-[--padding-content-top]", children: [
|
|
17192
17184
|
/* @__PURE__ */ y.jsxs("div", { className: le(Ir, "mb-16"), children: [
|
|
@@ -17212,17 +17204,17 @@ const QC = (e, n) => {
|
|
|
17212
17204
|
)) })
|
|
17213
17205
|
] }, i.name))
|
|
17214
17206
|
] }) : null;
|
|
17215
|
-
}, Df =
|
|
17207
|
+
}, Df = fd(
|
|
17216
17208
|
void 0
|
|
17217
|
-
),
|
|
17218
|
-
const e =
|
|
17209
|
+
), i0 = Df.Provider, Mf = () => {
|
|
17210
|
+
const e = dd(Df);
|
|
17219
17211
|
if (!e)
|
|
17220
17212
|
throw new Error("useOasConfig must be used within a OasConfigProvider");
|
|
17221
17213
|
return e.config;
|
|
17222
|
-
},
|
|
17214
|
+
}, a0 = ({
|
|
17223
17215
|
config: e,
|
|
17224
17216
|
client: n
|
|
17225
|
-
}) => /* @__PURE__ */ y.jsx(
|
|
17217
|
+
}) => /* @__PURE__ */ y.jsx(xd, { value: n, children: /* @__PURE__ */ y.jsx(i0, { value: { config: e }, children: /* @__PURE__ */ y.jsx(ud, {}) }) }), o0 = ni(`
|
|
17226
17218
|
query GetCategories($input: JSON!, $type: SchemaType!) {
|
|
17227
17219
|
schema(input: $input, type: $type) {
|
|
17228
17220
|
tags {
|
|
@@ -17240,16 +17232,16 @@ const QC = (e, n) => {
|
|
|
17240
17232
|
}
|
|
17241
17233
|
}
|
|
17242
17234
|
}
|
|
17243
|
-
`),
|
|
17244
|
-
const n = e.path ?? "/reference", t = e.server ? new
|
|
17235
|
+
`), x0 = (e) => {
|
|
17236
|
+
const n = e.path ?? "/reference", t = e.server ? new yd({
|
|
17245
17237
|
url: e.server,
|
|
17246
|
-
exchanges: [
|
|
17247
|
-
}) :
|
|
17238
|
+
exchanges: [gd, bd]
|
|
17239
|
+
}) : vd();
|
|
17248
17240
|
return {
|
|
17249
17241
|
getNavigation: async (r) => {
|
|
17250
|
-
if (!
|
|
17242
|
+
if (!ld({ path: n, end: !1 }, r))
|
|
17251
17243
|
return [];
|
|
17252
|
-
const { data: i } = await t.query(
|
|
17244
|
+
const { data: i } = await t.query(o0, {
|
|
17253
17245
|
input: e.input,
|
|
17254
17246
|
type: e.type
|
|
17255
17247
|
});
|
|
@@ -17277,25 +17269,25 @@ const QC = (e, n) => {
|
|
|
17277
17269
|
},
|
|
17278
17270
|
getRoutes: () => [
|
|
17279
17271
|
{
|
|
17280
|
-
element: /* @__PURE__ */ y.jsx(
|
|
17272
|
+
element: /* @__PURE__ */ y.jsx(a0, { config: e, client: t }),
|
|
17281
17273
|
children: [
|
|
17282
17274
|
{
|
|
17283
17275
|
path: n,
|
|
17284
|
-
children: [{ index: !0, element: /* @__PURE__ */ y.jsx(
|
|
17276
|
+
children: [{ index: !0, element: /* @__PURE__ */ y.jsx(r0, {}) }]
|
|
17285
17277
|
}
|
|
17286
17278
|
]
|
|
17287
17279
|
}
|
|
17288
17280
|
]
|
|
17289
17281
|
};
|
|
17290
|
-
},
|
|
17282
|
+
}, v0 = (e) => ({
|
|
17291
17283
|
getRoutes: () => e.redirects.map(({ from: n, to: t, replace: r }) => ({
|
|
17292
17284
|
path: n,
|
|
17293
17285
|
element: /* @__PURE__ */ y.jsx(Rl, { to: t, replace: r })
|
|
17294
17286
|
}))
|
|
17295
17287
|
});
|
|
17296
17288
|
export {
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
17289
|
+
h0 as apiKeyPlugin,
|
|
17290
|
+
m0 as markdownPlugin,
|
|
17291
|
+
x0 as openApiPlugin,
|
|
17292
|
+
v0 as redirectPlugin
|
|
17301
17293
|
};
|