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.
Files changed (109) hide show
  1. package/dist/config/validators/validate.d.ts +130 -130
  2. package/dist/lib/authentication/providers/openid.d.ts +1 -1
  3. package/dist/lib/authentication/providers/openid.js +1 -1
  4. package/dist/lib/authentication/providers/openid.js.map +1 -1
  5. package/dist/lib/components/DevPortal.js +11 -2
  6. package/dist/lib/components/DevPortal.js.map +1 -1
  7. package/dist/lib/components/Heading.d.ts +1 -1
  8. package/dist/lib/core/plugins.d.ts +3 -0
  9. package/dist/lib/core/plugins.js +1 -0
  10. package/dist/lib/core/plugins.js.map +1 -1
  11. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +2 -1
  12. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +8 -16
  13. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  14. package/dist/lib/plugins/openapi/Sidecar.js +18 -1
  15. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  16. package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -6
  17. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  18. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  19. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +15 -15
  20. package/dist/lib/plugins/openapi/graphql/graphql.js +67 -67
  21. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  22. package/dist/lib/plugins/openapi/index.js +7 -1
  23. package/dist/lib/plugins/openapi/index.js.map +1 -1
  24. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +2 -3
  25. package/dist/lib/plugins/openapi/playground/PathParams.js +3 -4
  26. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  27. package/dist/lib/plugins/openapi/playground/Playground.d.ts +22 -10
  28. package/dist/lib/plugins/openapi/playground/Playground.js +40 -28
  29. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  30. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -1
  31. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  32. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  33. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +3 -2
  34. package/dist/lib/plugins/openapi/playground/QueryParams.js +10 -5
  35. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  36. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +4 -0
  37. package/dist/lib/plugins/openapi/playground/ResponseTab.js +40 -0
  38. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +1 -0
  39. package/dist/lib/ui/Button.d.ts +5 -1
  40. package/dist/lib/ui/Button.js +24 -1
  41. package/dist/lib/ui/Button.js.map +1 -1
  42. package/dist/lib/util/fetchTimeout.d.ts +1 -0
  43. package/dist/lib/util/fetchTimeout.js +14 -0
  44. package/dist/lib/util/fetchTimeout.js.map +1 -0
  45. package/lib/{CategoryHeading-D0V23fMT.js → CategoryHeading-DCmchnA1.js} +2 -2
  46. package/lib/{CategoryHeading-D0V23fMT.js.map → CategoryHeading-DCmchnA1.js.map} +1 -1
  47. package/lib/{Combination-CgxP9BB4.js → Combination-CS4rK8IJ.js} +33 -39
  48. package/lib/Combination-CS4rK8IJ.js.map +1 -0
  49. package/lib/DeveloperHint-DQVwIery.js +10 -0
  50. package/lib/DeveloperHint-DQVwIery.js.map +1 -0
  51. package/lib/{Input-BcZoDid4.js → Input-GFpPXs5b.js} +3 -3
  52. package/lib/{Input-BcZoDid4.js.map → Input-GFpPXs5b.js.map} +1 -1
  53. package/lib/{Markdown-IsabnbGN.js → Markdown-QsZ-PHET.js} +3 -3
  54. package/lib/{Markdown-IsabnbGN.js.map → Markdown-QsZ-PHET.js.map} +1 -1
  55. package/lib/{MdxPage-B1B2Inj5.js → MdxPage-V4FCB0C_.js} +3 -3
  56. package/lib/{MdxPage-B1B2Inj5.js.map → MdxPage-V4FCB0C_.js.map} +1 -1
  57. package/lib/OperationList-C-M33Hxu.js +4368 -0
  58. package/lib/OperationList-C-M33Hxu.js.map +1 -0
  59. package/lib/{Route-D0Ub80Oa.js → Route-CogU1ofM.js} +2 -2
  60. package/lib/{Route-D0Ub80Oa.js.map → Route-CogU1ofM.js.map} +1 -1
  61. package/lib/{SlotletProvider-CJXWb2gw.js → SlotletProvider-D_Vz-7c_.js} +4 -4
  62. package/lib/{SlotletProvider-CJXWb2gw.js.map → SlotletProvider-D_Vz-7c_.js.map} +1 -1
  63. package/lib/Spinner-oNQQyp-I.js +244 -0
  64. package/lib/Spinner-oNQQyp-I.js.map +1 -0
  65. package/lib/index-D4bOMg7f.js +124 -0
  66. package/lib/index-D4bOMg7f.js.map +1 -0
  67. package/lib/index-Uqja2h2M.js +1960 -0
  68. package/lib/index-Uqja2h2M.js.map +1 -0
  69. package/lib/{urql-DMlBWUKL.js → urql-DrBfkb92.js} +2 -3
  70. package/lib/{urql-DMlBWUKL.js.map → urql-DrBfkb92.js.map} +1 -1
  71. package/lib/zudoku.auth-openid.js +1 -1
  72. package/lib/zudoku.auth-openid.js.map +1 -1
  73. package/lib/zudoku.components.js +352 -348
  74. package/lib/zudoku.components.js.map +1 -1
  75. package/lib/zudoku.openapi-worker.js +1 -1
  76. package/lib/zudoku.plugin-api-keys.js +7 -6
  77. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  78. package/lib/zudoku.plugin-custom-page.js +1 -1
  79. package/lib/zudoku.plugin-markdown.js +1 -1
  80. package/lib/zudoku.plugin-openapi.js +5 -4
  81. package/lib/zudoku.plugin-openapi.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/app/main.css +1 -1
  84. package/src/lib/authentication/providers/openid.tsx +1 -1
  85. package/src/lib/components/DevPortal.tsx +14 -5
  86. package/src/lib/core/plugins.ts +7 -0
  87. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +9 -17
  88. package/src/lib/plugins/openapi/Sidecar.tsx +23 -1
  89. package/src/lib/plugins/openapi/graphql/gql.ts +8 -8
  90. package/src/lib/plugins/openapi/graphql/graphql.ts +80 -80
  91. package/src/lib/plugins/openapi/index.tsx +21 -0
  92. package/src/lib/plugins/openapi/playground/PathParams.tsx +14 -20
  93. package/src/lib/plugins/openapi/playground/Playground.tsx +76 -56
  94. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +10 -6
  95. package/src/lib/plugins/openapi/playground/QueryParams.tsx +86 -72
  96. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +76 -0
  97. package/src/lib/ui/Button.tsx +32 -2
  98. package/src/lib/util/fetchTimeout.tsx +21 -0
  99. package/dist/lib/ui/button-variants.d.ts +0 -4
  100. package/dist/lib/ui/button-variants.js +0 -25
  101. package/dist/lib/ui/button-variants.js.map +0 -1
  102. package/lib/Combination-CgxP9BB4.js.map +0 -1
  103. package/lib/OperationList-B2nsuf1v.js +0 -5471
  104. package/lib/OperationList-B2nsuf1v.js.map +0 -1
  105. package/lib/Spinner-BhtSoFka.js +0 -359
  106. package/lib/Spinner-BhtSoFka.js.map +0 -1
  107. package/lib/index-BC2Ob2BR.js +0 -727
  108. package/lib/index-BC2Ob2BR.js.map +0 -1
  109. 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 Nn, useEffect as Dn, useState as kn } from "react";
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 = Fn(
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: In(Yn({ variant: t, size: n, className: e })),
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, pi = ($t = class extends Wn {
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 vi(e, t) {
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 gi({
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 yi(e) {
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 wi(e) {
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 xi() {
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 bi(e) {
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" ? Nn : Dn;
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, Ei] = zt(ut), [mo, sn] = on(ut), cn = (e) => {
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 Ci = cn, Si = ln, Ri = un, Ai = dn, xo = "Portal", bo = f.forwardRef((e, t) => {
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
- }, Pi = function(e, t, n) {
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 = kn(function() {
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
- Si as A,
2739
+ Ci as A,
2745
2740
  Xn as B,
2746
- Ri as C,
2741
+ Si as C,
2747
2742
  or as D,
2748
2743
  ur as F,
2749
- pi as M,
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
- Ei as b,
2755
- yi as c,
2749
+ bi as b,
2750
+ gi as c,
2756
2751
  Ve as d,
2757
- xi as e,
2752
+ wi as e,
2758
2753
  ee as f,
2759
- Ai as g,
2760
- Pi as h,
2754
+ Ri as g,
2755
+ Ai as h,
2761
2756
  Vt as i,
2762
2757
  Qn as j,
2763
- wi as k,
2764
- Ci as l,
2758
+ yi as k,
2759
+ Ei as l,
2765
2760
  bo as m,
2766
- bi as n,
2767
- gi as o,
2768
- mi as p,
2769
- vi as q,
2770
- Ee as r,
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-CgxP9BB4.js.map
2768
+ //# sourceMappingURL=Combination-CS4rK8IJ.js.map