zudoku 0.47.1 → 0.47.2
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/app/ZuploBuildConfig.d.ts +21 -21
- package/dist/app/ZuploBuildConfig.js +7 -7
- package/dist/app/ZuploBuildConfig.js.map +1 -1
- package/dist/app/entry.client.d.ts +0 -2
- package/dist/app/entry.client.js +0 -2
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +0 -2
- package/dist/app/entry.server.js +0 -2
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +7 -7
- package/dist/app/env.js +8 -0
- package/dist/app/env.js.map +1 -1
- package/dist/app/main.d.ts +1 -0
- package/dist/app/main.js +1 -0
- package/dist/app/main.js.map +1 -1
- package/dist/config/validators/validate.d.ts +199 -76
- package/dist/config/validators/validate.js +22 -11
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/auth/issuer.js +1 -1
- package/dist/lib/auth/issuer.js.map +1 -1
- package/dist/lib/auth/issuer.test.js +1 -1
- package/dist/lib/auth/issuer.test.js.map +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/components/Framed.d.ts +7 -0
- package/dist/lib/components/Framed.js +26 -0
- package/dist/lib/components/Framed.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +2 -1
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +4 -4
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/ui/CodeBlock.js +1 -1
- package/dist/lib/ui/CodeBlock.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +6 -0
- package/dist/lib/util/MdxComponents.js +4 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/vite/css/plugin.js +11 -0
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/plugin-mdx.js +4 -2
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-theme.d.ts +8 -0
- package/dist/vite/plugin-theme.js +223 -0
- package/dist/vite/plugin-theme.js.map +1 -0
- package/dist/vite/plugin-theme.test.d.ts +1 -0
- package/dist/vite/plugin-theme.test.js +270 -0
- package/dist/vite/plugin-theme.test.js.map +1 -0
- package/dist/vite/plugin.js +2 -4
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/shadcn-registry.d.ts +45 -0
- package/dist/vite/shadcn-registry.js +29 -0
- package/dist/vite/shadcn-registry.js.map +1 -0
- package/lib/Drawer-BzkOKwgC.js.map +1 -1
- package/lib/{Markdown-r4buN85T.js → Markdown-C5j8kKSX.js} +444 -404
- package/lib/Markdown-C5j8kKSX.js.map +1 -0
- package/lib/{MdxPage-DYKsTerz.js → MdxPage-CKTMf1cR.js} +3 -3
- package/lib/{MdxPage-DYKsTerz.js.map → MdxPage-CKTMf1cR.js.map} +1 -1
- package/lib/{OasProvider-8vNiLpIG.js → OasProvider-_GzmsbMg.js} +2 -2
- package/lib/{OasProvider-8vNiLpIG.js.map → OasProvider-_GzmsbMg.js.map} +1 -1
- package/lib/{OperationList-BCVHtZNK.js → OperationList-BJAKaG5p.js} +4 -4
- package/lib/{OperationList-BCVHtZNK.js.map → OperationList-BJAKaG5p.js.map} +1 -1
- package/lib/{SchemaList-1oJKvBxh.js → SchemaList-Dgc0A8x5.js} +5 -5
- package/lib/{SchemaList-1oJKvBxh.js.map → SchemaList-Dgc0A8x5.js.map} +1 -1
- package/lib/{SchemaView-CTqaB-79.js → SchemaView-DVx-jFN4.js} +13 -13
- package/lib/{SchemaView-CTqaB-79.js.map → SchemaView-DVx-jFN4.js.map} +1 -1
- package/lib/{Slot-B5qSAnwR.js → Slot-ITby_hMb.js} +2 -2
- package/lib/{Slot-B5qSAnwR.js.map → Slot-ITby_hMb.js.map} +1 -1
- package/lib/{Toc-lxYQEOzX.js → Toc-Csq3UNtW.js} +2 -2
- package/lib/{Toc-lxYQEOzX.js.map → Toc-Csq3UNtW.js.map} +1 -1
- package/lib/{circular-ZGGPtwMq.js → circular-BP4OrHFK.js} +2 -2
- package/lib/{circular-ZGGPtwMq.js.map → circular-BP4OrHFK.js.map} +1 -1
- package/lib/clerk-yAKDC3Qz.js.map +1 -1
- package/lib/{createServer-DUBpXfvA.js → createServer-zu4cDiPe.js} +3 -3
- package/lib/{createServer-DUBpXfvA.js.map → createServer-zu4cDiPe.js.map} +1 -1
- package/lib/{errors-D27ZTQgx.js → errors-CPPSp5F4.js} +8 -8
- package/lib/{errors-D27ZTQgx.js.map → errors-CPPSp5F4.js.map} +1 -1
- package/lib/hook-7wZANGJP.js.map +1 -1
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-QzXzw_ra.js.map +1 -1
- package/lib/{index-Cucjfk3D.js → index-jWXxqkni.js} +6 -6
- package/lib/{index-Cucjfk3D.js.map → index-jWXxqkni.js.map} +1 -1
- package/lib/ui/CodeBlock.js +7 -7
- package/lib/ui/CodeBlock.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +1 -1
- package/lib/zudoku.auth-openid.js +1 -1
- package/lib/zudoku.components.js +25 -24
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +1 -1
- package/lib/zudoku.plugin-api-keys.js +50 -42
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +5 -5
- package/src/app/ZuploBuildConfig.ts +7 -7
- package/src/app/defaultTheme.css +68 -49
- package/src/app/entry.client.tsx +0 -2
- package/src/app/entry.server.tsx +0 -2
- package/src/app/env.ts +8 -0
- package/src/app/main.css +1 -52
- package/src/app/main.tsx +1 -0
- package/src/lib/auth/issuer.test.ts +1 -1
- package/src/lib/auth/issuer.ts +1 -1
- package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
- package/src/lib/components/Framed.tsx +51 -0
- package/src/lib/components/MobileTopNavigation.tsx +4 -0
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +11 -8
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +1 -1
- package/src/lib/ui/CodeBlock.tsx +1 -1
- package/src/lib/util/MdxComponents.tsx +13 -2
- package/dist/vite/plugin-configure-tailwind.d.ts +0 -2
- package/dist/vite/plugin-configure-tailwind.js +0 -38
- package/dist/vite/plugin-configure-tailwind.js.map +0 -1
- package/dist/vite/plugin-theme-css.d.ts +0 -5
- package/dist/vite/plugin-theme-css.js +0 -77
- package/dist/vite/plugin-theme-css.js.map +0 -1
- package/lib/Markdown-r4buN85T.js.map +0 -1
package/lib/ui/CodeBlock.js
CHANGED
|
@@ -2,14 +2,14 @@ import { j as e } from "../jsx-runtime-C5mzlN2N.js";
|
|
|
2
2
|
import { CheckIcon as p, CopyIcon as x } from "lucide-react";
|
|
3
3
|
import { useState as f, useRef as b } from "react";
|
|
4
4
|
import { c as t } from "../cn-wvCW-ho6.js";
|
|
5
|
-
const
|
|
5
|
+
const C = ({
|
|
6
6
|
children: n,
|
|
7
7
|
title: o,
|
|
8
8
|
language: l,
|
|
9
9
|
showCopy: r = "hover",
|
|
10
10
|
showCopyText: a,
|
|
11
|
-
showLanguageIndicator:
|
|
12
|
-
showLineNumbers:
|
|
11
|
+
showLanguageIndicator: c = !0,
|
|
12
|
+
showLineNumbers: u,
|
|
13
13
|
...m
|
|
14
14
|
}) => {
|
|
15
15
|
const [d, i] = f(!1), s = b(null);
|
|
@@ -18,7 +18,7 @@ const k = ({
|
|
|
18
18
|
{
|
|
19
19
|
className: t(
|
|
20
20
|
"code-block-wrapper relative group bg-muted/50 rounded-md",
|
|
21
|
-
|
|
21
|
+
u && "line-numbers"
|
|
22
22
|
),
|
|
23
23
|
children: [
|
|
24
24
|
o && /* @__PURE__ */ e.jsx("div", { className: "text-xs text-muted-foreground top-2 font-mono border-b w-full py-2 px-4 ", children: o }),
|
|
@@ -33,7 +33,7 @@ const k = ({
|
|
|
33
33
|
children: n
|
|
34
34
|
}
|
|
35
35
|
),
|
|
36
|
-
|
|
36
|
+
c && /* @__PURE__ */ e.jsx(
|
|
37
37
|
"span",
|
|
38
38
|
{
|
|
39
39
|
className: t(
|
|
@@ -51,7 +51,7 @@ const k = ({
|
|
|
51
51
|
"aria-label": "Copy code",
|
|
52
52
|
title: "Copy code",
|
|
53
53
|
className: t(
|
|
54
|
-
"absolute top-2 end-2 p-2 hover:
|
|
54
|
+
"absolute top-2 end-2 p-2 transition hover:shadow-xs active:shadow-none active:inset-shadow-xs hover:outline outline-border rounded-md text-sm text-muted-foreground",
|
|
55
55
|
o && "top-10",
|
|
56
56
|
r === "hover" && "opacity-0 group-hover:opacity-100",
|
|
57
57
|
a && "flex gap-2 items-center font-medium"
|
|
@@ -79,6 +79,6 @@ const k = ({
|
|
|
79
79
|
) : null;
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
82
|
-
|
|
82
|
+
C as CodeBlock
|
|
83
83
|
};
|
|
84
84
|
//# sourceMappingURL=CodeBlock.js.map
|
package/lib/ui/CodeBlock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.js","sources":["../../src/lib/ui/CodeBlock.tsx"],"sourcesContent":["import { CheckIcon, CopyIcon } from \"lucide-react\";\nimport type { ReactNode } from \"react\";\nimport { useRef, useState } from \"react\";\nimport { cn } from \"../util/cn.js\";\n\nexport type CodeBlockProps = {\n className?: string;\n noBackground?: boolean;\n wrapLines?: boolean;\n showLanguageIndicator?: boolean;\n language?: string;\n title?: string;\n children?: ReactNode;\n code?: ReactNode;\n showCopy?: \"hover\" | \"always\" | \"never\";\n showCopyText?: boolean;\n disabled?: boolean;\n showLineNumbers?: boolean;\n};\n\nexport const CodeBlock = ({\n children,\n title,\n language,\n showCopy = \"hover\",\n showCopyText,\n showLanguageIndicator = true,\n showLineNumbers,\n ...props\n}: CodeBlockProps) => {\n const [isCopied, setIsCopied] = useState(false);\n const ref = useRef<HTMLDivElement>(null);\n\n if (!children) return null;\n\n return (\n <div\n className={cn(\n \"code-block-wrapper relative group bg-muted/50 rounded-md\",\n showLineNumbers && \"line-numbers\",\n )}\n >\n {title && (\n <div className=\"text-xs text-muted-foreground top-2 font-mono border-b w-full py-2 px-4 \">\n {title}\n </div>\n )}\n <div\n className={cn(\n \"code-block text-sm not-prose scrollbar overflow-x-auto scrollbar p-4\",\n props.className,\n )}\n ref={ref}\n >\n {children}\n </div>\n {showLanguageIndicator && (\n <span\n className={cn(\n \"absolute top-1.5 end-3 !text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0\",\n title && \"top-12\",\n showCopy === \"always\" && \"hidden\",\n )}\n >\n {language}\n </span>\n )}\n {showCopy !== \"never\" && (\n <button\n type=\"button\"\n aria-label=\"Copy code\"\n title=\"Copy code\"\n className={cn(\n \"absolute top-2 end-2 p-2 hover:
|
|
1
|
+
{"version":3,"file":"CodeBlock.js","sources":["../../src/lib/ui/CodeBlock.tsx"],"sourcesContent":["import { CheckIcon, CopyIcon } from \"lucide-react\";\nimport type { ReactNode } from \"react\";\nimport { useRef, useState } from \"react\";\nimport { cn } from \"../util/cn.js\";\n\nexport type CodeBlockProps = {\n className?: string;\n noBackground?: boolean;\n wrapLines?: boolean;\n showLanguageIndicator?: boolean;\n language?: string;\n title?: string;\n children?: ReactNode;\n code?: ReactNode;\n showCopy?: \"hover\" | \"always\" | \"never\";\n showCopyText?: boolean;\n disabled?: boolean;\n showLineNumbers?: boolean;\n};\n\nexport const CodeBlock = ({\n children,\n title,\n language,\n showCopy = \"hover\",\n showCopyText,\n showLanguageIndicator = true,\n showLineNumbers,\n ...props\n}: CodeBlockProps) => {\n const [isCopied, setIsCopied] = useState(false);\n const ref = useRef<HTMLDivElement>(null);\n\n if (!children) return null;\n\n return (\n <div\n className={cn(\n \"code-block-wrapper relative group bg-muted/50 rounded-md\",\n showLineNumbers && \"line-numbers\",\n )}\n >\n {title && (\n <div className=\"text-xs text-muted-foreground top-2 font-mono border-b w-full py-2 px-4 \">\n {title}\n </div>\n )}\n <div\n className={cn(\n \"code-block text-sm not-prose scrollbar overflow-x-auto scrollbar p-4\",\n props.className,\n )}\n ref={ref}\n >\n {children}\n </div>\n {showLanguageIndicator && (\n <span\n className={cn(\n \"absolute top-1.5 end-3 !text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0\",\n title && \"top-12\",\n showCopy === \"always\" && \"hidden\",\n )}\n >\n {language}\n </span>\n )}\n {showCopy !== \"never\" && (\n <button\n type=\"button\"\n aria-label=\"Copy code\"\n title=\"Copy code\"\n className={cn(\n \"absolute top-2 end-2 p-2 transition hover:shadow-xs active:shadow-none active:inset-shadow-xs hover:outline outline-border rounded-md text-sm text-muted-foreground\",\n title && \"top-10\",\n showCopy === \"hover\" && \"opacity-0 group-hover:opacity-100\",\n showCopyText && \"flex gap-2 items-center font-medium\",\n )}\n disabled={isCopied}\n onClick={() => {\n if (!ref.current?.textContent) return;\n\n setIsCopied(true);\n void navigator.clipboard.writeText(ref.current.textContent);\n setTimeout(() => setIsCopied(false), 2000);\n }}\n >\n {isCopied ? (\n <CheckIcon\n className=\"text-emerald-600\"\n size={16}\n strokeWidth={2.5}\n absoluteStrokeWidth\n />\n ) : (\n <CopyIcon size={16} />\n )}\n {showCopyText && \"Copy\"}\n </button>\n )}\n </div>\n );\n};\n"],"names":["CodeBlock","children","title","language","showCopy","showCopyText","showLanguageIndicator","showLineNumbers","props","isCopied","setIsCopied","useState","ref","useRef","jsxs","cn","jsx","CheckIcon","CopyIcon"],"mappings":";;;;AAoBO,MAAMA,IAAY,CAAC;AAAA,EACxB,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,cAAAC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ACV,MAAM;AAAA,kBACN,aAAa;AAAA,kBACb,qBAAmB;AAAA,gBAAA;AAAA,cAGrB,IAAAD,gBAAAA,EAAA,IAACE,GAAS,EAAA,MAAM,GAAI,CAAA;AAAA,cAErBb,KAAgB;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACnB;AAAA,IAAA;AAAA,EAEJ,IAnEoB;AAqExB;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as yo } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { C as aa } from "./ClientOnly-E7hGysn1.js";
|
|
3
3
|
import { j as sa, u as To } from "./hook-7wZANGJP.js";
|
|
4
|
-
import { C as ca, A as qt, a as la } from "./errors-
|
|
4
|
+
import { C as ca, A as qt, a as la } from "./errors-CPPSp5F4.js";
|
|
5
5
|
/*! @azure/msal-common v15.7.0 2025-05-30 */
|
|
6
6
|
const d = {
|
|
7
7
|
LIBRARY_NAME: "MSAL.JS",
|
|
@@ -2,7 +2,7 @@ import { j as ne } from "./jsx-runtime-C5mzlN2N.js";
|
|
|
2
2
|
import { g as Le } from "./invariant-DAFpPywt.js";
|
|
3
3
|
import { C as Ue } from "./ClientOnly-E7hGysn1.js";
|
|
4
4
|
import { j as xe, u as S } from "./hook-7wZANGJP.js";
|
|
5
|
-
import { C as Ce, O as re, A as R, a as Ie } from "./errors-
|
|
5
|
+
import { C as Ce, O as re, A as R, a as Ie } from "./errors-CPPSp5F4.js";
|
|
6
6
|
var O = { exports: {} }, je = O.exports, oe;
|
|
7
7
|
function De() {
|
|
8
8
|
return oe || (oe = 1, function(t) {
|
package/lib/zudoku.components.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { a as ft, H as Se } from "./index.esm-BFcSKCe-.js";
|
|
2
2
|
import { z as mt, J as Wt } from "./index--oeBayMa.js";
|
|
3
|
-
import { R as Kt, S as Yt, u as fe, f as me, g as Gt, L as
|
|
3
|
+
import { R as Kt, S as Yt, u as fe, f as me, g as Gt, L as Te, O as pt } from "./chunk-DQRVZFIR-BblmKnHy.js";
|
|
4
4
|
import { S as gt, r as yt, Q as Jt, n as O, t as Me, v as Ze, w as Z, x as Xt, y as es, z as ts, A as ss, B as De, D as $e, E as rs, h as ze, F as qe, G as as, e as vt, H as xt, l as ns, k as P, i as ee, I as _t, J as bt, K as is, j as H, u as os, d as ds, N as cs, Z as ls, m as us, C as hs } from "./hook-7wZANGJP.js";
|
|
5
5
|
import { B as kt, R as fs } from "./RouteGuard-B7GVW4oL.js";
|
|
6
|
-
import { E as wt, S as T, a as ms, R as ps } from "./Slot-
|
|
6
|
+
import { E as wt, S as T, a as ms, R as ps } from "./Slot-ITby_hMb.js";
|
|
7
7
|
import { j as i } from "./jsx-runtime-C5mzlN2N.js";
|
|
8
8
|
import { Button as jt } from "./ui/Button.js";
|
|
9
9
|
import { Callout as gs } from "./ui/Callout.js";
|
|
10
10
|
import { M as ys } from "./mutation-C1XCQTQL.js";
|
|
11
11
|
import * as D from "react";
|
|
12
|
-
import { createContext as
|
|
12
|
+
import { createContext as Oe, StrictMode as Nt, useRef as Ae, useEffect as V, useState as J, useCallback as vs, Suspense as Ee, memo as Ct, Component as xs, createElement as Le, useMemo as ge, useContext as _s } from "react";
|
|
13
13
|
import * as bs from "react-dom";
|
|
14
|
-
import { CircleFadingArrowUpIcon as ks, LoaderCircleIcon as ws, ExternalLink as js, CircleXIcon as Ns, ChevronRightIcon as Cs, SearchIcon as Ss, SunIcon as
|
|
14
|
+
import { CircleFadingArrowUpIcon as ks, LoaderCircleIcon as ws, ExternalLink as js, CircleXIcon as Ns, ChevronRightIcon as Cs, SearchIcon as Ss, SunIcon as Ts, MoonIcon as Os, MenuIcon as As, PanelLeftIcon as Es } from "lucide-react";
|
|
15
15
|
import { C as pe } from "./ClientOnly-E7hGysn1.js";
|
|
16
16
|
import { c as C } from "./cn-wvCW-ho6.js";
|
|
17
|
-
import { A as Ps, s as Rs, a as Be, b as Is, H as Ms, P as Zs, c as Ds, V as $s, M as zs } from "./Markdown-
|
|
17
|
+
import { A as Ps, s as Rs, a as Be, b as Is, H as Ms, P as Zs, c as Ds, V as $s, M as zs } from "./Markdown-C5j8kKSX.js";
|
|
18
18
|
import { S as St } from "./Spinner-mNLZ6awP.js";
|
|
19
19
|
import { C as qs } from "./CategoryHeading-Cu2RwgjC.js";
|
|
20
20
|
import { isSearchPlugin as Ls, isProfileMenuPlugin as Bs, isNavigationPlugin as Fe, isAuthenticationPlugin as Fs, isEventConsumerPlugin as Qs, needsInitialization as Vs, isApiIdentityPlugin as Us, isMdxProviderPlugin as Hs, hasHead as Ws } from "./zudoku.plugins.js";
|
|
@@ -22,8 +22,8 @@ import { j as Ks } from "./joinPath-B7kNnUX4.js";
|
|
|
22
22
|
import { o as Ys } from "./objectEntries-yMIkr2mI.js";
|
|
23
23
|
import { B as _e } from "./Button-BE9IVkWV.js";
|
|
24
24
|
import { DropdownMenu as Gs, DropdownMenuTrigger as Js, DropdownMenuContent as Xs, DropdownMenuLabel as er, DropdownMenuSeparator as ye, DropdownMenuSub as tr, DropdownMenuSubTrigger as sr, DropdownMenuPortal as rr, DropdownMenuSubContent as ar, DropdownMenuItem as nr } from "./ui/DropdownMenu.js";
|
|
25
|
-
import { VisuallyHidden as
|
|
26
|
-
import { D as ir, a as or, b as
|
|
25
|
+
import { VisuallyHidden as Tt } from "@radix-ui/react-visually-hidden";
|
|
26
|
+
import { D as ir, a as or, b as Ot, c as At, d as I } from "./Drawer-BzkOKwgC.js";
|
|
27
27
|
import { u as dr } from "./react-nprogress.esm-C2MPXjiJ.js";
|
|
28
28
|
import { a as cr } from "./index-DI5SPFK9.js";
|
|
29
29
|
import { M as lr, u as ur } from "./index-QzXzw_ra.js";
|
|
@@ -570,7 +570,7 @@ function vr({ error: t }) {
|
|
|
570
570
|
function xr(t) {
|
|
571
571
|
return /* @__PURE__ */ D.createElement(Kt, { flushSync: bs.flushSync, ...t });
|
|
572
572
|
}
|
|
573
|
-
const be =
|
|
573
|
+
const be = Oe({ stagger: !1 }), _r = new pr({
|
|
574
574
|
defaultOptions: {
|
|
575
575
|
queries: {
|
|
576
576
|
staleTime: 1e3 * 60 * 5
|
|
@@ -1150,7 +1150,7 @@ class _ {
|
|
|
1150
1150
|
return this.safeParse(null).success;
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
|
-
const Cr = /^c[^\s-]{8,}$/i, Sr = /^[0-9a-z]+$/,
|
|
1153
|
+
const Cr = /^c[^\s-]{8,}$/i, Sr = /^[0-9a-z]+$/, Tr = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Or = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Ar = /^[a-z0-9_-]{21}$/i, Er = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, Pr = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Rr = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Ir = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
1154
1154
|
let ve;
|
|
1155
1155
|
const Mr = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]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fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, zr = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, qr = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, Et = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Lr = new RegExp(`^${Et}$`);
|
|
1156
1156
|
function Pt(t) {
|
|
@@ -1244,7 +1244,7 @@ class q extends _ {
|
|
|
1244
1244
|
message: n.message
|
|
1245
1245
|
}), r.dirty());
|
|
1246
1246
|
else if (n.kind === "uuid")
|
|
1247
|
-
|
|
1247
|
+
Or.test(e.data) || (a = this._getOrReturnCtx(e, a), h(a, {
|
|
1248
1248
|
validation: "uuid",
|
|
1249
1249
|
code: c.invalid_string,
|
|
1250
1250
|
message: n.message
|
|
@@ -1268,7 +1268,7 @@ class q extends _ {
|
|
|
1268
1268
|
message: n.message
|
|
1269
1269
|
}), r.dirty());
|
|
1270
1270
|
else if (n.kind === "ulid")
|
|
1271
|
-
|
|
1271
|
+
Tr.test(e.data) || (a = this._getOrReturnCtx(e, a), h(a, {
|
|
1272
1272
|
validation: "ulid",
|
|
1273
1273
|
code: c.invalid_string,
|
|
1274
1274
|
message: n.message
|
|
@@ -3509,7 +3509,7 @@ const Zt = ({ className: t }) => {
|
|
|
3509
3509
|
t === "light" && "border-border bg-muted",
|
|
3510
3510
|
t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
3511
3511
|
),
|
|
3512
|
-
children: /* @__PURE__ */ i.jsx(
|
|
3512
|
+
children: /* @__PURE__ */ i.jsx(Ts, { size: 16 })
|
|
3513
3513
|
}
|
|
3514
3514
|
),
|
|
3515
3515
|
/* @__PURE__ */ i.jsx(
|
|
@@ -3520,7 +3520,7 @@ const Zt = ({ className: t }) => {
|
|
|
3520
3520
|
t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
3521
3521
|
t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
3522
3522
|
),
|
|
3523
|
-
children: /* @__PURE__ */ i.jsx(
|
|
3523
|
+
children: /* @__PURE__ */ i.jsx(Os, { size: 16 })
|
|
3524
3524
|
}
|
|
3525
3525
|
)
|
|
3526
3526
|
]
|
|
@@ -3589,15 +3589,16 @@ const Zt = ({ className: t }) => {
|
|
|
3589
3589
|
/* @__PURE__ */ i.jsx($t, {})
|
|
3590
3590
|
] }),
|
|
3591
3591
|
/* @__PURE__ */ i.jsx(
|
|
3592
|
-
|
|
3592
|
+
Ot,
|
|
3593
3593
|
{
|
|
3594
3594
|
className: "lg:hidden h-[100dvh] end-0 start-auto w-[320px] rounded-none",
|
|
3595
3595
|
"aria-describedby": void 0,
|
|
3596
3596
|
children: /* @__PURE__ */ i.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
|
|
3597
3597
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
|
3598
|
-
/* @__PURE__ */ i.jsx(
|
|
3598
|
+
/* @__PURE__ */ i.jsx(Tt, { children: /* @__PURE__ */ i.jsx(At, { children: "Navigation" }) }),
|
|
3599
3599
|
/* @__PURE__ */ i.jsx(Zt, { className: "flex p-4" }),
|
|
3600
3600
|
/* @__PURE__ */ i.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
3601
|
+
/* @__PURE__ */ i.jsx("li", { className: "empty:hidden", children: /* @__PURE__ */ i.jsx(T.Target, { name: "top-navigation-side" }) }),
|
|
3601
3602
|
/* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(Dt, {}) }),
|
|
3602
3603
|
t.filter(_t(s)).map((n) => /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx("button", { type: "button", onClick: () => a(!1), children: /* @__PURE__ */ i.jsx(zt, { ...n }) }) }, n.label))
|
|
3603
3604
|
] })
|
|
@@ -3615,7 +3616,7 @@ const Zt = ({ className: t }) => {
|
|
|
3615
3616
|
// eslint-disable-next-line react/no-array-index-key
|
|
3616
3617
|
/* @__PURE__ */ i.jsx(oe, { item: e }, s)
|
|
3617
3618
|
)) }) })
|
|
3618
|
-
] }, t.label) : /* @__PURE__ */ i.jsx(
|
|
3619
|
+
] }, t.label) : /* @__PURE__ */ i.jsx(Te, { to: t.path ?? "", children: /* @__PURE__ */ i.jsxs(nr, { className: "flex gap-2", children: [
|
|
3619
3620
|
t.icon && /* @__PURE__ */ i.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
3620
3621
|
t.label
|
|
3621
3622
|
] }, t.label) }), qt = Ct(function() {
|
|
@@ -3623,7 +3624,7 @@ const Zt = ({ className: t }) => {
|
|
|
3623
3624
|
return /* @__PURE__ */ i.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
3624
3625
|
/* @__PURE__ */ i.jsx(aa, {}),
|
|
3625
3626
|
/* @__PURE__ */ i.jsx("div", { className: k, children: /* @__PURE__ */ i.jsxs("div", { className: "max-w-screen-2xl mx-auto flex relative items-center justify-between h-(--top-header-height) px-4 lg:px-8 border-transparent", children: [
|
|
3626
|
-
/* @__PURE__ */ i.jsx("div", { className: "flex", children: /* @__PURE__ */ i.jsx(
|
|
3627
|
+
/* @__PURE__ */ i.jsx("div", { className: "flex", children: /* @__PURE__ */ i.jsx(Te, { to: "/", children: /* @__PURE__ */ i.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
3627
3628
|
o?.logo && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
3628
3629
|
/* @__PURE__ */ i.jsx(
|
|
3629
3630
|
"img",
|
|
@@ -3797,12 +3798,12 @@ const ma = ({
|
|
|
3797
3798
|
/* @__PURE__ */ i.jsx(T.Target, { name: "navigation-after" })
|
|
3798
3799
|
] }),
|
|
3799
3800
|
/* @__PURE__ */ i.jsx(
|
|
3800
|
-
|
|
3801
|
+
Ot,
|
|
3801
3802
|
{
|
|
3802
3803
|
className: "lg:hidden h-[100dvh] start-0 w-[320px] rounded-none",
|
|
3803
3804
|
"aria-describedby": void 0,
|
|
3804
3805
|
children: /* @__PURE__ */ i.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
3805
|
-
/* @__PURE__ */ i.jsx(
|
|
3806
|
+
/* @__PURE__ */ i.jsx(Tt, { children: /* @__PURE__ */ i.jsx(At, { children: "Sidebar" }) }),
|
|
3806
3807
|
e.map((s) => /* @__PURE__ */ i.jsx(
|
|
3807
3808
|
Be,
|
|
3808
3809
|
{
|
|
@@ -3970,7 +3971,7 @@ const ma = ({
|
|
|
3970
3971
|
category: t
|
|
3971
3972
|
}
|
|
3972
3973
|
);
|
|
3973
|
-
}, ba =
|
|
3974
|
+
}, ba = Oe(null), xe = {
|
|
3974
3975
|
didCatch: !1,
|
|
3975
3976
|
error: null
|
|
3976
3977
|
};
|
|
@@ -4124,7 +4125,7 @@ const ie = globalThis;
|
|
|
4124
4125
|
(!ie.requestIdleCallback || !ie.cancelIdleCallback) && (ie.requestIdleCallback = (t) => setTimeout(t, 1), ie.cancelIdleCallback = clearTimeout);
|
|
4125
4126
|
const Qt = {
|
|
4126
4127
|
Header: qt
|
|
4127
|
-
}, Sa =
|
|
4128
|
+
}, Sa = Oe(Qt), Ta = Sa.Provider, Oa = () => {
|
|
4128
4129
|
const t = fe(), e = P(), s = Ae(void 0);
|
|
4129
4130
|
return V(() => {
|
|
4130
4131
|
e.emitEvent("location", {
|
|
@@ -4167,8 +4168,8 @@ const Vt = Ct(
|
|
|
4167
4168
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
4168
4169
|
j,
|
|
4169
4170
|
/* @__PURE__ */ i.jsx(be.Provider, { value: u, children: /* @__PURE__ */ i.jsxs(Aa, { context: ht, children: [
|
|
4170
|
-
/* @__PURE__ */ i.jsx(
|
|
4171
|
-
/* @__PURE__ */ i.jsx(ms, { slots: e.slots ?? e.UNSAFE_slotlets, children: /* @__PURE__ */ i.jsx(lr, { components: a, children: /* @__PURE__ */ i.jsx(Wt, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ i.jsx(
|
|
4171
|
+
/* @__PURE__ */ i.jsx(Oa, {}),
|
|
4172
|
+
/* @__PURE__ */ i.jsx(ms, { slots: e.slots ?? e.UNSAFE_slotlets, children: /* @__PURE__ */ i.jsx(lr, { components: a, children: /* @__PURE__ */ i.jsx(Wt, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ i.jsx(Ta, { value: s, children: /* @__PURE__ */ i.jsx($s, { children: t ?? /* @__PURE__ */ i.jsx(pt, {}) }) }) }) }) })
|
|
4172
4173
|
] }) })
|
|
4173
4174
|
] });
|
|
4174
4175
|
}
|
|
@@ -4176,7 +4177,7 @@ const Vt = Ct(
|
|
|
4176
4177
|
Vt.displayName = "ZudokoInner";
|
|
4177
4178
|
const Ut = (t) => /* @__PURE__ */ i.jsx(ka, { FallbackComponent: Ca, children: /* @__PURE__ */ i.jsx(Vt, { ...t }) });
|
|
4178
4179
|
Ut.displayName = "Zudoku";
|
|
4179
|
-
const nn = ya, on = ps, dn = vr, cn = br, ln = kr, un = fs, hn = Se, fn = _a, mn = gs, pn = zs, gn = St, yn = pe, vn = jt, xn =
|
|
4180
|
+
const nn = ya, on = ps, dn = vr, cn = br, ln = kr, un = fs, hn = Se, fn = _a, mn = gs, pn = zs, gn = St, yn = pe, vn = jt, xn = Te, _n = Jr, bn = Ut, kn = ur, Ea = P, wn = ee, jn = us, Nn = hs, Cn = mt;
|
|
4180
4181
|
export {
|
|
4181
4182
|
cn as Bootstrap,
|
|
4182
4183
|
ln as BootstrapStatic,
|