zudoku 0.4.6-dev.4 → 0.5.1-dev.0

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 (58) hide show
  1. package/dist/lib/components/InlineCode.js +1 -1
  2. package/dist/lib/components/InlineCode.js.map +1 -1
  3. package/dist/lib/components/SyntaxHighlight.js +14 -14
  4. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  5. package/dist/lib/plugins/openapi/Endpoint.d.ts +3 -0
  6. package/dist/lib/plugins/openapi/Endpoint.js +14 -0
  7. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -0
  8. package/dist/lib/plugins/openapi/OperationList.js +2 -1
  9. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  10. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -1
  11. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  12. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  13. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  14. package/dist/lib/plugins/openapi/Sidecar.js +1 -1
  15. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  16. package/lib/{CategoryHeading-BG0OI3O5.js → CategoryHeading-w2EW676o.js} +2 -2
  17. package/lib/{CategoryHeading-BG0OI3O5.js.map → CategoryHeading-w2EW676o.js.map} +1 -1
  18. package/lib/{DeveloperHint-Dim4dKeY.js → DeveloperHint-D87KcpDW.js} +2 -2
  19. package/lib/{DeveloperHint-Dim4dKeY.js.map → DeveloperHint-D87KcpDW.js.map} +1 -1
  20. package/lib/{ErrorPage-XOZWbKDe.js → ErrorPage-BdHAg3Rg.js} +3 -3
  21. package/lib/{ErrorPage-XOZWbKDe.js.map → ErrorPage-BdHAg3Rg.js.map} +1 -1
  22. package/lib/{Input-BtumfhQu.js → Input-BmwltPfA.js} +3 -3
  23. package/lib/{Input-BtumfhQu.js.map → Input-BmwltPfA.js.map} +1 -1
  24. package/lib/{Markdown-Bg4SS0au.js → Markdown-BZUoEvL7.js} +5 -5
  25. package/lib/{Markdown-Bg4SS0au.js.map → Markdown-BZUoEvL7.js.map} +1 -1
  26. package/lib/{MdxPage-C3VDc6a7.js → MdxPage-BUHSDTy6.js} +3 -3
  27. package/lib/{MdxPage-C3VDc6a7.js.map → MdxPage-BUHSDTy6.js.map} +1 -1
  28. package/lib/{OperationList-C9ZThjSM.js → OperationList-DVIuzHN7.js} +106 -84
  29. package/lib/OperationList-DVIuzHN7.js.map +1 -0
  30. package/lib/{Route-D4ypsgCo.js → Route-5sI-urRK.js} +2 -2
  31. package/lib/{Route-D4ypsgCo.js.map → Route-5sI-urRK.js.map} +1 -1
  32. package/lib/{SidebarBadge-DMBr3H-a.js → SidebarBadge-6EEz-Bwe.js} +3 -3
  33. package/lib/{SidebarBadge-DMBr3H-a.js.map → SidebarBadge-6EEz-Bwe.js.map} +1 -1
  34. package/lib/{SlotletProvider-CRKX9y2Z.js → SlotletProvider-CNyl5wU0.js} +4 -4
  35. package/lib/{SlotletProvider-CRKX9y2Z.js.map → SlotletProvider-CNyl5wU0.js.map} +1 -1
  36. package/lib/{Spinner-BJ5wiTiz.js → Spinner-B9eFggre.js} +2 -2
  37. package/lib/{Spinner-BJ5wiTiz.js.map → Spinner-B9eFggre.js.map} +1 -1
  38. package/lib/{index-KUt-5Yzq.js → index-BGY8VjAV.js} +2 -2
  39. package/lib/{index-KUt-5Yzq.js.map → index-BGY8VjAV.js.map} +1 -1
  40. package/lib/{index-CvPXovcL.js → index-CbJpF8Yf.js} +3 -3
  41. package/lib/{index-CvPXovcL.js.map → index-CbJpF8Yf.js.map} +1 -1
  42. package/lib/{index-CQLpez2Z.js → index-DdUotMOQ.js} +15 -15
  43. package/lib/{index-CQLpez2Z.js.map → index-DdUotMOQ.js.map} +1 -1
  44. package/lib/zudoku.auth-openid.js +4 -4
  45. package/lib/zudoku.components.js +6 -6
  46. package/lib/zudoku.plugin-api-keys.js +5 -5
  47. package/lib/zudoku.plugin-custom-page.js +1 -1
  48. package/lib/zudoku.plugin-markdown.js +1 -1
  49. package/lib/zudoku.plugin-openapi.js +4 -4
  50. package/package.json +1 -1
  51. package/src/lib/components/InlineCode.tsx +1 -1
  52. package/src/lib/components/SyntaxHighlight.tsx +15 -15
  53. package/src/lib/plugins/openapi/Endpoint.tsx +31 -0
  54. package/src/lib/plugins/openapi/OperationList.tsx +4 -0
  55. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -2
  56. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +2 -2
  57. package/src/lib/plugins/openapi/Sidecar.tsx +2 -2
  58. package/lib/OperationList-C9ZThjSM.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as n from "react";
