zudoku 0.3.0-dev.21 → 0.3.0-dev.23
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/config.d.ts +1 -1
- package/dist/lib/authentication/authentication.d.ts +1 -1
- package/dist/lib/plugins/api-keys/index.js +1 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +1 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +6 -0
- package/dist/lib/plugins/openapi/Route.js +8 -0
- package/dist/lib/plugins/openapi/Route.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +5 -0
- package/dist/lib/plugins/openapi/context.js +11 -0
- package/dist/lib/plugins/openapi/context.js.map +1 -0
- package/dist/lib/plugins/openapi/index.d.ts +1 -19
- package/dist/lib/plugins/openapi/index.js +17 -18
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +15 -0
- package/dist/lib/plugins/openapi/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
- package/dist/vite/config.js +5 -1
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/plugin-api-keys.js +3 -4
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +3 -7
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.js +2 -3
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +0 -1
- package/dist/vite/plugin-config.js +11 -6
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-redirect.js +2 -5
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/lib/{util-voKLTRDG.js → AnchorLink-DIUlXlf0.js} +149 -184
- package/lib/DevPortalProvider-gzyAGqHT.js +1080 -0
- package/lib/{Markdown-5LmPZyLV.js → Markdown-BjA7peYW.js} +3 -3
- package/lib/{MdxComponents-DYD_QPVF.js → MdxComponents-W-fE1ISO.js} +130 -129
- package/lib/MdxPage-DQ7lZBzE.js +216 -0
- package/lib/OperationList-DuIBqFNA.js +5545 -0
- package/lib/Route-B98Y2MdH.js +13 -0
- package/lib/{Select-DR3PiqjV.js → Select-DczD5e29.js} +24 -22
- package/lib/{Spinner-DjQ2eBxC.js → Spinner-CSoij67T.js} +3 -3
- package/lib/cn-DpqTslo9.js +2341 -0
- package/lib/context-_fYfJFgk.js +13 -0
- package/lib/{hook-FCY9-FHO.js → hook-CBXxHulF.js} +1 -1
- package/lib/{index-By9bEW57.js → index-C7O9D7f6.js} +15 -15
- package/lib/index-CKvOcM7w.js +712 -0
- package/lib/index-Cg6lXS1z.js +709 -0
- package/lib/index-ClDDiRmC.js +463 -0
- package/lib/router-DibNxKUP.js +3008 -0
- package/lib/util-CaVongBq.js +40 -0
- package/lib/zudoku.auth-openid.js +7 -6
- package/lib/zudoku.components.js +73 -69
- package/lib/zudoku.plugin-api-keys.js +26 -23
- package/lib/zudoku.plugin-markdown.js +33 -237
- package/lib/zudoku.plugin-openapi.js +5 -6238
- package/lib/zudoku.plugin-redirect.js +7 -6
- package/package.json +1 -1
- package/src/lib/authentication/authentication.ts +1 -1
- package/src/lib/plugins/api-keys/index.tsx +1 -0
- package/src/lib/plugins/markdown/generateRoutes.tsx +2 -2
- package/src/lib/plugins/openapi/OperationList.tsx +1 -1
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +1 -1
- package/src/lib/plugins/openapi/Route.tsx +21 -0
- package/src/lib/plugins/openapi/context.tsx +16 -0
- package/src/lib/plugins/openapi/index.tsx +19 -46
- package/src/lib/plugins/openapi/interfaces.ts +9 -0
- package/lib/DevPortalProvider-CRKuwoXc.js +0 -4123
- package/lib/index-PyGcnQFX.js +0 -3462
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { j as r } from "./router-DibNxKUP.js";
|
|
2
|
+
import { O as i } from "./context-_fYfJFgk.js";
|
|
3
|
+
import { P as t } from "./urql-DMlBWUKL.js";
|
|
4
|
+
import { O as s } from "./index-ClDDiRmC.js";
|
|
5
|
+
function u({
|
|
6
|
+
config: o,
|
|
7
|
+
client: e
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ r.jsx(t, { value: e, children: /* @__PURE__ */ r.jsx(i, { value: { config: o }, children: /* @__PURE__ */ r.jsx(s, {}) }) });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
u as OpenApiRoute
|
|
13
|
+
};
|
|
@@ -5,9 +5,11 @@ var cr = (e, r, t) => r.has(e) || sn("Cannot " + t);
|
|
|
5
5
|
var te = (e, r, t) => (cr(e, r, "read from private field"), t ? t.call(e) : r.get(e)), it = (e, r, t) => r.has(e) ? sn("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, t), at = (e, r, t, n) => (cr(e, r, "write to private field"), n ? n.call(e, t) : r.set(e, t), t), ct = (e, r, t) => (cr(e, r, "access private method"), t);
|
|
6
6
|
import * as h from "react";
|
|
7
7
|
import j, { useLayoutEffect as Rs, useEffect as Ps, useState as Ts } from "react";
|
|
8
|
-
import { h as Os, S as Ht, c as Br, u as le, b as Je, P as oe, d as ce, i as Fs, g as be, e as Wr, a as an } from "./index-
|
|
9
|
-
import {
|
|
10
|
-
import { j as P } from "./
|
|
8
|
+
import { h as Os, S as Ht, c as Br, u as le, b as Je, P as oe, d as ce, i as Fs, g as be, e as Wr, a as an } from "./index-C7O9D7f6.js";
|
|
9
|
+
import { S as Ns, w as Ds, i as cn, n as Ln, q as Ms, x as ks, y as Is } from "./DevPortalProvider-gzyAGqHT.js";
|
|
10
|
+
import { j as P } from "./router-DibNxKUP.js";
|
|
11
|
+
import { c as ke } from "./cn-DpqTslo9.js";
|
|
12
|
+
import { c as jn, b as Vs, C as Ls } from "./index-CKvOcM7w.js";
|
|
11
13
|
import * as Hr from "react-dom";
|
|
12
14
|
import js from "react-dom";
|
|
13
15
|
/**
|
|
@@ -16,7 +18,7 @@ import js from "react-dom";
|
|
|
16
18
|
* This source code is licensed under the ISC license.
|
|
17
19
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
20
|
*/
|
|
19
|
-
const Bn =
|
|
21
|
+
const Bn = jn("ChevronDown", [
|
|
20
22
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
21
23
|
]);
|
|
22
24
|
/**
|
|
@@ -25,7 +27,7 @@ const Bn = Ln("ChevronDown", [
|
|
|
25
27
|
* This source code is licensed under the ISC license.
|
|
26
28
|
* See the LICENSE file in the root directory of this source tree.
|
|
27
29
|
*/
|
|
28
|
-
const Bs =
|
|
30
|
+
const Bs = jn("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
|
29
31
|
var Ue, $e, fe, De, Me, Vt, Pr, Vn, Ws = (Vn = class extends Ns {
|
|
30
32
|
constructor(t, n) {
|
|
31
33
|
super();
|
|
@@ -79,7 +81,7 @@ var Ue, $e, fe, De, Me, Vt, Pr, Vn, Ws = (Vn = class extends Ns {
|
|
|
79
81
|
reset: this.reset
|
|
80
82
|
});
|
|
81
83
|
}, Pr = function(t) {
|
|
82
|
-
|
|
84
|
+
Ln.batch(() => {
|
|
83
85
|
var n, o, s, i, a, c, u, f;
|
|
84
86
|
if (te(this, De) && this.hasListeners()) {
|
|
85
87
|
const d = te(this, $e).variables, g = te(this, $e).context;
|
|
@@ -96,7 +98,7 @@ var Ue, $e, fe, De, Me, Vt, Pr, Vn, Ws = (Vn = class extends Ns {
|
|
|
96
98
|
});
|
|
97
99
|
});
|
|
98
100
|
}, Vn);
|
|
99
|
-
function
|
|
101
|
+
function ol(e, r) {
|
|
100
102
|
const t = Ms(), [n] = h.useState(
|
|
101
103
|
() => new Ws(
|
|
102
104
|
t,
|
|
@@ -108,7 +110,7 @@ function rl(e, r) {
|
|
|
108
110
|
}, [n, e]);
|
|
109
111
|
const o = h.useSyncExternalStore(
|
|
110
112
|
h.useCallback(
|
|
111
|
-
(i) => n.subscribe(
|
|
113
|
+
(i) => n.subscribe(Ln.batchCalls(i)),
|
|
112
114
|
[n]
|
|
113
115
|
),
|
|
114
116
|
() => n.getCurrentResult(),
|
|
@@ -223,7 +225,7 @@ const Ut = {
|
|
|
223
225
|
pattern: "pattern",
|
|
224
226
|
required: "required",
|
|
225
227
|
validate: "validate"
|
|
226
|
-
}, zn = j.createContext(null), Jt = () => j.useContext(zn),
|
|
228
|
+
}, zn = j.createContext(null), Jt = () => j.useContext(zn), sl = (e) => {
|
|
227
229
|
const { children: r, ...t } = e;
|
|
228
230
|
return j.createElement(zn.Provider, { value: t }, r);
|
|
229
231
|
};
|
|
@@ -377,7 +379,7 @@ function qs(e) {
|
|
|
377
379
|
})
|
|
378
380
|
};
|
|
379
381
|
}
|
|
380
|
-
const
|
|
382
|
+
const il = (e) => e.render(qs(e));
|
|
381
383
|
var Xs = (e, r, t, n, o) => r ? {
|
|
382
384
|
...t[e],
|
|
383
385
|
types: {
|
|
@@ -581,7 +583,7 @@ function ne(e, r) {
|
|
|
581
583
|
return n && delete n[s], o !== 0 && (ae(n) && he(n) || Array.isArray(n) && Qs(n)) && ne(e, t.slice(0, -1)), e;
|
|
582
584
|
}
|
|
583
585
|
var hn = (e, r, t) => (e[r] = t, e);
|
|
584
|
-
function
|
|
586
|
+
function al(e) {
|
|
585
587
|
const r = Jt(), { control: t = r.control, name: n, keyName: o = "id", shouldUnregister: s } = e, [i, a] = j.useState(t._getFieldArray(n)), c = j.useRef(t._getFieldArray(n).map(We)), u = j.useRef(i), f = j.useRef(n), d = j.useRef(!1);
|
|
586
588
|
f.current = n, u.current = i, t._names.array.add(n), e.rules && t.register(n, e.rules), er({
|
|
587
589
|
next: ({ values: w, name: A }) => {
|
|
@@ -1294,7 +1296,7 @@ function si(e = {}) {
|
|
|
1294
1296
|
getFieldState: je
|
|
1295
1297
|
};
|
|
1296
1298
|
}
|
|
1297
|
-
function
|
|
1299
|
+
function cl(e = {}) {
|
|
1298
1300
|
const r = j.useRef(), t = j.useRef(), [n, o] = j.useState({
|
|
1299
1301
|
isDirty: !1,
|
|
1300
1302
|
isValidating: !1,
|
|
@@ -3671,7 +3673,7 @@ var jo = h.forwardRef(function(e, r) {
|
|
|
3671
3673
|
return h.createElement(rr, Re({}, e, { ref: r, sideCar: gc }));
|
|
3672
3674
|
});
|
|
3673
3675
|
jo.classNames = rr.classNames;
|
|
3674
|
-
var yc = [" ", "Enter", "ArrowUp", "ArrowDown"], wc = [" ", "Enter"], Ot = "Select", [nr, or, xc] = ii(Ot), [bt,
|
|
3676
|
+
var yc = [" ", "Enter", "ArrowUp", "ArrowDown"], wc = [" ", "Enter"], Ot = "Select", [nr, or, xc] = ii(Ot), [bt, ll] = Br(Ot, [
|
|
3675
3677
|
xc,
|
|
3676
3678
|
xo
|
|
3677
3679
|
]), sr = xo(), [bc, Xe] = bt(Ot), [Sc, Ec] = bt(Ot), Bo = (e) => {
|
|
@@ -4438,7 +4440,7 @@ function kc(e, r) {
|
|
|
4438
4440
|
return e.map((t, n) => e[(r + n) % e.length]);
|
|
4439
4441
|
}
|
|
4440
4442
|
var Ic = Bo, ms = Ho, Vc = $o, Lc = zo, jc = Ko, vs = Yo, Bc = Zo, Wc = Jo, gs = ts, ys = ns, Hc = os, Uc = is, ws = as, xs = cs, bs = us;
|
|
4441
|
-
const
|
|
4443
|
+
const ul = Ic, dl = Wc, fl = Vc, $c = h.forwardRef(({ className: e, children: r, ...t }, n) => /* @__PURE__ */ P.jsxs(
|
|
4442
4444
|
ms,
|
|
4443
4445
|
{
|
|
4444
4446
|
ref: n,
|
|
@@ -4544,26 +4546,26 @@ const qc = h.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ P.jsx(
|
|
|
4544
4546
|
qc.displayName = bs.displayName;
|
|
4545
4547
|
export {
|
|
4546
4548
|
Us as B,
|
|
4547
|
-
|
|
4549
|
+
il as C,
|
|
4548
4550
|
oo as D,
|
|
4549
4551
|
io as F,
|
|
4550
4552
|
To as P,
|
|
4551
4553
|
jo as R,
|
|
4552
|
-
|
|
4554
|
+
ul as S,
|
|
4553
4555
|
Oo as V,
|
|
4554
|
-
|
|
4556
|
+
ol as a,
|
|
4555
4557
|
$c as b,
|
|
4556
|
-
|
|
4558
|
+
fl as c,
|
|
4557
4559
|
zc as d,
|
|
4558
|
-
|
|
4560
|
+
dl as e,
|
|
4559
4561
|
Yc as f,
|
|
4560
4562
|
ii as g,
|
|
4561
4563
|
ci as h,
|
|
4562
4564
|
ka as i,
|
|
4563
4565
|
gi as j,
|
|
4564
|
-
|
|
4566
|
+
al as k,
|
|
4565
4567
|
Ys as l,
|
|
4566
4568
|
Jt as m,
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
+
sl as n,
|
|
4570
|
+
cl as u
|
|
4569
4571
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { u as M, g as h, c as w, a as D, e as U, P as A, d as k } from "./index-
|
|
2
|
+
import { u as M, g as h, c as w, a as D, e as U, P as A, d as k } from "./index-C7O9D7f6.js";
|
|
3
3
|
import * as W from "react-dom";
|
|
4
|
-
import { j as N } from "./
|
|
5
|
-
import { c as F } from "./
|
|
4
|
+
import { j as N } from "./router-DibNxKUP.js";
|
|
5
|
+
import { c as F } from "./index-CKvOcM7w.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.378.0 - ISC
|
|
8
8
|
*
|