zudoku 0.3.0-dev.77 → 0.3.0-dev.79
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/authentication/providers/openid.d.ts +1 -1
- package/dist/lib/authentication/providers/openid.js +1 -1
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- 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 +7 -1
- 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 +40 -28
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -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/plugins/openapi/playground/ResponseTab.d.ts +4 -0
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +40 -0
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +1 -0
- package/dist/lib/ui/Button.d.ts +5 -1
- package/dist/lib/ui/Button.js +24 -1
- package/dist/lib/ui/Button.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-CS4rK8IJ.js} +33 -39
- package/lib/Combination-CS4rK8IJ.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-GFpPXs5b.js} +3 -3
- package/lib/{Input-BcZoDid4.js.map → Input-GFpPXs5b.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-C-M33Hxu.js +4368 -0
- package/lib/OperationList-C-M33Hxu.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-oNQQyp-I.js +244 -0
- package/lib/Spinner-oNQQyp-I.js.map +1 -0
- package/lib/index-D4bOMg7f.js +124 -0
- package/lib/index-D4bOMg7f.js.map +1 -0
- package/lib/index-Uqja2h2M.js +1960 -0
- package/lib/index-Uqja2h2M.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.auth-openid.js +1 -1
- package/lib/zudoku.auth-openid.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/app/main.css +1 -1
- package/src/lib/authentication/providers/openid.tsx +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 +21 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +14 -20
- package/src/lib/plugins/openapi/playground/Playground.tsx +76 -56
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +10 -6
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +86 -72
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +76 -0
- package/src/lib/ui/Button.tsx +32 -2
- package/src/lib/util/fetchTimeout.tsx +21 -0
- package/dist/lib/ui/button-variants.d.ts +0 -4
- package/dist/lib/ui/button-variants.js +0 -25
- package/dist/lib/ui/button-variants.js.map +0 -1
- 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/src/lib/ui/button-variants.ts +0 -32
|
@@ -4,17 +4,12 @@ var wt = (e) => {
|
|
|
4
4
|
var He = (e, t, n) => t.has(e) || wt("Cannot " + n);
|
|
5
5
|
var L = (e, t, n) => (He(e, t, "read from private field"), n ? n.call(e) : t.get(e)), we = (e, t, n) => t.has(e) ? wt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), xe = (e, t, n, r) => (He(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), Z = (e, t, n) => (He(e, t, "access private method"), n);
|
|
6
6
|
import { j as P } from "./jsx-runtime-CJBdjYYx.js";
|
|
7
|
+
import { a as Nn, e as Dn } from "./Markdown-QsZ-PHET.js";
|
|
7
8
|
import * as f from "react";
|
|
8
|
-
import oe, { useLayoutEffect as
|
|
9
|
-
import { e as Fn, a as In } from "./Markdown-IsabnbGN.js";
|
|
9
|
+
import oe, { useLayoutEffect as kn, useEffect as Fn, useState as In } from "react";
|
|
10
10
|
import { R as Wn, F as _n, n as Bn } from "./DevPortalProvider-BTFqdAEL.js";
|
|
11
11
|
import * as Ht from "react-dom";
|
|
12
12
|
import jn from "react-dom";
|
|
13
|
-
const mi = ({
|
|
14
|
-
children: e,
|
|
15
|
-
className: t
|
|
16
|
-
}) => {
|
|
17
|
-
};
|
|
18
13
|
function $n(e, t) {
|
|
19
14
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
20
15
|
}
|
|
@@ -65,8 +60,8 @@ function Un(e) {
|
|
|
65
60
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
66
61
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
67
62
|
}
|
|
68
|
-
const Yn =
|
|
69
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
63
|
+
const Yn = Dn(
|
|
64
|
+
"not-prose inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
70
65
|
{
|
|
71
66
|
variants: {
|
|
72
67
|
variant: {
|
|
@@ -96,7 +91,7 @@ const Yn = Fn(
|
|
|
96
91
|
return /* @__PURE__ */ P.jsx(
|
|
97
92
|
s,
|
|
98
93
|
{
|
|
99
|
-
className:
|
|
94
|
+
className: Nn(Yn({ variant: t, size: n, className: e })),
|
|
100
95
|
ref: i,
|
|
101
96
|
...o
|
|
102
97
|
}
|
|
@@ -104,7 +99,7 @@ const Yn = Fn(
|
|
|
104
99
|
}
|
|
105
100
|
);
|
|
106
101
|
Xn.displayName = "Button";
|
|
107
|
-
var H, F, ie, V, Q, $t,
|
|
102
|
+
var H, F, ie, V, Q, $t, mi = ($t = class extends Wn {
|
|
108
103
|
constructor(t) {
|
|
109
104
|
super();
|
|
110
105
|
we(this, V);
|
|
@@ -307,7 +302,7 @@ function Ve(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
307
302
|
return t == null ? void 0 : t(o);
|
|
308
303
|
};
|
|
309
304
|
}
|
|
310
|
-
function
|
|
305
|
+
function pi(e, t) {
|
|
311
306
|
const n = f.createContext(t);
|
|
312
307
|
function r(i) {
|
|
313
308
|
const { children: s, ...c } = i, a = f.useMemo(() => c, Object.values(c));
|
|
@@ -377,7 +372,7 @@ function ee(e) {
|
|
|
377
372
|
return (r = t.current) == null ? void 0 : r.call(t, ...n);
|
|
378
373
|
}, []);
|
|
379
374
|
}
|
|
380
|
-
function
|
|
375
|
+
function vi({
|
|
381
376
|
prop: e,
|
|
382
377
|
defaultProp: t,
|
|
383
378
|
onChange: n = () => {
|
|
@@ -431,7 +426,7 @@ var Zn = [
|
|
|
431
426
|
function Qn(e, t) {
|
|
432
427
|
e && Ht.flushSync(() => e.dispatchEvent(t));
|
|
433
428
|
}
|
|
434
|
-
function
|
|
429
|
+
function gi(e) {
|
|
435
430
|
const t = e + "CollectionProvider", [n, r] = zt(t), [o, i] = n(
|
|
436
431
|
t,
|
|
437
432
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
@@ -472,7 +467,7 @@ function yi(e) {
|
|
|
472
467
|
];
|
|
473
468
|
}
|
|
474
469
|
var Jn = f.createContext(void 0);
|
|
475
|
-
function
|
|
470
|
+
function yi(e) {
|
|
476
471
|
const t = f.useContext(Jn);
|
|
477
472
|
return e || t || "ltr";
|
|
478
473
|
}
|
|
@@ -602,7 +597,7 @@ function Yt(e, t, n, { discrete: r }) {
|
|
|
602
597
|
t && o.addEventListener(e, t, { once: !0 }), r ? Qn(o, i) : o.dispatchEvent(i);
|
|
603
598
|
}
|
|
604
599
|
var ze = 0;
|
|
605
|
-
function
|
|
600
|
+
function wi() {
|
|
606
601
|
f.useEffect(() => {
|
|
607
602
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
608
603
|
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Et()), document.body.insertAdjacentElement("beforeend", e[1] ?? Et()), ze++, () => {
|
|
@@ -746,7 +741,7 @@ function vr(e) {
|
|
|
746
741
|
var Ee = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
|
|
747
742
|
}, gr = f.useId || (() => {
|
|
748
743
|
}), yr = 0;
|
|
749
|
-
function
|
|
744
|
+
function xi(e) {
|
|
750
745
|
const [t, n] = f.useState(gr());
|
|
751
746
|
return Ee(() => {
|
|
752
747
|
n((r) => r ?? String(yr++));
|
|
@@ -1840,7 +1835,7 @@ const to = Nr, no = Dr, ro = Tr, oo = Fr, io = Mr, Dt = Or, so = kr, co = (e, t,
|
|
|
1840
1835
|
}
|
|
1841
1836
|
};
|
|
1842
1837
|
};
|
|
1843
|
-
var De = typeof document < "u" ?
|
|
1838
|
+
var De = typeof document < "u" ? kn : Fn;
|
|
1844
1839
|
function Be(e, t) {
|
|
1845
1840
|
if (e === t)
|
|
1846
1841
|
return !0;
|
|
@@ -2021,7 +2016,7 @@ function ho(e) {
|
|
|
2021
2016
|
n(void 0);
|
|
2022
2017
|
}, [e]), t;
|
|
2023
2018
|
}
|
|
2024
|
-
var ut = "Popper", [on,
|
|
2019
|
+
var ut = "Popper", [on, bi] = zt(ut), [mo, sn] = on(ut), cn = (e) => {
|
|
2025
2020
|
const { __scopePopper: t, children: n } = e, [r, o] = f.useState(null);
|
|
2026
2021
|
return /* @__PURE__ */ P.jsx(mo, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
2027
2022
|
};
|
|
@@ -2218,7 +2213,7 @@ function hn(e) {
|
|
|
2218
2213
|
const [t, n = "center"] = e.split("-");
|
|
2219
2214
|
return [t, n];
|
|
2220
2215
|
}
|
|
2221
|
-
var
|
|
2216
|
+
var Ei = cn, Ci = ln, Si = un, Ri = dn, xo = "Portal", bo = f.forwardRef((e, t) => {
|
|
2222
2217
|
var c;
|
|
2223
2218
|
const { container: n, ...r } = e, [o, i] = f.useState(!1);
|
|
2224
2219
|
Ee(() => i(!0), []);
|
|
@@ -2268,7 +2263,7 @@ var Eo = function(e) {
|
|
|
2268
2263
|
le.set(d, p), i.set(d, m), p || (Te.has(d) || d.removeAttribute(r), Te.delete(d)), m || d.removeAttribute(n);
|
|
2269
2264
|
}), Ke--, Ke || (le = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Me = {});
|
|
2270
2265
|
};
|
|
2271
|
-
},
|
|
2266
|
+
}, Ai = function(e, t, n) {
|
|
2272
2267
|
n === void 0 && (n = "data-aria-hidden");
|
|
2273
2268
|
var r = Array.from(Array.isArray(e) ? e : [e]), o = Eo(e);
|
|
2274
2269
|
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), So(r, o, n, "aria-hidden")) : function() {
|
|
@@ -2301,7 +2296,7 @@ function Ge(e, t) {
|
|
|
2301
2296
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
2302
2297
|
}
|
|
2303
2298
|
function Oo(e, t) {
|
|
2304
|
-
var n =
|
|
2299
|
+
var n = In(function() {
|
|
2305
2300
|
return {
|
|
2306
2301
|
// value
|
|
2307
2302
|
value: e,
|
|
@@ -2741,34 +2736,33 @@ var ci = f.forwardRef(function(e, t) {
|
|
|
2741
2736
|
});
|
|
2742
2737
|
ci.classNames = $e.classNames;
|
|
2743
2738
|
export {
|
|
2744
|
-
|
|
2739
|
+
Ci as A,
|
|
2745
2740
|
Xn as B,
|
|
2746
|
-
|
|
2741
|
+
Si as C,
|
|
2747
2742
|
or as D,
|
|
2748
2743
|
ur as F,
|
|
2749
|
-
|
|
2744
|
+
mi as M,
|
|
2750
2745
|
ae as P,
|
|
2751
2746
|
ci as R,
|
|
2752
2747
|
be as S,
|
|
2753
2748
|
zt as a,
|
|
2754
|
-
|
|
2755
|
-
|
|
2749
|
+
bi as b,
|
|
2750
|
+
gi as c,
|
|
2756
2751
|
Ve as d,
|
|
2757
|
-
|
|
2752
|
+
wi as e,
|
|
2758
2753
|
ee as f,
|
|
2759
|
-
|
|
2760
|
-
|
|
2754
|
+
Ri as g,
|
|
2755
|
+
Ai as h,
|
|
2761
2756
|
Vt as i,
|
|
2762
2757
|
Qn as j,
|
|
2763
|
-
|
|
2764
|
-
|
|
2758
|
+
yi as k,
|
|
2759
|
+
Ei as l,
|
|
2765
2760
|
bo as m,
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
Kn as s,
|
|
2761
|
+
xi as n,
|
|
2762
|
+
vi as o,
|
|
2763
|
+
pi as p,
|
|
2764
|
+
Ee as q,
|
|
2765
|
+
Kn as r,
|
|
2772
2766
|
se as u
|
|
2773
2767
|
};
|
|
2774
|
-
//# sourceMappingURL=Combination-
|
|
2768
|
+
//# sourceMappingURL=Combination-CS4rK8IJ.js.map
|