2
2
  import { createContext as j, useContext as w, useState as O, useEffect as k, Children as D } from "react";
3
- import { a as M, o as L, n as q, P as b, d as F, u as B, q as G } from "./index-KUt-5Yzq.js";
4
- import { P as $ } from "./SidebarBadge-DMBr3H-a.js";
3
+ import { a as M, o as L, n as q, P as b, d as F, u as B, q as G } from "./index-BGY8VjAV.js";
4
+ import { P as $ } from "./SidebarBadge-6EEz-Bwe.js";
5
5
  import { j as c } from "./jsx-runtime-B6kdoens.js";
6
6
  const H = j({ stagger: !1 }), X = ({ children: e }) => {
7
7
  const { stagger: r } = w(H), [o, a] = O(!r);
@@ -121,4 +121,4 @@ export {
121
121
  ee as T,
122
122
  X as a
123
123
  };
124
- //# sourceMappingURL=index-CvPXovcL.js.map
124
+ //# sourceMappingURL=index-CbJpF8Yf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CvPXovcL.js","sources":["../src/lib/plugins/openapi/StaggeredRender.tsx","../../../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"],"sourcesContent":["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/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"],"names":["StaggeredRenderContext","createContext","StaggeredRender","children","stagger","useContext","renderAll","setRenderAll","useState","useEffect","idle","Children","COLLAPSIBLE_NAME","createCollapsibleContext","createCollapsibleScope","createContextScope","CollapsibleProvider","useCollapsibleContext","Collapsible","React","props","forwardedRef","__scopeCollapsible","openProp","defaultOpen","disabled","onOpenChange","collapsibleProps","open","setOpen","useControllableState","jsx","useId","prevOpen","Primitive","getState","TRIGGER_NAME","CollapsibleTrigger","triggerProps","context","composeEventHandlers","CONTENT_NAME","CollapsibleContent","forceMount","contentProps","Presence","present","CollapsibleContentImpl","isPresent","setIsPresent","ref","composedRefs","useComposedRefs","heightRef","height","widthRef","width","isOpen","isMountAnimationP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AA,MACnC,iBAAiBA,EAAQ,WAAW,KAAK;AAAA,MACzC,IAAIA,EAAQ;AAAA,MACZ,QAAQ,CAACkB;AAAA,MACT,GAAGb;AAAA,MACH,KAAKO;AAAA,MACL,OAAO;AAAA,QACJ,sCAAuCG,IAAS,GAAGA,CAAM,OAAO;AAAA,QAChE,qCAAsCE,IAAQ,GAAGA,CAAK,OAAO;AAAA,QAC9D,GAAGpC,EAAM;AAAA,MACV;AAAA,MACD,UAAUqC,KAAUtD;AAAA,IACrB;AAAA,EACL;AACA,CAAC;AACD,SAASgC,EAASP,GAAM;AACtB,SAAOA,IAAO,SAAS;AACzB;AACG,IAACoC,IAAO9C,GACP+C,KAAU5B,GACV6B,KAAUxB;","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"index-CbJpF8Yf.js","sources":["../src/lib/plugins/openapi/StaggeredRender.tsx","../../../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"],"sourcesContent":["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/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"],"names":["StaggeredRenderContext","createContext","StaggeredRender","children","stagger","useContext","renderAll","setRenderAll","useState","useEffect","idle","Children","COLLAPSIBLE_NAME","createCollapsibleContext","createCollapsibleScope","createContextScope","CollapsibleProvider","useCollapsibleContext","Collapsible","React","props","forwardedRef","__scopeCollapsible","openProp","defaultOpen","disabled","onOpenChange","collapsibleProps","open","setOpen","useControllableState","jsx","useId","prevOpen","Primitive","getState","TRIGGER_NAME","CollapsibleTrigger","triggerProps","context","composeEventHandlers","CONTENT_NAME","CollapsibleContent","forceMount","contentProps","Presence","present","CollapsibleContentImpl","isPresent","setIsPresent","ref","composedRefs","useComposedRefs","heightRef","height","widthRef","width","isOpen","isMountAnimationPreventedRef","originalStylesRef","rAF","useLayoutEffect","node","rect","Root","Trigger","Content"],"mappings":";;;;;AASO,MAAMA,IAAyBC,EAAc,EAAE,SAAS,IAAO,GAEhEC,IAAkB,CAAC,EAAE,UAAAC,QAA0C;AACnE,QAAM,EAAE,SAAAC,EAAA,IAAYC,EAAWL,CAAsB,GAC/C,CAACM,GAAWC,CAAY,IAAIC,EAAS,CAACJ,CAAO;AAEnD,SAAAK,EAAU,MAAM;AACd,QAAIH;AACF;AAGI,UAAAI,IAAO,oBAAoB,MAAM;AACrC,MAAAH,EAAa,EAAI;AAAA,IAAA,CAClB;AAEM,WAAA,MAAM,mBAAmBG,CAAI;AAAA,EAAA,GACnC,CAACJ,CAAS,CAAC,GAENA,IAAqDH,IAAzCQ,EAAS,QAAQR,CAAQ,EAAE,MAAM,GA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kdoens.js";
2
2
  import { u as na, C as ra, c as aa, f as ia } from "./urql-YhcsXYy8.js";
3
3
  import { v as oa, w as sa } from "./ZudokuContext-BHNQL3XO.js";
4
4
  import { createClient as la } from "zudoku/openapi-worker";
5
- import { a as ca, k as ua, o as da, n as pa, P as ft, d as gt, B as Se, S as fa, V as ma, p as ha } from "./index-KUt-5Yzq.js";
6
- import { E as ya } from "./ErrorPage-XOZWbKDe.js";
7
- import { c as Je, a as q, u as ga, S as We, f as va } from "./Markdown-Bg4SS0au.js";
5
+ import { a as ca, k as ua, o as da, n as pa, P as ft, d as gt, B as Se, S as fa, V as ma, p as ha } from "./index-BGY8VjAV.js";
6
+ import { E as ya } from "./ErrorPage-BdHAg3Rg.js";
7
+ import { c as Je, a as q, u as ga, S as We, f as va } from "./Markdown-BZUoEvL7.js";
8
8
  import { j as ba } from "./joinPath-B7kNnUX4.js";
9
9
  import * as M from "react";
10
10
  import { useRef as er, useEffect as tr, useState as nr, Fragment as Ze, createContext as xa, useContext as ka, useTransition as $a, useMemo as Sa } from "react";
11
- import { O as rr, C as ar, b as wa, d as ir, D as or, a as ja, e as Na, T as Ta, c as sr, R as Oa, I as Ca, P as Pa, f as pe } from "./SidebarBadge-DMBr3H-a.js";
12
- import { g as Gt, I as it, C as xe, h as Ea, u as Ra, a as Aa, F as qa, S as Fa, b as Ia, c as _a, d as La, f as fn } from "./Input-BtumfhQu.js";
13
- import { S as mn } from "./Spinner-BJ5wiTiz.js";
11
+ import { O as rr, C as ar, b as wa, d as ir, D as or, a as ja, e as Na, T as Ta, c as sr, R as Oa, I as Ca, P as Pa, f as pe } from "./SidebarBadge-6EEz-Bwe.js";
12
+ import { g as Gt, I as it, C as xe, h as Ea, u as Ra, a as Aa, F as qa, S as Fa, b as Ia, c as _a, d as La, f as fn } from "./Input-BmwltPfA.js";
13
+ import { S as mn } from "./Spinner-B9eFggre.js";
14
14
  import { a as Ua, c as Le, g as Ma } from "./_commonjsHelpers-BVfed4GL.js";
15
15
  import { b as Ha, g as Ba } from "./index-ChhUJhLT.js";
16
16
  import { m as Va } from "./router-BiRCp01d.js";
@@ -5342,13 +5342,13 @@ const bc = ({ content: e }) => {
5342
5342
  var t;
5343
5343
  return e.length ? /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsxs(un, { children: [
5344
5344
  /* @__PURE__ */ p.jsx(dn, { className: "text-xs flex justify-between items-center", children: /* @__PURE__ */ p.jsx("span", { className: "font-mono", children: "Request Body Example" }) }),
5345
- /* @__PURE__ */ p.jsx(pn, { children: /* @__PURE__ */ p.jsx(
5345
+ /* @__PURE__ */ p.jsx(pn, { className: "p-0", children: /* @__PURE__ */ p.jsx(
5346
5346
  We,
5347
5347
  {
5348
5348
  language: "json",
5349
5349
  noBackground: !0,
5350
5350
  copyable: !0,
5351
- className: "text-xs max-h-[450px]",
5351
+ className: "text-xs max-h-[450px] p-2",
5352
5352
  code: JSON.stringify(
5353
5353
  (t = e.at(0)) != null && t.schema ? ze(e[0].schema) : "",
5354
5354
  null,
@@ -5390,12 +5390,12 @@ const bc = ({ content: e }) => {
5390
5390
  var r, o;
5391
5391
  const i = (o = (r = s.content) == null ? void 0 : r[0]) == null ? void 0 : o.schema;
5392
5392
  return /* @__PURE__ */ p.jsxs(Xt, { value: s.statusCode, children: [
5393
- /* @__PURE__ */ p.jsx(pn, { children: i ? /* @__PURE__ */ p.jsx(
5393
+ /* @__PURE__ */ p.jsx(pn, { className: "p-0", children: i ? /* @__PURE__ */ p.jsx(
5394
5394
  We,
5395
5395
  {
5396
5396
  language: "json",
5397
5397
  noBackground: !0,
5398
- className: "text-xs max-h-[450px]",
5398
+ className: "text-xs max-h-[450px] p-2",
5399
5399
  code: JSON.stringify(ze(i), null, 2)
5400
5400
  }
5401
5401
  ) : /* @__PURE__ */ p.jsx("span", { className: "text-muted-foreground font-mono italic text-xs", children: "Empty Response" }) }),
@@ -5526,12 +5526,12 @@ const bc = ({ content: e }) => {
5526
5526
  }
5527
5527
  )
5528
5528
  ] }),
5529
- /* @__PURE__ */ p.jsx(pn, { className: "max-h-[480px]", children: /* @__PURE__ */ p.jsx(
5529
+ /* @__PURE__ */ p.jsx(pn, { className: "max-h-[480px] p-0", children: /* @__PURE__ */ p.jsx(
5530
5530
  We,
5531
5531
  {
5532
5532
  language: c,
5533
5533
  noBackground: !0,
5534
- className: "text-xs",
5534
+ className: "text-xs p-2",
5535
5535
  code: d
5536
5536
  }
5537
5537
  ) }),
@@ -5698,7 +5698,7 @@ const bc = ({ content: e }) => {
5698
5698
  getRoutes: () => [
5699
5699
  {
5700
5700
  async lazy() {
5701
- const { OpenApiRoute: a } = await import("./Route-D4ypsgCo.js");
5701
+ const { OpenApiRoute: a } = await import("./Route-5sI-urRK.js");
5702
5702
  return {
5703
5703
  element: /* @__PURE__ */ p.jsx(a, { client: n, config: e })
5704
5704
  };
@@ -5711,7 +5711,7 @@ const bc = ({ content: e }) => {
5711
5711
  {
5712
5712
  index: !0,
5713
5713
  async lazy() {
5714
- const { OperationList: a } = await import("./OperationList-C9ZThjSM.js");
5714
+ const { OperationList: a } = await import("./OperationList-DVIuzHN7.js");
5715
5715
  return { element: /* @__PURE__ */ p.jsx(a, {}) };
5716
5716
  }
5717
5717
  }
@@ -5738,4 +5738,4 @@ export {
5738
5738
  Jc as o,
5739
5739
  hc as u
5740
5740
  };
5741
- //# sourceMappingURL=index-CQLpez2Z.js.map
5741
+ //# sourceMappingURL=index-DdUotMOQ.js.map